mainAutoconf - Support: sr #110318, autoreconf: support libtoolize...

 
 

sr #110318: autoreconf: support libtoolize being named glibtoolize

Submitter:  Zack Weinberg <zackw>
Submitted:  Thu 24 Sep 2020 06:55:29 PM UTC
Votes: 2
 
Priority:  * 3 - Release N+1 Severity:  1 - Wish
Status:  Confirmed Privacy:  Public
Assigned to:  None Open/Closed:  Open
Operating System:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Jump to the original submission

Mon 11 Dec 2023 02:56:43 PM UTC, comment #6: 

I looked into this a bit more, and it turns out I was wrong, it's not easy.  autoreconf doesn't currently have the ability to try multiple names for any tool, and adding that ability would be enough of a change that I think it had best wait for 2.73.

Zack Weinberg <zackw>
Group administrator
Fri 08 Dec 2023 06:20:23 PM UTC, comment #5: 

Actually this should be easy.

Zack Weinberg <zackw>
Group administrator
Fri 08 Dec 2023 01:58:01 PM UTC, comment #4: 

Not going to happen for the next release, but the MacPorts example is sufficient reason to think it is a desirable feature.  The change we would make is to try 'glibtoolize' first and then 'libtoolize' if that doesn't exist.

Zack Weinberg <zackw>
Group administrator
Sun 12 Jun 2022 05:50:05 PM UTC, comment #3: 

comment #2:

> I can tell you that MacPorts installs GNU libtool configured with --program-prefix=g, because part of Apple's toolchain is a program also called libtool that is unrelated except for being a tool that deals with libraries. (I believe this dates back to the days of NeXT.)


So, this is probably my fault as a user, but I can say that this can particularly cause problems because I have an unprefixed version of libtoolize installed elsewhere, but MacPorts comes first in my PATH, so if I forget to pass LIBTOOLIZE=glibtoolize in the environment, I sometimes end up with libtool version mismatch errors

Eric Gallager <egallager>
Wed 03 Mar 2021 08:56:25 PM UTC, comment #2: 

I can tell you that MacPorts installs GNU libtool configured with --program-prefix=g, because part of Apple's toolchain is a program also called libtool that is unrelated except for being a tool that deals with libraries. (I believe this dates back to the days of NeXT.)

Joshua Root <jmroot>
Thu 24 Sep 2020 06:57:28 PM UTC, comment #1: 

2.61 was a long time ago.  I'm wondering if Gentoo still ships 'glibtoolize' and not 'libtoolize'.  If it doesn't, this change is only weakly motivated.

Note that one can set the environment variable LIBTOOLIZE to override the name of libtoolize at runtime (and likewise for all the tools autoreconf runs).

Zack Weinberg <zackw>
Group administrator
Thu 24 Sep 2020 06:55:29 PM UTC, original submission:  

Circa autoconf 2.61, Gentoo started carrying a patch to autoreconf that changes the default name for the libtoolize helper program from 'libtoolize' to 'glibtoolize'.

An unconditional change is not appropriate for upstream, but it might be reasonable to make autoreconf try both names for that helper program.  However, to do that cleanly would require a lot of surgery, and then should we support a 'g' prefix on all the tools?

Revisit after 2.70.

Zack Weinberg <zackw>
Group administrator

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by egallager (Voted in favor of this item)
  • -email is unavailable- added by egallager (Posted a comment)
  • -email is unavailable- added by jmroot (Posted a comment)
  • -email is unavailable- added by zackw (Submitted the item)
  •  

    There are 2 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 6 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2023-12-11 zackw Priority7 - Release N (Desirable) 3 - Release N+1
    2023-12-08 zackw Priority3 - Release N+1 7 - Release N (Desirable)
    2023-12-08 zackw Priority1 - Blocked 3 - Release N+1
        StatusNeed Info Confirmed
    2023-07-14 egallager Carbon-Copy- Added egallager
    2020-09-24 zackw Priority5 - Unprioritized 1 - Blocked

    Back to the top

    Powered by Savane 3.14-8eb0.
    Corresponding source code