Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 19948 - After emerge sync, I'm told portage needs updating, but I can't b/c there's something up with C++?
Summary: After emerge sync, I'm told portage needs updating, but I can't b/c there's s...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Release Media
Classification: Unclassified
Component: Everything (show other bugs)
Hardware: x86 Linux
: High blocker (vote)
Assignee: Bob Johnson (RETIRED)
URL:
Whiteboard:
Keywords:
: 19949 (view as bug list)
Depends on:
Blocks:
 
Reported: 2003-04-25 12:05 UTC by Nelson
Modified: 2003-10-23 13:25 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nelson 2003-04-25 12:05:14 UTC
I'm booting off the live cd for 1.4 RC4, using the 800X600 boot option b/c my
laptop screen doesn't support 1024X768, and I get to the emerge sync step in the
directions, after using the stage 1 tarball.  That goes fine.  However, when
that finishes, I get a message to the effect of "portage needs updating, you
should update it before you do anything else."  So I do an emerge portage, and
it fails when it's about to start compiling with this error:

[lots of checking went fine, then this]
checking how to run the C++ preprocessor... /lib/cpp
configure: error: C++ preprocessor "/lib/cpp" fails sanity check

!!! ERROR: sys-libs/ncurses-5.3-r1 failed.
!!! Function econf, Line 273, Exitcode 1
!!! econf failed

Then I tried to emerge ncurses.  This failed as well, with the same message.

checking how to run the C++ preprocessor... /lib/cpp
configure: error: C++ preprocessor "/lib/cpp" fails sanity check

!!! ERROR: sys-libs/ncurses-5.3-r1 failed.
!!! Function econf, Line 273, Exitcode 1
!!! econf failed

Reproducible: Always
Steps to Reproduce:
0. Boot using the 800 boot option from the 1.4 RC4 liveCD
1. Use the stage 1 tarball
2. emerge sync
3. emerge portage

Actual Results:  
I successfully reproduced this in exactly the same way as described.

Expected Results:  
Um, portage should have emerged properly, there shouldn't have been errors in
the C++ preprocessor, /lib/cpp should be sane, etc.

This is a Dell Latitude slimline laptop, running off a Pentium III.
Comment 1 Caleb Tennis (RETIRED) gentoo-dev 2003-05-15 16:37:17 UTC
*** Bug 19949 has been marked as a duplicate of this bug. ***
Comment 2 SpanKY gentoo-dev 2003-08-10 13:59:43 UTC
if you run `gcc-config 1` and try again does it work ?
ive seen this pop up randomly on my box, and re-running gcc-config fixed it
Comment 3 Caleb Tennis (RETIRED) gentoo-dev 2003-10-23 13:25:17 UTC
Closed due to inactivity