On Mon, 22 Jul 2019 09:18:38 -0400
Rich Freeman <ri...@gentoo.org> wrote:

>  So,
> there is a relationship between packages that need to have manpages
> pregenerated and the package manager.

My objection re: pollution is more to the point that this propagation
of mechanisms that are inherently "package manager control flow" into
USE flags is an anti-feature.

USE="test" is already objectionable enough, but adding Yet Another Use
Flag, and potentially, adding it to every package is just asking for
trouble, asking for more ways for the portage resolver to get confused,
asking for more ways for annoying auto-unmask mechanics to fire, and
asking for more reasons for people to have to come to #gentoo and have
somebody hold their hand trying to make sense of the huge mountain of
spew ( which is potentially unrelated to the real problem, obscured by
portage pushing past the problem before barfing ), and I'd rather we
reduced that problem, not expanded on it.

Like for instance, a common problem is USE="test" introducing cycles,
some of them are unavoidable, and portage is completely unable to
provide a working merge plan, because it can't even *consider* the
option of temporarily disabling USE="test" to resolve the cycle, and
then restoring USE="test" and building it a second time.

End Users who want to employ FEATURES="test" blanket wide across
portage have to hand-curate a collection of tools and hacks to make it
work.

Obviously, this is also exacerbated as portage can't soft-install a
package or a collection of packages, for the purpose of testing
integrity, prior to deploying them to the system, which would be
necessary for X -> Y -> Z -> X to proceed far enough that X can be
rebuilt, and tested, without potentially deploying a broken X[-test] to
the system, and without potentially deploying Y and Z, which could in
turn be broken due to X[-test] not throwing a failing test.

If portage could do that, there's so many other things it could be
doing too ...

Like, ( and this is getting a bit OT ):

Auto-Reaping build-only dependencies as soon as no targets in the merge
plan need them.


Attachment: pgpOtPQ1ekz67.pgp
Description: OpenPGP digital signature

Reply via email to