Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 761490 - media-video/mpv-0.33.0-r100 has unmet requirements with default LUA_SINGLE_TARGET using desktop profile
Summary: media-video/mpv-0.33.0-r100 has unmet requirements with default LUA_SINGLE_TA...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Profiles (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-12-24 13:15 UTC by Marco Rebhan
Modified: 2020-12-27 14:48 UTC (History)
2 users (show)

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


Attachments
emerge --info output (einfo,7.57 KB, text/plain)
2020-12-24 13:15 UTC, Marco Rebhan
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Marco Rebhan 2020-12-24 13:15:42 UTC
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 )
Comment 1 Ionen Wolkens gentoo-dev 2020-12-24 13:19:20 UTC
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.
Comment 3 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2020-12-24 14:30:31 UTC
(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!
Comment 4 David Fellows 2020-12-27 02:40:16 UTC
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.
Comment 5 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2020-12-27 02:46:45 UTC
(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.
Comment 6 David Fellows 2020-12-27 14:48:01 UTC
Thanks.
I should have sync'd before submitting. - This was in everybody's face.