Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 99036 - x86 emerge failed on sys-apps/usbutils-0.11-r5 from fresh stage2 athlon-xp environment
Summary: x86 emerge failed on sys-apps/usbutils-0.11-r5 from fresh stage2 athlon-xp en...
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Greg Kroah-Hartman (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-07-14 12:52 UTC by Howard Fredericks
Modified: 2005-11-29 22:36 UTC (History)
2 users (show)

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


Attachments
/var/tmp/portage/usbutils-0.11-r5/work/usbutils-0.11/names.o (names.o,16.14 KB, application/octet-stream)
2005-07-19 13:49 UTC, Howard Fredericks
Details
emerge -v usbutils # Scrollback buffer full-text (usbutils_emergedashv_error.txt,9.42 KB, text/plain)
2005-07-19 13:57 UTC, Howard Fredericks
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Howard Fredericks 2005-07-14 12:52:46 UTC
Emerge sys-apps/usbutils fails in 2005.0 universal livecd system installation
from stage2 athlon-xp tarball baseline.

Work-around found that builds usbtuils without error. Enable ~x86 usbutils
package and emerge usbutils.



Reproducible: Always
Steps to Reproduce:
1. Boot from 2005.0 universal livecd and install stage2 tarball for athlon-xp to
newly created filesystem.
2. Modifed /etc/make.conf to add use flags.
3. emerge sync ; emerge -vep system
4. emerge lshw pciutils usbutils
Actual Results:  

Emerge error message follows:
[...]
gcc -DHAVE_CONFIG_H -I. -I. -I.     -O2 -march=athlon-xp -fomit-frame-pointer -c
lsusb.c 
gcc -DHAVE_CONFIG_H -I. -I. -I.     -O2 -march=athlon-xp -fomit-frame-pointer -c
names.c 
gcc -DHAVE_CONFIG_H -I. -I. -I.     -O2 -march=athlon-xp -fomit-frame-pointer -c
devtree.c 
gcc  -O2 -march=athlon-xp -fomit-frame-pointer  -o lsusb  lsusb.o names.o devtree.o 
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130/../../../../i686-pc-linux-gnu/bin/ld:names.o:
file format not recognized; treating as linker script 
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130/../../../../i686-pc-linux-gnu/bin/ld:names.o:1:
syntax error 
collect2: ld returned 1 exit status 
make[2]: *** [lsusb] Error 1 
make[2]: Leaving directory `/var/tmp/portage/usbutils-0.11-r5/work/usbutils-0.11' 
make[1]: *** [all-recursive] Error 1 
make[1]: Leaving directory `/var/tmp/portage/usbutils-0.11-r5/work/usbutils-0.11' 
make: *** [all-recursive-am] Error 2 
 
!!! ERROR: sys-apps/usbutils-0.11-r5 failed. 
!!! Function src_compile, Line 43, Exitcode 2 
!!! (no error message) 
!!! If you need support, post the topmost build error, NOT this status message. 


Expected Results:  
build and install usbutils from x86 branch with error.


# Use flags added to /etc/make.conf

## USE ##
# grep ${FLAG} /usr/portage/profiles/use.desc for explanation
# See also http://gentoo-portage.com
# HARDWARE #
CPU="3dnow 3dnowext gcj gcc mmx mtrr nptl sse threads x86"
PM="acpi -apm"
VIDEO="nvidia -3dfx opengl"
AUDIO="audiofile alsa -arts esd openal"
BLK_DEV="cdr cdparanoia"
NET="howl -ipv6 -nas tcpd"
OTHER="gpm hal -pcmcia pda -joystick usb"
HARDWARE="${CPU} ${PM} ${VIDEO} ${AUDIO} ${BLK_DEV} ${NET} ${OTHER}" ##
# SOFTWARE #
SYS_AUTH="berkdb crypt hardened -imap innodb ldap mysql pam pam-mysql -selinux ssl"
X11="-X -accessibility -artworkextra -bonobo -gnome -gtk -gtk2 -gtkhtml -Xaw3d
-qt -kde"
#X11="X accessibility artworkextra bonobo gnome gtk gtk2 gtkhtml -Xaw3d -qt -kde"
MMX_OTHER="-exif -gd gif -gimp -gstreamer -imagemagick jpeg mime ming mng pdflib
png tiff -wmf"
MMX_VID="-avi -divx4linux -dv -encode -flash -mpeg -quicktime -xine -xvid"
MMX_SND="aac flac mad ogg oggvorbis xmms"
WWW="-aim apache2 -icq -ftp -jabber libwww -maildir mailwrapper mozilla -msn
-nntp -oscar -yahoo xml xml2"
PROG="bash-completion curl java mono pcre perl php python"
MISC="zlib -gnomedb emacs virus-scan gnutls spell tcltk -tidy truetype unicode"
SOFTWARE="${SYS_AUTH} ${X11} ${MMX_SND} ${MMX_VID} ${MMX_OTHER} ${PROG} ${WWW}
${MISC}" ##
## USE ##
USE="${HARDWARE} ${SOFTWARE}"

## PORTAGE SETTINGS ##
# Read /etc/make.conf.example for explanation
AUTOCLEAN="yes"
RSYNC_RETRIES="1"
RSYNC_TIMEOUT="30"
# You may wish for other PCs to use these binaries, if so:
# mkdir /var/www/localhost/pub/gentoo/grp -p
# ln -s /usr/portage/packages/All /var/www/localhost/pub/gentoo/grp/i686
# 'Options FollowSymLinks' directive must be specified in
/etc/apache2/conf/commonapache.conf
# PORTAGE_BINHOST="http://coolaj86.homedns.org:4887/pub/gentoo/grp/i686/" #
Built following this guide
# PORTAGE_BINHOST="http://chinstrap.alternating.net/files/2005.0/grp/i686/"
# Warning: If you alter a variable to point to a different location, never end
the path with a trailing / !
PORTDIR_OVERLAY="/usr/local/portage"
PORTDIR="/usr/portage"
DISTDIR="${PORTDIR}/distfiles"
PKGDIR="${PORTDIR}/packages"
RPMDIR="${PORTDIR}/rpm"
PORTAGE_TMPDIR="/var/tmp"
BUILD_PREFIX="${PORTAGE_TMPDIR}/portage"
# Uncomment for logging
#PORT_LOGDIR="/var/log/portage"


## OTHER SETTINGS ##
# ALSA_CARDS="via82cxx"
# ALSA_CARDS="emu10k1"
CCACHE_SIZE="2G"
# DISTCC_DIR="${PORTAGE_TMPDIR}/.distcc"

FEATURES="sandbox ccache buildpkg"
################################################
Comment 1 Chris Gianelloni (RETIRED) gentoo-dev 2005-07-14 14:24:59 UTC
This package is not maintained by the livecd herd.  Reassigning to maintainer.
Comment 2 SpanKY gentoo-dev 2005-07-14 15:54:09 UTC
you should post `emerge info` not some ghetto cut & paste of config files
Comment 3 Stian Skjelstad 2005-07-16 05:59:29 UTC
Could you post /var/tmp/portage/usbutils-0.11-r5/work/usbutils-0.11/names.o here?

Does your cut'n paste lack  -o XXX.o on each gcc line?
Comment 4 Howard Fredericks 2005-07-19 13:39:35 UTC
# results of emerge info as requested

livecd / # emerge info
Portage 2.0.51.22-r1 (default-linux/x86/2005.0, gcc-3.3.5-20050130,
glibc-2.3.4.20041102-r1, 2.6.11-gentoo-r3 i686)
=================================================================
System uname: 2.6.11-gentoo-r3 i686 AMD Athlon(TM) XP 2000+
Gentoo Base System version 1.6.12
ccache version 2.3 [enabled]
dev-lang/python:     2.3.5
sys-apps/sandbox:    1.2.10
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5
sys-devel/binutils:  2.15.92.0.2-r10
sys-devel/libtool:   1.5.18-r1
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=athlon-xp -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=athlon-xp -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig buildpkg ccache distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
LINGUAS="en"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.orcascorp.pvt/gentoo-portage"
USE="3dnow 3dnowext aac acpi alsa apache2 audiofile bash-completion berkdb
bitmap-fonts cdparanoia cdr crypt cups curl emacs emboss esd flac foomaticdb
fortran gcc gcj gdbm gif gnutls gpm hal hardened howl imlib innodb java jpeg
ldap libg++ libwww mad mailwrapper mikmod mime ming mmx mng mono motif mozilla
mp3 mtrr mysql ncurses nls nptl nvidia ogg oggvorbis openal opengl oss pam
pam-mysql pcre pda pdflib perl php png python readline sdl spell sse ssl tcltk
tcpd threads tiff truetype truetype-fonts type1-fonts unicode usb virus-scan x86
xml xml2 xmms xv zlib linguas_en userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, MAKEOPTS
Comment 5 Howard Fredericks 2005-07-19 13:49:51 UTC
Created attachment 63810 [details]
/var/tmp/portage/usbutils-0.11-r5/work/usbutils-0.11/names.o

names.o file as requested.
Comment 6 Howard Fredericks 2005-07-19 13:57:49 UTC
Created attachment 63811 [details]
emerge -v usbutils  # Scrollback buffer full-text
Comment 7 Martin Schlemmer (RETIRED) gentoo-dev 2005-07-21 00:27:01 UTC
Looks like disk corruption .. Mike?
Comment 8 SpanKY gentoo-dev 2005-07-30 00:36:28 UTC
looks that way to me too
Comment 9 Martin Schlemmer (RETIRED) gentoo-dev 2005-08-03 13:07:57 UTC
Howard, have you tried to run a full fsck on the disk that host PORTAGE_TMPDIR
yet?  And maybe a few hours of memtest as well.
Comment 10 SpanKY gentoo-dev 2005-11-29 22:36:43 UTC
see previous comments