When I try to compile kdelibs-3.1.1 it has failed several times with these messages: make[1]: Entering directory `/var/tmp/portage/kdelibs-3.1.1-r1/work/kdelibs-3.1.1/kdeprint/cups' /bin/sh ../../libtool --silent --mode=link gcc -ansi -W -Wall -pedantic -Wshadow -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -DNDEBUG -O2 -O3 -pipe -mcpu=750 -mpowerpc-gfxopt -o make_driver_db_cups -L/usr/X11R6/lib -L/usr/qt/3/lib -L/usr/kde/3.1/lib make_driver_db_cups.o ../libdriverparse.a ../../kdecore/libkdefakes.la -ldl -lz make_driver_db_cups.o(.text+0x310): In function `parsePpdFile': : undefined reference to `gzgets' make_driver_db_cups.o(.text+0x310): In function `parsePpdFile': : relocation truncated to fit: R_PPC_REL24 gzgets collect2: ld returned 1 exit status make[1]: *** [make_driver_db_cups] Error 1 make[1]: Leaving directory `/var/tmp/portage/kdelibs-3.1.1-r1/work/kdelibs-3.1.1/kdeprint/cups' make: *** [all-recursive] Error 1 So, the gzgets function is missing. But objdump says otherwise: objdump -t /usr/lib/libz.so.1.1.4 | grep gzgets 00003dd4 g F .text 000000d0 gzgets But then I found a library in /usr/X11R6/lib/ called libz! I moved it to /tmp, tried again, and now it worked! I'm running xfree 4.3.0-r1 (on PPC). Reproducible: Always Steps to Reproduce: Portage 2.0.47-r10 (default-ppc-1.4, gcc-3.2.2, glibc-2.3.2-r0) ================================================================= System uname: 2.4.20-ben8 ppc GENTOO_MIRRORS=" http://gentoo.linux.no/ ftp://gentoo.linux.no/pub/gentoo/ ftp://trumpetti.atm.tut.fi/gentoo/ http://trumpetti.atm.tut.fi/gentoo/" CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config /usr/share/config" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" PORTDIR="/usr/portage" DISTDIR="/usr/portage/distfiles" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR_OVERLAY="/usr/local/portage" USE="oss dvd xv libwww jpeg nls mitshm gif gnome png ppc gnome-libs gdbm berkdb slang readline X sdl gpm tcpd pam ssl perl python esd imlib oggvorbis gtk qt kde opengl mozilla alsa arts cups truetype -motif usb -java gtk2" COMPILER="gcc3" CHOST="powerpc-unknown-linux-gnu" CFLAGS="-O3 -pipe -mcpu=750 -mpowerpc-gfxopt" CXXFLAGS="-O3 -pipe -mcpu=750 -mpowerpc-gfxopt" ACCEPT_KEYWORDS="ppc ~ppc" MAKEOPTS="" AUTOCLEAN="yes" SYNC="rsync://rsync1.no.gentoo.org/gentoo-portage" FEATURES="ccache"
libz shouldn't be there (/usr/X11R6/lib/), please do a qpkg -f /usr/X11R6/lib/libz.so (or whatever is called, you didn't specified so), please paste here the output.
I think the file was called libz.a (it's still left in my /tmp), but qpkg -f /usr/X11R6/lib/libz.a says nothing.
I will close this bug as there will probably no way to find out how that libz.a got there.
I wonder if the problem is back with kdebase 3.5.9. I get: =========================== emerge -p --depclean --verbose .... Dependencies could not be completely resolved due to the following required packages not being installed: >=kde-base/kdeprint-3.5.9:3.5 required by kde-base/kpdf-3.5.9 ========================== I compiled kpdf commenting out the dependency to kdeprint in the current ebuild. It compiled fine and runs fine. I have the monolothic kdebase isntalled which supplies kdeprint: ==================== emerge -s kdebase Searching... [ Results for search key : kdebase ] [ Applications found : 6 ] * kde-base/kdebase Latest version available: 3.5.9 Latest version installed: 3.5.9 Size of files: 23,708 kB Homepage: http://www.kde.org/ Description: KDE base packages: the desktop, panel, window manager, konqueror... License: GPL-2 ============================================
Sorry, wrong bug. Please ignore this, I repost it in the right column.