Forums

Skip to content

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

[SOLVED] Names of Portage utilities

Problems with emerge or ebuilds? Have a basic programming question about C, PHP, Perl, BASH or something else?
Post Reply
Advanced search
4 posts • Page 1 of 1
Author
Message
sdz
n00b
n00b
Posts: 44
Joined: Mon Sep 26, 2011 4:19 am

[SOLVED] Names of Portage utilities

  • Quote

Post by sdz » Fri Dec 31, 2021 6:46 pm

I returned to Gentoo after several years. I remembered two utilities (or maybe they were combined) to run occasionally for Gentoo Portage maintenance.

1. What is the utility which deep scans each system library file for any missing shared library dependencies? I do not recall if it was smart enough to know the package name to install the missing shared library dependency.

2. What is the utility that checks the portage config files for unnecessary entries? One example is an entry in package.mask for a version which is now stable.
Last edited by sdz on Fri Dec 31, 2021 10:26 pm, edited 1 time in total.
Top
irets
Apprentice
Apprentice
User avatar
Posts: 241
Joined: Tue Dec 17, 2019 12:57 pm

  • Quote

Post by irets » Fri Dec 31, 2021 7:35 pm

1. What is the utility which deep scans each system library file for any missing shared library dependencies? I do not recall if it was smart enough to know the package name to install the missing shared library dependency.
revdep-rebuild?
2. What is the utility that checks the portage config files for unnecessary entries? One example is an entry in package.mask for a version which is now stable.
I believe eix-test-obsolete is what you're looking for.
Remember to update the database with eix-update first though.

Welcome back and happy new year.
Top
Ionen
Developer
Developer
User avatar
Posts: 3009
Joined: Thu Dec 06, 2018 2:23 pm

  • Quote

Post by Ionen » Fri Dec 31, 2021 7:52 pm

Irets wrote:
1. What is the utility which deep scans each system library file for any missing shared library dependencies? I do not recall if it was smart enough to know the package name to install the missing shared library dependency.
revdep-rebuild?
Note this tool is essentially obsolete, not only does portage have a preserve-libs mechanism (keeps in-use shared libraries even if an upgrade/depclean removed it, offers to rebuild, and actually removes once it's resolved) but it's also considered a bug if a package relies on this, i.e. supposed to have automatic rebuilds by using binding operators and subslot bumps if (for example) soname changed or possibly ABI issues without a soname change that revdep-rebuild would have no idea about.

At best searching for missing libs may make sense if you're trying to strip the system for embedded use disregarding portage's dependencies, or for anything portage didn't install (although I'd suggest finding/making ebuilds rather than populate /usr/local).
Top
sdz
n00b
n00b
Posts: 44
Joined: Mon Sep 26, 2011 4:19 am

  • Quote

Post by sdz » Fri Dec 31, 2021 10:25 pm

These were the commands. Thank you both and for the advice on revdep-rebuild.
Top
Post Reply

4 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