too long lines were shrinked: rdlibtool: lconf: found "/var/tmp/portage/net-print/libppd-2.0.0/work/libppd-2.0.0/libtool". rdlibtool: link: ln -s libppd.so.def .libs/libppd.so.def.linux rdlibtool: link: ln -s libppd.so.def.linux .libs/libppd.so.def.host rdlibtool: link: ln -s /dev/null .libs/libppd.a.disabled rdlibtool: link: x86_64-pc-linux-gnu-g++ ppd/.libs/libppd_la-ppd-attr.o ppd/.libs/libppd_la-ppd.o ppd/.libs/libppd_la-ppd-cache.o ppd/.libs/ppd-collection.o ppd/.libs/libppd_la-ppd-conflicts.o ppd/.libs/libppd_la-ppd-custom.o ppd/.libs/libppd_la-ppd-emit.o ppd/.libs/libppd_la-ppd-filter.o ppd/.libs/ /usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../x86_64-pc-linux-gnu/bin/ld: ppd/.libs/libppd_la-rastertops.o: in function `ppdFilterRasterToPS': rastertops.c:(.text+0x454): undefined reference to `deflateInit_' /usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../x86_64-pc-linux-gnu/bin/ld: rastertops.c:(.text+0x5c5): undefined reference to `deflate' /usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../x86_64-pc-linux-gnu/bin/ld: rastertops.c:(.text+0x5fe): undefined reference to `deflateEnd' ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.1_desktop_gnome_systemd_merged_usr-20231216-044505 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-10 [2] x86_64-pc-linux-gnu-13 * clang/llvm (if any): clang version 17.0.6 Target: x86_64-pc-linux-gnu Thread model: posix InstalledDir: /usr/lib/llvm/17/bin Configuration file: /etc/clang/x86_64-pc-linux-gnu-clang.cfg /usr/lib/llvm/17 17.0.6 Python 3.11.7 Available Ruby profiles: [1] ruby31 (with Rubygems) * Available Rust versions: [1] rust-bin-1.74.1 * The following VMs are available for generation-2: 1) Eclipse Temurin JDK 17.0.8.1_p1 [openjdk-bin-17] 2) Eclipse Temurin JDK 21.0.1_p12 [openjdk-bin-21] *) Eclipse Temurin JDK 8.382_p05 [openjdk-bin-8] Available Java Virtual Machines: [1] openjdk-bin-8 system-vm [2] openjdk-bin-17 [3] openjdk-bin-21 The Glorious Glasgow Haskell Compilation System, version 9.2.8 php cli (if any): go version go1.21.5 linux/amd64 HEAD of ::gentoo commit 18852660937e1630c8d1705314399231ad0ec89a Author: Repository mirror & CI <repomirrorci@gentoo.org> Date: Mon Dec 18 10:31:59 2023 +0000 2023-12-18 10:31:58 UTC emerge -qpvO net-print/libppd [ebuild N ] net-print/libppd-2.0.0 USE="poppler postscript"
Created attachment 879842 [details] emerge-info.txt
Created attachment 879843 [details] emerge-history.txt
Created attachment 879844 [details] environment
Created attachment 879845 [details] etc.clang.tar.xz
Created attachment 879846 [details] etc.portage.tar.xz
Created attachment 879847 [details] logs.tar.xz
Created attachment 879848 [details] net-print:libppd-2.0.0:20231218-110058.log
Created attachment 879849 [details] qlist-info.txt
Created attachment 879850 [details] temp.tar.xz
Upstream bug.
They are missing -lz, GNU libtool ignores -no-undefined and misses the error.
I only now see the existing PR....
> (In reply to orbea from comment #11) > They are missing -lz, GNU libtool ignores -no-undefined and misses the error. -Wl,--no-undefined isn't in the default make.conf, but if you add it then regular libtool reproduces this just fine, you don't even need to use elibtoolize.
Some things really depend on resolving symbols at runtime and not link time so setting -Wl,--no-undefined globally may result in false positives, see issue #765715 for an example.
Yeah, and that's an example of it using the libtool flag -no-undefined and working correctly with libtool (which treats it as a Windows annotation unrelated to -Wl,--no-undefined) but breaking with slibtool. What's your point?
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7be0a28087f6666aeba8065c639ddc7ea2316fa6 commit 7be0a28087f6666aeba8065c639ddc7ea2316fa6 Author: orbea <orbea@riseup.net> AuthorDate: 2024-03-16 15:10:05 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2024-03-21 02:23:06 +0000 net-print/libppd: fix undefined references Closes: https://bugs.gentoo.org/920273 Upstream-PR: https://github.com/OpenPrinting/libppd/pull/32 Upstream-Commit: https://github.com/OpenPrinting/libppd/commit/a040f26f3ca103c8ae7706d91ae157dca0974c49 Signed-off-by: orbea <orbea@riseup.net> Closes: https://github.com/gentoo/gentoo/pull/35780 Signed-off-by: Sam James <sam@gentoo.org> net-print/libppd/files/libppd-2.0.0-slibtool.patch | 64 ++++++++++++++++++++++ net-print/libppd/libppd-2.0.0.ebuild | 8 ++- 2 files changed, 70 insertions(+), 2 deletions(-)