1 |
Stefan Jones <cretin@g.o> writes: |
2 |
|
3 |
> On Fri, 2003-01-03 at 20:54, Terje Kvernes wrote: |
4 |
> |
5 |
> > right. broken stuff, be it binaries or libraries, come up as |
6 |
> > "data" with "file". this can, thankfully, be used to find most of |
7 |
> > the broken stuff: |
8 |
> > |
9 |
> > for f in $( file /usr/bin/* /bin/* /usr/X11R6/bin/* /usr/lib/*.so\ |
10 |
> > /lib/*.so /usr/kde/3/lib/*.so | grep ":.*data" |\ |
11 |
> > cut -f1 -d: ); do qpkg -nc -f $f; done | sort | uniq > /tmp/packages |
12 |
> |
13 |
> Good idea, be careful not only binaries reside in those dirs, but |
14 |
> that will not hurt you. |
15 |
|
16 |
I know. and it works. :-) |
17 |
|
18 |
I've now rebuilt every package I listed earlier, as well as kdebase |
19 |
and kdelibs. things work[tm]. there might have been some slipups, |
20 |
somewhere, but I'll find them eventually. oh, interesting sidenote. |
21 |
some merges like ORBit2 actually required me to remove the old |
22 |
libraries from the same package by hand first, as the build (make) |
23 |
for some reason tried to use those libraries. when I removed them |
24 |
manually (they where broken anyway), things worked. |
25 |
|
26 |
so a rescue guide should probably include removing the broken files |
27 |
after we've made the package list, and before we start to remerge |
28 |
stuff. |
29 |
|
30 |
> > hm, what other directories should I check? |
31 |
> |
32 |
> see /etc/prelink.conf for the dirs prelink reads |
33 |
|
34 |
er, good point. thanks. |
35 |
|
36 |
-- |
37 |
Terje |
38 |
|
39 |
-- |
40 |
gentoo-dev@g.o mailing list |