gentoo / tatt

[MIRROR] arch testing tool
https://gitweb.gentoo.org/proj/tatt.git
GNU General Public License v2.0
11 stars 14 forks source link

Avoid invalid USE flag combinations #56

Closed ghost closed 5 years ago

ghost commented 5 years ago

I notice that tatt sometimes generate USE flag combinations that are invalid when considering REQUIRED_USE. For some packages, such as dev-python/pillow, it's especially problematic because there are many invalid combinations, I almost didn't get a single valid run. What about querying portage a bit better while generating those combinations so that we never generate invalid combinations?

Whissi commented 5 years ago

Sounds good. Looking forward for patches! :)

ghost commented 5 years ago

@Whissi of course :) I just wanted to make sure it was wanted before starting.

ghost commented 5 years ago

Ah, I think I understand: required use are already checked, but without the test flag. That's the root of the problem.

DerDakon commented 5 years ago

For combination with tests: #52. But there are still situations when the portage API seems to report bad things, where I have no idea how it happens and how to avoid it.

ghost commented 5 years ago

Oh, sorry for the duplicate bug.