Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 637510 - app-crypt/pinentry REQUIRED_USE insufficient
Summary: app-crypt/pinentry REQUIRED_USE insufficient
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Kristian Fiskerstrand (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-11-14 17:55 UTC by Daniel M. Weeks
Modified: 2017-11-14 20:05 UTC (History)
2 users (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 Daniel M. Weeks 2017-11-14 17:55:43 UTC
REQUIRED_USE="|| ( ncurses gtk qt4 qt5 )" is insufficient for all possible use cases. pinentry-tty is always built regardless of these flags. The gnome gnome-keyring flag for building pinentry-gnome3 is also missing. Either of these could be used independently to provide only one pinentry implementation but it is currently impossible per REQUIRED_USE.

I think either:

1. A USE flag should be added that controls pinentry-tty and that flag, along with gnome-keyring, should be added to REQUIRED_USE.

*or*

2. This portion of the REQUIRED_USE should be dropped since pinentry-tty will always be built and will allow all other flags to be disabled.

Reproducible: Always
Comment 1 Alon Bar-Lev (RETIRED) gentoo-dev 2017-11-14 19:46:14 UTC
pinentry-tty has no extra dependencies and is a rescue when all other fails, there is no reason not to build it.
Comment 2 Daniel M. Weeks 2017-11-14 19:55:57 UTC
(In reply to Alon Bar-Lev from comment #1)
> pinentry-tty has no extra dependencies and is a rescue when all other fails,
> there is no reason not to build it.

Then it sounds like option #2 is the route to take to allow all options to be used independently.
Comment 3 Alon Bar-Lev (RETIRED) gentoo-dev 2017-11-14 20:05:44 UTC
Right, I misunderstood your initial writing.

Fixed.