Re: [yocto] Errors while tring rpi-test-image for rpi3

2017-08-14 Thread Petter Mabacker
On Sun, 2017-08-13 at 09:28 -0700, Khem Raj wrote:
> On Sat, Aug 12, 2017 at 11:42 PM, Petter Mabacker 
> wrote:
> > On Sat, 2017-08-12 at 15:10 +0300, Jussi Kukkonen wrote:
> > 
> > > ERROR: Nothing PROVIDES 'libav' (but
> > > 
> > > /u/hope_poky/poky_for_mon/poky/meta-raspberrypi/recipes-
> > > multimedia/omxplayer/omxplayer_git.bb
> > > DEPENDS on or otherwise requires it)
> > > ERROR: ffmpeg PROVIDES libav but was skipped: because it has a
> > > restricted license not whitelisted in LICENSE_FLAGS_WHITELIST
> > 
> > Searching the Yocto reference manual for this term will lead to
> > http://www.yoctoproject.org/docs/current/ref-manual/ref-manual.html
> > #enabling-commercially-licensed-recipes
> > which should have the details you need to resolve the issue.
> > 
> > Jussi
> > 
> > 
> > Hi,
> > 
> > This info is actually also present in the meta-raspberrypi
> > documentation, in
> > 'docs/extra-apps.md':
> > 
> > $ cat docs/extra-apps.md
> > # Extra apps
> > 
> > ## omxplayer
> > 
> > omxplayer depends on libav which has a commercial license. So in
> > order to be
> > able to compile omxplayer you will need to whiteflag the commercial
> > license in your local.conf:
> > 
> > LICENSE_FLAGS_WHITELIST = "commercial"
> > 
> 
> it is better to be cautious about it and enable what you want and
> ensure you can do so from licesning perspective.
> 
> LICENSE_FLAGS_WHITELIST_append = " commercial_libomxil "
> 
> e.g. will enable only for libomxil and keep adding to this list the
> licenses you want to white list.
> 
I agree, it sounds resonable. We should probably update the above
mentioned doc (docs/extra-apps.md) with this info..

BR Petter 
> > 
> > 
> > To make full use of the documentation I recommend that you are
> > generating
> > the documentation within docs/ in for example html format and make
> > use of
> > the searching functionality in there.
> > 
> > 
> > BR Petter
> > 
> > --
> > ___
> > yocto mailing list
> > yocto@yoctoproject.org
> > https://lists.yoctoproject.org/listinfo/yocto
> > 
-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] Errors while tring rpi-test-image for rpi3

2017-08-13 Thread Khem Raj
On Sat, Aug 12, 2017 at 11:42 PM, Petter Mabacker  wrote:
> On Sat, 2017-08-12 at 15:10 +0300, Jussi Kukkonen wrote:
>
>> ERROR: Nothing PROVIDES 'libav' (but
>>
>> /u/hope_poky/poky_for_mon/poky/meta-raspberrypi/recipes-multimedia/omxplayer/omxplayer_git.bb
>> DEPENDS on or otherwise requires it)
>> ERROR: ffmpeg PROVIDES libav but was skipped: because it has a
>> restricted license not whitelisted in LICENSE_FLAGS_WHITELIST
>
> Searching the Yocto reference manual for this term will lead to
> http://www.yoctoproject.org/docs/current/ref-manual/ref-manual.html#enabling-commercially-licensed-recipes
> which should have the details you need to resolve the issue.
>
> Jussi
>
>
> Hi,
>
> This info is actually also present in the meta-raspberrypi documentation, in
> 'docs/extra-apps.md':
>
> $ cat docs/extra-apps.md
> # Extra apps
>
> ## omxplayer
>
> omxplayer depends on libav which has a commercial license. So in order to be
> able to compile omxplayer you will need to whiteflag the commercial
> license in your local.conf:
>
> LICENSE_FLAGS_WHITELIST = "commercial"
>

it is better to be cautious about it and enable what you want and
ensure you can do so from licesning perspective.

LICENSE_FLAGS_WHITELIST_append = " commercial_libomxil "

e.g. will enable only for libomxil and keep adding to this list the
licenses you want to white list.

>
>
> To make full use of the documentation I recommend that you are generating
> the documentation within docs/ in for example html format and make use of
> the searching functionality in there.
>
>
> BR Petter
>
> --
> ___
> yocto mailing list
> yocto@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto
>
-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] Errors while tring rpi-test-image for rpi3

