user/cups: FTBFS: slibtool-related
Found on ppc64:
The autobuilder environment recently began doing export LIBTOOL=slibtool
.
config.status: creating config.h
Using ARCHFLAGS=
Using ALL_CFLAGS=-I.. -D_CUPS_SOURCE -Os -fomit-frame-pointer -O2 -ggdb -mcpu=970 -mtune=power9 -maltivec -mlong-double-64 -fno-inline-small-functions -g -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -DDBUS_API_SUBJECT_TO_CHANGE -I/usr/include/p11-kit-1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_THREAD_SAFE -D_REENTRANT
Using ALL_CXXFLAGS=-I.. -D_CUPS_SOURCE -Os -fomit-frame-pointer -O2 -ggdb -mcpu=970 -mtune=power9 -maltivec -mlong-double-64 -fno-inline-small-functions -g -I/usr/include/p11-kit-1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_THREAD_SAFE -D_REENTRANT
Using CC=slibtool --mode=compile --tag=CC gcc
Using CXX=slibtool --mode=compile --tag=CC gcc
Using DSOFLAGS=-L../cups -Wl,-soname,all -shared -fPIC -O2 -ggdb -mcpu=970 -mtune=power9 -maltivec -mlong-double-64 -fno-inline-small-functions -g -fstack-protector -D_GNU_SOURCE
Using LDFLAGS=-L../cgi-bin -L../cups -L../filter -L../ppdc -L../scheduler -Wl,--as-needed -fPIE -pie -fPIC -O2 -ggdb -mcpu=970 -mtune=power9 -maltivec -mlong-double-64 -fno-inline-small-functions -g -fstack-protector -D_GNU_SOURCE
Using LIBS=../cups/libcups.la -lgnutls -lz -lpthread -lz
Making all in cups...
make[1]: warning: -j20 forced in submake: resetting jobserver mode.
make[1]: Entering directory '/root/packages/user/cups/src/cups-2.2.13/cups'
Compiling adminutil.c...
Compiling array.c...
/bin/sh: 1: slibtool: not found
/bin/sh: 1: Compiling auth.c...
slibtool: not found
make[1]: *** [../Makedefs:268: adminutil.o] Error 127
make[1]: *** Waiting for unfinished jobs....
make[1]: *** [../Makedefs:268: array.o] Error 127
Compiling backchannel.c...
Compiling backend.c...
/bin/sh: 1: slibtool: not found
/bin/sh: 1: slibtool: not found
make[1]: *** [../Makedefs:269: auth.o] Error 127
make[1]: *** [../Makedefs:269: backchannel.o] Error 127
/bin/sh: 1: slibtool: not found
make[1]: *** [../Makedefs:269: backend.o] Error 127
make[1]: Leaving directory '/root/packages/user/cups/src/cups-2.2.13/cups'
make: *** [Makefile:38: all] Error 1
>>> ERROR: cups: build failed
20220430-16_43_27.693627259_cups.log
Adding this (obviously missing) dependency results in:
Linking libcups.la...
slibtool: link: ln -s libcups.so.def .libs/libcups.so.def.linux
slibtool: link: ln -s libcups.so.def.linux .libs/libcups.so.def.host
slibtool: link: ln -s /dev/null .libs/libcups.a.disabled
slibtool: error logged in slbt_exec_link_create_dep_file(), line 1091: path not found: .libs/-Wl,-soname,libcups.a.disabled.
slibtool: < returned to > slbt_exec_link_create_library(), line 1402.
slibtool: < returned to > slbt_exec_link(), line 2084.
make[1]: *** [Makefile:351: libcups.la] Error 2
make[1]: Leaving directory '/root/packages/user/cups/src/cups-2.2.13/cups'
make: *** [Makefile:38: all] Error 1
>>> ERROR: cups: build failed