On 2021/02/16 10:09, Marc Espie wrote: > On Mon, Feb 15, 2021 at 01:45:40PM -0800, Rafael Ávila de Espíndola wrote: > > The last release of libtool is 2.4.6, which is from 2015. We currently > > have 2.4.2. I don't expect projects to actually require 2.4.6, but given > > how old 2.4.6 is, some check for that version. > > > > Given that libtool is not being developed, the one time pain of updating > > to 2.4.6 might be worth it. > > > > This is the first time I try to change anything in ports. What would be > > the best way to test this? > > > > Cheers, > > Rafael > > For some base stuff like this, the best way to test this is to rebuild > most of everything... so someone who does full builds regularly should test > it. > > As for runtime, there are not that many ports depending on ltdl > > GraphicsMagick seems like it would be the least painful to check. >
And there are ports with USE_LIBTOOL=gnu: audio/pulseaudio # undefined reference to `lt__PROGRAM__LTX_preloaded_symbols' audio/speech-dispatcher # undefined reference to `lt__PROGRAM__LTX_preloaded_symbols' cad/tkgate ? comms/sigrok/libsigrok # /usr/bin/../lib/crt0.o: In function `_start': (.text+0x52): undefined reference to `main' databases/xapian-bindings # base libtool doesn't support -shrext devel/bamf # Does not work with base libtool. devel/openocd # Fails to link main.o and libopenocd.a properly resulting in undefined reference in the gdb_server.o games/liblcf ? graphics/libspiro # cc: error: unsupported option '--mode=link' lang/mono ? lang/pfe # this renames floating.so to libfloating.so before linking with it lang/rust # need for libbacktrace mail/kopano/core ? net/freeradius # undefined reference to `lt__PROGRAM__LTX_preloaded_symbols' net/torsocks ? productivity/aqbanking # ld: error: duplicate symbol: AO_V2_MkOfxHeader security/fwknop # undefined reference to `fko_new' security/libotr ? security/pidgin-otr ? sysutils/bacula # base libtool with Qt5 is in the too-hard basket sysutils/collectd # uses -export-symbol-regex sysutils/nut # -all-static telephony/siproxd ? x11/mate/pluma ?