* [gentoo-user] Re: revdep-rebuild question
2007-02-19 17:23 ` Mark Knecht
@ 2007-02-19 17:53 ` dnlt0hn5ntzhbqkv51
2007-02-19 18:19 ` 7v5w7go9ub0o
1 sibling, 0 replies; 10+ messages in thread
From: dnlt0hn5ntzhbqkv51 @ 2007-02-19 17:53 UTC (permalink / raw
To: gentoo-user
> Alan,
> Seems reasonable. Would I (Could I?) then do an equery depends on
> each binary and assuming nothing depends on it remove them by hand
> without causing damage?
>
> I'd want to do another revdep-rebuild every so often to ensure that
> things remained consistent.
Makes sense to me - doing the equery on the package that installed the
binary (which may have a name unrelated).
IIUC, there are two tools useful for second/third opinions for this task;
dep and pquery. Here's an example of their use on fftw:
dep -L fftw
pquery --vdb --revdep sci-libs/fftw
And as you idicated, do a revdep-rebuild after the manual deletion.
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 10+ messages in thread
* [gentoo-user] Re: revdep-rebuild question
2007-02-19 17:23 ` Mark Knecht
2007-02-19 17:53 ` [gentoo-user] " dnlt0hn5ntzhbqkv51
@ 2007-02-19 18:19 ` 7v5w7go9ub0o
1 sibling, 0 replies; 10+ messages in thread
From: 7v5w7go9ub0o @ 2007-02-19 18:19 UTC (permalink / raw
To: gentoo-user
> Alan,
> Seems reasonable. Would I (Could I?) then do an equery depends on
> each binary and assuming nothing depends on it remove them by hand
> without causing damage?
>
> I'd want to do another revdep-rebuild every so often to ensure that
> things remained consistent.
>
Makes sense to me - doing the equery on the package that installed the
binary (which may have a name unrelated).
IIUC, there are two tools useful for second/third opinions for this task;
dep and pquery. Here's an example of their use on fftw:
dep -L fftw
pquery --vdb --revdep sci-libs/fftw
And as you idicated, do a revdep-rebuild after the manual deletion.
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 10+ messages in thread
* [gentoo-user] revdep-rebuild question
@ 2011-07-25 22:20 Hartmut Figge
2011-07-25 22:30 ` Paul Hartman
2011-07-25 22:36 ` [gentoo-user] " Hartmut Figge
0 siblings, 2 replies; 10+ messages in thread
From: Hartmut Figge @ 2011-07-25 22:20 UTC (permalink / raw
To: gentoo-user
Greetings,
after the emerge -uDN world of today i proceeded with revdep-rebuild
which found nothing to to. But i noticed, that the emerge recommended to
execute revdep-rebuild --library='libosp.so.*'. Doing this two packages
were found and emerged.
Now, shouldn't these have been found already by the previous revdep-rebuild?
Hartmut
--
Usenet-ABC-Wiki http://www.usenet-abc.de/wiki/
Von Usern fuer User :-)
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [gentoo-user] revdep-rebuild question
2011-07-25 22:20 [gentoo-user] revdep-rebuild question Hartmut Figge
@ 2011-07-25 22:30 ` Paul Hartman
2011-07-25 22:30 ` Paul Hartman
2011-07-25 22:36 ` [gentoo-user] " Hartmut Figge
1 sibling, 1 reply; 10+ messages in thread
From: Paul Hartman @ 2011-07-25 22:30 UTC (permalink / raw
To: gentoo-user
On Mon, Jul 25, 2011 at 5:20 PM, Hartmut Figge <h.figge@gmx.de> wrote:
> Greetings,
>
> after the emerge -uDN world of today i proceeded with revdep-rebuild
> which found nothing to to. But i noticed, that the emerge recommended to
> execute revdep-rebuild --library='libosp.so.*'. Doing this two packages
> were found and emerged.
>
> Now, shouldn't these have been found already by the previous revdep-rebuild?
I believe --library rebuilds everything that uses that library, not
broken packages.
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [gentoo-user] revdep-rebuild question
2011-07-25 22:30 ` Paul Hartman
@ 2011-07-25 22:30 ` Paul Hartman
2011-07-25 22:40 ` [gentoo-user] " Hartmut Figge
2011-07-26 1:23 ` [gentoo-user] " Bill Kenworthy
0 siblings, 2 replies; 10+ messages in thread
From: Paul Hartman @ 2011-07-25 22:30 UTC (permalink / raw
To: gentoo-user
On Mon, Jul 25, 2011 at 5:30 PM, Paul Hartman
<paul.hartman+gentoo@gmail.com> wrote:
> On Mon, Jul 25, 2011 at 5:20 PM, Hartmut Figge <h.figge@gmx.de> wrote:
>> Greetings,
>>
>> after the emerge -uDN world of today i proceeded with revdep-rebuild
>> which found nothing to to. But i noticed, that the emerge recommended to
>> execute revdep-rebuild --library='libosp.so.*'. Doing this two packages
>> were found and emerged.
>>
>> Now, shouldn't these have been found already by the previous revdep-rebuild?
>
> I believe --library rebuilds everything that uses that library, not
> broken packages.
To test my theory you can run the command again and see if it finds
the same 2 packages again. :)
^ permalink raw reply [flat|nested] 10+ messages in thread
* [gentoo-user] Re: revdep-rebuild question
2011-07-25 22:20 [gentoo-user] revdep-rebuild question Hartmut Figge
2011-07-25 22:30 ` Paul Hartman
@ 2011-07-25 22:36 ` Hartmut Figge
1 sibling, 0 replies; 10+ messages in thread
From: Hartmut Figge @ 2011-07-25 22:36 UTC (permalink / raw
To: gentoo-user
Hartmut Figge:
> Now, shouldn't these have been found already by the previous revdep-rebuild?
And after the next revdep-rebuild --library='libosp.so.*' the same two
packages are found and rebuild. And so on.
i5 hafi # revdep-rebuild -p --library='libosp.so.*'
[...]
* Checking dynamic linking
[ 22% ] * found /usr/bin/onsgmls
* found /usr/bin/openjade
* found /usr/bin/osgmlnorm
* found /usr/bin/ospam
* found /usr/bin/ospcat
* found /usr/bin/ospent
* found /usr/bin/osx
[ 67% ] * found /usr/lib/libospgrove.so.0.0.1
* found /usr/lib/libostyle.so.0.0.1
[ 100% ]
* Generated new 3_broken.rr
[...]
Calculating dependencies... done!
[ebuild R ] app-text/opensp-1.5.2-r2
[ebuild R ] app-text/openjade-1.3.2-r3
Hm. *g*
Hartmut
--
Usenet-ABC-Wiki http://www.usenet-abc.de/wiki/
Von Usern fuer User :-)
^ permalink raw reply [flat|nested] 10+ messages in thread
* [gentoo-user] Re: revdep-rebuild question
2011-07-25 22:30 ` Paul Hartman
@ 2011-07-25 22:40 ` Hartmut Figge
2011-07-25 22:49 ` Hartmut Figge
2011-07-26 1:23 ` [gentoo-user] " Bill Kenworthy
1 sibling, 1 reply; 10+ messages in thread
From: Hartmut Figge @ 2011-07-25 22:40 UTC (permalink / raw
To: gentoo-user
Paul Hartman:
> On Mon, Jul 25, 2011 at 5:30 PM, Paul Hartman
>> I believe --library rebuilds everything that uses that library, not
>> broken packages.
>
> To test my theory you can run the command again and see if it finds
> the same 2 packages again. :)
You are right and to quick to to hold back my own previous reply. ;)
Hartmut
--
Usenet-ABC-Wiki http://www.usenet-abc.de/wiki/
Von Usern fuer User :-)
^ permalink raw reply [flat|nested] 10+ messages in thread
* [gentoo-user] Re: revdep-rebuild question
2011-07-25 22:40 ` [gentoo-user] " Hartmut Figge
@ 2011-07-25 22:49 ` Hartmut Figge
2011-07-25 23:02 ` Paul Hartman
0 siblings, 1 reply; 10+ messages in thread
From: Hartmut Figge @ 2011-07-25 22:49 UTC (permalink / raw
To: gentoo-user
Hartmut Figge:
> You are right and to quick to to hold back my own previous reply. ;)
Hard to understand a sentence with such many errors. A challenge. :)
Hartmut
--
Usenet-ABC-Wiki http://www.usenet-abc.de/wiki/
Von Usern fuer User :-)
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [gentoo-user] Re: revdep-rebuild question
2011-07-25 22:49 ` Hartmut Figge
@ 2011-07-25 23:02 ` Paul Hartman
0 siblings, 0 replies; 10+ messages in thread
From: Paul Hartman @ 2011-07-25 23:02 UTC (permalink / raw
To: gentoo-user
On Mon, Jul 25, 2011 at 5:49 PM, Hartmut Figge <h.figge@gmx.de> wrote:
> Hartmut Figge:
>
>> You are right and to quick to to hold back my own previous reply. ;)
>
> Hard to understand a sentence with such many errors. A challenge. :)
I like puzzles but I understood perfectly what you said. :)
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [gentoo-user] revdep-rebuild question
2011-07-25 22:30 ` Paul Hartman
2011-07-25 22:40 ` [gentoo-user] " Hartmut Figge
@ 2011-07-26 1:23 ` Bill Kenworthy
1 sibling, 0 replies; 10+ messages in thread
From: Bill Kenworthy @ 2011-07-26 1:23 UTC (permalink / raw
To: gentoo-user
On Mon, 2011-07-25 at 17:30 -0500, Paul Hartman wrote:
> On Mon, Jul 25, 2011 at 5:30 PM, Paul Hartman
> <paul.hartman+gentoo@gmail.com> wrote:
> > On Mon, Jul 25, 2011 at 5:20 PM, Hartmut Figge <h.figge@gmx.de> wrote:
> >> Greetings,
> >>
> >> after the emerge -uDN world of today i proceeded with revdep-rebuild
> >> which found nothing to to. But i noticed, that the emerge recommended to
> >> execute revdep-rebuild --library='libosp.so.*'. Doing this two packages
> >> were found and emerged.
> >>
> >> Now, shouldn't these have been found already by the previous revdep-rebuild?
> >
> > I believe --library rebuilds everything that uses that library, not
> > broken packages.
>
> To test my theory you can run the command again and see if it finds
> the same 2 packages again. :)
>
A quick look at the ebuild for opensp shows that it will always print
that message - doesnt test if its really needed, and the revdep-rebuild
reccomendation will always rebuild "all" matching libs it finds - not
just ones that really need building.
BillK
^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2011-07-26 1:49 UTC | newest]
Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-07-25 22:20 [gentoo-user] revdep-rebuild question Hartmut Figge
2011-07-25 22:30 ` Paul Hartman
2011-07-25 22:30 ` Paul Hartman
2011-07-25 22:40 ` [gentoo-user] " Hartmut Figge
2011-07-25 22:49 ` Hartmut Figge
2011-07-25 23:02 ` Paul Hartman
2011-07-26 1:23 ` [gentoo-user] " Bill Kenworthy
2011-07-25 22:36 ` [gentoo-user] " Hartmut Figge
-- strict thread matches above, loose matches on Subject: below --
2007-02-19 16:23 [gentoo-user] " Mark Knecht
2007-02-19 17:11 ` Alan McKinnon
2007-02-19 17:23 ` Mark Knecht
2007-02-19 17:53 ` [gentoo-user] " dnlt0hn5ntzhbqkv51
2007-02-19 18:19 ` 7v5w7go9ub0o
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox