Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Bug compiling crossdev i686-pc-linux-gnu gcc stage1 [solved]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
ocbMaurice
Tux's lil' helper
Tux's lil' helper


Joined: 14 Feb 2003
Posts: 90
Location: Switzerland

PostPosted: Sun Apr 07, 2013 11:25 pm    Post subject: Bug compiling crossdev i686-pc-linux-gnu gcc stage1 [solved] Reply with quote

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.
Back to top
View user's profile Send private message
proteusx
Guru
Guru


Joined: 21 Jan 2008
Posts: 338

PostPosted: Mon Apr 08, 2013 5:46 am    Post subject: Reply with quote

Thank you for the tip.

I had the same error with gcc-4.6.3 while building a new system from stage 3.

EDIT: There is an ongoing fracas about this one in #464008
the sugested solution from there is to change line 1502 to:

cp "${WORKDIR}/${P}"/gcc/doc/*.info* gcc/doc/ || die
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum