From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([69.77.167.62] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1L3Gp2-0001Kx-HA for garchives@archives.gentoo.org; Thu, 20 Nov 2008 21:12:20 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 3BBE3E0481; Thu, 20 Nov 2008 21:12:21 +0000 (UTC) Received: from qw-out-1920.google.com (qw-out-1920.google.com [74.125.92.149]) by pigeon.gentoo.org (Postfix) with ESMTP id 0A8A5E0481 for ; Thu, 20 Nov 2008 21:12:21 +0000 (UTC) Received: by qw-out-1920.google.com with SMTP id 5so177817qwc.10 for ; Thu, 20 Nov 2008 13:12:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:subject:from:to:in-reply-to :references:content-type:date:message-id:mime-version:x-mailer :content-transfer-encoding; bh=aHO12lHe4/0PPRhK/o+WSZn1cvAng2eXFvqD+zJOfJY=; b=PAssCGdwUEU12ESqw0gn2Fqg9WXC8vtTvV4d85wcdJimE0DeoR5IWO67JMzB1nEmrH TL0DuzhqFhOwLBmDhTxFvEeSJL7EjKhcCI58/fFo4JCmCW+i8gdjdHSvzJ7pB8SE9tgk KEdyx3ig7Bp/sk99WvaglXaY13aj6/DpBRai0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=subject:from:to:in-reply-to:references:content-type:date:message-id :mime-version:x-mailer:content-transfer-encoding; b=TcyTKjfQ4SPUttgOKnvCcYDTqMdcYT6kKmEQWygHx5z2rJCsN+CEq2Jg9KOJkiJk4+ 4o2nT8e3/DVw306yA6bDPnIXE2ZBR9v37S0uSiniCZTWp2noDfoyy42deMZ5D6nyEc7m kzRUTGv/x7MY59R4yWW71ZcUzxIQ56Y/R1130= Received: by 10.210.45.17 with SMTP id s17mr2352076ebs.75.1227215538014; Thu, 20 Nov 2008 13:12:18 -0800 (PST) Received: from ?192.168.178.23? (mtonko.xs4all.nl [82.95.176.216]) by mx.google.com with ESMTPS id 7sm1760082eyg.22.2008.11.20.13.12.16 (version=SSLv3 cipher=RC4-MD5); Thu, 20 Nov 2008 13:12:16 -0800 (PST) Subject: Re: [gentoo-amd64] Re: Some weird issues with portage From: Tonko Mulder To: gentoo-amd64@lists.gentoo.org In-Reply-To: References: <43ba12950811190150s1a8ea692ld30246ed60c07999@mail.gmail.com> <43ba12950811200057t7d6ad5fehbe03184c6f56b006@mail.gmail.com> Content-Type: text/plain Date: Thu, 20 Nov 2008 22:09:40 +0100 Message-Id: <1227215380.6329.4.camel@Gaius> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-amd64@lists.gentoo.org Reply-to: gentoo-amd64@lists.gentoo.org Mime-Version: 1.0 X-Mailer: Evolution 2.24.1.1 Content-Transfer-Encoding: 7bit X-Archives-Salt: b6c00618-c0ea-47ba-88c2-1d1578cb1046 X-Archives-Hash: e6bbc6272d80dc479c9021ad038f15f9 Op donderdag 20-11-2008 om 13:08 uur [tijdzone +0000], schreef Duncan: > "Tonko Mulder" posted > 43ba12950811200057t7d6ad5fehbe03184c6f56b006@mail.gmail.com, excerpted > below, on Thu, 20 Nov 2008 08:57:17 +0000: > > >> This looks very strange to me. Empty shared-object libs? > >> > >> FWIW, I have gmime-2.2.23 (only, no 2.4.x) merged here, with USE=-mono, > >> and equery b libemeraldengine.so returns nothing, so those > >> libemeraldengine.so* files must be mono related. > >> > > It's not just pan/gmime, it's for every ebuild. I now also get 'compiler > > cannot create executable' and I forgot what the solution for that was. > > Now /that/ might explain the empty *.so* libs as well. If it can't > create executables, it likely can't properly create libraries either. > That might have been when it started, right there. > > If you're getting compiler can't create executables on top of the other > thing, it could mean whatever was the problem has caused other problems > and your systems getting more and more screwed up. Tread carefully, or > you may end up having to reinstall from a stage tarball and effectively > start over (but without having to repartition and all that, starting from > the stage tarball). > > If you've been using FEATURES=buildpkg, you probably have a working gcc > package you and remerge over top of the old one, to fix gcc if it becomes > necessary. If not, you can unpack a stage tarball into a testing area, > chroot into it, quickpkg up the gcc version that's there thus creating a > binary package, then back outside the chroot again, emerge -K the binary > package you created. That's the usual emergency procedure to restore a > working gcc. Of course, that gcc will be the one from the stage tarball, > and you'll have to use it to remerge a normal system gcc with your own > USE flags, etc. > I emerged gcc with the -k option and all seems to be well. My world file was also empty, but using regenworld that's kinda back to it's old self. Portage seems to install everything fine, there some quircks from trying to install compix-fusion. But I'll try that later. > If portage or python (which portage needs to work) is screwed, the > emergency procedure for replacing it starts the same way (unpack a stage > tarball, chroot into it, use quickpkg to create a binpkg of whatever you > need), but once out of the chroot, you have to do something different as > the portage you'd merge the binpkg with is broken. In that case, first > backup config files such as make.conf that the package will include and > thus will overwrite if you use this procedure, then untar the binary > package (which is a tar.bz2 with some extra data glued on the end) to /, > directly over top of your working system. That should get you a working > portage or python or whatever again, but as I said, any config files that > the package would have normally updated will be directly overwritten with > the default versions. Thus the backups, which you can now restore over > the default versions. Of course, if the brokenness was in your config > files, that will break it again, but you'll already have the package > available to untar over / again, and you'll /know/ it's in the config the > second time around and can be more careful restoring your backup config. > At this point you should be working again, but since you bypassed > portage, its idea of what's installed will be out of sync with what's > really installed. Thus, you'll need to remerge a working package once > again to get portage back in sync, and you may have a few stale files to > cleanup by hand as well, if the filenames changed or the packages > otherwise didn't install exactly the same files. Still, that's better > than having to start from the stage tarball and reinstall > /everything/. > > > I don't see that path in my emerge --info, but FYI the full path is > > ~/dev/repo/portage and it's my git based portage tree (testing) by > > Daniel Robbins. > > "Oh, well, carry on then." =;^) > > FWIW I saw it in your login prompt, but missed the ~ at the beginning, > which makes /all/ the difference. Now that you've explained it, pointing > out my /small/ oversight which wasn't so small after all =:^(, it makes > perfect sense. So, um... yeah... carry on! Don't mind me! Nothing to > see here! =;^) >