When I compile root-3.03.04-r2 the compile aborts on my system while attempting to compile the 'rootd' component of the package. Steps to Reproduce: heres my emerge info hstabena@hansbox hstabena $ emerge info Portage 2.0.49-r3 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1, 2.4.22-pre7-aa1) ================================================================= System uname: 2.4.22-pre7-aa1 i686 AMD Athlon(TM) XP 2200+ ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-O3 -march=athlon-xp -funroll-loops -fomit-frame-pointer -fprefetch-loop-arrays -pipe" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config /usr/share/config" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="-O3 -march=athlon-xp -funroll-loops -fomit-frame-pointer -fprefetch-loop-arrays -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="sandbox ccache autoaddcvs" GENTOO_MIRRORS="ftp://ftp.gtlib.cc.gatech.edu/pub/gentoo http://gentoo.mirrors.pair.com/ ftp://ftp.ussg.iu.edu/pub/linux/gentoo http://gentoo.noved.org/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 avi crypt cups encode foomaticdb gif jpeg libg++ mad mikmod mmx mpeg ncurses nls pdflib png quicktime spell truetype xml2 xmms xv zlib alsa gdbm berkdb slang readline arts tetex aalib svga tcltk java X sdl gpm tcpd pam libwww ssl perl python imlib oggvorbis qt kde motif opengl cdr scanner 3dnow acpi dga dvd emacs hyriand imap kerberos maildir tiff usb wmf Xaw3d -oss -apm -gnome -gtk" and then do a 'emerge root' Actual results: heres what it looks like: hstabena@hansbox # emerge root ...snip... g++ -O3 -march=athlon-xp -funroll-loops -fomit-frame-pointer -fprefetch-loop-arrays -pipe -pipe -Wall -Woverloaded-virtual -fPIC -Iinclude -DHAVE_CONFIG -D_REENTRANT -o rootd/src/netpar.o -c rootd/src/netpar.cxx g++ -O3 -march=athlon-xp -funroll-loops -fomit-frame-pointer -fprefetch-loop-arrays -pipe -pipe -Wall -Woverloaded-virtual -fPIC -Iinclude -DHAVE_CONFIG -D_REENTRANT -DR__SHADOWPW -o rootd/src/rootd.o -c rootd/src/rootd.cxx rootd/src/rootd.cxx: In function `int setresgid(unsigned int, unsigned int, unsigned int)': rootd/src/rootd.cxx:326: `int setresgid(unsigned int, unsigned int, unsigned int)' was declared `extern' and later `static' /usr/include/unistd.h:658: previous declaration of `int setresgid(unsigned int, unsigned int, unsigned int)' rootd/src/rootd.cxx: In function `int setresuid(unsigned int, unsigned int, unsigned int)': rootd/src/rootd.cxx:333: `int setresuid(unsigned int, unsigned int, unsigned int)' was declared `extern' and later `static' /usr/include/unistd.h:654: previous declaration of `int setresuid(unsigned int, unsigned int, unsigned int)' make: *** [rootd/src/rootd.o] Error 1 !!! ERROR: dev-libs/root-3.03.04-r2 failed. !!! Function src_compile, Line 62, Exitcode 2 !!! (no error message) Expected Results: the package compiles correctly Build date and platform: 09/29/03 on Gentoo Linux 1.4 Additional information: none.
Created attachment 18760 [details, diff] patch to fix. This is an ugly workaround, but will allow compilation on recent gentoo machines - it seems to be a problem in recent (~6-9 month old) glibc's. Fixing this is really an upstream problem, if I'm right, so I'll report it to them.
does root-3.05.04.ebuild compile for you?
Heinrich: yes, it does.
i marked it stable then.