ocbMaurice Tux's lil' helper
Joined: 14 Feb 2003 Posts: 90 Location: Switzerland
|
Posted: Sun Apr 07, 2013 11:25 pm Post subject: Bug compiling crossdev i686-pc-linux-gnu gcc stage1 [solved] |
|
|
Hello forum
This should probably go the the bugtracker, but I'm currently not able to get my account login, so I post it here.
The error I get while compiling a cross compiler in a virtualbox instance:
Quote: | * ERROR: cross-i686-pc-linux-gnu/gcc-4.7.2-r1 failed (install phase):
* (no error message)
*
* Call stack:
* ebuild.sh, line 93: Called src_install
* environment, line 4187: Called toolchain_src_install
* environment, line 4855: Called die
* The specific snippet of code:
* cp "${S}"/gcc/doc/*.info* gcc/doc/ || die; |
The problem simply seems to be that there are no info files there. I tried to put a dummy file into the directory, but then I get another error:
Quote: | cp: '/var/tmp/portage/cross-i686-pc-linux-gnu/gcc-4.7.2-r1/work/build/gcc/doc/foobar.info' and 'gcc/doc/foobar.info' are the same file |
I was able to circumvent this by commenting out a line in /usr/portage/eclass/toolchain.eclass (line 1502)
Quote: | # cp "${S}"/gcc/doc/*.info* gcc/doc/ || die |
Not sure if the die is really usefull there. Maybe it should be removed?
Best wishes
Maurice
p.s. This was done on a fresh stage3 install (virtualbox on win7), without any changes to the default profile (linux/amd64/13.0). It was really just setup to help my laptop (eee 701) to compile. |
|