Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 121589

Summary: c++ library headers missing when using MAKEFLAGS instead of MAKEOPTS
Product: Gentoo Linux Reporter: João Rafael Moraes Nicola <joaoraf>
Component: [OLD] Core systemAssignee: Gentoo Toolchain Maintainers <toolchain>
Status: RESOLVED INVALID    
Severity: major    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: output of "equery f gcc"
output of "equery f libstdc++-v3"
output of "equery check gcc"
output of "equery check libstdc++-v3"
output of "emege gcc" in .bz2 format
output of "emerge --info -v"
"contents of /var/db/.../gcc-3.4.4-r1/CONTENTS"
contents of "/var/db/..../libstdc++-v3/CONTENTS"

Description João Rafael Moraes Nicola 2006-02-04 13:25:46 UTC
neither gcc-3.4.4 nor libstdc++-v3 install c++ library headers.

I had gcc-3.4.4-r1 in my system but wasn't using it. One day I switched from gcc-3.3.x to gcc-3.4.4 and:
     emerged gcc again, 
                kernel, 
                bin-utils, 
                glibc
     emerged gcc again
     emerged libstdc++v3
     started recompiling everything.
     When reemerging mozilla-firefox, it complained of a missing "new.h" header and a missing "new" operator.
     I tried emerging a different version of firefox, with the same error.
     I figured out that the missing header was supposed to be in the c++ library header dir. 
     However, I could not find the c++ header dir anymore: tried locate stream, locate iostream, locate vector, etc.
     After that I tried to recompile gcc and libstdc++-v3 several times (5 times).
     equery f gcc does not show any header related to stdc++ libraries, nor
     equery f libstc++-v3
     
     I have included the output of 
         * emerge --info -v
         * emerge gcc
         * equery f gcc
         * equery f libstdc++-v3
         * /var/db/pkg/.../gcc-3.3.4-r1/CONTENTS

    I just noticed that I am still using the 2005.0 profile, could that be the problem?

         * /var/db/pkg/.../libstdc++-v3-3.3.4/CONTENTS
         * equery check gcc
         * equery check libstdc++-v3
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-02-04 13:26:49 UTC

*** This bug has been marked as a duplicate of 121588 ***
Comment 2 João Rafael Moraes Nicola 2006-02-04 13:26:58 UTC
Created attachment 78887 [details]
output of "equery f gcc"
Comment 3 João Rafael Moraes Nicola 2006-02-04 13:27:25 UTC
Created attachment 78888 [details]
output of "equery f libstdc++-v3"
Comment 4 João Rafael Moraes Nicola 2006-02-04 13:29:45 UTC
Created attachment 78889 [details]
output of "equery check gcc"
Comment 5 João Rafael Moraes Nicola 2006-02-04 13:30:10 UTC
Created attachment 78890 [details]
output of "equery check libstdc++-v3"
Comment 6 Jakub Moc (RETIRED) gentoo-dev 2006-02-04 13:31:12 UTC
Uh eh, the other way round then...
Comment 7 Jakub Moc (RETIRED) gentoo-dev 2006-02-04 13:31:27 UTC
*** Bug 121588 has been marked as a duplicate of this bug. ***
Comment 8 João Rafael Moraes Nicola 2006-02-04 13:32:42 UTC
Created attachment 78891 [details]
output of "emege gcc" in .bz2 format
Comment 9 João Rafael Moraes Nicola 2006-02-04 13:33:06 UTC
Created attachment 78892 [details]
output of "emerge --info -v"
Comment 10 João Rafael Moraes Nicola 2006-02-04 13:33:45 UTC
Created attachment 78894 [details]
"contents of /var/db/.../gcc-3.4.4-r1/CONTENTS"
Comment 11 João Rafael Moraes Nicola 2006-02-04 13:34:17 UTC
Created attachment 78895 [details]
contents of "/var/db/..../libstdc++-v3/CONTENTS"
Comment 12 João Rafael Moraes Nicola 2006-02-04 15:44:32 UTC
I had a MAKEFLAGS="-j3" in my make.conf, instead of MAKEOPTS. In the make install phase it got used and messed the install.  
Solved by renaming MAKEFLAGS to MAKEOPTS....
Thanks to jakub and marienz!
Comment 13 SpanKY gentoo-dev 2006-02-04 15:49:14 UTC
k ...
Comment 14 SpanKY gentoo-dev 2006-02-04 15:49:24 UTC
glad you found it