2017-08-12 Thread Petter Mabacker
On Sat, 2017-08-12 at 15:10 +0300, Jussi Kukkonen wrote:
> > ERROR: Nothing PROVIDES 'libav' (but
> > /u/hope_poky/poky_for_mon/poky/meta-raspberrypi/recipes-
> multimedia/omxplayer/omxplayer_git.bb
> > DEPENDS on or otherwise requires it)
> > ERROR: ffmpeg PROVIDES libav but was skipped: because it has a
> > restricted license not whitelisted in LICENSE_FLAGS_WHITELIST
> 
> Searching the Yocto reference manual for this term will lead to http:
> //www.yoctoproject.org/docs/current/ref-manual/ref-
> manual.html#enabling-commercially-licensed-recipes which should have
> the details you need to resolve the issue. 
> 
> Jussi

Hi,
This info is actually also present in the meta-raspberrypi
documentation, in 'docs/extra-apps.md':
$ cat docs/extra-apps.md# Extra apps
## omxplayer
omxplayer depends on libav which has a commercial license. So in order
to beable to compile omxplayer you will need to whiteflag the
commerciallicense in your local.conf:
LICENSE_FLAGS_WHITELIST = "commercial"


To make full use of the documentation I recommend that you are
generating the documentation within docs/ in for example html format
and make use of the searching functionality in there.

BR Petter-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] Errors while tring rpi-test-image for rpi3

2017-08-12 Thread Jussi Kukkonen
> ERROR: Nothing PROVIDES 'libav' (but
>
/u/hope_poky/poky_for_mon/poky/meta-raspberrypi/recipes-multimedia/omxplayer/
omxplayer_git.bb
> DEPENDS on or otherwise requires it)
> ERROR: ffmpeg PROVIDES libav but was skipped: because it has a
> restricted license not whitelisted in LICENSE_FLAGS_WHITELIST

Searching the Yocto reference manual for this term will lead to
http://www.yoctoproject.org/docs/current/ref-manual/ref-manual.html#enabling-commercially-licensed-recipes
which should have the details you need to resolve the issue.

Jussi
-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] Errors while tring rpi-test-image for rpi3

2017-08-12 Thread mohammed aqdam
Thanks for your response,
i have added those layers in bblayer.config...
still i'm getting the following errors...

root@(none):/u/hope_poky/poky_for_mon/poky/build# bitbake -k rpi-test-image
Loading cache: 100%
|#|
Time: 0:00:03
Loaded 2811 entries from dependency cache.
Parsing recipes: 100%
|###|
Time: 0:00:01
Parsing of 2034 .bb files complete (2033 cached, 1 parsed). 2812
targets, 187 skipped, 0 masked, 0 errors.
NOTE: Resolving any missing task queue dependencies
ERROR: Nothing PROVIDES 'libav' (but
/u/hope_poky/poky_for_mon/poky/meta-raspberrypi/recipes-multimedia/omxplayer/omxplayer_git.bb
DEPENDS on or otherwise requires it)
ERROR: ffmpeg PROVIDES libav but was skipped: because it has a
restricted license not whitelisted in LICENSE_FLAGS_WHITELIST
NOTE: Runtime target 'omxplayer' is unbuildable, removing...
Missing or unbuildable dependency chain was: ['omxplayer', 'libav']
NOTE: Runtime target 'packagegroup-rpi-test' is unbuildable, removing...
Missing or unbuildable dependency chain was: ['packagegroup-rpi-test',
'omxplayer', 'libav']
NOTE: Runtime target 'rpi-test-image' is unbuildable, removing...
Missing or unbuildable dependency chain was: ['rpi-test-image',
'packagegroup-rpi-test', 'omxplayer', 'libav']
ERROR: Nothing PROVIDES 'libomxil' (but
/u/hope_poky/poky_for_mon/poky/meta-raspberrypi/recipes-multimedia/omxplayer/omxplayer_git.bb
DEPENDS on or otherwise requires it)
ERROR: libomxil was skipped: because it has a restricted license not
whitelisted in LICENSE_FLAGS_WHITELIST
ERROR: libomxil was skipped: because it has a restricted license not
whitelisted in LICENSE_FLAGS_WHITELIST
ERROR: Nothing RPROVIDES 'omxplayer-dev' (but
/u/hope_poky/poky_for_mon/poky/meta-raspberrypi/recipes-multimedia/omxplayer/omxplayer_git.bb
RDEPENDS on or otherwise requires it)
ERROR: No eligible RPROVIDERs exist for 'omxplayer-dev'
NOTE: Runtime target 'omxplayer-dev' is unbuildable, removing...
Missing or unbuildable dependency chain was: ['omxplayer-dev']

