Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 605874 - sys-apps/portage-2.3.0: emerge output should explain how to get all the output for preserved-libs messages
Summary: sys-apps/portage-2.3.0: emerge output should explain how to get all the outpu...
Status: CONFIRMED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core - Interface (emerge) (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: preserve-libs
  Show dependency tree
 
Reported: 2017-01-16 12:01 UTC by Pacho Ramos
Modified: 2022-12-26 07:33 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Pacho Ramos gentoo-dev 2017-01-16 12:01:52 UTC
Currently I see a message like this:
>>> package: sys-libs/db-4.8.30-r2
 *  - /usr/lib64/libdb-4.8.so
 *      used by /lib64/security/pam_userdb.so (sys-libs/pam-1.2.1)
 *      used by /usr/bin/bogofilter (mail-filter/bogofilter-1.2.4-r1)
 *      used by /usr/bin/bogotune (mail-filter/bogofilter-1.2.4-r1)
 *      used by 4 other files

But, how could I get for reading all the files that need it without needing to progressively re-emerge the listed packages until I can see all the hidden files? Could that be suggested in the output?

Thanks a lot!
Comment 1 Zac Medico gentoo-dev 2017-01-16 18:50:07 UTC
(In reply to Pacho Ramos from comment #0)
> But, how could I get for reading all the files that need it without needing
> to progressively re-emerge the listed packages until I can see all the
> hidden files?

The assumption is that you'll use @preserved-rebuild, but we can add a new emerge action to display the output that you want. Maybe call it --check-preserve-libs.

> Could that be suggested in the output?

Yes, we can suggest along with the "Use emerge @preserved-rebuild to rebuild packages using these libraries" message.
Comment 2 Pacho Ramos gentoo-dev 2017-01-16 21:22:28 UTC
(In reply to Zac Medico from comment #1)
> (In reply to Pacho Ramos from comment #0)
> > But, how could I get for reading all the files that need it without needing
> > to progressively re-emerge the listed packages until I can see all the
> > hidden files?
> 
> The assumption is that you'll use @preserved-rebuild, but we can add a new
> emerge action to display the output that you want. Maybe call it
> --check-preserve-libs.

Nice, well, not sure about the naming... but that is not a big issue. It will be useful to me for knowing what packages likely need to be checked for right := deps for solving them for the far future when the soname is bumped again