Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 75168 - sys-apps/lshw-02.00b doesn't compile
Summary: sys-apps/lshw-02.00b doesn't compile
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-12-21 05:04 UTC by lukenshiro
Modified: 2004-12-21 14:14 UTC (History)
0 users

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 lukenshiro 2004-12-21 05:04:42 UTC
>> Unpacking lshw-B.02.00.tar.gz to /var/tmp/portage/lshw-02.00b/work
>>> Source unpacked.
make -C src all
make[1]: Entering directory `/var/tmp/portage/lshw-02.00b/work/lshw-B.02.00/src'
make -C core all
make[2]: Entering directory `/var/tmp/portage/lshw-02.00b/work/lshw-B.02.00/src/core'
make[2]: warning: jobserver unavailable: using -j1.  Add `+' to parent make rule.
c++ -g -Wall -O2 -march=athlon-tbird -pipe -fomit-frame-pointer  -c hw.cc -o hw.o
c++ -g -Wall -O2 -march=athlon-tbird -pipe -fomit-frame-pointer -I./core/ -c lshw.cc -o ls
hw.o
c++ -g -Wall -O2 -march=athlon-tbird -pipe -fomit-frame-pointer  -c main.cc -o main.o
c++ -g -Wall -O2 -march=athlon-tbird -pipe -fomit-frame-pointer  -c print.cc -o print.o
c++ -g -Wall -O2 -march=athlon-tbird -pipe -fomit-frame-pointer  -c mem.cc -o mem.o
c++ -g -Wall -O2 -march=athlon-tbird -pipe -fomit-frame-pointer  -c dmi.cc -o dmi.o
c++ -g -Wall -O2 -march=athlon-tbird -pipe -fomit-frame-pointer  -c device-tree.cc -o device-tree.o
c++ -g -Wall -O2 -march=athlon-tbird -pipe -fomit-frame-pointer  -c cpuinfo.cc -o cpuinfo.o
c++ -g -Wall -O2 -march=athlon-tbird -pipe -fomit-frame-pointer  -c osutils.cc -o osutils.o
In file included from /usr/include/linux/fs.h:12,
                 from osutils.cc:10:
/usr/include/linux/wait.h: In function `int waitqueue_active(wait_queue_head_t*)':
/usr/include/linux/wait.h:79: error: `list_empty' undeclared (first use this function)
/usr/include/linux/wait.h:79: error: (Each undeclared identifier is reported only once for each function it appears in.)
make[2]: *** [osutils.o] Error 1
make[2]: Leaving directory `/var/tmp/portage/lshw-02.00b/work/lshw-B.02.00/src/core'
make[1]: *** [core] Error 2
make[1]: Leaving directory `/var/tmp/portage/lshw-02.00b/work/lshw-B.02.00/src'
make: *** [all] Error 2


Reproducible: Always
Steps to Reproduce:





Portage 2.0.51-r8 (default-linux/x86/2004.3, gcc-3.4.3, 
glibc-2.3.4.20041102-r0, 2.6.9-gentoo-r10 i686) 
================================================================= 
System uname: 2.6.9-gentoo-r10 i686 AMD Athlon(TM) XP 2000+ 
Gentoo Base System version 1.6.8 
Python:              dev-lang/python-2.3.4 [2.3.4 (#1, Dec 12 2004, 02:35:30)] 
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) 
[disabled] 
ccache version 2.3 [enabled] 
dev-lang/python:     2.3.4 
sys-devel/autoconf:  2.59-r6, 2.13 
sys-devel/automake:  1.8.5-r2, 1.5, 1.4_p6, 1.6.3, 1.7.9, 1.9.3 
sys-devel/binutils:  2.15.92.0.2-r2 
sys-devel/libtool:   1.5.10-r2 
virtual/os-headers:  2.6.8.1-r1 
ACCEPT_KEYWORDS="x86 ~x86" 
AUTOCLEAN="yes" 
CFLAGS="-O2 -march=athlon-tbird -pipe -fomit-frame-pointer" 
CHOST="i686-pc-linux-gnu" 
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/bind /var/qmail/control" 
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" 
CXXFLAGS="-O2 -march=athlon-tbird -pipe -fomit-frame-pointer" 
DISTDIR="/usr/portage/distfiles" 
FEATURES="autoaddcvs autoconfig buildpkg ccache distlocks fixpackages sandbox 
sfperms" 
GENTOO_MIRRORS="http://pandemonium.tiscali.de/pub/gentoo/ 
http://mirror.switch.ch/mirror/gentoo/ ftp://mirror.switch.ch/mirror/gentoo/ 
ftp://gd.tuwien.ac.at/opsys/linux/gentoo/ 
ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo 
ftp://mirror.nutsmaas.nl/gentoo/ http://gentoo.mirror.icd.hu/ 
http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ 
http://ftp.ntua.gr/pub/linux/gentoo/ http://gentoo.zie.pg.gda.pl" 
MAKEOPTS="-j2" 
PKGDIR="/usr/portage/packages" 
PORTAGE_TMPDIR="/var/tmp" 
PORTDIR="/usr/portage" 
PORTDIR_OVERLAY="/usr/local/portage" 
SYNC="rsync://rsync.it.gentoo.org/gentoo-portage" 
USE="16bit 3dnow 3dnowex X X509 Xaw3d a52 aac aalib aavm accessibility 
accounting acpi activefilter aim alsa arts artworkextra async athena auctex 
audiofile avi bcmath beep beepmp berkdb bidi bitmap-fonts bonobo bzlib cairo 
calendar caps cdparanoia cdr cdrom chroot clamav clisp codecs crypt css ctype 
curl curlwrappers dbx dga dillo dio disablexmb divx4linux dnd doc dv dvd 
dvdread emacs emacs-w3 encode escreen esd ethereal examples exif extensions f2c 
f77 faac faad fam fame fdftk festival ffmpeg fftw firebird flac flash flood 
font-server foomaticdb foreign-package fortran freetype ftp gb gcj gcl gd gdbm 
gif gimp gimpprint gkrellm glade glep glut gmp gnome gnomedb gnuplot gnustep 
gnutls gphoto2 gpm graphviz gs gsl gsnd gstreamer gtk gtk2 gtkhtml guile iconv 
icq ide image imagemagick imlib imlib2 jabber java javacomm javadoc javascript 
jbig jikes jp2 jpeg jpeg2k junit justify kde kdexdeltas koffice-plugin latex 
lcms ldap leim lesstif libcaca libclamav libdsk libg++ libgda libwww lids live 
lua lzo lzw mad maildir maps matroska mbrola mcal mdb memlimit messages mhash 
mikmod mime mimencode ming mixer mjpeg mmap mmx mmx2 mng monkey motif mozilla 
mozp3p mozsvg mp3 mpeg mpeg4 mpi mplayer msn mule music mysql mythtv nas 
ncurses neXt net network nls nptl ntlm oav ocaml odbc oggvorbis openal opengl 
oscar oss pam parse-clocks pcre pdf pdflib perl pic pieplotutils png portaudio 
posix postgres postgresql ppds prelude print pthreads python qemu-fast qt 
quicktime readline real recode rogue rplay rrdtool rtc ruby scanner sdl 
sharedmem silc silverxp slang smartcard smime sndfile snmp snortsam sounds sox 
speex spell sqlite sqlite3 ssl stats stencil-buffer stroke svg svga sysvipc 
t1lib tcltk tcpd tetex tga theora thumbnail tidy tiff timidity tools transcode 
transparent-proxy truetype truetype-fonts type1 type1-fonts usb uudeview v4l 
v4l2 vcdimagervdesktop videos vim vim-pager vim-with-x wmf wsconvert wxwindows 
x86 xanim xatrix xchattext xemacs xforms xine xml xml2 xmms xosd xpm xprint 
xrandr xscreensaver xsl xv xvid yahoo yv12 zlib zvbi linguas_it"
Comment 1 Fredrik Normann 2004-12-21 06:28:54 UTC
I get this compile error:

>>> Source unpacked.
make -C src all
make[1]: Entering directory `/var/tmp/portage/lshw-02.00b/work/lshw-B.02.00/src'
make -C core all
make[2]: Entering directory `/var/tmp/portage/lshw-02.00b/work/lshw-B.02.00/src/core'
make[2]: warning: jobserver unavailable: using -j1.  Add `+' to parent make rule.
c++ -g -Wall -march=pentium3 -pipe -O2 -fomit-frame-pointer -fforce-addr -frename-registers -fprefetch-loop-arrays -falign-functions=64  -c hw.cc -o hw.o
c++ -g -Wall -march=pentium3 -pipe -O2 -fomit-frame-pointer -fforce-addr -frename-registers -fprefetch-loop-arrays -falign-functions=64 -I./core/ -c lshw.cc -o lshw.o
c++ -g -Wall -march=pentium3 -pipe -O2 -fomit-frame-pointer -fforce-addr -frename-registers -fprefetch-loop-arrays -falign-functions=64  -c main.cc -o main.o
c++ -g -Wall -march=pentium3 -pipe -O2 -fomit-frame-pointer -fforce-addr -frename-registers -fprefetch-loop-arrays -falign-functions=64  -c print.cc -o print.o
c++ -g -Wall -march=pentium3 -pipe -O2 -fomit-frame-pointer -fforce-addr -frename-registers -fprefetch-loop-arrays -falign-functions=64  -c mem.cc -o mem.o
c++ -g -Wall -march=pentium3 -pipe -O2 -fomit-frame-pointer -fforce-addr -frename-registers -fprefetch-loop-arrays -falign-functions=64  -c dmi.cc -o dmi.o
c++ -g -Wall -march=pentium3 -pipe -O2 -fomit-frame-pointer -fforce-addr -frename-registers -fprefetch-loop-arrays -falign-functions=64  -c device-tree.cc -o device-tree.o
c++ -g -Wall -march=pentium3 -pipe -O2 -fomit-frame-pointer -fforce-addr -frename-registers -fprefetch-loop-arrays -falign-functions=64  -c cpuinfo.cc -o cpuinfo.o
c++ -g -Wall -march=pentium3 -pipe -O2 -fomit-frame-pointer -fforce-addr -frename-registers -fprefetch-loop-arrays -falign-functions=64  -c osutils.cc -o osutils.o
c++ -g -Wall -march=pentium3 -pipe -O2 -fomit-frame-pointer -fforce-addr -frename-registers -fprefetch-loop-arrays -falign-functions=64  -c pci.cc -o pci.o
c++ -g -Wall -march=pentium3 -pipe -O2 -fomit-frame-pointer -fforce-addr -frename-registers -fprefetch-loop-arrays -falign-functions=64  -c version.cc -o version.o
c++ -g -Wall -march=pentium3 -pipe -O2 -fomit-frame-pointer -fforce-addr -frename-registers -fprefetch-loop-arrays -falign-functions=64  -c cpuid.cc -o cpuid.o
cpuid.cc: In function `void cpuid(int, long unsigned int, long unsigned int&, long unsigned int&, long unsigned int&, long unsigned int&)':
cpuid.cc:99: error: can't find a register in class `BREG' while reloading `asm'
make[2]: *** [cpuid.o] Error 1
make[2]: Leaving directory `/var/tmp/portage/lshw-02.00b/work/lshw-B.02.00/src/core'
make[1]: *** [core] Error 2
make[1]: Leaving directory `/var/tmp/portage/lshw-02.00b/work/lshw-B.02.00/src'
make: *** [all] Error 2

