<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>16436</bug_id>
          
          <creation_ts>2003-02-26 20:37 0000</creation_ts>
          <short_desc>nethack-3.4.0-r6 borks out compiling</short_desc>
          <delta_ts>2003-06-22 18:16:21 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>Games</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          <dependson>16267</dependson>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>tux@tuxslare.org</reporter>
          <assigned_to>games@gentoo.org</assigned_to>
          

      

      
          <long_desc isprivate="0">
            <who>tux@tuxslare.org</who>
            <bug_when>2003-02-26 20:37:23 0000</bug_when>
            <thetext>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&apos;:
: undefined reference to `errno&apos;
unixres.o(.text+0x255): In function `real_getresgid&apos;:
: undefined reference to `errno&apos;
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=&quot;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/&quot;
CONFIG_PROTECT=&quot;/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&quot;
CONFIG_PROTECT_MASK=&quot;/etc/gconf /etc/env.d&quot;
PORTDIR=&quot;/usr/portage&quot;
DISTDIR=&quot;/usr/portage/distfiles&quot;
PKGDIR=&quot;/usr/portage/packages&quot;
PORTAGE_TMPDIR=&quot;/var/tmp&quot;
PORTDIR_OVERLAY=&quot;/usr/local/portage&quot;
USE=&quot;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&quot;
COMPILER=&quot;gcc3&quot;
CHOST=&quot;i686-pc-linux-gnu&quot;
CFLAGS=&quot;-march=pentium3 -O3 -pipe&quot;
CXXFLAGS=&quot;-march=pentium3 -O3 -pipe&quot;
ACCEPT_KEYWORDS=&quot;x86 ~x86&quot;
MAKEOPTS=&quot;-j8&quot;
AUTOCLEAN=&quot;yes&quot;
SYNC=&quot;rsync://rsync.gentoo.org/gentoo-portage&quot;
FEATURES=&quot;sandbox ccache buildpkg distcc&quot;</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>vapier@gentoo.org</who>
            <bug_when>2003-02-26 22:13:22 0000</bug_when>
            <thetext>alright, you lied to us ... that isnt nethack thats failing ;) 
 
could you post more of the error ? specifically what package failed </thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>tux@tuxslare.org</who>
            <bug_when>2003-02-27 06:55:07 0000</bug_when>
            <thetext>Calculating dependencies ...done!
[ebuild  N   ] app-games/nethack-3.4.0-r6

tux root # emerge nethack
Calculating dependencies ...done!
&gt;&gt;&gt; emerge (1 of 1) app-games/nethack-3.4.0-r6 to /
&gt;&gt;&gt; md5 ;-) nethack-340.tgz
&gt;&gt;&gt; Unpacking source...
&gt;&gt;&gt; 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&apos;:
: undefined reference to `errno&apos;
unixres.o(.text+0x255): In function `real_getresgid&apos;:
: undefined reference to `errno&apos;
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&apos;s not? Oh... *g* What is it then?</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>vapier@gentoo.org</who>
            <bug_when>2003-02-27 07:20:48 0000</bug_when>
            <thetext>gay, i&apos;m not quite sure how i managed to run `grep errno` without finding any matches</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>vapier@gentoo.org</who>
            <bug_when>2003-02-27 07:37:03 0000</bug_when>
            <thetext>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&amp;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&amp;content-type=text/vnd.viewcvs-markup</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>tux@tuxslare.org</who>
            <bug_when>2003-02-27 08:58:27 0000</bug_when>
            <thetext>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&apos;:
: undefined reference to `errno&apos;
unixres.o(.text+0x255): In function `real_getresgid&apos;:
: undefined reference to `errno&apos;
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)
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>jk@xylema.org</who>
            <bug_when>2003-03-01 06:01:14 0000</bug_when>
            <thetext>Fails in the same way in 3.4.0-r7 </thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>aquadog@gmail.com</who>
            <bug_when>2003-03-02 17:19:46 0000</bug_when>
            <thetext>I noticed this only happens when gnome is in USE if thats any help</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>tux@tuxslare.org</who>
            <bug_when>2003-03-02 20:41:44 0000</bug_when>
            <thetext>Yhea.. Kind of obvious.. It borks out on the Gnome frontend section ;-)</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>vapier@gentoo.org</who>
            <bug_when>2003-06-22 18:16:21 0000</bug_when>
            <thetext>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&amp;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&amp;content-type=text/vnd.viewcvs-markup </thetext>
          </long_desc>
      
    </bug>

</bugzilla>