Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 132920

Summary: src_compile
Product: Gentoo Linux Reporter: Eduardo F. Velasques <eduveks>
Component: [OLD] UnspecifiedAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED INVALID    
Severity: critical    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Other   
Whiteboard:
Package list:
Runtime testing required: ---

Description Eduardo F. Velasques 2006-05-10 09:51:05 UTC
When try run the command "emerge -eu world", return this error:

patch.o: In function `make_temp':
patch.c:(.text+0xf03): warning: the use of `mktemp' is dangerous, better use `mkstemp'
mkdir.o: In function `rpl_mkdir':
mkdir.c:(.text+0x57): undefined reference to `xstrdup'
mkdir.c:(.text+0x61): undefined reference to `strip_trailing_slashes'
collect2: ld returned 1 exit status
make: *** [patch] Error 1

!!! ERROR: sys-devel/patch-2.5.9 failed.
!!! Function src_compile, Line 29, Exitcode 2
!!! emake failed
!!! If you need support, post the topmost build error, NOT this status message.


Or the command "emerge -eu glibc", return this error:

/usr/lib/gcc/i686-pc-linux-gnu/3.4.5/../../../../i686-pc-linux-gnu/bin/ld: BFD 2.16.1 assertion fail 

/var/tmp/portage/binutils-2.16.1/work/binutils-2.16.1/bfd/elflink.c:2322
make[2]: *** [sed] Error 1
make[2]: Leaving directory `/var/tmp/portage/sed-4.1.4-r1/work/sed-4.1.4/sed'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/sed-4.1.4-r1/work/sed-4.1.4'
make: *** [all] Error 2

!!! ERROR: sys-apps/sed-4.1.4-r1 failed.
!!! Function src_compile, Line 63, Exitcode 2
!!! build failed
!!! If you need support, post the topmost build error, NOT this status message.


Or the command "emerge -eu gcc", return this error:

collect2: ld terminated with signal 11 [Segmentation fault]
make[2]: *** [/var/tmp/portage/glibc-2.3.6-r3/work/build-default-i686-pc-linux-gnu-linuxthreads/iconv/iconv_prog] Error 1
make[2]: Leaving directory `/var/tmp/portage/glibc-2.3.6-r3/work/glibc-2.3.6/iconv'
make[1]: *** [iconv/others] Error 2
make[1]: Leaving directory `/var/tmp/portage/glibc-2.3.6-r3/work/glibc-2.3.6'
make: *** [all] Error 2

!!! ERROR: sys-libs/glibc-2.3.6-r3 failed.
!!! Function toolchain-glibc_src_compile, Line 254, Exitcode 2
!!! make for default failed
!!! If you need support, post the topmost build error, NOT this status message.

Always in function "src_compile"...

Thx...


Portage 2203-svn (default-linux/x86/2006.0, gcc-3.4.5, glibc-2.3.5-r2, 2.6.16-gentoo-r6 i686)
=================================================================
System uname: 2.6.16-gentoo-r6 i686 Pentium III (Coppermine)
Gentoo Base System version 1.6.14
dev-lang/python:     2.4.2
dev-python/pycrypto: [Not Present]
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium3 -pipe -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/eselect/compiler /etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=pentium3 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X alsa apache2 apm arts avi berkdb bitmap-fonts bzip2 cli crypt cups dri eds emboss encode esd expat foomaticdb 

fortran gdbm gif gnome gpm gstreamer gtk gtk2 imlib ipv6 isdnlog jpeg kde libg++ libwww mad mikmod motif mp3 mpeg ncurses nls 

nptl ogg opengl oss pam pcre pdflib perl png pppd python qt quicktime readline reflection sdl session spell spl ssl tcpd 

truetype truetype-fonts type1-fonts udev vorbis xml xmms xorg xv zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS, PORTAGE_RSYNC_OPTS, 

PORTDIR_OVERLAY
Comment 1 Mike Doty (RETIRED) gentoo-dev 2006-05-10 09:53:14 UTC
not devrel
Comment 2 Thomas Cort (RETIRED) gentoo-dev 2006-05-10 11:19:21 UTC
*** Bug 132921 has been marked as a duplicate of this bug. ***
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2006-05-10 11:51:54 UTC
One ebuild - one bug. This is not a dumpspace for errors. And don't use -as-needed with stable binutils version, won't work.