First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 29947
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Heinrich Wendel (RETIRED) <lanius@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Hans Stabenau <hstabena@wso.williams.edu>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
root-redefine-functions.patch patch to fix. patch James Harlow (RETIRED) 2003-10-04 14:18 0000 1.00 KB Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 29947 depends on: Show dependency tree
Show dependency graph
Bug 29947 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)







View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2003-09-29 13:24 0000
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.

------- Comment #1 From James Harlow (RETIRED) 2003-10-04 14:18:40 0000 -------
Created an attachment (id=18760) [edit]
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.

------- Comment #2 From Heinrich Wendel (RETIRED) 2003-10-06 06:50:56 0000 -------
does root-3.05.04.ebuild compile for you?

------- Comment #3 From James Harlow (RETIRED) 2003-10-06 10:09:32 0000 -------
Heinrich: yes, it does.

------- Comment #4 From Heinrich Wendel (RETIRED) 2003-10-06 12:30:30 0000 -------
i marked it stable then.

First Last Prev Next    No search results available      Search page      Enter new bug