Re: [yocto] [meta-raspberrypi] build rpi-test-image for raspberrypi3

2016-10-15 Thread Andrei Gherzan
On 14 Oct 2016 18:01, "Seb But"  wrote:
>
> Hello,
>
> I am trying to build the rpi-test-image for a raspberrypi3 using the Poky
and raspberrypi master branches.
>
> Below are the layers I include in my 'bblayers.conf':
> ${BSPDIR}/master/poky/meta \
> ${BSPDIR}/master/poky/meta-poky \
> ${BSPDIR}/master/poky/meta-yocto-bsp \
> ${BSPDIR}/master/meta-openembedded/meta-oe \
> ${BSPDIR}/master/meta-openembedded/meta-webserver \
> ${BSPDIR}/master/meta-openembedded/meta-networking \
> ${BSPDIR}/master/meta-openembedded/meta-multimedia \
> ${BSPDIR}/master/meta-openembedded/meta-python \
> ${BSPDIR}/master/meta-raspberrypi \
>
> And I add the following to my 'local.conf':
> MACHINE ??= "raspberrypi3"
> LICENSE_FLAGS_WHITELIST = "commercial"
>
>
> However, when I launch 'bitbake rpi-test-image', I get the following
error:
> Parsing recipes: 100%
||
Time: 0:00:53
> Parsing of 1961 .bb files complete (0 cached, 1961 parsed). 2647 targets,
134 skipped, 0 masked, 0 errors.
> NOTE: Resolving any missing task queue dependencies
> ERROR: Nothing PROVIDES 'samba' (but
/home/seb/workspace/Yocto/meta_sources/master/meta-raspberrypi/recipes-multimedia/omxplayer/
omxplayer_git.bb DEPENDS on or otherwise requires it)
> ERROR: samba was skipped: Recipe is blacklisted: BROKEN: fails to build
with new binutils-2.27

This is actually the root of the problem. Basically meta-oe decided to skip
this recipe. You can hack this in many ways:
1. Remove skip from samba recipe in meta-oe as it actually compiles just
fine (last time a checked)
2. Remove omxplayer from rpi package group.
3. Maybe we can make samba configurable in omxplayer and then havr or
deactivated by default.

> NOTE: Runtime target 'omxplayer' is unbuildable, removing...
> Missing or unbuildable dependency chain was: ['omxplayer', 'samba']
> NOTE: Runtime target 'packagegroup-rpi-test' is unbuildable, removing...
> Missing or unbuildable dependency chain was: ['packagegroup-rpi-test',
'omxplayer', 'samba']
> ERROR: Required build target 'rpi-test-image' has no buildable providers.
> Missing or unbuildable dependency chain was: ['rpi-test-image',
'packagegroup-rpi-test', 'omxplayer', 'samba']
>
>
> Would someone know what I am missing? When I use the Jethro branches for
a rasperrypi2, I have no problem.
>
> Thanks in advance
>
> Seb
>
> --
> ___
> yocto mailing list
> yocto@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto
>
-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] [meta-raspberrypi] build rpi-test-image for raspberrypi3

2016-10-14 Thread Seb But
Hello, 

I am trying to build the rpi-test-image for a raspberrypi3 using the Poky and 
raspberrypi master branches.

Below are the layers I include in my 'bblayers.conf':
${BSPDIR}/master/poky/meta \
${BSPDIR}/master/poky/meta-poky \
${BSPDIR}/master/poky/meta-yocto-bsp \
${BSPDIR}/master/meta-openembedded/meta-oe \
${BSPDIR}/master/meta-openembedded/meta-webserver \
${BSPDIR}/master/meta-openembedded/meta-networking \
${BSPDIR}/master/meta-openembedded/meta-multimedia \
${BSPDIR}/master/meta-openembedded/meta-python \
${BSPDIR}/master/meta-raspberrypi \

And I add the following to my 'local.conf':
MACHINE ??= "raspberrypi3"
LICENSE_FLAGS_WHITELIST = "commercial"


However, when I launch 'bitbake rpi-test-image', I get the following error:
Parsing recipes: 100% 
||
 Time: 0:00:53
Parsing of 1961 .bb files complete (0 cached, 1961 parsed). 2647 targets, 134 
skipped, 0 masked, 0 errors.
NOTE: Resolving any missing task queue dependencies
ERROR: Nothing PROVIDES 'samba' (but 
/home/seb/workspace/Yocto/meta_sources/master/meta-raspberrypi/recipes-multimedia/omxplayer/omxplayer_git.bb
 DEPENDS on or otherwise requires it)
ERROR: samba was skipped: Recipe is blacklisted: BROKEN: fails to build with 
new binutils-2.27
NOTE: Runtime target 'omxplayer' is unbuildable, removing...
Missing or unbuildable dependency chain was: ['omxplayer', 'samba']
NOTE: Runtime target 'packagegroup-rpi-test' is unbuildable, removing...
Missing or unbuildable dependency chain was: ['packagegroup-rpi-test', 
'omxplayer', 'samba']
ERROR: Required build target 'rpi-test-image' has no buildable providers.
Missing or unbuildable dependency chain was: ['rpi-test-image', 
'packagegroup-rpi-test', 'omxplayer', 'samba']


Would someone know what I am missing? When I use the Jethro branches for a 
rasperrypi2, I have no problem.

Thanks in advance

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