Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Portage & Programming
  • Search

revdep-rebuild: broken libtool files -- is portage leaking?

Problems with emerge or ebuilds? Have a basic programming question about C, PHP, Perl, BASH or something else?
Post Reply
Advanced search
7 posts • Page 1 of 1
Author
Message
the_bat
n00b
n00b
Posts: 43
Joined: Wed Feb 12, 2003 8:13 pm

revdep-rebuild: broken libtool files -- is portage leaking?

  • Quote

Post by the_bat » Wed Oct 03, 2007 7:31 pm

Hi,

running revdep-rebuild gives me many lines of:

Code: Select all

Checking dynamic linking consistency...
  broken /usr/lib/graphviz/libgv_perl.la (requires /usr/lib/graphviz/libgvc.la)
  broken /usr/lib/graphviz/libgv_perl.la (requires /usr/lib/graphviz/libgraph.la)
  broken /usr/lib/graphviz/libgv_perl.la (requires /usr/lib/graphviz/libcdt.la)
  broken /usr/lib/graphviz/libgv_perl.la (requires /usr/lib/graphviz/libpathplan.la)
  broken /usr/lib/graphviz/libgv_perl.la (requires /usr/lib/graphviz/libgvgd.la)
  broken /usr/lib/graphviz/libgv_python.la (requires /usr/lib/graphviz/libgvc.la)
  broken /usr/lib/graphviz/libgv_python.la (requires /usr/lib/graphviz/libgraph.la)
  broken /usr/lib/graphviz/libgv_python.la (requires /usr/lib/graphviz/libcdt.la)
  broken /usr/lib/graphviz/libgv_python.la (requires /usr/lib/graphviz/libpathplan.la)
  broken /usr/lib/graphviz/libgv_python.la (requires /usr/lib/graphviz/libgvgd.la)
  broken /usr/lib/graphviz/libgv_ruby.la (requires /usr/lib/graphviz/libgvc.la)
...
  broken /usr/lib/libsigc-1.2.la (requires /-lstdc++)
  broken /usr/lib/xmms/Input/libxmms-flac.la (requires /usr/lib/libxmms.la)
  broken /usr/lib/xmms/Input/libxmmssid.la (requires /usr/lib/libxmms.la)
  broken /usr/lib/xmms/Input/libxmmssid.la (requires /usr/lib/libsidplay.la)
 done.
  (/root/.revdep-rebuild.3_rebuild)
I tried to determine the owner for some of these files with

Code: Select all

equery belongs ...
.
but they do not belong to any installed package.

Now my question: why are these files still on my system? They where probably lost on unmerging old packages?

Can I savely remove them? Is there an automatic way to do so (excecp for "grep | xargs rm")?

Is this a bug in the package management system?

Cheers,
Martin
Last edited by the_bat on Wed Oct 03, 2007 8:52 pm, edited 1 time in total.
Top
Vitaliy
Guru
Guru
User avatar
Posts: 451
Joined: Tue Apr 06, 2004 1:19 am
Location: Brooklyn, NY

  • Quote

Post by Vitaliy » Wed Oct 03, 2007 7:38 pm

Run revdep-rebuild to make sure everything is intact, and then run emerge --depclean to remove unnecessary packages/dependencies. See if you have the issue after that.
Top
the_bat
n00b
n00b
Posts: 43
Joined: Wed Feb 12, 2003 8:13 pm

  • Quote

Post by the_bat » Wed Oct 03, 2007 8:04 pm

Thanks for your answer, but ...
Run revdep-rebuild to make sure everything is intact,
I have done this (also many times before).
run emerge --depclean to remove unnecessary packages/dependencies
I have also done this (also many times before).
See if you have the issue after that.
I'm not having "issues". I just think that maybe portage does "leak" some files.

Does anyone else see such .la files without a package owning them?

Cheers,
Martin
Top
AllenJB
Veteran
Veteran
User avatar
Posts: 1285
Joined: Fri Sep 02, 2005 10:47 am
Contact:
Contact AllenJB
Website

  • Quote

Post by AllenJB » Wed Oct 03, 2007 10:07 pm

Run "rm -rf ~/.revdep*" - this will remove the files that revdep-rebuild uses to cache its information and make sure you're using an up-to-date set of data.
Top
swimmer
Veteran
Veteran
User avatar
Posts: 1330
Joined: Mon Jul 15, 2002 10:42 am
Location: Netherlands

  • Quote

Post by swimmer » Wed Oct 03, 2007 10:15 pm

the_bat: after looking up carefully that those files are really cruft it is normally safe to remove them ... I do that many times - given the fact I check thoroughly!!!

Otherwise you should be able to fix it by re-emerging the troublemakers anyway ...

HTH
swimmer
Top
the_bat
n00b
n00b
Posts: 43
Joined: Wed Feb 12, 2003 8:13 pm

  • Quote

Post by the_bat » Thu Oct 04, 2007 8:08 am

Doing this:

Code: Select all

"rm -rf ~/.revdep*"
will not change that I have files in my system (*.la files) that belong to no package. This is the problem here.

revdep-rebuild just made me aware of these files. I do not have a problem using revdep-rebuild.

@swimmer: So you are saying you also have left-over files from removed packages from time to time? This would actually mean that portage is leaking files, right?

If someone could confirm this, maybe a bug should be filed?
after looking up carefully that those files are really cruft
How exactly would I determine that nothing on my system relies on those anymore?

Cheers,
Martin
Top
swimmer
Veteran
Veteran
User avatar
Posts: 1330
Joined: Mon Jul 15, 2002 10:42 am
Location: Netherlands

  • Quote

Post by swimmer » Thu Oct 04, 2007 10:43 am

the_bat wrote:[...]
@swimmer: So you are saying you also have left-over files from removed packages from time to time? This would actually mean that portage is leaking files, right?

If someone could confirm this, maybe a bug should be filed?
after looking up carefully that those files are really cruft
How exactly would I determine that nothing on my system relies on those anymore?

Cheers,
Martin
Yes - I hereby confirm that I have left-over files from removed packages.

My most reliable tool for checking is 'equery b' - if this reports that the files do not belong to any package I dare to remove them ;-)

Greetz
swimmer
Top
Post Reply

7 posts • Page 1 of 1

Return to “Portage & Programming”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic