Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 121589 - c++ library headers missing when using MAKEFLAGS instead of MAKEOPTS
Summary: c++ library headers missing when using MAKEFLAGS instead of MAKEOPTS
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
: 121588 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-02-04 13:25 UTC by João Rafael Moraes Nicola
Modified: 2006-02-04 15:49 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
output of "equery f gcc" (echeck-f-gcc.txt,8.86 KB, text/plain)
2006-02-04 13:26 UTC, João Rafael Moraes Nicola
Details
output of "equery f libstdc++-v3" (echeck-f-libstdc++-v3.txt,153 bytes, text/plain)
2006-02-04 13:27 UTC, João Rafael Moraes Nicola
Details
output of "equery check gcc" (echeck-gcc.txt,981 bytes, text/plain)
2006-02-04 13:29 UTC, João Rafael Moraes Nicola
Details
output of "equery check libstdc++-v3" (echeck-libstdc++-v3.txt,54 bytes, text/plain)
2006-02-04 13:30 UTC, João Rafael Moraes Nicola
Details
output of "emege gcc" in .bz2 format (emerge-gcc.txt.bz2,49.50 KB, application/octet-stream)
2006-02-04 13:32 UTC, João Rafael Moraes Nicola
Details
output of "emerge --info -v" (emerge-info-v.txt,5.82 KB, text/plain)
2006-02-04 13:33 UTC, João Rafael Moraes Nicola
Details
"contents of /var/db/.../gcc-3.4.4-r1/CONTENTS" (var-db-gcc-CONTENTS.txt,14.21 KB, text/plain)
2006-02-04 13:33 UTC, João Rafael Moraes Nicola
Details
contents of "/var/db/..../libstdc++-v3/CONTENTS" (var-db-libstdc++-v3-CONTENTS.txt,306 bytes, text/plain)
2006-02-04 13:34 UTC, João Rafael Moraes Nicola
Details

Note You need to log in before you can comment on or make changes to this bug.
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