Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 10470 - glibc-2.3.1-r2 fails
Summary: glibc-2.3.1-r2 fails
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High critical
Assignee: Stefan Jones (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-11-09 02:02 UTC by Seemant Kulleen (RETIRED)
Modified: 2003-02-04 19:42 UTC (History)
1 user (show)

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 Seemant Kulleen (RETIRED) gentoo-dev 2002-11-09 02:02:12 UTC
gcc ../sysdeps/unix/sysv/linux/sparc/sparc32/setgroups.c -c -O2 -Wall -Winline
-Wstrict-prototypes -Wwrite-strings -mcpu=v8 -pipe      -I../include -I.
-I/var/tmp/portage/glibc-2.3.1-r2/work/glibc-2.3.1/buildhere/grp -I.. -I../libio
 -I/var/tmp/portage/glibc-2.3.1-r2/work/glibc-2.3.1/buildhere
-I../sysdeps/sparc/sparc32/elf -I../linuxthreads/sysdeps/unix/sysv/linux/sparc
-I../linuxthreads/sysdeps/unix/sysv/linux -I../linuxthreads/sysdeps/pthread
-I../sysdeps/pthread -I../linuxthreads/sysdeps/unix/sysv
-I../linuxthreads/sysdeps/unix -I../linuxthreads/sysdeps/sparc/sparc32
-I../linuxthreads/sysdeps/sparc -I../sysdeps/unix/sysv/linux/sparc/sparc32
-I../sysdeps/unix/sysv/linux/sparc -I../sysdeps/unix/sysv/linux -I../sysdeps/gnu
-I../sysdeps/unix/common -I../sysdeps/unix/mman -I../sysdeps/unix/inet
-I../sysdeps/unix/sysv -I../sysdeps/unix/sparc -I../sysdeps/unix
-I../sysdeps/posix -I../sysdeps/sparc/sparc32/fpu -I../sysdeps/sparc/sparc32
-I../sysdeps/wordsize-32 -I../sysdeps/ieee754/flt-32 -I../sysdeps/ieee754/dbl-64
-I../sysdeps/sparc/sparc32/soft-fp -I../sysdeps/sparc/fpu -I../sysdeps/sparc
-I../sysdeps/ieee754 -I../sysdeps/generic/elf -I../sysdeps/generic  -I
/lib/modules/2.4.20-pre10/build/include -D_LIBC_REENTRANT -include
../include/libc-symbols.h      -o
/var/tmp/portage/glibc-2.3.1-r2/work/glibc-2.3.1/buildhere/grp/setgroups.o
In file included from ../sysdeps/unix/sysv/linux/sparc/sparc32/setgroups.c:2:
../sysdeps/unix/sysv/linux/i386/setgroups.c: In function `setgroups':
../sysdeps/unix/sysv/linux/i386/setgroups.c:57: `__NR_setgroups32' undeclared
(first use in this function)
../sysdeps/unix/sysv/linux/i386/setgroups.c:57: (Each undeclared identifier is
reported only once
../sysdeps/unix/sysv/linux/i386/setgroups.c:57: for each function it appears in.)
make[2]: ***
[/var/tmp/portage/glibc-2.3.1-r2/work/glibc-2.3.1/buildhere/grp/setgroups.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory `/var/tmp/portage/glibc-2.3.1-r2/work/glibc-2.3.1/grp'
make[1]: *** [grp/subdir_lib] Error 2
make[1]: Leaving directory `/var/tmp/portage/glibc-2.3.1-r2/work/glibc-2.3.1'
make: *** [all] Error 2

!!! ERROR: The ebuild did not complete successfully.
!!! Function src_compile, Line 154, Exitcode 2
!!! (no error message)

Az, I'm running gcc-3.2-r3 btw, dunno if that makes a diff
Comment 1 Rodney Rees (RETIRED) gentoo-dev 2002-11-09 13:32:14 UTC
Please read the whole thing for my statments to make sense ;)

As reported by my system:
make[2]: ***
[/var/tmp/portage/glibc-2.3.1-r2/work/glibc-2.3.1/buildhere/grp/setgroups.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory `/var/tmp/portage/glibc-2.3.1-r2/work/glibc-2.3.1/grp'
make[1]: *** [grp/subdir_lib] Error 2
make[1]: Leaving directory `/var/tmp/portage/glibc-2.3.1-r2/work/glibc-2.3.1'
make: *** [all] Error 2

!!! ERROR: The ebuild did not complete successfully.
!!! Function src_compile, Line 154, Exitcode 2
!!! (no error message)

root@squeaky cd-tools # emerge -p autoconf 

These are the packages that I would merge, in order.

Calculating dependencies ...done!
[ebuild   R  ] sys-devel/autoconf-2.54

##################Look Here##############
http://sources.redhat.com/ml/libc-alpha/2002-10/msg00048.html


snipet from above mentioned page ... I assume that this is relevant information:

In case you are modifying the source files which will cause autoconf
to run make sure you have autoconf 2.13 installed and *NOT* version
2.50 and up.  These versions will not work.  Support for the new
autoconf will be enabled in upcoming releases.
Comment 2 Martin Schlemmer (RETIRED) gentoo-dev 2002-11-09 20:09:45 UTC
Hiya Seemant ... sorry, havent seen this before.  Is it only on the sparc ?
And nope, should not be gcc-3.2-r3, as that is what im running as well.

Rodney, you know of course that autoconf-2.13 runs by default except if
the configure.in script, wants 2.5x, or if you export WANT_AUTOCONF_2_5=1 ?
Comment 3 Stefan Jones (RETIRED) gentoo-dev 2002-11-10 04:54:35 UTC
I do know the fix for this, but am usure how to fix it in the ebuild, an extra
configure flag fot the ./configure statement might do it.

The fix is to remove the /lib/modules/2.4.XX/build symlinks so glibc uses the
kernel headers in /usr/include/linux rather than those in the linux-source dir.

Will try and find the ./configure option when I get home, atm I am away from home.

Cretin
Comment 4 Martin Schlemmer (RETIRED) gentoo-dev 2002-11-10 06:51:30 UTC
Seemant, if this is indeed the case, then you can change in src_compile():

----------------------------------------------
        use build \
                && myconf="${myconf} --with-header=${ROOT}usr/include"
----------------------------------------------

To:

----------------------------------------------
        ( use build || use sparc || use sparc64 ) \
                && myconf="${myconf} --with-header=${ROOT}usr/include"
----------------------------------------------

Btw, do you only get it on the sparc ?  And is it a sparc or sparc64 ?
Can any of the other sparc guys test this ?
Comment 5 Seemant Kulleen (RETIRED) gentoo-dev 2002-11-10 07:02:19 UTC
Azarah, this is a sparc64 -- and trance had the exact same error on his sparc64.
 After talking with cretin earlier (before you replied in the above comment), I
added the --with-header line in the ebuild locally to try. it is in progress,
and I will update you when it's done..

I am not sure if it happens on a regular sparc though I would tend to doubt it..

Comment 6 Stefan Jones (RETIRED) gentoo-dev 2002-11-10 15:42:54 UTC
I have added the change to glibc-2.3.1-r2, and all is OK again
so closing bug

Cretin