Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 887755

Summary: sys-apps/portage: include app-alternatives/* USE flags in emerge --info
Product: Portage Development Reporter: Michał Górny <mgorny>
Component: Enhancement/Feature RequestsAssignee: Portage team <dev-portage>
Status: CONFIRMED ---    
Severity: normal CC: arsen, sam, ulm
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://bugs.gentoo.org/show_bug.cgi?id=527996
Whiteboard:
Package list:
Runtime testing required: ---

Description Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2022-12-21 18:48:44 UTC
I think it would be helpful to include the USE flags selected on app-alternatives/* in `emerge --info`.  This could e.g. help when you suspect that a weird configure failure is related to CONFIG_SHELL.

I can think of two options:

1. Just add a cheap hack into Portage to list USE flags on all packages in app-alternatives/*.

2. Extend info_pkgs output to include USE flags, and add interesting app-alternatives/* packages there.
Comment 1 Ulrich Müller gentoo-dev 2022-12-22 10:37:43 UTC
I am undecided whether these should be included. emerge --info output is already too long for my taste.

If we're going to include them, then the second option looks more future-proof to me.
Comment 2 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-12-22 10:57:20 UTC
It needs to contain enough information to be useful in determining likely causes of a bug.
Comment 3 Arsen Arsenović gentoo-dev 2023-01-30 14:22:58 UTC
(In reply to Ulrich Müller from comment #1)
> I am undecided whether these should be included. emerge --info output is
> already too long for my taste.
> 
> If we're going to include them, then the second option looks more
> future-proof to me.

In case ``emerge --info'' isn't meant to serve as a tool to quickly gather bug report information, an ``emerge --bugreport'' which contains this info and more seems appropriate, though I'm not sure that's the case.