!!! ERROR: sys-apps/lshw-02.00b failed.
!!! Function src_compile, Line 31, Exitcode 2
!!! (no error message)
!!! If you need support, post the topmost build error, NOT this status message.



emerge info:

Portage 2.0.51-r8 (default-linux/x86/2004.2, gcc-3.4.3, glibc-2.3.4.20041102-r0, 2.6.9-gentoo-r1 i686)
=================================================================
System uname: 2.6.9-gentoo-r1 i686 Intel(R) Pentium(R) M processor 1600MHz
Gentoo Base System version 1.6.8
Python:              dev-lang/python-2.3.4 [2.3.4 (#1, Sep 19 2004, 11:51:16)]
dev-lang/python:     2.3.4
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.8.5-r2, 1.5, 1.4_p6, 1.6.3, 1.7.9, 1.9.3
sys-devel/binutils:  2.15.92.0.2-r2
sys-devel/libtool:   1.5.10-r2
virtual/os-headers:  2.4.22
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium3 -pipe -O2 -fomit-frame-pointer -fforce-addr -frename-registers -fprefetch-loop-arrays -falign-functions=64"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=pentium3 -pipe -O2 -fomit-frame-pointer -fforce-addr -frename-registers -fprefetch-loop-arrays -falign-functions=64"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo ftp://ftp.tu-clausthal.de/pub/linux/gentoo/ ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X aalib acpi alsa apm audiofile avi berkdb bitmap-fonts bzlib calendar cdr crypt doc dvd emacs encode ethereal f77 fam fbcon flac foomaticdb fortran gdbm gif gnome gphoto2 gpm gtk gtk2 gtkhtml imagemagick imap imlib java jikes jpeg junit kde libg++ libwww mad mikmod mime mmx motif mozilla mpeg ncurses nls oggvorbis opengl oss pam pcmcia pdflib perl php png python quicktime readline sdl slang soap spell sse ssl svga tcltk tcpd tetex tiff truetype usb wxwindows x86 xine xinerama xml xml2 xmms xprint xv xvid zlib"
Comment 2 SpanKY gentoo-dev 2004-12-21 14:14:49 UTC
fixed in cvs