Build Configuration:
BB_VERSION= "1.34.0"
BUILD_SYS = "x86_64-linux"
NATIVELSBSTRING   = "universal-4.8"
TARGET_SYS= "arm-poky-linux-gnueabi"
MACHINE   = "raspberrypi3"
DISTRO= "poky"
DISTRO_VERSION= "2.3.1"
TUNE_FEATURES = "arm armv7ve vfp thumb neon vfpv4
callconvention-hard cortexa7"
TARGET_FPU= "hard"
meta
meta-poky
meta-yocto-bsp= "pyro:4a39979c8d1e560fa54240e99734a651dfbaa63a"
meta-raspberrypi  = "master:f6a2ca21c72b8d97cd0f89a0a436bf90b431698b"
meta-oe
meta-multimedia
meta-python
meta-networking   = "master:a8b54e300be027fefe8a774ca1861d0fb8e80d99"

ERROR: All buildable tasks have been run but the build is incomplete
(--continue mode). Errors for the tasks that failed will have been
printed above.| ETA:  0:00:16
ERROR: Command execution failed: 1

Summary: There were 5 ERROR messages shown, returning a non-zero exit code.


most of the folders above are present in poky/meta/recipies-multimedia...
but i have added the meta layer in the bblayer.conf...
so how to resolve this error?

On 8/12/17, Jussi Kukkonen  wrote:
> On 12 August 2017 at 11:08, mohammed aqdam  wrote:
>>
>> to enable camera i was trying with rpi-test-image, after adding
>> meta-openembedded layer into bblayer.conf, when i run bitbake i got
>> this errors...
>>
>> root@(none):/u/hope_poky/poky_for_mon/poky/build# bitbake -k
> rpi-test-image
>> Parsing recipes: 100%
>>
> |###|
>> Time: 0:05:39
>> Parsing of 1518 .bb files complete (0 cached, 1518 parsed). 2129
>> targets, 159 skipped, 0 masked, 0 errors.
>> NOTE: Resolving any missing task queue dependencies
>> ERROR: Nothing RPROVIDES 'bigbuckbunny-1080p' (but
>>
> /u/hope_poky/poky_for_mon/poky/meta-raspberrypi/recipes-core/packagegroups/
> packagegroup-rpi-test.bb
>> RDEPENDS on or otherwise requires it)
>
>
> When you add a layer into your setup you should read the layer  README for
> the instructions and dependencies. In his case meta-raspberrypi README says
> that you need meta-oe, meta-multimedia, meta-networking and meta-python
> layers but looking at your build info...
>
>> meta
>> meta-poky
>> meta-yocto-bsp= "pyro:4a39979c8d1e560fa54240e99734a651dfbaa63a"
>> meta-raspberrypi  = "master:f6a2ca21c72b8d97cd0f89a0a436bf90b431698b"
>> meta-oe   = "master:a8b54e300be027fefe8a774ca1861d0fb8e80d99"
>
> ... it looks like meta-multimedia, meta-python and meta-networking layers
> (all part of meta-openembedded repo) are missing from bblayers.conf.
>
> Hope this helps,
>   Jussi
>
-- 
___
yocto mailing list
yocto@yoctoproject.org
http

Re: [yocto] Errors while tring rpi-test-image for rpi3

2017-08-12 Thread Jussi Kukkonen
On 12 August 2017 at 11:08, mohammed aqdam  wrote:
>
> to enable camera i was trying with rpi-test-image, after adding
> meta-openembedded layer into bblayer.conf, when i run bitbake i got
> this errors...
>
> root@(none):/u/hope_poky/poky_for_mon/poky/build# bitbake -k
rpi-test-image
> Parsing recipes: 100%
>
|###|
> Time: 0:05:39
> Parsing of 1518 .bb files complete (0 cached, 1518 parsed). 2129
> targets, 159 skipped, 0 masked, 0 errors.
> NOTE: Resolving any missing task queue dependencies
> ERROR: Nothing RPROVIDES 'bigbuckbunny-1080p' (but
>
/u/hope_poky/poky_for_mon/poky/meta-raspberrypi/recipes-core/packagegroups/
packagegroup-rpi-test.bb
> RDEPENDS on or otherwise requires it)


When you add a layer into your setup you should read the layer  README for
the instructions and dependencies. In his case meta-raspberrypi README says
that you need meta-oe, meta-multimedia, meta-networking and meta-python
layers but looking at your build info...

> meta
> meta-poky
> meta-yocto-bsp= "pyro:4a39979c8d1e560fa54240e99734a651dfbaa63a"
> meta-raspberrypi  = "master:f6a2ca21c72b8d97cd0f89a0a436bf90b431698b"
> meta-oe   = "master:a8b54e300be027fefe8a774ca1861d0fb8e80d99"

... it looks like meta-multimedia, meta-python and meta-networking layers
(all part of meta-openembedded repo) are missing from bblayers.conf.

Hope this helps,
  Jussi
-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto