Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 42352 - 'emerge system' when installing gentoo 1.4 fails, compiling binutils-2.14.90.0.7-r4 produces an error
Summary: 'emerge system' when installing gentoo 1.4 fails, compiling binutils-2.14.90....
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High blocker
Assignee: Gentoo Release Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-02-21 04:10 UTC by gasper
Modified: 2004-03-11 11:15 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 gasper 2004-02-21 04:10:19 UTC
I ran 'emerge system' in order to install the gentoo linux. When it is compiling binutils, it stops when compiling 'as'.
The error:
Making info in doc
make[2]: Entering directory `/var/tmp/portage/binutils-2.14.90.0.7-r4/work/binutils-2.14.90.0.7/gas/doc'
makeinfo --split-size=5000000   -I . \
 -o as.info `test -f 'as.texinfo' || echo './'`as.texinfo
make[2]: *** [as.info] Illegal instruction
make[2]: *** Deleting file `as.info'
make[2]: Leaving directory `/var/tmp/portage/binutils-2.14.90.0.7-r4/work/binutils-2.14.90.0.7/gas/doc'
make[1]: *** [info-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/binutils-2.14.90.0.7-r4/work/binutils-2.14.90.0.7/gas'
make: *** [info-gas] Error 1

!!! ERROR: sys-devel/binutils-2.14.90.0.7-r4 failed.
!!! Function src_compile, Line 140, Exitcode 2
!!! (no error message)


Reproducible: Always
Steps to Reproduce:
1. # emerge system
2. wait...
3.

Actual Results:  
[...]
Making info in doc
make[2]: Entering directory
`/var/tmp/portage/binutils-2.14.90.0.7-r4/work/binutils-2.14.90.0.7/gas/doc'
makeinfo --split-size=5000000   -I . \
 -o as.info `test -f 'as.texinfo' || echo './'`as.texinfo
make[2]: *** [as.info] Illegal instruction
make[2]: *** Deleting file `as.info'
make[2]: Leaving directory
`/var/tmp/portage/binutils-2.14.90.0.7-r4/work/binutils-2.14.90.0.7/gas/doc'
make[1]: *** [info-recursive] Error 1
make[1]: Leaving directory
`/var/tmp/portage/binutils-2.14.90.0.7-r4/work/binutils-2.14.90.0.7/gas'
make: *** [info-gas] Error 1

!!! ERROR: sys-devel/binutils-2.14.90.0.7-r4 failed.
!!! Function src_compile, Line 140, Exitcode 2
!!! (no error message)




amd athlon t-bird
USE="qt kde dvd cdr -gtk -gnome alsa"
CHOST="i686-pc-linux-gnu"
CFLAGS="-O2 -march=athlon-tbird -pipe -fomit-frame-pointer"
CXXFLAGS="${CFLAGS}"
Comment 1 gasper 2004-02-21 04:35:35 UTC
I managed to skip the error.
I am installing gentoo from another distribution (suse 9.0). The problem is in makeinfo command, I think. 
I did this, to skip the error:
# emerge system
[wait until the ./configure portion for binutils is over, then it starts to compile...]

then I switched to another terminal window, did 'cd /mnt/gentoo/var/tmp/portage/binutils-2.14.90.0.7-r4/work/binutils-2.14.90.0.7/gas/doc/'
and executed 'makeinfo -I . -o as.info ./as.texinfo' and the command completed succesfully.
After this, it worked fine.

Funny thing is, that makeinfo --version returns the same in gentoo as it does in suse 9.0 (makeinfo (GNU texinfo) 4.5)
Comment 2 Alexander Gabert (RETIRED) gentoo-dev 2004-03-04 06:21:16 UTC
maybe our makeinfo needs certain options or paths are missing or libraries not available or locale data not set up
Comment 3 John Davis (zhen) (RETIRED) gentoo-dev 2004-03-11 11:15:23 UTC
looks like you were using the old stages. try the new stages and see if that fixes the problem.