Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 77058 - lshw compilation fails
Summary: lshw compilation fails
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: 2005-01-07 12:17 UTC by persson
Modified: 2005-01-07 12:35 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 persson 2005-01-07 12:17:47 UTC
When trying to emerge lshw, I see the following messages:

>>> emerge (1 of 1) sys-apps/lshw-01.08a to /
>>> md5 src_uri ;-) lshw-A.01.08.tar.gz
>>> Unpacking source...
>>> Unpacking lshw-A.01.08.tar.gz to /var/tmp/portage/lshw-01.08a/work
>>> Source unpacked.
march=pentium2 -mcpu=pentium2 -O3 -pipe -c hw.cc -o hw.o
march=pentium2 -mcpu=pentium2 -O3 -pipe -c main.cc -o main.o
/bin/sh: line 1: -mcpu=pentium2: command not found
make: [main.o] Error 127 (ignored)
march=pentium2 -mcpu=pentium2 -O3 -pipe -c print.cc -o print.o
/bin/sh: line 1: -mcpu=pentium2: command not found
make: [hw.o] Error 127 (ignored)
march=pentium2 -mcpu=pentium2 -O3 -pipe -c mem.cc -o mem.o
/bin/sh: line 1: -mcpu=pentium2: command not found
make: [print.o] Error 127 (ignored)
march=pentium2 -mcpu=pentium2 -O3 -pipe -c dmi.cc -o dmi.o
/bin/sh: line 1: -mcpu=pentium2: command not found
make: [mem.o] Error 127 (ignored)
march=pentium2 -mcpu=pentium2 -O3 -pipe -c device-tree.cc -o device-tree.o
/bin/sh: line 1: -mcpu=pentium2: command not found
make: [dmi.o] Error 127 (ignored)
march=pentium2 -mcpu=pentium2 -O3 -pipe -c cpuinfo.cc -o cpuinfo.o
/bin/sh: line 1: -mcpu=pentium2: command not found
make: [device-tree.o] Error 127 (ignored)
march=pentium2 -mcpu=pentium2 -O3 -pipe -c osutils.cc -o osutils.o
/bin/sh: line 1: -mcpu=pentium2: command not found
make: [cpuinfo.o] Error 127 (ignored)
march=pentium2 -mcpu=pentium2 -O3 -pipe -c pci.cc -o pci.o
/bin/sh: line 1: -mcpu=pentium2: command not found
make: [osutils.o] Error 127 (ignored)
march=pentium2 -mcpu=pentium2 -O3 -pipe -c version.cc -o version.o
/bin/sh: line 1: -mcpu=pentium2: command not found
make: [pci.o] Error 127 (ignored)
march=pentium2 -mcpu=pentium2 -O3 -pipe -c cpuid.cc -o cpuid.o
/bin/sh: line 1: -mcpu=pentium2: command not found
make: [version.o] Error 127 (ignored)
march=pentium2 -mcpu=pentium2 -O3 -pipe -c ide.cc -o ide.o
/bin/sh: line 1: -mcpu=pentium2: command not found
make: [cpuid.o] Error 127 (ignored)
march=pentium2 -mcpu=pentium2 -O3 -pipe -c cdrom.cc -o cdrom.o
/bin/sh: line 1: -mcpu=pentium2: command not found
make: [ide.o] Error 127 (ignored)
march=pentium2 -mcpu=pentium2 -O3 -pipe -c pcmcia.cc -o pcmcia.o
/bin/sh: line 1: -mcpu=pentium2: command not found
make: [cdrom.o] Error 127 (ignored)
march=pentium2 -mcpu=pentium2 -O3 -pipe -c scsi.cc -o scsi.o
/bin/sh: line 1: -mcpu=pentium2: command not found
make: [pcmcia.o] Error 127 (ignored)
march=pentium2 -mcpu=pentium2 -O3 -pipe -c disk.cc -o disk.o
/bin/sh: line 1: -mcpu=pentium2: command not found
make: [scsi.o] Error 127 (ignored)
march=pentium2 -mcpu=pentium2 -O3 -pipe -c spd.cc -o spd.o
/bin/sh: line 1: -mcpu=pentium2: command not found
make: [disk.o] Error 127 (ignored)
march=pentium2 -mcpu=pentium2 -O3 -pipe -c network.cc -o network.o
/bin/sh: line 1: -mcpu=pentium2: command not found
make: [spd.o] Error 127 (ignored)
march=pentium2 -mcpu=pentium2 -O3 -pipe -c isapnp.cc -o isapnp.o
/bin/sh: line 1: -mcpu=pentium2: command not found
make: [network.o] Error 127 (ignored)
march=pentium2 -mcpu=pentium2 -O3 -pipe -c pnp.cc -o pnp.o
/bin/sh: line 1: -mcpu=pentium2: command not found
make: [isapnp.o] Error 127 (ignored)
march=pentium2 -mcpu=pentium2 -O3 -pipe -c fb.cc -o fb.o
/bin/sh: line 1: -mcpu=pentium2: command not found
/bin/sh: line 1: -mcpu=pentium2: command not found
make: [pnp.o] Error 127 (ignored)
make: [fb.o] Error 127 (ignored)
march=pentium2 -mcpu=pentium2 -O3 -pipe -c options.cc -o options.o
/bin/sh: line 1: -mcpu=pentium2: command not found
make: [options.o] Error 127 (ignored)
march=pentium2 -mcpu=pentium2 -O3 -pipe -c lshw.cc -o lshw.o
/bin/sh: line 1: -mcpu=pentium2: command not found
make: [lshw.o] Error 127 (ignored)
march=pentium2 -mcpu=pentium2 -O3 -pipe -c usb.cc -o usb.o
/bin/sh: line 1: -mcpu=pentium2: command not found
make: [usb.o] Error 127 (ignored)
march=pentium2 -mcpu=pentium2 -O3 -pipe -c sysfs.cc -o sysfs.o
/bin/sh: line 1: -mcpu=pentium2: command not found
make: [sysfs.o] Error 127 (ignored)
o lshw  hw.o main.o print.o mem.o dmi.o device-tree.o cpuinfo.o osutils.o pci.o version.o cpuid.o ide.o cdrom.o pcmcia.o scsi.o disk.o spd.o network.o isapnp.o pnp.o fb.o options.o lshw.o usb.o sysfs.o
make: o: Command not found
make: [lshw] Error 127 (ignored)
>> Test phase [not enabled]: sys-apps/lshw-01.08a

>>> Install lshw-01.08a into /var/tmp/portage/lshw-01.08a/image/ category sys-apps
c++ -g -Wall -Os -c hw.cc -o hw.o

and it stays here forever, until I hit ctrl-C.

Reproducible: Always
Steps to Reproduce:
1. emerge lshw
2.
3.
Actual Results:  
Several error messages have been displayed. 

Expected Results:  
It should have built cleanly. 

Portage 2.0.51-r3 (default-linux/x86/2004.3, gcc-3.3.4, 
glibc-2.3.4.20040808-r1, 2.6.9-gentoo-r13bootsplash i686) 
================================================================= 
System uname: 2.6.9-gentoo-r13bootsplash i686 Pentium II (Klamath) 
Gentoo Base System version 1.4.16 
Autoconf: sys-devel/autoconf-2.59-r5 
Automake: sys-devel/automake-1.8.5-r1 
Binutils: sys-devel/binutils-2.15.90.0.1.1-r3 
Headers:  sys-kernel/linux26-headers-2.6.8.1-r2 
Libtools: sys-devel/libtool-1.5.2-r7 
ACCEPT_KEYWORDS="x86" 
AUTOCLEAN="yes" 
CFLAGS="-march=pentium2 -mcpu=pentium2 -O3 -pipe" 
CHOST="i686-pc-linux-gnu" 
COMPILER="" 
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/
kde/3/share/config /usr/share/config /var/qmail/control" 
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" 
CXXFLAGS="-march=pentium2 -mcpu=pentium2 -O3 -pipe" 
DISTDIR="/usr/portage/distfiles" 
FEATURES="autoaddcvs autoconfig ccache distlocks fixpackages sandbox sfperms" 
GENTOO_MIRRORS="http://trumpetti.atm.tut.fi/gentoo                 http://
ftp.heanet.ie/pub/gentoo              http://darkstar.ist.utl.pt/gentoo              
http://ftp.belnet.be/mirror/rsyng.gentoo.org/gentoo              http://
gd.tuwien.ac.at/opsys/linux/gentoo               http://gentoo.oregonstate.edu          
http://www.ibiblio.org/pub/Linux/distributions/gentoo" 
MAKEOPTS="-j2" 
PKGDIR="/usr/portage/packages" 
PORTAGE_TMPDIR="/var/tmp" 
PORTDIR="/usr/portage" 
PORTDIR_OVERLAY="/usr/local/portage" 
USE="x86 X acpi alsa arts avi berkdb bitmap-fonts bzlib cdr crypt cups dbm dga 
dio dvd dvdr encode ethereal exif fam font-server foomaticdb ftp gdbm gif gtk 
gtk2 imap imlib inifile innodb ipv6 java jpeg kerberos mad maildir mcal mime 
mmap mmx mng mpeg ncurses nls nptl nptlonly offensive oggvorbis opengl pam 
pcntl pcre pda pdflib perl php png posix ppds python quicktime quotas readline 
samba shared sharedmem slp sockets sse ssl svg sysvipc tcltk tiff truetype 
truetype-fonts type1-fonts unicode usb wmf xine xml xml2 xmlrpc xpm xsl xv 
xvid yahoo zlib linguas_it linguas_en"
Comment 1 SpanKY gentoo-dev 2005-01-07 12:35:30 UTC
i fixed this in 02.00 a while ago

moved 02 to stable, have fun