slibtool: 0.5.32 openldap: https://git.openldap.org/openldap/openldap/-/commit/f9cb918d051be66f90c072067109b3a5eff3ea49
0.5.32
When building openldap it executes a custom install script.
rdlibtool --mode=install ../../build/shtool install -c -m 644 liblber.la /tmp/delme/usr/local/lib
And slibtool reorders the arguments to shtool.
shtool
rdlibtool: install: ../../build/shtool -c -m 644 install /tmp/delme/usr/local/lib
Which does not work:
../../build/shtool:Error: unknown option `-c'
I think the simple solution, when executing a custom script as part of the install or uninstall process is to not reorder the arguments.
To reproduce:
export MAKEFLAGS='LIBTOOL=rdlibtool' autoreconf -fi ./configure make make install DESTDIR=/tmp/delme
There is also a build failure with ./configure --disable-static which is described in this downstream gentoo issue.
./configure --disable-static
https://bugs.gentoo.org/777804
I strongly suspect this is a bug on the openldap side, but I feel its best to wait for the slibtool issue to be fixed first before investigating further.
Thanks for the catch. Looks like GNU shtool is an install-sh evil twin that need to be specially handled.
Fixed in 15903b7.
Metadata Update from @orbea: - Issue status updated to: Closed (was: Open)
Login to comment on this ticket.