* [gentoo-user] revdep-rebuild question
@ 2007-02-19 16:23 Mark Knecht
2007-02-19 17:11 ` Alan McKinnon
2007-02-19 17:52 ` Jakob Buchgraber
0 siblings, 2 replies; 14+ messages in thread
From: Mark Knecht @ 2007-02-19 16:23 UTC (permalink / raw
To: gentoo-user
Hi,
I'm not clear why revdep-rebuild is showing lots of broken linkages
but then telling me everything is in order and there is no work to do
to clean up the system.
I haven't seen this before. What's causing it?
What's the process to get this cleaned up and down to no messages
about broken things?
Thanks,
Mark
gandalf ~ # revdep-rebuild -p
Configuring search environment for revdep-rebuild
Checking reverse dependencies...
Packages containing binaries and libraries broken by a package update
will be emerged.
Collecting system binaries and libraries... done.
(/root/.revdep-rebuild.1_files)
Collecting complete LD_LIBRARY_PATH... done.
(/root/.revdep-rebuild.2_ldpath)
Checking dynamic linking consistency...
broken /usr/bin/avibench (requires libaviplay-0.7.so.0)
broken /usr/bin/avicap (requires libaviplay-0.7.so.0 libqavm-0.7.so.0)
broken /usr/bin/avicat (requires libaviplay-0.7.so.0)
<SNIP>
broken /usr/lib/transcode/filter_preview.la (requires /usr/lib/libdv.la)
broken /usr/lib/transcode/filter_preview.la (requires
/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/libstdc++.la)
done.
(/root/.revdep-rebuild.3_rebuild)
Assigning files to ebuilds... done.
(/root/.revdep-rebuild.4_ebuilds)
Evaluating package order... done.
(/root/.revdep-rebuild.5_order)
Dynamic linking on your system is consistent... All done.
gandalf ~ #
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [gentoo-user] revdep-rebuild question
2007-02-19 16:23 [gentoo-user] revdep-rebuild question Mark Knecht
@ 2007-02-19 17:11 ` Alan McKinnon
2007-02-19 17:23 ` Mark Knecht
2007-02-19 17:52 ` Jakob Buchgraber
1 sibling, 1 reply; 14+ messages in thread
From: Alan McKinnon @ 2007-02-19 17:11 UTC (permalink / raw
To: gentoo-user
On Monday 19 February 2007, Mark Knecht wrote:
> Hi,
> I'm not clear why revdep-rebuild is showing lots of broken
> linkages but then telling me everything is in order and there is no
> work to do to clean up the system.
>
> I haven't seen this before. What's causing it?
>
> What's the process to get this cleaned up and down to no messages
> about broken things?
>
> Thanks,
> Mark
My guess would be that portage cannot assign the broken binaries
(/usr/bin/avibench etc) to an ebuild, and therefore there cannot be
anything to emerge.
They might be orphan binaries from a previous incomplete unmerge, or
something locally compiled, or even files installed from a foreign
package system (.tgz or .rpm perhaps?)
alan
>
>
> gandalf ~ # revdep-rebuild -p
> Configuring search environment for revdep-rebuild
>
> Checking reverse dependencies...
>
> Packages containing binaries and libraries broken by a package update
> will be emerged.
>
> Collecting system binaries and libraries... done.
> (/root/.revdep-rebuild.1_files)
>
> Collecting complete LD_LIBRARY_PATH... done.
> (/root/.revdep-rebuild.2_ldpath)
>
> Checking dynamic linking consistency...
> broken /usr/bin/avibench (requires libaviplay-0.7.so.0)
> broken /usr/bin/avicap (requires libaviplay-0.7.so.0
> libqavm-0.7.so.0) broken /usr/bin/avicat (requires
> libaviplay-0.7.so.0)
> <SNIP>
> broken /usr/lib/transcode/filter_preview.la (requires
> /usr/lib/libdv.la) broken /usr/lib/transcode/filter_preview.la
> (requires
> /usr/lib/gcc/i686-pc-linux-gnu/4.1.1/libstdc++.la)
> done.
> (/root/.revdep-rebuild.3_rebuild)
>
> Assigning files to ebuilds... done.
> (/root/.revdep-rebuild.4_ebuilds)
>
> Evaluating package order... done.
> (/root/.revdep-rebuild.5_order)
>
> Dynamic linking on your system is consistent... All done.
> gandalf ~ #
--
Optimists say the glass is half full,
Pessimists say the glass is half empty,
Developers say wtf is the glass twice as big as it needs to be?
Alan McKinnon
alan at linuxholdings dot co dot za
+27 82, double three seven, one nine three five
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [gentoo-user] revdep-rebuild question
2007-02-19 17:11 ` Alan McKinnon
@ 2007-02-19 17:23 ` Mark Knecht
2007-02-19 17:53 ` [gentoo-user] " dnlt0hn5ntzhbqkv51
` (3 more replies)
0 siblings, 4 replies; 14+ messages in thread
From: Mark Knecht @ 2007-02-19 17:23 UTC (permalink / raw
To: gentoo-user
On 2/19/07, Alan McKinnon <alan@linuxholdings.co.za> wrote:
> On Monday 19 February 2007, Mark Knecht wrote:
> > Hi,
> > I'm not clear why revdep-rebuild is showing lots of broken
> > linkages but then telling me everything is in order and there is no
> > work to do to clean up the system.
> >
> > I haven't seen this before. What's causing it?
> >
> > What's the process to get this cleaned up and down to no messages
> > about broken things?
> >
> > Thanks,
> > Mark
>
> My guess would be that portage cannot assign the broken binaries
> (/usr/bin/avibench etc) to an ebuild, and therefore there cannot be
> anything to emerge.
>
> They might be orphan binaries from a previous incomplete unmerge, or
> something locally compiled, or even files installed from a foreign
> package system (.tgz or .rpm perhaps?)
>
> alan
>
>
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.
Thanks,
Mark
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [gentoo-user] revdep-rebuild question
2007-02-19 16:23 [gentoo-user] revdep-rebuild question Mark Knecht
2007-02-19 17:11 ` Alan McKinnon
@ 2007-02-19 17:52 ` Jakob Buchgraber
2007-02-19 20:55 ` Neil Walker
1 sibling, 1 reply; 14+ messages in thread
From: Jakob Buchgraber @ 2007-02-19 17:52 UTC (permalink / raw
To: gentoo-user
Mark Knecht wrote:
> Hi,
> I'm not clear why revdep-rebuild is showing lots of broken linkages
> but then telling me everything is in order and there is no work to do
> to clean up the system.
>
> I haven't seen this before. What's causing it?
>
> What's the process to get this cleaned up and down to no messages
> about broken things?
>
> Thanks,
> Mark
>
>
> gandalf ~ # revdep-rebuild -p
> Configuring search environment for revdep-rebuild
>
> Checking reverse dependencies...
>
> Packages containing binaries and libraries broken by a package update
> will be emerged.
>
> Collecting system binaries and libraries... done.
> (/root/.revdep-rebuild.1_files)
>
> Collecting complete LD_LIBRARY_PATH... done.
> (/root/.revdep-rebuild.2_ldpath)
>
> Checking dynamic linking consistency...
> broken /usr/bin/avibench (requires libaviplay-0.7.so.0)
> broken /usr/bin/avicap (requires libaviplay-0.7.so.0 libqavm-0.7.so.0)
> broken /usr/bin/avicat (requires libaviplay-0.7.so.0)
> <SNIP>
> broken /usr/lib/transcode/filter_preview.la (requires /usr/lib/libdv.la)
> broken /usr/lib/transcode/filter_preview.la (requires
> /usr/lib/gcc/i686-pc-linux-gnu/4.1.1/libstdc++.la)
> done.
> (/root/.revdep-rebuild.3_rebuild)
>
> Assigning files to ebuilds... done.
> (/root/.revdep-rebuild.4_ebuilds)
>
> Evaluating package order... done.
> (/root/.revdep-rebuild.5_order)
>
> Dynamic linking on your system is consistent... All done.
> gandalf ~ #
All options being passed to revdep-rebuild are also passed to emerge. So
write only
revdep-rebuild instead of revdep-rebuild -p (pretend)
Cheers,
jay
--
My system configuration (Gentoo Linux): http://www.linux-stats.org/index.php?c=userpage&sys=810
Registered Linux User #373457
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 14+ messages in thread
* [gentoo-user] Re: revdep-rebuild question
2007-02-19 17:23 ` Mark Knecht
@ 2007-02-19 17:53 ` dnlt0hn5ntzhbqkv51
2007-02-19 17:58 ` [gentoo-user] " Boyd Stephen Smith Jr.
` (2 subsequent siblings)
3 siblings, 0 replies; 14+ 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] 14+ messages in thread
* Re: [gentoo-user] revdep-rebuild question
2007-02-19 17:23 ` Mark Knecht
2007-02-19 17:53 ` [gentoo-user] " dnlt0hn5ntzhbqkv51
@ 2007-02-19 17:58 ` Boyd Stephen Smith Jr.
2007-02-19 18:19 ` [gentoo-user] " 7v5w7go9ub0o
2007-02-20 7:42 ` [gentoo-user] " Alan McKinnon
3 siblings, 0 replies; 14+ messages in thread
From: Boyd Stephen Smith Jr. @ 2007-02-19 17:58 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 1653 bytes --]
On Monday 19 February 2007, "Mark Knecht" <markknecht@gmail.com> wrote
about 'Re: [gentoo-user] revdep-rebuild question':
> On 2/19/07, Alan McKinnon <alan@linuxholdings.co.za> wrote:
> > On Monday 19 February 2007, Mark Knecht wrote:
> > > I'm not clear why revdep-rebuild is showing lots of broken
> > > linkages but then telling me everything is in order and there is no
> > > work to do to clean up the system.
> > >
> > > I haven't seen this before. What's causing it?
> >
> > They might be orphan binaries from a previous incomplete unmerge, or
> > something locally compiled, or even files installed from a foreign
> > package system (.tgz or .rpm perhaps?)
>
> 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?
Probably want to do a (b)elongs instead of a (d)epends, but yes, assuming
you aren't maintaining those binaries outside of portage's control. (E.g.
locally compiled or from a foreign package system.)
> I'd want to do another revdep-rebuild every so often to ensure that
> things remained consistent.
Yep. revdep-rebuild used to be part of my daily system maintenance script
(and will be put back once I figure out a good way to use paludis instead
of emerge for the remerge part).
--
Boyd Stephen Smith Jr. ,= ,-_-. =.
bss03@volumehost.net ((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy `-'(. .)`-'
http://iguanasuicide.org/ \_/
New GPG Key! Old key expires 2007-03-25. Upgrade NOW!
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 14+ 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 17:58 ` [gentoo-user] " Boyd Stephen Smith Jr.
@ 2007-02-19 18:19 ` 7v5w7go9ub0o
2007-02-20 7:42 ` [gentoo-user] " Alan McKinnon
3 siblings, 0 replies; 14+ 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] 14+ messages in thread
* Re: [gentoo-user] revdep-rebuild question
2007-02-19 17:52 ` Jakob Buchgraber
@ 2007-02-19 20:55 ` Neil Walker
0 siblings, 0 replies; 14+ messages in thread
From: Neil Walker @ 2007-02-19 20:55 UTC (permalink / raw
To: gentoo-user
Jakob Buchgraber wrote:
> All options being passed to revdep-rebuild are also passed to emerge.
> So write only
> revdep-rebuild instead of revdep-rebuild -p (pretend)
How would that help the OP? If it finds nothing to emerge with the -p
option, removing it will do nothing - other than waste some time.
Be lucky,
Neil
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [gentoo-user] revdep-rebuild question
2007-02-19 17:23 ` Mark Knecht
` (2 preceding siblings ...)
2007-02-19 18:19 ` [gentoo-user] " 7v5w7go9ub0o
@ 2007-02-20 7:42 ` Alan McKinnon
2007-02-20 10:25 ` Neil Bothwick
3 siblings, 1 reply; 14+ messages in thread
From: Alan McKinnon @ 2007-02-20 7:42 UTC (permalink / raw
To: gentoo-user
On Monday 19 February 2007, Mark Knecht wrote:
> On 2/19/07, Alan McKinnon <alan@linuxholdings.co.za> wrote:
> > On Monday 19 February 2007, Mark Knecht wrote:
> > > Hi,
> > > I'm not clear why revdep-rebuild is showing lots of broken
> > > linkages but then telling me everything is in order and there is
> > > no work to do to clean up the system.
> > >
> > > I haven't seen this before. What's causing it?
> > >
> > > What's the process to get this cleaned up and down to no
> > > messages about broken things?
> > >
> > > Thanks,
> > > Mark
> >
> > My guess would be that portage cannot assign the broken binaries
> > (/usr/bin/avibench etc) to an ebuild, and therefore there cannot be
> > anything to emerge.
> >
> > They might be orphan binaries from a previous incomplete unmerge,
> > or something locally compiled, or even files installed from a
> > foreign package system (.tgz or .rpm perhaps?)
> >
> > alan
>
> 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?
You're on the right track with the wrong command. 'equery depends
<package> tells you what packages depend on the given package. You
want 'equery belongs <binary>' which will tell you what ebuild put the
file there. You get three cases:
1. It's an orphan, left over from an unmerge that wasn't fully
successful. if you don't need them, delete them.
2. A package was installed, and it created it's own binaries for it's
own use. Portage didn't put them there so doesn't know about them. This
is rare and usually applies to config and other data files. In this
case it's up to you to figure out what the file is as portage can't
help.
3. You compiled something long ago by hand and didn't put it
in /usr/local/ like you were supposed to, and used /usr/ instead. In
this case you get to remember what you did by yourself :-)
> I'd want to do another revdep-rebuild every so often to ensure
> that things remained consistent.
revdep-rebuild after every 'emerge -uND world' is highly recommended
alan
--
Optimists say the glass is half full,
Pessimists say the glass is half empty,
Developers say wtf is the glass twice as big as it needs to be?
Alan McKinnon
alan at linuxholdings dot co dot za
+27 82, double three seven, one nine three five
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [gentoo-user] revdep-rebuild question
2007-02-20 7:42 ` [gentoo-user] " Alan McKinnon
@ 2007-02-20 10:25 ` Neil Bothwick
0 siblings, 0 replies; 14+ messages in thread
From: Neil Bothwick @ 2007-02-20 10:25 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 1079 bytes --]
On Tue, 20 Feb 2007 09:42:13 +0200, Alan McKinnon wrote:
> 1. It's an orphan, left over from an unmerge that wasn't fully
> successful. if you don't need them, delete them.
> 2. A package was installed, and it created it's own binaries for it's
> own use. Portage didn't put them there so doesn't know about them. This
> is rare and usually applies to config and other data files. In this
> case it's up to you to figure out what the file is as portage can't
> help.
> 3. You compiled something long ago by hand and didn't put it
> in /usr/local/ like you were supposed to, and used /usr/ instead. In
> this case you get to remember what you did by yourself :-)
4. The file was installed by portage and subsequently modified. When
you uninstalled the package, portage didn't remove this file because the
mtime differed from what it had installed.
This typically occurs with .la files (Mark's revdep-rebuild output showed
some of these) after fix_libtool_files.sh has changed them.
--
Neil Bothwick
Top Oxymorons Number 11: Terribly pleased
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 14+ messages in thread
* [gentoo-user] revdep-rebuild question
@ 2011-07-25 22:20 Hartmut Figge
2011-07-25 22:30 ` Paul Hartman
0 siblings, 1 reply; 14+ 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] 14+ messages in thread
* Re: [gentoo-user] revdep-rebuild question
2011-07-25 22:20 Hartmut Figge
@ 2011-07-25 22:30 ` Paul Hartman
2011-07-25 22:30 ` Paul Hartman
0 siblings, 1 reply; 14+ 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] 14+ 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-26 1:23 ` Bill Kenworthy
0 siblings, 1 reply; 14+ 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] 14+ messages in thread
* Re: [gentoo-user] revdep-rebuild question
2011-07-25 22:30 ` Paul Hartman
@ 2011-07-26 1:23 ` Bill Kenworthy
0 siblings, 0 replies; 14+ 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] 14+ messages in thread
end of thread, other threads:[~2011-07-26 1:49 UTC | newest]
Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-02-19 16:23 [gentoo-user] revdep-rebuild question 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 17:58 ` [gentoo-user] " Boyd Stephen Smith Jr.
2007-02-19 18:19 ` [gentoo-user] " 7v5w7go9ub0o
2007-02-20 7:42 ` [gentoo-user] " Alan McKinnon
2007-02-20 10:25 ` Neil Bothwick
2007-02-19 17:52 ` Jakob Buchgraber
2007-02-19 20:55 ` Neil Walker
-- strict thread matches above, loose matches on Subject: below --
2011-07-25 22:20 Hartmut Figge
2011-07-25 22:30 ` Paul Hartman
2011-07-25 22:30 ` Paul Hartman
2011-07-26 1:23 ` Bill Kenworthy
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox