Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 95437 - lshw-02.04b failled compilation
Summary: lshw-02.04b failled compilation
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-06-08 03:47 UTC by Romang
Modified: 2005-06-09 17:51 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 Romang 2005-06-08 03:47:34 UTC
Hello,

During lshw installation, crash on compilation :

www root # emerge -pv lshw

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild  N    ] sys-apps/lshw-02.04b  -debug -gtk 0 kB

www root # emerge info
Portage 2.0.51.19 (default-linux/x86/2005.0, gcc-3.3.4, glibc-2.3.4.20040808-r1, 2.6.11-hardened-r13 i686)
=================================================================
System uname: 2.6.11-hardened-r13 i686 Intel(R) Pentium(R) 4 CPU 3.00GHz
Gentoo Base System version 1.4.16
Python:              dev-lang/python-2.3.4-r1 [2.3.4 (#1, Mar 22 2005, 15:03:53)]
dev-lang/python:     2.3.4-r1
sys-apps/sandbox:    [Not Present]
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.5, 1.8.5-r3, 1.7.9-r1, 1.6.3, 1.4_p6, 1.9.4
sys-devel/binutils:  2.14.90.0.8-r1
sys-devel/libtool:   1.5.2-r5
virtual/os-headers:  2.4.21-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=pentium4 -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /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="-O2 -march=pentium4 -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig buildpkg ccache distlocks sandbox sfperms strict"
GENTOO_MIRRORS="ftp:///ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ http://gentoo.tiscali.nl/gen too/ http://gentoo.zie.pg.gda.pl"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 alsa apache2 apm arts avi bash-completion berkdb bitmap-fonts crypt cur emboss encode fbcon foomaticdb fortran gd gdbm gif gpm gtk2 innodb jpeg l libg++ libwww mad memlimit mikmod motif mp3 mpeg mysql ncurses nls oggvorbis opengl oss pam pdflib perl png python quicktime readline sdl snmp spell ssl tcpd tiff truetype truetype-fonts type1-fonts xml2 xmms xv zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY

g++ -g -Wall -O2 -march=pentium4 -fomit-frame-pointer  -DPREFIX=\"/usr\" -DSBINDIR=\"/usr/sbin\" -DMANDIR=\"/usr/share/man\" -DDATADIR=\"/usr/share\" -c cpufreq.cc -o cpufreq.o
ar rs liblshw.a 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 usb.o sysfs.o display.o heuristics.o parisc.o cpufreq.o
ar: creating liblshw.a
make[2]: Leaving directory `/var/tmp/portage/lshw-02.04b/work/lshw-B.02.04/src/core'
g++ -L./core/ -Wl,--as-needed -Os -s -o lshw lshw.o -llshw 
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.4/../../../../i686-pc-linux-gnu/bin/ld: unrecognized option '--as-needed'
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.4/../../../../i686-pc-linux-gnu/bin/ld: use the --help option for usage information
collect2: ld returned 1 exit status
make[1]: *** [lshw] Error 1
make[1]: Leaving directory `/var/tmp/portage/lshw-02.04b/work/lshw-B.02.04/src'
make: *** [all] Error 2

!!! ERROR: sys-apps/lshw-02.04b failed.
!!! Function src_compile, Line 41, Exitcode 2
!!! make failed
!!! If you need support, post the topmost build error, NOT this status message.

Regards.
Comment 1 SpanKY gentoo-dev 2005-06-08 05:50:22 UTC
your binutils are out of date
Comment 2 Romang 2005-06-08 07:52:38 UTC
Hello,

Shouldn't be a dependancy on the new binutils ?

Or should i do emerge -up --deep world every time for an update.

I only do glsa-check update, no need to update things that are secure.

But if install a soft, the dependancy should say that i should merge the new
binutils.

Thxs for your help.

Regards.
Comment 3 SpanKY gentoo-dev 2005-06-09 17:51:50 UTC
fixed in cvs