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

Bug 96127

Summary: Attempts to switch gcc versions break the portage down
Product: Gentoo Linux Reporter: Jozef Behran <jozef.behran>
Component: New packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: critical    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Jozef Behran 2005-06-14 14:30:30 UTC
After you try to emerge different 

Reproducible: Always
Steps to Reproduce:
1. Emerge gcc-3.4.4*  
2. Emerge gcc-3.4.3*  
3. Try to use portage or anything using libstdc++ 
Actual Results:  
# emerge --update world 
/usr/bin/python: error while loading shared libraries: libstdc++.so.6: cannot open 
shared object file: No such file or directory 
 

Expected Results:  
Things should work as before 

The point where things screw up is here:   
   
   ... 
   
 * The current gcc config appears valid, so it will not be   
 * automatically switched for you.  If you would like to   
 * switch to the newly installed gcc version, do the   
 * following:   
   
 * gcc-config i686-pc-linux-gnu-3.4.3   
 * source /etc/profile   
   
   
 * If you have issues with packages unable to locate libstdc++.la,   
 * then try running 'fix_libtool_files.sh' on the old gcc versions.   
   
>>> sys-devel/gcc-3.4.3-r1 merged.   
   
 sys-devel/gcc   
    selected: 3.4.4   
   protected: 3.4.3-r1 3.3.4-r1   
     omitted: none   
   
>>> 'Selected' packages are slated for removal.   
>>> 'Protected' and 'omitted' packages will not be removed.   
   
>>> Waiting 5 seconds before starting...   
>>> (Control-C to abort)...   
>>> Unmerging in: 5 4 3 2 1   
>>> Unmerging sys-devel/gcc-3.4.4...   
No package files given... Grabbing a set.   
<<<        obj /usr/share/gcc-data/i686-pc-linux-gnu/3.4.4/man/man7/gpl.7.gz   
<<<        obj /usr/share/gcc-data/i686-pc-linux-gnu/3.4.4/man/man7/gfdl.7.gz   
   
   ...   
   
The problem with this is that the current configuration is *-gcc-3.4.4-*, which is 
immediately broken down by the following unmerge operation. 
 
See also bug #96125 for related critical problem(s) with the compiler suite in Gentoo.
Comment 1 Jozef Behran 2005-06-14 14:34:07 UTC
Missing detailed description: 
 
After you try to emerge different version of GCC, almost everything stops working 
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2005-06-14 14:41:09 UTC

*** This bug has been marked as a duplicate of 95224 ***