From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7113 invoked by uid 1002); 4 Jan 2003 21:38:17 -0000 Mailing-List: contact gentoo-dev-help@gentoo.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@gentoo.org Received: (qmail 22103 invoked from network); 4 Jan 2003 21:38:17 -0000 To: gentoo-dev References: <200301022027.08364.zhen@gentoo.org> <23454.213.121.89.82.1041585748.squirrel@webmail.churchillrandoms.co.uk> <1041695733.1454.33.camel@localhost> X-URL: http://terje.kvernes.no/ Organization: do you Gentoo? From: Terje Kvernes Date: 04 Jan 2003 22:36:15 +0100 In-Reply-To: <1041695733.1454.33.camel@localhost> Message-ID: User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: Terje Kvernes Subject: Re: [gentoo-dev] Announcing new Prelinking Guide X-Archives-Salt: ab021a47-9ac9-4ace-9cef-fe550f6be305 X-Archives-Hash: 46a7c473efb7786df884d8cf375365f0 Stefan Jones writes: > On Fri, 2003-01-03 at 20:54, Terje Kvernes wrote: > > > right. broken stuff, be it binaries or libraries, come up as > > "data" with "file". this can, thankfully, be used to find most of > > the broken stuff: > > > > for f in $( file /usr/bin/* /bin/* /usr/X11R6/bin/* /usr/lib/*.so\ > > /lib/*.so /usr/kde/3/lib/*.so | grep ":.*data" |\ > > cut -f1 -d: ); do qpkg -nc -f $f; done | sort | uniq > /tmp/packages > > Good idea, be careful not only binaries reside in those dirs, but > that will not hurt you. I know. and it works. :-) I've now rebuilt every package I listed earlier, as well as kdebase and kdelibs. things work[tm]. there might have been some slipups, somewhere, but I'll find them eventually. oh, interesting sidenote. some merges like ORBit2 actually required me to remove the old libraries from the same package by hand first, as the build (make) for some reason tried to use those libraries. when I removed them manually (they where broken anyway), things worked. so a rescue guide should probably include removing the broken files after we've made the package list, and before we start to remerge stuff. > > hm, what other directories should I check? > > see /etc/prelink.conf for the dirs prelink reads er, good point. thanks. -- Terje -- gentoo-dev@gentoo.org mailing list