Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 16436 - nethack-3.4.0-r6 borks out compiling
Summary: nethack-3.4.0-r6 borks out compiling
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on: 16267
Blocks:
  Show dependency tree
 
Reported: 2003-02-26 20:37 UTC by André Lemos
Modified: 2003-06-22 18:16 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 André Lemos 2003-02-26 20:37:23 UTC
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"
Comment 1 SpanKY gentoo-dev 2003-02-26 22:13:22 UTC
alright, you lied to us ... that isnt nethack thats failing ;) 
 
could you post more of the error ? specifically what package failed 
Comment 2 André Lemos 2003-02-27 06:55:07 UTC
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?
Comment 3 SpanKY gentoo-dev 2003-02-27 07:20:48 UTC
gay, i'm not quite sure how i managed to run `grep errno` without finding any matches
Comment 5 André Lemos 2003-02-27 08:58:27 UTC
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)
Comment 6 John Kozak 2003-03-01 06:01:14 UTC
Fails in the same way in 3.4.0-r7 
Comment 7 Johann Scheepers 2003-03-02 17:19:46 UTC
I noticed this only happens when gnome is in USE if thats any help
Comment 8 André Lemos 2003-03-02 20:41:44 UTC
Yhea.. Kind of obvious.. It borks out on the Gnome frontend section ;-)