View previous topic :: View next topic |
Author |
Message |
richard.scott Veteran
Joined: 19 May 2003 Posts: 1497 Location: Oxfordshire, UK
|
Posted: Mon Feb 19, 2007 9:57 am Post subject: Bootstrap fails to install locale-gettext [Workround found] |
|
|
Hi,
I'm trying a stage 1 install again. and before you ask, that is my normal way of installing Gentoo
Anyway, the stage1 bootstrap currently always fails as below:
Code: | >>> Emerging (1 of 4) dev-perl/Locale-gettext-1.05 to /
* gettext-1.05.tar.gz MD5 ;-) ... [ ok ]
* gettext-1.05.tar.gz RMD160 ;-) ... [ ok ]
* gettext-1.05.tar.gz SHA1 ;-) ... [ ok ]
* gettext-1.05.tar.gz SHA256 ;-) ... [ ok ]
* gettext-1.05.tar.gz size ;-) ... [ ok ]
* checking ebuild checksums ;-) ... [ ok ]
* checking auxfile checksums ;-) ... [ ok ]
* checking miscfile checksums ;-) ... [ ok ]
* checking gettext-1.05.tar.gz ;-) ... [ ok ]
>>> Unpacking source...
>>> Unpacking gettext-1.05.tar.gz to /var/tmp/portage/dev-perl/Locale-gettext-1.05/work
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/dev-perl/Locale-gettext-1.05/work/gettext-1.05 ...
/var/tmp/portage/dev-perl/Locale-gettext-1.05/work/gettext-1.05
* Using ExtUtils::MakeMaker
Can't locate ExtUtils/MakeMaker/Config.pm in @INC (@INC contains: /etc/perl /usr/lib/perl5/vendor_perl/5.8.8/i386-linux /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl /usr/lib/perl5/site_perl/5.8.8/i386-linux /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl /usr/lib/perl5/5.8.8/i386-linux /usr/lib/perl5/5.8.8 /usr/local/lib/site_perl .) at /usr/lib/perl5/5.8.8/ExtUtils/MakeMaker.pm line 7.
BEGIN failed--compilation aborted at /usr/lib/perl5/5.8.8/ExtUtils/MakeMaker.pm line 7.
Compilation failed in require at Makefile.PL line 1.
BEGIN failed--compilation aborted at Makefile.PL line 1.
!!! ERROR: dev-perl/Locale-gettext-1.05 failed.
Call stack:
ebuild.sh, line 1614: Called dyn_compile
ebuild.sh, line 971: Called qa_call 'src_compile'
environment, line 3197: Called src_compile
ebuild.sh, line 1304: Called perl-module_src_compile
perl-module.eclass, line 136: Called perl-module_src_prep
perl-module.eclass, line 125: Called die
!!! Unable to build! (are you using USE="build"?)
!!! If you need support, post the topmost build error, and the call stack if relevant.
!!! A complete build log is located at '/var/tmp/portage/dev-perl/Locale-gettext-1.05/temp/build.log'.
* Unable to complete "/usr/portage/scripts/bootstrap.sh" |
Has anyone else tried a Stage1 install recently?
Last edited by richard.scott on Mon Feb 19, 2007 9:03 pm; edited 2 times in total |
|
Back to top |
|
|
yabbadabbadont Advocate
Joined: 14 Mar 2003 Posts: 4791 Location: 2 exits past crazy
|
Posted: Mon Feb 19, 2007 11:14 am Post subject: |
|
|
Perl errors during bootstrap is a well known problem. (try searching the forums with google since the forums search is limited) I believe that it is one of the reasons why stage1 is not a supported installation method. _________________
Bones McCracker wrote: | On the other hand, regex is popular with the ladies. |
|
|
Back to top |
|
|
richard.scott Veteran
Joined: 19 May 2003 Posts: 1497 Location: Oxfordshire, UK
|
Posted: Mon Feb 19, 2007 11:19 am Post subject: |
|
|
yabbadabbadont wrote: | Perl errors during bootstrap is a well known problem |
LOL Is that why there's little about it in the forums
BTW, i've re-installed Linux on average once a week for the past year as I've been writing an installer for use at my company so I know that stage one was be stable until recently |
|
Back to top |
|
|
yabbadabbadont Advocate
Joined: 14 Mar 2003 Posts: 4791 Location: 2 exits past crazy
|
Posted: Mon Feb 19, 2007 11:21 am Post subject: |
|
|
richard.scott wrote: | yabbadabbadont wrote: | Perl errors during bootstrap is a well known problem |
LOL Is that why there's little about it in the forums
BTW, i've re-installed Linux on average once a week for the past year as I've been writing an installer for use at my company so I know that stage one was be stable until recently |
Then you shouldn't have any trouble fixing your problem...
Edit: You wouldn't happen to be in Joplin, MO would you? _________________
Bones McCracker wrote: | On the other hand, regex is popular with the ladies. |
|
|
Back to top |
|
|
richard.scott Veteran
Joined: 19 May 2003 Posts: 1497 Location: Oxfordshire, UK
|
Posted: Mon Feb 19, 2007 11:24 am Post subject: |
|
|
yabbadabbadont wrote: | Then you shouldn't have any trouble fixing your problem...
Edit: You wouldn't happen to be in Joplin, MO would you? |
LOL.... if it was a problem of my making then I could fix it, but its the ebuild failing
What really sucks is the older versions of the ebuild have been removed from portage too!!!!
and nope, i'm in the UK. |
|
Back to top |
|
|
yabbadabbadont Advocate
Joined: 14 Mar 2003 Posts: 4791 Location: 2 exits past crazy
|
|
Back to top |
|
|
richard.scott Veteran
Joined: 19 May 2003 Posts: 1497 Location: Oxfordshire, UK
|
Posted: Mon Feb 19, 2007 11:36 am Post subject: |
|
|
ah, thanks. I didn't know about CVS and hadn't seen that other post
I'll give the "emerge --oneshot --nodeps perl" thing a try!
EDIT:
ok, emerging perl has worked so far!
Why's perl broken for a stage1 install? |
|
Back to top |
|
|
cyrillic Watchman
Joined: 19 Feb 2003 Posts: 7313 Location: Groton, Massachusetts USA
|
Posted: Mon Feb 19, 2007 5:52 pm Post subject: |
|
|
richard.scott wrote: | Why's perl broken for a stage1 install? |
Perl is not supposed to get pulled-in during bootstrap. It should happen during the "emerge system" step. |
|
Back to top |
|
|
richard.scott Veteran
Joined: 19 May 2003 Posts: 1497 Location: Oxfordshire, UK
|
Posted: Mon Feb 19, 2007 8:21 pm Post subject: |
|
|
cyrillic wrote: | Perl is not supposed to get pulled-in during bootstrap. It should happen during the "emerge system" step. |
I know! but it fixed my bootstrapping problem!
EDIT: ok, I've narrowed it down to the installing sys-devel/gettext:
Code: | [ebuild N ] dev-libs/expat-1.95.8 USE="-test" 0 kB
[ebuild U ] sys-devel/gettext-0.16.1 [0.14.4] USE="nls* -doc -emacs -nocxx%" 0 kB |
Once this has been upgraded the rest of the install seems to go ok (well so far anyway)
Gettext is installed via the bootstrap process.....but for some reason its the upgrading of portage part that breaks the bootstrap with the Locale-gettext errors.....v odd, cos you would assume that if portage needed gettext then it would depend on it and auto-install it???
EDIT(2): Cancel that....sys-devel/gettext was a red herring emerging perl is the only way to fix my problem |
|
Back to top |
|
|
richard.scott Veteran
Joined: 19 May 2003 Posts: 1497 Location: Oxfordshire, UK
|
Posted: Tue Feb 20, 2007 10:50 am Post subject: |
|
|
ok, I've been comparing the original stage1 tarball's contents to a working system and found the following differences as the installation of Locale-gettext seems to complain about an ExtUtils::MakeMaker file.
Anyhow, on a working system we have:
# find /usr/lib/perl5/5.8.8/ExtUtils/ | grep Maker
/usr/lib/perl5/5.8.8/ExtUtils/MakeMaker.pm
/usr/lib/perl5/5.8.8/ExtUtils/MakeMaker
/usr/lib/perl5/5.8.8/ExtUtils/MakeMaker/FAQ.pod
/usr/lib/perl5/5.8.8/ExtUtils/MakeMaker/bytes.pm
/usr/lib/perl5/5.8.8/ExtUtils/MakeMaker/Tutorial.pod
/usr/lib/perl5/5.8.8/ExtUtils/MakeMaker/vmsish.pm
/usr/lib/perl5/5.8.8/ExtUtils/MakeMaker/Config.pm
and on the stage1 system we have:
# find /usr/lib/perl5/5.8.8/ExtUtils/ | grep Maker
/usr/lib/perl5/5.8.8/ExtUtils/MakeMaker.pm
/usr/lib/perl5/5.8.8/ExtUtils/MakeMaker
/usr/lib/perl5/5.8.8/ExtUtils/MakeMaker/bytes.pm
/usr/lib/perl5/5.8.8/ExtUtils/MakeMaker/vmsish.pm
It seems that there are more files in the latest version of perl....even tho its the same version
Looks like the stage1 tarball is out of date |
|
Back to top |
|
|
michelle778 n00b
Joined: 19 Mar 2005 Posts: 73
|
Posted: Mon Mar 05, 2007 6:22 pm Post subject: |
|
|
I got the same problem here, and no stage3 will not be an option for me. I don't like that. Start with a broken system form the beginning. And no stage3 is still not an option, exactly those errors are why I believe in stage1. Someone works around it to build the stage3 - and everyone gets a crappy system right away. No real quality anymore
So the only fix is to merge perl? Except - perl fails too:
Code: | miniperlmain.o opmini.o libperl.a -lpthread -lnsl -ldl -lm -lcrypt -lutil -lc
./miniperl -w -Ilib -MExporter -e '<?>' || make minitest
/bin/sh: line 1: 1755 Illegal instruction ./miniperl -w -Ilib -MExporter -e '<?>'
make[1]: Entering directory `/var/tmp/portage/perl-5.8.8-r2/work/perl-5.8.8'
cp ext/re/re.pm lib/re.pm
make[2]: Entering directory `/var/tmp/portage/perl-5.8.8-r2/work/perl-5.8.8'
./miniperl -Ilib configpm --heavy=lib/Config_heavy.pl lib/Config.pm
make[2]: *** [lib/Config.pod] Illegal instruction
make[2]: Leaving directory `/var/tmp/portage/perl-5.8.8-r2/work/perl-5.8.8'
make[1]: [minitest.prep] Error 2 (ignored)
You may see some irrelevant test failures if you have been unable
to build lib/Config.pm, lib/lib.pm or the Unicode data files.
cd t && (rm -f perl; /bin/ln -s ../miniperl perl) \
&& ./perl TEST -minitest base/*.t comp/*.t cmd/*.t run/*.t io/*.t op/*.t uni/*.t </dev/tty
/bin/sh: line 1: 1769 Illegal instruction ./perl TEST -minitest base/*.t comp/*.t cmd/*.t run/*.t io/*.t op/*.t uni/*.t </dev/tty
make[1]: [minitest] Error 132 (ignored)
make[1]: Leaving directory `/var/tmp/portage/perl-5.8.8-r2/work/perl-5.8.8'
make: [extra.pods] Error 1 (ignored)
./miniperl -Ilib configpm --heavy=lib/Config_heavy.pl lib/Config.pm
make: *** [lib/Config.pod] Illegal instruction
!!! ERROR: dev-lang/perl-5.8.8-r2 failed.
Call stack:
ebuild.sh, line 1539: Called dyn_compile
ebuild.sh, line 939: Called src_compile
perl-5.8.8-r2.ebuild, line 278: Called die
!!! Unable to make
!!! If you need support, post the topmost build error, and the call stack if relevant.
|
_________________ Nothing is easier than being busy - and nothing more difficult than being effective. |
|
Back to top |
|
|
richard.scott Veteran
Joined: 19 May 2003 Posts: 1497 Location: Oxfordshire, UK
|
Posted: Tue Mar 06, 2007 11:05 am Post subject: |
|
|
It's such a shame that Gentoo is going this way ..... I think it's such a FAB operating system!!!
Make sure you don't have the "build" flag on when making perl before you chroot things. |
|
Back to top |
|
|
cyrillic Watchman
Joined: 19 Feb 2003 Posts: 7313 Location: Groton, Massachusetts USA
|
Posted: Tue Mar 06, 2007 5:16 pm Post subject: |
|
|
michelle778 wrote: | Except - perl fails too:
Code: | /bin/sh: line 1: 1755 Illegal instruction |
|
This is probably something different.
You might be using the wrong CFLAGS for the type of CPU that you have. |
|
Back to top |
|
|
michelle778 n00b
Joined: 19 Mar 2005 Posts: 73
|
Posted: Tue Mar 06, 2007 9:07 pm Post subject: |
|
|
cyrillic wrote: | michelle778 wrote: | Except - perl fails too:
Code: | /bin/sh: line 1: 1755 Illegal instruction |
|
This is probably something different.
You might be using the wrong CFLAGS for the type of CPU that you have. |
That's what I figured out too. Well I basically started off from scratch again and so far everything worked. But yes it is a shame and a very downside for Gentoo to go this way. I guess we have to wait until the same stupid things like to all the other distributions happens: another fork... (can't you see, that this just distracts all the power and energy?)
Edit: it's texinfo now...(it almost seems to be random...)
Code: | .....tium-m -pipe -fomit-frame-pointer -MT toc.o -MD -MP -MF ".deps/toc.Tpo" -c -o toc.o toc.c; \
then mv -f ".deps/toc.Tpo" ".deps/toc.Po"; else rm -f ".deps/toc.Tpo"; exit 1; fi
if i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../lib -I../intl -DLOCALEDIR=\"/usr/share/locale\" -O2 -march=pentium-m -pipe -fomit-frame-pointer -MT xml.o -MD -MP -MF ".deps/xml.Tpo" -c -o xml.o xml.c; \
then mv -f ".deps/xml.Tpo" ".deps/xml.Po"; else rm -f ".deps/xml.Tpo"; exit 1; fi
if i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../lib -I../intl -DLOCALEDIR=\"/usr/share/locale\" -O2 -march=pentium-m -pipe -fomit-frame-pointer -MT xref.o -MD -MP -MF ".deps/xref.Tpo" -c -o xref.o xref.c; \
then mv -f ".deps/xref.Tpo" ".deps/xref.Po"; else rm -f ".deps/xref.Tpo"; exit 1; fi
i686-pc-linux-gnu-gcc -O2 -march=pentium-m -pipe -fomit-frame-pointer -o makeinfo cmds.o defun.o files.o float.o footnote.o html.o index.o insertion.o lang.o macro.o makeinfo.o multi.o node.o sectioning.o toc.o xml.o xref.o ../lib/libtxi.a
make[3]: Leaving directory `/var/tmp/portage/sys-apps/texinfo-4.8-r5/work/texinfo-4.8/makeinfo'
make[2]: Leaving directory `/var/tmp/portage/sys-apps/texinfo-4.8-r5/work/texinfo-4.8/makeinfo'
Making all in po
make[2]: Entering directory `/var/tmp/portage/sys-apps/texinfo-4.8-r5/work/texinfo-4.8/po'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/var/tmp/portage/sys-apps/texinfo-4.8-r5/work/texinfo-4.8/po'
Making all in util
make[2]: Entering directory `/var/tmp/portage/sys-apps/texinfo-4.8-r5/work/texinfo-4.8/util'
if i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../lib -I../intl -DLOCALEDIR=\"/usr/share/locale\" -O2 -march=pentium-m -pipe -fomit-frame-pointer -MT install-info.o -MD -MP -MF ".deps/install-info.Tpo" -c -o install-info.o install-info.c; \
then mv -f ".deps/install-info.Tpo" ".deps/install-info.Po"; else rm -f ".deps/install-info.Tpo"; exit 1; fi
if i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../lib -I../intl -DLOCALEDIR=\"/usr/share/locale\" -O2 -march=pentium-m -pipe -fomit-frame-pointer -MT texindex.o -MD -MP -MF ".deps/texindex.Tpo" -c -o texindex.o texindex.c; \
then mv -f ".deps/texindex.Tpo" ".deps/texindex.Po"; else rm -f ".deps/texindex.Tpo"; exit 1; fi
texindex.c: In function decode_command:
texindex.c:335: warning: passing argument 2 of strrchr makes integer from pointer without a cast
sed 's/__VERSION__/4.8/g' ./texinfo-cat.in >texinfo.cat
i686-pc-linux-gnu-gcc -O2 -march=pentium-m -pipe -fomit-frame-pointer -o ginstall-info install-info.o ../lib/libtxi.a
i686-pc-linux-gnu-gcc -O2 -march=pentium-m -pipe -fomit-frame-pointer -o texindex texindex.o ../lib/libtxi.a
texindex.o: In function `decode_command':
texindex.c:(.text+0x2094): warning: the use of `mktemp' is dangerous, better use `mkstemp'
make[2]: Leaving directory `/var/tmp/portage/sys-apps/texinfo-4.8-r5/work/texinfo-4.8/util'
Making all in doc
make[2]: Entering directory `/var/tmp/portage/sys-apps/texinfo-4.8-r5/work/texinfo-4.8/doc'
restore=: && backupdir=".am$$" && \
rm -rf $backupdir && mkdir $backupdir && \
for f in texinfo.info texinfo.info-[0-9] texinfo.info-[0-9][0-9] texinfo.i[0-9] texinfo.i[0-9][0-9]; do \
if test -f $f; then mv $f $backupdir; restore=mv; else :; fi; \
done; \
if ..//makeinfo/makeinfo -I . \
-o texinfo.info `test -f 'texinfo.txi' || echo './'`texinfo.txi; \
then \
rc=0; \
else \
rc=$?; \
$restore $backupdir/* `echo "./texinfo.info" | sed 's|[^/]*$||'`; \
fi; \
rm -rf $backupdir; exit $rc
restore=: && backupdir=".am$$" && \
rm -rf $backupdir && mkdir $backupdir && \
for f in info-stnd.info info-stnd.info-[0-9] info-stnd.info-[0-9][0-9] info-stnd.i[0-9] info-stnd.i[0-9][0-9]; do \
if test -f $f; then mv $f $backupdir; restore=mv; else :; fi; \
done; \
if ..//makeinfo/makeinfo -I . \
-o info-stnd.info `test -f 'info-stnd.texi' || echo './'`info-stnd.texi; \
then \
rc=0; \
else \
rc=$?; \
$restore $backupdir/* `echo "./info-stnd.info" | sed 's|[^/]*$||'`; \
fi; \
rm -rf $backupdir; exit $rc
/bin/sh: line 1: 5505 Illegal instruction ..//makeinfo/makeinfo -I . -o texinfo.info `test -f 'texinfo.txi' || echo './'`texinfo.txi
restore=: && backupdir=".am$$" && \
rm -rf $backupdir && mkdir $backupdir && \
for f in info.info info.info-[0-9] info.info-[0-9][0-9] info.i[0-9] info.i[0-9][0-9]; do \
if test -f $f; then mv $f $backupdir; restore=mv; else :; fi; \
done; \
if ..//makeinfo/makeinfo -I . \
-o info.info `test -f 'info.texi' || echo './'`info.texi; \
then \
rc=0; \
else \
rc=$?; \
$restore $backupdir/* `echo "./info.info" | sed 's|[^/]*$||'`; \
fi; \
rm -rf $backupdir; exit $rc
make[2]: *** [texinfo.info] Error 132
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory `/var/tmp/portage/sys-apps/texinfo-4.8-r5/work/texinfo-4.8/doc'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/sys-apps/texinfo-4.8-r5/work/texinfo-4.8'
make: *** [all] Error 2
!!! ERROR: sys-apps/texinfo-4.8-r5 failed.
Call stack:
ebuild.sh, line 1614: Called dyn_compile
ebuild.sh, line 971: Called qa_call 'src_compile'
environment, line 3280: Called src_compile
texinfo-4.8-r5.ebuild, line 56: Called die
!!! emake
!!! If you need support, post the topmost build error, and the call stack if relevant.
!!! A complete build log is located at '/var/tmp/portage/sys-apps/texinfo-4.8-r5/temp/build.log'.
|
_________________ Nothing is easier than being busy - and nothing more difficult than being effective. |
|
Back to top |
|
|
richard.scott Veteran
Joined: 19 May 2003 Posts: 1497 Location: Oxfordshire, UK
|
|
Back to top |
|
|
|