Open orlitzky opened 11 months ago
I'm getting a similar issue with kodi.
I made a minimal repo that reproduces both of these. (Its not related to Commits)
ask@bigglane /home/ask/sources/pkgcheck_debug
$ pkgcheck scan
test -- updating profiles cache: amd64
gui-libs/test
RequiredUseDefaults: version 1: profile: 'default/linux/amd64/17.1/desktop/gnome' failed REQUIRED_USE: exactly-one-of ( X wayland )
dev-lang/php
RequiredUseDefaults: version 1: profile: 'default/linux/amd64/17.1/desktop/gnome' (2 total) failed REQUIRED_USE: gd
My inkling is that pkgcore is parsing profiles in the wrong order somehow.
I'm currently observing from strace that initially profiles are parsed in the correct order, but then all of the make.defaults are parsed again later.
I'm having a similar error on my package:
RequiredUseDefaults: version 2024.07.13: profile: 'default/linux/amd64/23.0' (314 total) failed REQUIRED_USE: exactly-one-of ( ruby_single_target_ruby31 ruby_single_target_ruby32 ruby_single_target_ruby33 )
This happens even though the default value defined in <overlay_dir>/profiles/make.profile
is shown to take effect when I run emerge -pvO
.
I have no make.defaults
file anywhere in /etc/portage/**/*
if that even matters. I double-checked.
Is there an existing issue for this?
Current Behavior
Running
pkgcheck scan --commits
with a commit indev-lang/php
produces e.gExpected Behavior
AFAICT, that warning stems from the fact that the desktop profiles set
USE="exif truetype"
and both of those flags requireUSE=gd
for dev-lang/php. However, we already have an entry inprofiles/targets/desktop/package.use
to counteract this:master commit id
011241c147a6af7baeae8dbf6e68a6d25787933b
HEAD link
(I'm not sure what goes here, sorry!)
pkgcheck version
pkgcheck 0.10.25
pkgcore version
pkgcore 0.12.23
git remotes configuration
github git@github.com:orlitzky/gentoo.git (fetch) github git@github.com:orlitzky/gentoo.git (push) origin git+ssh://git@git.gentoo.org/repo/gentoo.git (fetch) origin git+ssh://git@git.gentoo.org/repo/gentoo.git (push)