Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 128858 - sys-apps/coreutils-5.2.1-r7 doesn't build with gcc-4.1
Summary: sys-apps/coreutils-5.2.1-r7 doesn't build with gcc-4.1
Status: RESOLVED DUPLICATE of bug 126027
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-04-04 20:16 UTC by Matthias Langer
Modified: 2006-04-05 02:24 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 Matthias Langer 2006-04-04 20:16:08 UTC
when trying to emerge coreutils-5.2.1-r7 with gcc-4.1 in a chroot, i get:

if i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I..  -I.. -I. -I../lib -I../lib   -O2 -march=athlon-xp -pipe -MT chgrp.o -MD -MP -MF ".deps/chgrp.Tpo" -c -o chgrp.o chgrp.c; \
then mv -f ".deps/chgrp.Tpo" ".deps/chgrp.Po"; else rm -f ".deps/chgrp.Tpo"; exit 1; fi
In file included from lbracket.c:2:
test.c:129: error: static declaration of 'eaccess' follows non-static declaration
/usr/include/unistd.h:266: error: previous declaration of 'eaccess' was here
make[3]: *** [lbracket.o] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory `/var/tmp/portage/coreutils-5.2.1-r7/work/coreutils-5.2.1/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/var/tmp/portage/coreutils-5.2.1-r7/work/coreutils-5.2.1/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/coreutils-5.2.1-r7/work/coreutils-5.2.1'
make: *** [all] Error 2

!!! ERROR: sys-apps/coreutils-5.2.1-r7 failed.

Portage 2.0.54 (default-linux/x86/2006.0, gcc-4.1.0, glibc-2.4-r1, 2.6.15-gentoo-r5 i686)
=================================================================
System uname: 2.6.15-gentoo-r5 i686 AMD Athlon(tm) XP 2400+
Gentoo Base System version 1.6.14
dev-lang/python:     2.4.2
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=athlon-xp -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /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/eselect/compiler /etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=athlon-xp -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig colission-protect distlocks sandbox sfperms strict"
GENTOO_MIRRORS="ftp://gd.tuwien.ac.at/opsys/linux/gentoo/"
LANG="en_US.utf8"
LC_ALL="en_US.utf8"
LINGUAS="en de"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://192.168.0.1/gentoo-portage"
USE="x86 3dnow 3dnowext X a52 alsa apm avi berkdb bitmap-fonts bzip2 bzlib cairo cli crypt css ctype cups dba dbus dri dv dvd dvdread emboss encode expat fam fame fastbuild firefox flac foomaticdb force-cgi-redirect fortran ftp gd gdbm gif gmp gnome gphoto2 gpm gstreamer gtk gtk2 hal imlib ipv6 isdnlog jpeg libg++ libwww mad memlimit mikmod mmx mmxext motif mp3 mpeg nautilus ncurses nls nptl nptlonly nsplugin nvidia ogg oggvorbis opengl pam pcre pdflib perl png posix pppd python quicktime readline real sdl session simplexml soap sockets spell spl sse ssl subtitles tcpd theora tokenizer truetype truetype-fonts type1-fonts udev unicode usb vcd video_cards_nvidia vorbis win32codecs wma xml xmms xsl xv xvid zlib linguas_en linguas_de userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, INSTALL_MASK, LDFLAGS, PORTDIR_OVERLAY
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-04-05 02:24:13 UTC
Use 5.94

*** This bug has been marked as a duplicate of 117482 ***
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2006-04-05 02:24:36 UTC
Uh... wrong bug.
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2006-04-05 02:24:51 UTC

*** This bug has been marked as a duplicate of 126027 ***