Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 348535 - sys-apps/coreutils-5.94 initial bootstrapping on Debian fails
Summary: sys-apps/coreutils-5.94 initial bootstrapping on Debian fails
Status: RESOLVED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Prefix Support (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Gentoo Prefix
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-12-12 16:55 UTC by Rabbe Fogelholm
Modified: 2011-06-15 09:19 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 Rabbe Fogelholm 2010-12-12 16:55:12 UTC
This problem seems to be platform specific. My starting point was a minimal installation of Debian "lenny" 5.0.7, with additional Debian packages ssh, bzip2, make, gcc and bison.

Bootstrapping fails at the `./bootstrap-prefix.sh $EPREFIX/tmp coreutils' step, see console output below.

It seems that a sufficient workaround is to simply carry on with the next step (emerging findutils). A Gentoo Prefix coreutils package gets emerged successfully later on at the `emerge --oneshot coreutils' step.

Last part of cnsole output:

if gcc -std=gnu99 -DHAVE_CONFIG_H -DLIBDIR=\"/home/erarafo/a/tmp/usr/lib\" -I. -I. -I..  -I.. -I.   -g -O2 -MT userspec.o -MD -MP -MF ".deps/userspec.Tpo" -c -o userspec.o userspec.c; \
        then mv -f ".deps/userspec.Tpo" ".deps/userspec.Po"; else rm -f ".deps/userspec.Tpo"; exit 1; fi
if gcc -std=gnu99 -DHAVE_CONFIG_H -DLIBDIR=\"/home/erarafo/a/tmp/usr/lib\" -I. -I. -I..  -I.. -I.   -g -O2 -MT utimecmp.o -MD -MP -MF ".deps/utimecmp.Tpo" -c -o utimecmp.o utimecmp.c; \
        then mv -f ".deps/utimecmp.Tpo" ".deps/utimecmp.Po"; else rm -f ".deps/utimecmp.Tpo"; exit 1; fi
In file included from utimecmp.c:41:
utimens.h:2: error: conflicting types for 'futimens'
/usr/include/sys/stat.h:370: error: previous declaration of 'futimens' was here
make[3]: *** [utimecmp.o] Error 1
make[3]: Leaving directory `/home/erarafo/a/tmp/var/tmp/coreutils-5.94/coreutils-5.94/lib'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/erarafo/a/tmp/var/tmp/coreutils-5.94/coreutils-5.94/lib'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/erarafo/a/tmp/var/tmp/coreutils-5.94/coreutils-5.94'
make: *** [all] Error 2
Comment 1 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2010-12-12 16:57:22 UTC
yea, you need `./bootstrap-prefix.sh $EPREFIX/tmp coreutils6` it also might not be required on linux as you have noted.
Comment 2 SpanKY gentoo-dev 2010-12-13 18:47:19 UTC
i wonder why you're using coreutils-5.94.  the bug in question was fixed long ago in newer versions.
Comment 3 Daniel Vergien 2011-03-29 07:41:20 UTC
Same bug and workaround (use coreutils6) on solaris, maybe the bootstrap docu should be updated
Comment 4 Fabian Groffen gentoo-dev 2011-04-06 16:56:44 UTC
I added a hint to the docu
Comment 5 Rabbe Fogelholm 2011-06-15 09:19:27 UTC
This problem also affects SUSE Enterprise 11 SP0 (unlike release 10 SP2). I will retry bootstrapping with coreutils6.