Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 164329 - sys-apps/kudzu-1.2.52 fails with pciutils-2.2.4 compiled w/ USE=zlib
Summary: sys-apps/kudzu-1.2.52 fails with pciutils-2.2.4 compiled w/ USE=zlib
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Donnie Berkholz (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 180554
  Show dependency tree
 
Reported: 2007-01-28 22:58 UTC by Thomas Kuther
Modified: 2007-06-20 06:20 UTC (History)
2 users (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 Thomas Kuther 2007-01-28 22:58:42 UTC
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
Comment 1 Thomas Kuther 2007-01-28 23:49:11 UTC
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.
Comment 2 Donnie Berkholz (RETIRED) gentoo-dev 2007-01-29 03:55:42 UTC
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.
Comment 3 Thomas Kuther 2007-01-29 13:14:17 UTC
(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.

Comment 4 Donnie Berkholz (RETIRED) gentoo-dev 2007-01-29 14:24:53 UTC
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.
Comment 5 Thomas Kuther 2007-01-29 14:50:54 UTC
(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
-----------------------------------------
Comment 6 Jakub Moc (RETIRED) gentoo-dev 2007-03-18 07:59:24 UTC
Recompile pciutils with USE="-zlib"; offhand, this bug should be fixed by adding -lz somewhere but I'm not digging into this rpm thing.

Comment 7 Chris Gianelloni (RETIRED) gentoo-dev 2007-06-19 17:37:27 UTC
We should add append-ldflags -lz to fix this.  Donnie, mind if I do it on kudzu?  I'm doing it on libkudzu.
Comment 8 Donnie Berkholz (RETIRED) gentoo-dev 2007-06-19 18:09:39 UTC
(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.
Comment 9 Chris Gianelloni (RETIRED) gentoo-dev 2007-06-19 23:07:42 UTC
Mind if I do it until you bump it so we can fix all the non-HAL ebuilds that are having such problems?
Comment 10 Donnie Berkholz (RETIRED) gentoo-dev 2007-06-20 06:20:08 UTC
Bumped, should fix it in 1.2.71. (BTW feel free to suck any patches over to libkudzu.)