I am unable to emerge GCC anymore. Last year I had the exact same problem and had to circumvent it by installing an already compiled version of it. All went well up until today when it decided to not emerge again anymore. I have a thread in the forums that has more information that would be of good use. Also details attached Reproducible: Always Steps to Reproduce: 1. emerge -auDN world (one of the packages is gcc) 2. 3. Actual Results: Package 'sys-devel/gcc-4.5.3-r1' NOT merged due to file collisions. If * necessary, refer to your elog messages for the whole content of the * above message. Expected Results: successful emerge It's a sempron (amd64). trying to figure out where/how to attach files for emerge info and output...
Created attachment 287395 [details] the output of the emerge for gcc that shows the error
Created attachment 287397 [details] my emerge info
Hi, I just added the build.log and my emerge --info. Please let me know if you need anything else. Thanks.
Created attachment 287509 [details] ls -alh of the colliding files I `ls -alh` the 2 batches of colliding files which are at the end of the build.log for reference.
Comment on attachment 287395 [details] the output of the emerge for gcc that shows the error this isn't the full build log. all of the `make` output is missing. please post the full log as an attachment.
this is the source of the problem: /var/tmp/portage/sys-devel/gcc-4.5.3-r1/temp/environment: line 2995: -print-multi-lib: command not found but no idea why that's happening
Thanks Spanky, Googling around I couldn't find much useful info about the cause too.. Do you still want a full make output? I upgraded to 4.5.3 through the binary build then recompiled to see if i would still have the same library location issue and i still do - although now i can emerge gcc successfully until the next upgrade i guess.. I can downgrade again and get the full make logs for you if you still need them, but i need a week if you don't mind, as I have a full-on week of work now =/ Thanks for the support.
(In reply to comment #6) > this is the source of the problem: > /var/tmp/portage/sys-devel/gcc-4.5.3-r1/temp/environment: line 2995: > -print-multi-lib: command not found > > but no idea why that's happening You probably know this, but anyway Usually, errors like that happen when some command like $(CC) --arg ... is run, $(CC) is undefined and evaluates to "", so you get an error about --arg: command not found.
Feel free to reopen after attaching the requested build log.