gcc -march=pentium3 -O3 -pipe -fomit-frame-pointer -I../include -c -o version.o version.c Loading ... unixres.o(.text+0x1f5): In function `real_getresuid': : undefined reference to `errno' unixres.o(.text+0x255): In function `real_getresgid': : undefined reference to `errno' collect2: ld returned 1 exit status make: *** [Sysunix] Error 1 emerge info: Portage 2.0.46-r12 (default-x86-1.4, gcc-3.2.2, glibc-2.3.2_pre1-r0) ================================================================= System uname: 2.4.20 i686 Intel(R) Celeron(R) CPU 1.70GHz GENTOO_MIRRORS="http://www.mirror.ac.uk/sites/www.ibiblio.org/gentoo/ http://www.fhh.opensource-mirror.de/gentoo.org/ http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/" CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config /usr/kde/3/share/config /usr/share/config" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" PORTDIR="/usr/portage" DISTDIR="/usr/portage/distfiles" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR_OVERLAY="/usr/local/portage" USE="x86 crypt libg++ mikmod qtmt gtkhtml gdbm slang readline bonobo svga ggi guile libwww esd gtk motif apache2 3dnow -apm -berkdb aalib alsa arts avi cdr cups moznoirc dvd encode gif gnome gpm gtk2 -imap imlib java jpeg kde -ldap maildir mmx mozilla mpeg -mysql -nls oggvorbis opengl -oss pam -pdflib perl pic png python -qt quicktime sasl sdl ncurses spell sse ssl tcltk tcpd tiff truetype -tetex X xml xml2 xmms xv zlib" COMPILER="gcc3" CHOST="i686-pc-linux-gnu" CFLAGS="-march=pentium3 -O3 -pipe" CXXFLAGS="-march=pentium3 -O3 -pipe" ACCEPT_KEYWORDS="x86 ~x86" MAKEOPTS="-j8" AUTOCLEAN="yes" SYNC="rsync://rsync.gentoo.org/gentoo-portage" FEATURES="sandbox ccache buildpkg distcc"
alright, you lied to us ... that isnt nethack thats failing ;) could you post more of the error ? specifically what package failed
Calculating dependencies ...done! [ebuild N ] app-games/nethack-3.4.0-r6 tux root # emerge nethack Calculating dependencies ...done! >>> emerge (1 of 1) app-games/nethack-3.4.0-r6 to / >>> md5 ;-) nethack-340.tgz >>> Unpacking source... >>> Unpacking nethack-340.tgz gcc -march=pentium3 -O3 -pipe -fomit-frame-pointer -I../include -I/usr/lib/glib/include -I/usr/lib/gnome-libs/include -I../win/gnome -I/usr/include/gnome-1.0 -DNEED_GNOMESUPPORT_H -I/usr/lib/gnome-libs/include -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -c ../win/gnome/gnyesno.c gcc -march=pentium3 -O3 -pipe -fomit-frame-pointer -I../include -c -o version.o version.c Loading ... unixres.o(.text+0x1f5): In function `real_getresuid': : undefined reference to `errno' unixres.o(.text+0x255): In function `real_getresgid': : undefined reference to `errno' collect2: ld returned 1 exit status make: *** [Sysunix] Error 1 !!! ERROR: app-games/nethack-3.4.0-r6 failed. !!! Function src_compile, Line 141, Exitcode 2 !!! (no error message) It's not? Oh... *g* What is it then?
gay, i'm not quite sure how i managed to run `grep errno` without finding any matches
fixed in cvs, try it out for me please http://cvs.gentoo.org/cgi-bin/viewcvs.cgi/gentoo-x86/app-games/nethack/files/3.4.0-errno.patch?rev=1.1&content-type=text/vnd.viewcvs-markup http://cvs.gentoo.org/cgi-bin/viewcvs.cgi/gentoo-x86/app-games/nethack/nethack-3.4.0-r7.ebuild?rev=1.1&content-type=text/vnd.viewcvs-markup
gcc -march=pentium3 -O3 -pipe -fomit-frame-pointer -I../include -I/usr/lib/glib/include -I/usr/lib/gnome-libs/include -I../win/gnome -I/usr/include/gnome-1.0 -DNEED_GNOMESUPPORT_H -I/usr/lib/gnome-libs/include -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -c ../win/gnome/gnyesno.c gcc -march=pentium3 -O3 -pipe -fomit-frame-pointer -I../include -c -o version.o version.c Loading ... unixres.o(.text+0x1f5): In function `real_getresuid': : undefined reference to `errno' unixres.o(.text+0x255): In function `real_getresgid': : undefined reference to `errno' collect2: ld returned 1 exit status make: *** [Sysunix] Error 1 !!! ERROR: app-games/nethack-3.4.0-r6 failed. !!! Function src_compile, Line 142, Exitcode 2 !!! (no error message)
Fails in the same way in 3.4.0-r7
I noticed this only happens when gnome is in USE if thats any help
Yhea.. Kind of obvious.. It borks out on the Gnome frontend section ;-)
alrighty should be all set now http://cvs.gentoo.org/cgi-bin/viewcvs.cgi/gentoo-x86/app-games/nethack/nethack-3.4.1.ebuild.diff?r1=1.4&r2=1.5 http://cvs.gentoo.org/cgi-bin/viewcvs.cgi/gentoo-x86/app-games/nethack/files/3.4.1-errno.patch?rev=1.1&content-type=text/vnd.viewcvs-markup