mpv: remove explicit LICENSE_FLAGS
PATCH 1/1 mpv: remove explicit LICENSE_FLAGS
From: Yann Dirson <[email protected]>
This flag does not describe the mpv package, but ffmpeg instead. It gets in the way of using finer-grained LICENSE_FLAGS in ffmpeg.
It is above all not needed, the real problem is even more clear without it:
ffmpeg was skipped: because it has a restricted license 'commercial'. Which is not whitelisted i LICENSE_FLAGS_WHITELIST
ERROR: Required build target 'mpv' has no buildable providers.
Missing or unbuildable dependency chain was: ['mpv', 'ffmpeg']
--- meta-oe/recipes-multimedia/mplayer/mpv_0.32.0.bb | 3 --- 1 file changed, 3 deletions(-)
meta-oe/recipes-multimedia/mplayer/mpv_0.32.0.bb +0 -3
@@ -12,9 +12,6 @@ DEPENDS += " \ LICENSE = "GPLv2+" LIC_FILES_CHKSUM = "file://LICENSE.GPL;md5=91f1cb870c1cc2d31351a4d2595441cb" -# While this item does not require it, it depends on ffmpeg which does -LICENSE_FLAGS = "commercial" - SRCREV_mpv = "70b991749df389bcc0a4e145b5687233a03b4ed7" SRC_URI = " \ git://github.com/mpv-player/mpv;name=mpv \
Signature · 1 line
2.30.2
Could you please look into https://autobuilder.yoctoproject.org/typhoon/#/builders/88/builds/1071/steps/12/logs/stdio
NOTE: Resolving any missing task queue dependencies
ERROR: Nothing PROVIDES 'ffmpeg' (but /home/pokybuild/yocto-worker/meta-oe/build/meta-openembedded/meta-oe/recipes-multimedia/mplayer/mpv_0.32.0.bb DEPENDS on or otherwise requires it) ffmpeg was skipped: because it has a restricted license 'commercial'. Which is not whitelisted in LICENSE_FLAGS_WHITELIST
NOTE: Multiple providers are available for runtime ssh (dropbear, openssh)
Consider defining a PREFERRED_RPROVIDER entry to match ssh
ERROR: Nothing RPROVIDES 'mpv' (but /home/pokybuild/yocto-worker/meta-oe/build/meta-openembedded/meta-oe/recipes-multimedia/mplayer/mpv_0.32.0.bb RDEPENDS on or otherwise requires it) No eligible RPROVIDERs exist for 'mpv'
NOTE: Runtime target 'mpv' is unbuildable, removing...
Missing or unbuildable dependency chain was: ['mpv']
ERROR: Nothing RPROVIDES 'mpv-dev' (but /home/pokybuild/yocto-worker/meta-oe/build/meta-openembedded/meta-oe/recipes-multimedia/mplayer/mpv_0.32.0.bb RDEPENDS on or otherwise requires it) No eligible RPROVIDERs exist for 'mpv-dev'
NOTE: Runtime target 'mpv-dev' is unbuildable, removing...
Missing or unbuildable dependency chain was: ['mpv-dev']
Regards,
Oleksiy
________________________________________
From: [email protected] <[email protected]> on behalf of Yann Dirson <[email protected]>
Sent: Tuesday, March 23, 2021 19:11
To: [email protected]
Cc: Yann Dirson
Subject: [oe] [meta-oe][patch] mpv: remove explicit LICENSE_FLAGS
From: Yann Dirson <[email protected]>
This flag does not describe the mpv package, but ffmpeg instead. It gets in the way of using finer-grained LICENSE_FLAGS in ffmpeg.
It is above all not needed, the real problem is even more clear without it:
ffmpeg was skipped: because it has a restricted license 'commercial'. Which is not whitelisted i LICENSE_FLAGS_WHITELIST
ERROR: Required build target 'mpv' has no buildable providers.
Missing or unbuildable dependency chain was: ['mpv', 'ffmpeg']
--- meta-oe/recipes-multimedia/mplayer/mpv_0.32.0.bb | 3 --- 1 file changed, 3 deletions(-)
meta-oe/recipes-multimedia/mplayer/mpv_0.32.0.bb +0 -3
@@ -12,9 +12,6 @@ DEPENDS += " \ LICENSE = "GPLv2+" LIC_FILES_CHKSUM = "file://LICENSE.GPL;md5=91f1cb870c1cc2d31351a4d2595441cb" -# While this item does not require it, it depends on ffmpeg which does -LICENSE_FLAGS = "commercial" - SRCREV_mpv = "70b991749df389bcc0a4e145b5687233a03b4ed7" SRC_URI = " \ git://github.com/mpv-player/mpv;name=mpv \
--
2.30.2
Hi Oleksiy,
Quoted 16 lines · Oleksiy Obitotskyi -X (oobitots - GLOBALLOGIC INC at Cisco)
Could you please look into https://autobuilder.yoctoproject.org/typhoon/#/builders/88/builds/1071/steps/12/logs/stdio
NOTE: Resolving any missing task queue dependencies
ERROR: Nothing PROVIDES 'ffmpeg' (but/home/pokybuild/yocto-worker/meta-oe/build/meta-openembedded/meta-oe/recipes-multimedia/mplayer/mpv_0.32.0.bbDEPENDS on or otherwise requires it) ffmpeg was skipped: because it has a restricted license 'commercial'. Which is not whitelisted inLICENSE_FLAGS_WHITELIST
NOTE: Multiple providers are available for runtime ssh (dropbear, openssh)
Consider defining aPREFERRED_RPROVIDERentry to match ssh
ERROR: Nothing RPROVIDES 'mpv' (but/home/pokybuild/yocto-worker/meta-oe/build/meta-openembedded/meta-oe/recipes-multimedia/mplayer/mpv_0.32.0.bbRDEPENDS on or otherwise requires it) No eligible RPROVIDERs exist for 'mpv'
NOTE: Runtime target 'mpv' is unbuildable, removing...
Missing or unbuildable dependency chain was: ['mpv']
ERROR: Nothing RPROVIDES 'mpv-dev' (but/home/pokybuild/yocto-worker/meta-oe/build/meta-openembedded/meta-oe/recipes-multimedia/mplayer/mpv_0.32.0.bbRDEPENDS on or otherwise requires it) No eligible RPROVIDERs exist for 'mpv-dev'
NOTE: Runtime target 'mpv-dev' is unbuildable, removing...
Missing or unbuildable dependency chain was: ['mpv-dev']
The autobuilder tries to build mpv, but it seems it does not attempt to build ffmpeg. I infer from this that it is
deciding what builds to attempt based on the lack of LICENSE_FLAGS, right ? Then wouldn't it be possible
to catch this situation and consider the build failure as "expected" because its cause is simply
"cannot test because of a LICENSE_FLAGS in a dependency" ?
For more context, see my "[RFC] ffmpeg: make LICENSE_FLAGS fine-grained" patch.
Best regards,
Signature · 1 line
Yann
Quoted 42 lines
Regards,
Oleksiy________________________________________
From: [email protected] <[email protected]> on behalf of Yann Dirson <[email protected]>
Sent: Tuesday, March 23, 2021 19:11
To: [email protected]
Cc: Yann Dirson
Subject: [oe] [meta-oe][patch] mpv: remove explicitLICENSE_FLAGSFrom: Yann Dirson <[email protected]>
This flag does not describe the mpv package, but ffmpeg instead. It gets in the way of using finer-grained
LICENSE_FLAGSin ffmpeg.It is above all not needed, the real problem is even more clear without it:
ffmpeg was skipped: because it has a restricted license 'commercial'. Which is not whitelisted i
LICENSE_FLAGS_WHITELIST
ERROR: Required build target 'mpv' has no buildable providers.
Missing or unbuildable dependency chain was: ['mpv', 'ffmpeg']Signed-off-by Yann Dirson <[email protected]>--- meta-oe/recipes-multimedia/mplayer/mpv_0.32.0.bb | 3 --- 1 file changed, 3 deletions(-)meta-oe/recipes-multimedia/mplayer/mpv_0.32.0.bb +0
-4@@ -12,9 +12,6 @@ DEPENDS += " \ LICENSE = "GPLv2+" LIC_FILES_CHKSUM = "file://LICENSE.GPL;md5=91f1cb870c1cc2d31351a4d2595441cb" -# While this item does not require it, it depends on ffmpeg which does -LICENSE_FLAGS = "commercial" - SRCREV_mpv = "70b991749df389bcc0a4e145b5687233a03b4ed7" SRC_URI = " \ git://github.com/mpv-player/mpv;name=mpv \ --
Quoted 2 lines
2.30.2
--
Yann Dirson <[email protected]>
Blade / Shadow -- http://shadow.tech
A message that is not in the archive (sent off-list or not yet received): [email protected]
Quoted 22 lines · Yann Dirson via lists.openembedded.org
Hi Oleksiy,
Quoted 16 lines · Oleksiy Obitotskyi -X (oobitots - GLOBALLOGIC INC at Cisco)
Could you please look into https://autobuilder.yoctoproject.org/typhoon/#/builders/88/builds/1071/steps/12/logs/stdio
NOTE: Resolving any missing task queue dependencies
ERROR: Nothing PROVIDES 'ffmpeg' (but/home/pokybuild/yocto-worker/meta-oe/build/meta-openembedded/meta-oe/recipes-multimedia/mplayer/mpv_0.32.0.bbDEPENDS on or otherwise requires it) ffmpeg was skipped: because it has a restricted license 'commercial'. Which is not whitelisted inLICENSE_FLAGS_WHITELIST
NOTE: Multiple providers are available for runtime ssh (dropbear, openssh)
Consider defining aPREFERRED_RPROVIDERentry to match ssh
ERROR: Nothing RPROVIDES 'mpv' (but/home/pokybuild/yocto-worker/meta-oe/build/meta-openembedded/meta-oe/recipes-multimedia/mplayer/mpv_0.32.0.bbRDEPENDS on or otherwise requires it) No eligible RPROVIDERs exist for 'mpv'
NOTE: Runtime target 'mpv' is unbuildable, removing...
Missing or unbuildable dependency chain was: ['mpv']
ERROR: Nothing RPROVIDES 'mpv-dev' (but/home/pokybuild/yocto-worker/meta-oe/build/meta-openembedded/meta-oe/recipes-multimedia/mplayer/mpv_0.32.0.bbRDEPENDS on or otherwise requires it) No eligible RPROVIDERs exist for 'mpv-dev'
NOTE: Runtime target 'mpv-dev' is unbuildable, removing...
Missing or unbuildable dependency chain was: ['mpv-dev']
Quoted 7 lines
The autobuilder tries to build mpv, but it seems it does not attempt to build ffmpeg. I infer from this that it is
deciding what builds to attempt based on the lack ofLICENSE_FLAGS, right ? Then wouldn't it be possible
to catch this situation and consider the build failure as "expected" because its cause is simply
"cannot test because of aLICENSE_FLAGSin a dependency" ?
Thinking twice about that: wouldn't it just make sense to run the autobuilder with
LICENSE_FLAGS_WHITELIST="commercial", and gain coverage of ffmpeg and its dependencies ?