Bug 164329 - sys-apps/kudzu-1.2.52 fails with pciutils-2.2.4 compiled w/ USE=zlib
|
Bug#:
164329
|
Product: Gentoo Linux
|
Version: unspecified
|
Platform: All
|
|
OS/Version: Linux
|
Status: RESOLVED
|
Severity: normal
|
Priority: P2
|
|
Resolution: FIXED
|
Assigned To: dberkholz@gentoo.org
|
Reported By: gimpel@sonnenkinder.org
|
|
Component: Applications
|
|
|
URL:
|
|
Summary: sys-apps/kudzu-1.2.52 fails with pciutils-2.2.4 compiled w/ USE=zlib
|
|
Keywords:
|
|
Status Whiteboard:
|
|
Opened: 2007-01-28 22:58 0000
|
sys-apps/kudzu-1.2.52 fails here:
Searching google it seems it's related to pciutils:
http://bugs.donarmstrong.com/cgi-bin/bugreport.cgi?bug=396640
I have:
pciutils-2.2.4
zlib-1.2.3-r1
Error log:
----------------------------------------
msgfmt -v -o zh_TW.mo zh_TW.po
14 translated messages.
make[1]: Leaving directory
`/var/tmp/portage/sys-apps/kudzu-1.2.52/work/kudzu-1.2.52/po'
cc -march=athlon-xp -O2 -pipe -fomit-frame-pointer -Wall -D_GNU_SOURCE -g -I.
-DVERSION=\"1.2.52\" hwconf.o -o kudzu -L. -lkudzu -L. -lpci -Wl,-Bstatic
-lpopt -Wl,-Bdynamic
/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/../../../libpci.a(names.o): In function
`pci_load_name_list':
(.text+0x567): undefined reference to `gzopen'
/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/../../../libpci.a(names.o): In function
`pci_load_name_list':
(.text+0x5f0): undefined reference to `gzgets'
/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/../../../libpci.a(names.o): In function
`.L155':
(.text+0x715): undefined reference to `gzclose'
/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/../../../libpci.a(names.o): In function
`.L155':
(.text+0x8ad): undefined reference to `gzclose'
/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/../../../libpci.a(names.o): In function
`.L155':
(.text+0x974): undefined reference to `gzeof'
/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/../../../libpci.a(names.o): In function
`.L158':
(.text+0xcee): undefined reference to `gzopen'
/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/../../../libpci.a(names.o): In function
`.L158':
(.text+0xd18): undefined reference to `gzerror'
/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/../../../libpci.a(names.o): In function
`.L158':
(.text+0xd3a): undefined reference to `gzclose'
collect2: ld returned 1 exit status
make: *** [module_upgrade] Error 1
make: *** Waiting for unfinished jobs....
/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/../../../libpci.a(names.o): In function
`pci_load_name_list':
(.text+0x567): undefined reference to `gzopen'
/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/../../../libpci.a(names.o): In function
`pci_load_name_list':
(.text+0x5f0): undefined reference to `gzgets'
/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/../../../libpci.a(names.o): In function
`.L155':
(.text+0x715): undefined reference to `gzclose'
/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/../../../libpci.a(names.o): In function
`.L155':
(.text+0x8ad): undefined reference to `gzclose'
/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/../../../libpci.a(names.o): In function
`.L155':
(.text+0x974): undefined reference to `gzeof'
/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/../../../libpci.a(names.o): In function
`.L158':
(.text+0xcee): undefined reference to `gzopen'
/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/../../../libpci.a(names.o): In function
`.L158':
(.text+0xd18): undefined reference to `gzerror'
/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/../../../libpci.a(names.o): In function
`.L158':
(.text+0xd3a): undefined reference to `gzclose'
collect2: ld returned 1 exit status
make: *** [kudzu] Error 1
---------------------------------------
Reproducible: Always
Steps to Reproduce:
compile kudzu
Actual Results:
fails
Expected Results:
should compile
emerge --info:
---------------------------------------
Portage 2.1.2-r4 (default-linux/x86/2006.1/desktop, gcc-4.1.1, glibc-2.5-r0,
2.6.19-rt9 i686)
=================================================================
System uname: 2.6.19-rt9 i686 AMD Athlon(tm) XP 1800+
Gentoo Base System release 1.12.9
Timestamp of tree: Sun, 28 Jan 2007 22:00:01 +0000
ccache version 2.4 [enabled]
dev-java/java-config: 1.3.7, 2.0.31-r3
dev-lang/python: 2.4.4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache: 2.4-r6
sys-apps/sandbox: 1.2.18.1
sys-devel/autoconf: 2.13, 2.61
sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils: 2.17.50.0.10
sys-devel/gcc-config: 1.3.14
sys-devel/libtool: 1.5.22
virtual/os-headers: 2.6.19.2-r1
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=athlon-xp -O2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/grass61/etc /usr/kde/3.5/env
/usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3.80.2/env
/usr/kde/3.80.2/share/config /usr/kde/3.80.2/shutdown /usr/share/X11/xkb
/usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf
/etc/java-config/vms/ /etc/revdep-rebuild /etc/splash /etc/terminfo
/etc/texmf/web2c"
CXXFLAGS="-march=athlon-xp -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig candy ccache collision-protect distlocks metadata-transfer
parallel-fetch sandbox sfperms strict"
GENTOO_MIRRORS=" ftp://ftp.gentoo.mesh-solutions.com/gentoo
http://gentoo.intergenia.de"
LANG="de_DE.UTF-8"
LC_ALL="de_DE.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--hash-style=gnu -Wl,--sort-common"
LINGUAS="de"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress
--force --whole-file --delete --delete-after --stats --timeout=180
--exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/overlays/layman/musicbrainz
/usr/local/overlays/layman/xeffects
/usr/local/overlays/layman/xeffects-experimental
/usr/local/overlays/layman/sunrise /usr/local/overlays/layman/enlightenment
/usr/local/overlays/layman/WTK-Testing /usr/local/overlays/gimpel
/home/tom/cvs/proaudio/trunk/overlays/proaudio
/home/tom/cvs/proaudio/trunk/overlays/proaudio-dev /home/tom/cvs/emodules"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowex X alsa apache2 berkdb bitmap-fonts cairo cdr cli cracklib
crypt cups dbus dlloader dri dvd dvdr dvdread eds emboss encode fam fbcon
firefox gdbm gif gnome gpm gstreamer gtk hal iconv isdnlog jack jpeg
kdeenablefinal kdehiddenvisibility libg++ mad mikmod mmx mmx2 mp3 mpeg ncurses
nls nptl nptlonly ogg opengl pam pcre perl pic png ppds pppd pthreads python
qt3 qt4 quicktime readline reflection sdl session shadow spell spl sse ssl tcpd
threads truetype truetype-fonts type1-fonts udev unicode userlocales vorbis
win32codecs x86 xml xorg xv zlib" ALSA_CARDS="ali5451 als4000 atiixp
atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801
hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem
ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug
file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate
route share shm softvol" ELIBC="glibc" INITNG_PLUGINS="also bash_launcher chdir
chroot conflict cpout critical cron daemon dev dllaunch envparser find fstat
history idleprobe initctl interactive iparser last limit logfile netprobe ngc4
pause pidfile reload renice rlparser simple_launcher stcmd stdout suid syncron
syslog unneeded" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux"
LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses
text" LINGUAS="de" USERLAND="GNU" VIDEO_CARDS="nvidia fbdev"
Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_RSYNC_EXTRA_OPTS
I downgraded pciutils to 2.2.3-r2 and kudzu compiles. So seems the
pciutils-2.2.4-link.patch doesn't work right.
I'm now using kudzu-1.2.64, all the patches from the version in portage still
apply.
Please resync and check /usr/portage/sys-apps/pciutils/ChangeLog for this
message, then remerge pciutils 2.2.4.
06 Jan 2007; Mike Frysinger <vapier@gentoo.org>
+files/pciutils-2.2.4-link.patch, pciutils-2.2.4.ebuild:
Fix linking order between libpci and zlib #160421 by Alessandro Guido.
(In reply to comment #2)
> Please resync and check /usr/portage/sys-apps/pciutils/ChangeLog for this
> message, then remerge pciutils 2.2.4.
>
> 06 Jan 2007; Mike Frysinger <vapier@gentoo.org>
> +files/pciutils-2.2.4-link.patch, pciutils-2.2.4.ebuild:
> Fix linking order between libpci and zlib #160421 by Alessandro Guido.
>
Yes I already had that in the changelog for pciutils yesterday. Maybe this
broke it again?
07 Jan 2007; Mike Frysinger <vapier@gentoo.org>
files/pciutils-2.2.4-link.patch:
Remove over engineering attempt at LDLIBS since it isnt actually needed
#160561 Mark Glines.
(In reply to comment #4)
> You can grab the original version (1.1) from
> http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/pciutils/files/pciutils-2.2.4-link.patch?rev=1.2&view=log
> and stick it into an overlay to test it.
>
OK, I tried that version of the patch, without success:
Error message is a little fewer lines though :)
--------------------------------------
make[1]: Leaving directory
`/var/tmp/portage/sys-apps/kudzu-1.2.64/work/kudzu-1.2.64/po'
cc -march=athlon-xp -O2 -pipe -fomit-frame-pointer -Wall -D_GNU_SOURCE -g -I.
-DVERSION=\"1.2.64\" hwconf.o -o kudzu -L. -lkudzu -L. -lpci -Wl,-Bstatic
-lpopt -Wl,-Bdynamic
/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/../../../libpci.a(names.o): In function
`pci_load_name_list':
(.text+0x567): undefined reference to `gzopen'
/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/../../../libpci.a(names.o): In function
`pci_load_name_list':
(.text+0x5f0): undefined reference to `gzgets'
/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/../../../libpci.a(names.o): In function
`.L155':
(.text+0x715): undefined reference to `gzclose'
/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/../../../libpci.a(names.o): In function
`.L155':
(.text+0x8ad): undefined reference to `gzclose'
/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/../../../libpci.a(names.o): In function
`.L155':
(.text+0x974): undefined reference to `gzeof'
/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/../../../libpci.a(names.o): In function
`.L158':
(.text+0xcee): undefined reference to `gzopen'
/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/../../../libpci.a(names.o): In function
`.L158':
(.text+0xd18): undefined reference to `gzerror'
/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/../../../libpci.a(names.o): In function
`.L158':
(.text+0xd3a): undefined reference to `gzclose'
collect2: ld returned 1 exit status
make: *** [kudzu] Error 1
-----------------------------------------
Recompile pciutils with USE="-zlib"; offhand, this bug should be fixed by
adding -lz somewhere but I'm not digging into this rpm thing.
We should add append-ldflags -lz to fix this. Donnie, mind if I do it on
kudzu? I'm doing it on libkudzu.
(In reply to comment #7)
> We should add append-ldflags -lz to fix this. Donnie, mind if I do it on
> kudzu? I'm doing it on libkudzu.
Think it's fixed upstream, just needs a bump.
Mind if I do it until you bump it so we can fix all the non-HAL ebuilds that
are having such problems?
Bumped, should fix it in 1.2.71. (BTW feel free to suck any patches over to
libkudzu.)