Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 165064 - sys-apps/vbetool-0.7 filed to compile with sys-apps/pciutils-2.2.4
Summary: sys-apps/vbetool-0.7 filed to compile with sys-apps/pciutils-2.2.4
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Robin Johnson
URL:
Whiteboard:
Keywords:
: 165245 (view as bug list)
Depends on:
Blocks: 180554
  Show dependency tree
 
Reported: 2007-02-02 22:52 UTC by Grzegorz {NineX} Krzystek
Modified: 2007-06-22 18:02 UTC (History)
5 users (show)

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


Attachments
vbetool-0.7-pciutils-fix.patch (vbetool-0.7-pciutils-fix.patch,734 bytes, patch)
2007-02-11 18:00 UTC, Jakub Moc (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Grzegorz {NineX} Krzystek 2007-02-02 22:52:15 UTC
Error:
i686-pc-linux-gnu-gcc -g -Wall -pedantic -std=gnu99 -march=pentium-m -pipe -O2 -fomit-frame-pointer -DNDEBUG -DG_DISABLE_ASSERT   -o vbetool  vbetool.o thunk.o x86-common.o x86emu/libx86emu.a /usr/lib/libpci.a -lpci
/usr/lib/libpci.a(names.o): In function `pci_load_name_list':
(.text+0x527): undefined reference to `gzopen'
/usr/lib/libpci.a(names.o): In function `pci_load_name_list':
(.text+0x5b9): undefined reference to `gzgets'
/usr/lib/libpci.a(names.o): In function `.L154':
(.text+0x6bb): undefined reference to `gzclose'
/usr/lib/libpci.a(names.o): In function `.L154':
(.text+0x6d8): undefined reference to `gzeof'
/usr/lib/libpci.a(names.o): In function `.L154':
(.text+0x75c): undefined reference to `gzclose'
/usr/lib/libpci.a(names.o): In function `.L154':
(.text+0xb0d): undefined reference to `gzopen'
/usr/lib/libpci.a(names.o): In function `.L155':
(.text+0xc7d): undefined reference to `gzerror'
/usr/lib/libpci.a(names.o): In function `.L155':
(.text+0xc9f): undefined reference to `gzclose'
collect2: ld returned 1 exit status
make[1]: *** [vbetool] Error 1
make[1]: Leaving directory `/var/tmp/portage/sys-apps/vbetool-0.7/work/vbetool-0.7'
make: *** [all-recursive] Error 1



Reproducible: Always




SyNaPsE pkg # emerge --info
Portage 2.1.2-r6 (default-linux/x86/2006.1, gcc-4.1.1, glibc-2.5-r0, 2.6.19-gentoo-r5 i686)
=================================================================
System uname: 2.6.19-gentoo-r5 i686 Intel(R) Celeron(R) M processor         1500MHz
Gentoo Base System release 1.12.9
Timestamp of tree: Fri, 02 Feb 2007 18:30: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
sys-devel/gcc-config: 1.3.14
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.19.2-r2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium-m -pipe -O2 -fomit-frame-pointer -DNDEBUG -DG_DISABLE_ASSERT"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/init.d /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-march=pentium-m -pipe -O2 -fomit-frame-pointer -DNDEBUG -DG_DISABLE_ASSERT"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks metadata-transfer parallel-fetch sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.prz.rzeszow.pl http://gentoo.po.opole.pl http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo http://dev.gentoo.org"
LANG="pl_PL.UTF-8"
LINGUAS="pl en"
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"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="7zip X a52 aac acpi alsa arts audacious avi bash-completion bitmap-fonts bzip2 cdparanoia chardet css cups deprecated devil dga discouraged divx dri dts dv dvd dvdr dvdread encode fbcon ffmpeg firefox gif gnutls gpm i8x0 iconv idea ieee1394 ipv6 java jpeg jpeg2k kde kdeenablefinal logitech-mouse logrotate lzo mad mmx mmxext mng mp3 mp4 mpeg ncurses nls no-old-linux nptl nptlonly nsplugin ogg oggvorbis opengl pam pcre pdf pdflib perl png python qt qt3 slang smartcard spell sse sse2 ssl svg symlink test theora threads tiff truetype truetype-fonts type1-fonts udev unicode usb userlocales vcd voice vorbis win32codecs wma wmf wmp x264 x86 xanim xinerama xorg xscreensaver xv xvid zlib" ALSA_CARDS="intel8x0" 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" INPUT_DEVICES="keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="pl en" USERLAND="GNU" VIDEO_CARDS="i810"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-02-04 11:18:24 UTC
*** Bug 165245 has been marked as a duplicate of this bug. ***
Comment 2 Alexandre Perrin 2007-02-06 13:56:48 UTC
same here. You can downgrade to sys-apps/pciutils-2.2.3-r2 to have vbetool compiling.
Comment 3 Daniel Gryniewicz (RETIRED) gentoo-dev 2007-02-08 01:16:26 UTC
Same here on amd64.  The downgrade fixed it.
Comment 4 Jakub Moc (RETIRED) gentoo-dev 2007-02-11 18:00:06 UTC
Created attachment 109867 [details, diff]
vbetool-0.7-pciutils-fix.patch

A patch from Debian (http://bugs.donarmstrong.com/cgi-bin/bugreport.cgi?bug=396844)
Comment 5 Daniel Gryniewicz (RETIRED) gentoo-dev 2007-02-14 16:28:27 UTC
That patch worked great here.
Comment 6 Kenneth Perry 2007-03-02 16:01:39 UTC
Patch also worked here on ~amd64.
Comment 7 Chris Gianelloni (RETIRED) gentoo-dev 2007-06-19 17:58:24 UTC
Robin, if you don't mind, I can apply this patch and resolve this bug.
Comment 8 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2007-06-19 20:33:39 UTC
wolf31o2: go for it.
Comment 9 Chris Gianelloni (RETIRED) gentoo-dev 2007-06-22 17:59:03 UTC
OK.  I fixed this, but using a different manner.  This should account for whether zlib is needed or not, and won't needlessly link to zlib.

Thanks, Robin
Comment 10 Chris Gianelloni (RETIRED) gentoo-dev 2007-06-22 18:02:27 UTC
Oh yeah, I only did 0.7, so you might want to clean up the older ebuilds.  I wasn't going to touch it, since I wasn't sure if there's a reason for keeping the older ones around.