Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 18208 - kdeprint in kdelibs-3.1.1 won't compile
Summary: kdeprint in kdelibs-3.1.1 won't compile
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: PPC Linux
: High major (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-03-26 05:19 UTC by Ernst Sjöstrand
Modified: 2008-03-01 09:45 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ernst Sjöstrand 2003-03-26 05:19:48 UTC
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"
Comment 1 Michele Balistreri (RETIRED) gentoo-dev 2003-04-14 12:14:53 UTC
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. 
Comment 2 Ernst Sjöstrand 2003-04-20 14:19:43 UTC
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. 
Comment 3 Paul de Vrieze (RETIRED) gentoo-dev 2003-04-25 02:41:53 UTC
I will close this bug as there will probably no way to find out how that libz.a got there.
Comment 4 Bernd Butscheidt 2008-03-01 09:42:05 UTC
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
============================================
Comment 5 Bernd Butscheidt 2008-03-01 09:45:00 UTC
Sorry,

wrong bug.

Please ignore this, I repost it in the right column.