Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 174330 - PMS is stricter about interactivity than the tree
Summary: PMS is stricter about interactivity than the tree
Alias: None
Product: Gentoo Hosted Projects
Classification: Unclassified
Component: PMS/EAPI (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: PMS/EAPI
Depends on:
Reported: 2007-04-12 18:44 UTC by Marien Zwart (RETIRED)
Modified: 2019-11-25 08:36 UTC (History)
2 users (show)

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


Note You need to log in before you can comment on or make changes to this bug.
Description Marien Zwart (RETIRED) gentoo-dev 2007-04-12 18:44:50 UTC
pkg_config: "It is the only ebuild function which may be interactive
and prompt for user input." Currently this is not the case: at least
some game ebuilds are interactive in other phase for licenses checks
or cd/dvd switching. Unless an alternative is available for those uses
the wording here should be less strict (arguably should not be in the PMS at all: more of a policy decision than an ebuild format thing).
Comment 1 Ciaran McCreesh 2007-04-12 19:10:10 UTC
This is intentional. Yes, a few ebuilds violate it at present. It's a nuisance.
Comment 2 SpanKY gentoo-dev 2007-04-13 08:33:29 UTC
should strongly discourage it in EAPI-0 and once we have the required functionality in EAPI-1, we can strictly disallow it
Comment 3 Alex Xu (Hello71) 2015-06-11 00:51:07 UTC
I don't know of any ebuilds that do this currently.

If there are any, I think we should fix them.

re: cd/dvd switching, that should be handled in src_nofetch.
Comment 4 Zac Medico gentoo-dev 2015-06-11 03:30:52 UTC
Note that current PMS documents PROPERTIES=interactive.

(In reply to Alex Xu (Hello71) from comment #3)
> re: cd/dvd switching, that should be handled in src_nofetch.

The pkg_nofetch phase is only executed when fetch fails, and there's no opportunity for cd/dvd switching at that point, because no further phases are executed after fetch fails.
Comment 5 Ulrich Müller gentoo-dev 2017-06-07 07:42:33 UTC
(In reply to Zac Medico from comment #4)
> Note that current PMS documents PROPERTIES=interactive.

Right, support for PROPERTIES is mandatory since EAPI 4.

So, what is the goal of this bug: Further change the PMS wording? Or enforce that all ebuilds in the tree are non-interactive? Last time I checked, the feature was used only by cdrom.eclass, whereas check_license() was disabled in 2011 already.
Comment 6 Ulrich Müller gentoo-dev 2019-11-25 08:36:56 UTC
No progress, closing for now.