Created attachment 679377 [details] emerge --info output When trying to emerge mpv, I get an "unmet requirements" error because LUA_SINGLE_TARGET="lua5-1 luajit -lua5-2" (lua5-1 and luajit are both selected). Globally though, LUA_SINGLE_TARGET="lua5-1" is set, but there's an override for specifically this package: as far as I can see, this issue is caused by this commit: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ced3d3f08fde6b38c49ece9792021b1cfe7ea5d5 % emerge -pv mpv These are the packages that would be merged, in order: Calculating dependencies - !!! Problem resolving dependencies for media-video/mpv ... done! !!! The ebuild selected to satisfy "mpv" has unmet requirements. - media-video/mpv-0.33.0-r100::gentoo USE="X alsa cdda cli dvd egl iconv jpeg lcms lua opengl pulseaudio uchardet vaapi vulkan wayland xv zlib (-aqua) -archive -bluray (-coreaudio) -cplugins -cuda -debug -doc -drm -dvb -gamepad -gbm -jack -javascript -libcaca -libmpv -openal (-raspberry-pi) -rubberband -sdl (-selinux) -test -tools -vdpau -zimg" ABI_X86="(64)" LUA_SINGLE_TARGET="lua5-1 luajit -lua5-2" PYTHON_TARGETS="python3_8 -python3_7 -python3_9" The following REQUIRED_USE flag constraints are unsatisfied: lua? ( exactly-one-of ( lua_single_target_luajit lua_single_target_lua5-1 lua_single_target_lua5-2 ) ) The above constraints are a subset of the following complete expression: any-of ( cli libmpv ) aqua? ( opengl ) cuda? ( opengl ) egl? ( any-of ( gbm X wayland ) ) gamepad? ( sdl ) gbm? ( drm egl opengl ) lcms? ( opengl ) lua? ( exactly-one-of ( lua_single_target_luajit lua_single_target_lua5-1 lua_single_target_lua5-2 ) ) opengl? ( any-of ( aqua egl X raspberry-pi !cli ) ) raspberry-pi? ( opengl ) test? ( opengl ) tools? ( cli ) uchardet? ( iconv ) vaapi? ( any-of ( gbm X wayland ) ) vdpau? ( X ) vulkan? ( any-of ( X wayland ) ) wayland? ( egl ) X? ( egl? ( opengl ) ) xv? ( X ) any-of ( python_targets_python3_7 python_targets_python3_8 python_targets_python3_9 )
While it's an easy change in package.use, I do express concern over how every users will need to do manual intervention with defaults.
Fixed: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c04c7631df81b55c0cae7fc0e4269988644de564
(In reply to Ionen Wolkens from comment #2) > Fixed: > https://gitweb.gentoo.org/repo/gentoo.git/commit/ > ?id=c04c7631df81b55c0cae7fc0e4269988644de564 If only you could do it yourself!
This fix seems to result in the following error messages every time emerge, equery, etc access /usr/portage/profiles/targets/desktop/package.use which is multiple times each time they are run. --- Invalid USE flag for 'media-video/mpv' in '/usr/portage/profiles/targets/desktop/package.use': 'LUA_SINGLE_TARGET:' --- Invalid USE flag for 'media-video/mpv' in '/usr/portage/profiles/targets/desktop/package.use': '-*' Please re-open and fix the fix. See Bug #623984 for a discussion of the error message issue.
(In reply to David Fellows from comment #4) > This fix seems to result in the following error messages every time emerge, > equery, etc access /usr/portage/profiles/targets/desktop/package.use which > is multiple times each time they are run. > > --- Invalid USE flag for 'media-video/mpv' in > '/usr/portage/profiles/targets/desktop/package.use': 'LUA_SINGLE_TARGET:' > --- Invalid USE flag for 'media-video/mpv' in > '/usr/portage/profiles/targets/desktop/package.use': '-*' > > Please re-open and fix the fix. > > See Bug #623984 for a discussion of the error message issue. I think you might need to emerge --sync, I fixed that here: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a15d3980e55d916998139507c7c9bff32af39da6.
Thanks. I should have sync'd before submitting. - This was in everybody's face.