Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 12502 - AUTOCLEAN="yes" unmerged core files.
Summary: AUTOCLEAN="yes" unmerged core files.
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Unclassified (show other bugs)
Hardware: x86 Linux
: High critical (vote)
Assignee: Nicholas Jones (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-12-20 20:50 UTC by two scoops
Modified: 2011-10-30 22:22 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 two scoops 2002-12-20 20:50:20 UTC
after the latest Portage updates, "AUTOCLEAN=yes" was added to
/etc/make.globals.  During use of my system I started getting this error:

bash-2.05b# emerge -s mutt
python2.2: error while loading shared libraries: libstdc++.so.5: cannot open
shared object file: No such file or directory
bash-2.05b# 

I looked in /var/log/emerge.log and saw the following:

1040423936:  --- AUTOCLEAN: Nothing unmerged.
1040423949:  >>> unmerge success: sys-apps/texinfo-4.2-r5
1040423953:  >>> unmerge success: sys-devel/binutils-2.13.90.0.4
1040423954:  >>> unmerge success: sys-apps/portage-2.0.36
1040423954:  >>> unmerge success: sys-apps/portage-2.0.45-r3
1040423984:  >>> unmerge success: sys-devel/gcc-3.2-r1
1040423988:  >>> unmerge success: sys-devel/gettext-0.11.1
1040424002:  >>> unmerge success: sys-libs/ncurses-5.2.20020511-r2
1040424027:  >>> unmerge success: sys-libs/glibc-2.2.5-r6
1040424030:  >>> unmerge success: sys-apps/baselayout-1.8.3

Why in the world would this happen?
Comment 1 two scoops 2002-12-20 20:52:42 UTC
In any case, what can I do to restore those packages. I can't emerge them anew.
Comment 2 Nicholas Jones (RETIRED) gentoo-dev 2002-12-21 05:12:44 UTC
Very probably a corrupted counter.

You can grab the GRP packages from
http://www.gentoo.org/dyn/experimental/
I think. Or have someone make you those packages.
Just untar the tbz2's to /. Then emerge each tarball.
Comment 3 Nicholas Jones (RETIRED) gentoo-dev 2002-12-21 05:14:35 UTC
Hmmmmm... Wait... Your glibc wasn't unmerged... the old version was...

Different issue then.
Get glibc and gcc packages and then rebuild world.
Comment 4 two scoops 2002-12-21 14:20:04 UTC
I checked the counters. That isn't it.

yes, you are right, glibc 2.3.1-r2 is installed. And in the reasonable light of
day, I see that gcc 3.2.1 is installed. 

ozomatli root # emerge gcc
python2.2: error while loading shared libraries: libstdc++.so.5: cannot open
shared object file: No such file or directory
ozomatli root #

Okay, so I need to get gcc and glibc binary packages. where can I find these
packages?
Comment 5 two scoops 2002-12-21 18:14:09 UTC
looks like all I need to do is 

bash#ln -s /usr/lib/libstdc++.so.2.8.0 /usr/lib/libstdc++.so.5
bash#ln -s /usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.1/libgcc_s.so.1
/usr/lib/libgcc_s.so.1
bash#for bin in `ls /usr/i686-pc-linux-gnu/bin`; do ln -s
/usr/i686-pc-linux-gnu/bin/$bin /usr/bin/$bin; done
bash#emerge gcc
bash#emerge glibc

then rebuild world
Comment 6 Nicholas Jones (RETIRED) gentoo-dev 2003-02-03 06:52:11 UTC
If there is anything left to this, reopen.