From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 4.0.0 (2022-12-14) on finch.gentoo.org X-Spam-Level: X-Spam-Status: No, score=0.3 required=5.0 tests=DMARC_NONE,MAILING_LIST_MULTI, RDNS_DYNAMIC autolearn=no autolearn_force=no version=4.0.0 Received: from dhcp101240.res-hall.nwu.edu (dhcp101240.res-hall.northwestern.edu [199.74.101.240]) by chiba.3jane.net (Postfix) with ESMTP id 578CEABCFB; Wed, 23 Oct 2002 19:21:51 -0500 (CDT) Received: by dhcp101240.res-hall.nwu.edu (Postfix, from userid 1000) id 6D75F2C159; Wed, 23 Oct 2002 19:21:50 -0500 (CDT) From: "Matthew J. Turk" To: gentoo-user , gentoo-dev Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-tLokRBk8ljdp+LV3yQzo" X-Mailer: Ximian Evolution 1.0.8 Date: 23 Oct 2002 19:21:50 -0500 Message-Id: <1035418910.10299.26.camel@dhcp101240.res-hall.nwu.edu> Mime-Version: 1.0 Subject: [gentoo-dev] glibc madness - solution Sender: gentoo-dev-admin@gentoo.org Errors-To: gentoo-dev-admin@gentoo.org X-BeenThere: gentoo-dev@gentoo.org X-Mailman-Version: 2.0.6 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Gentoo Linux developer list List-Unsubscribe: , List-Archive: X-Archives-Salt: fd6f8609-1a49-467f-a1a1-0bc6cbf004c2 X-Archives-Hash: 9c4c3a2f28abd42c8a7cbf8cccad6af7 --=-tLokRBk8ljdp+LV3yQzo Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Hi guys. All over -user and -dev lately have been problems with glibc upgrading... I must admit that I, too, was taken by surprise, but with Seemant's help I've been able to work out a way to fix my system up.=20 There might be typos, and it might not work quickly, but it worked for me. I'm not getting missing symbols anymore. Before anything else, let's clear out the colors. Set NOCOLOR to true. export NOCOLOR=3D"true" First, I found all the statically linked libraries in /usr/lib ; I know that's not all of them, but I wasn't sure where else to send people. find /usr/lib -name "*.a" > STATIC_LIBS Now we grab the package names that own those libs... (the cut is to grab the * at the end, if it exists.) This should take a while before outputting anything to PACKAGES, as sort waits for the input to finish before doing anything. ( for i in `cat STATIC_LIBS` ; do ( qpkg -nc -f ${i} ) done )| \ cut -f1 -d\ |sort -u > PACKAGES We need these to be in the right order. So, let's pretend to emerge them all from scratch, then cut out the version numbers. (This step I'm not so sure about - mainly the version number cutting. *Mine* worked, and I have a fairly full system - KDE and GNOME, but it might not work for everyone...) emerge -pe `cat PACKAGES` | grep ebuild | cut -c16-100 > ORDER cat ORDER | sed 's/-[0-9].*$//' > F_ORDER I ran *this* through a python script: needed=3Dopen("PACKAGES").readlines() inorder=3D[] for line in open("F_ORDER").readlines(): if line in needed: inorder.append(line) open("FINAL", "w").writelines(inorder) Now you'll have an ordered list in FINAL. emerge `cat FINAL` should do it. It'll take a while, but it'll fix your static libs... mjt --=20 Matthew J. Turk satai@gentoo.org --=-tLokRBk8ljdp+LV3yQzo Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.0 (GNU/Linux) iD8DBQA9tz0egGcJ6evETR4RAit7AJ9418HX90LXgYbYjuoCUwSpttDGOQCcDdIk 3M2K45NJmPKrmB0RCqvAymE= =tAJg -----END PGP SIGNATURE----- --=-tLokRBk8ljdp+LV3yQzo--