Hi Oleksiy, Le mer. 24 mars 2021 à 09:23, Oleksiy Obitotskyi -X (oobitots - GLOBALLOGIC INC at Cisco) <oobit...@cisco.com> a écrit : > > 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']
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, -- Yann > > Regards, > Oleksiy > > ________________________________________ > From: openembedded-devel@lists.openembedded.org > <openembedded-devel@lists.openembedded.org> on behalf of Yann Dirson > <yann.dir...@blade-group.com> > Sent: Tuesday, March 23, 2021 19:11 > To: openembedded-devel@lists.openembedded.org > Cc: Yann Dirson > Subject: [oe] [meta-oe][patch] mpv: remove explicit LICENSE_FLAGS > > From: Yann Dirson <y...@blade-group.com> > > 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'] > > Signed-off-by: Yann Dirson <y...@blade-group.com> > --- > meta-oe/recipes-multimedia/mplayer/mpv_0.32.0.bb | 3 --- > 1 file changed, 3 deletions(-) > > diff --git a/meta-oe/recipes-multimedia/mplayer/mpv_0.32.0.bb > b/meta-oe/recipes-multimedia/mplayer/mpv_0.32.0.bb > index e04925d0f..6a3fd9715 100644 > --- a/meta-oe/recipes-multimedia/mplayer/mpv_0.32.0.bb > +++ b/meta-oe/recipes-multimedia/mplayer/mpv_0.32.0.bb > @@ -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 > -- Yann Dirson <y...@blade-group.com> Blade / Shadow -- http://shadow.tech
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#90293): https://lists.openembedded.org/g/openembedded-devel/message/90293 Mute This Topic: https://lists.openembedded.org/mt/81556224/21656 Group Owner: openembedded-devel+ow...@lists.openembedded.org Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-