[yocto] [raspberrypi3][meta-qt5] Failed to build meta-toolchain-qt5

Karim ATIKI karim_atiki at hotmail.com
Sat Oct 22 11:59:39 PDT 2016


Hi ,


I just found out something interesting.

I setup a build with poky-krogoth, I didn't include any of my custom recipes.


I've jsut included meta-raspberrypi in the layers.

Setup a machine "raspberrypi3"


Launched: bitbake gstreamer1.0-plugins-bad


It worked successfully.

Then, I deleted the tmp and sstate directories.


And I added in the local.conf:

DISTRO_FEATURES_remove = " x11 wayland".


Launched: bitbake gstreamer1.0-plugins-bad


>>>> It failed at the exact step (see below in the conversation)


Is there a problem with this configuration ?


Cheers,


Karim



________________________________
De : yocto-bounces at yoctoproject.org <yocto-bounces at yoctoproject.org> de la part de Karim ATIKI <karim_atiki at hotmail.com>
Envoyé : samedi 22 octobre 2016 19:03
À : Khem Raj
Cc : yocto
Objet : Re: [yocto] [raspberrypi3][meta-qt5] Failed to build meta-toolchain-qt5


Hi Khem,


Furthermore, please find fattached the config.log of the gstreamer1.0-plugins-bad.

It looks like bcm_hoist is correctly detected thuogh.



Cheers,


Karim


________________________________
De : yocto-bounces at yoctoproject.org <yocto-bounces at yoctoproject.org> de la part de Karim ATIKI <karim_atiki at hotmail.com>
Envoyé : samedi 22 octobre 2016 18:19
À : Khem Raj
Cc : yocto
Objet : Re: [yocto] [raspberrypi3][meta-qt5] Failed to build meta-toolchain-qt5


Khem,


I found the follwoing pc files, and bcm_host is found.



kai at odyssey:~/yocto/build-magnolia/tmp/work$ find . -name *.pc | grep userland
./raspberrypi3-poky-linux-gnueabi/userland/git-r5/image/usr/lib/pkgconfig/brcmvg.pc
./raspberrypi3-poky-linux-gnueabi/userland/git-r5/image/usr/lib/pkgconfig/glesv2.pc
./raspberrypi3-poky-linux-gnueabi/userland/git-r5/image/usr/lib/pkgconfig/egl.pc
./raspberrypi3-poky-linux-gnueabi/userland/git-r5/image/usr/lib/pkgconfig/bcm_host.pc
./raspberrypi3-poky-linux-gnueabi/userland/git-r5/image/usr/lib/pkgconfig/vg.pc
./raspberrypi3-poky-linux-gnueabi/userland/git-r5/image/usr/lib/pkgconfig/brcmegl.pc
./raspberrypi3-poky-linux-gnueabi/userland/git-r5/image/usr/lib/pkgconfig/brcmglesv2.pc
./raspberrypi3-poky-linux-gnueabi/userland/git-r5/packages-split/userland-dev/usr/lib/pkgconfig/brcmvg.pc
./raspberrypi3-poky-linux-gnueabi/userland/git-r5/packages-split/userland-dev/usr/lib/pkgconfig/glesv2.pc
./raspberrypi3-poky-linux-gnueabi/userland/git-r5/packages-split/userland-dev/usr/lib/pkgconfig/egl.pc
./raspberrypi3-poky-linux-gnueabi/userland/git-r5/packages-split/userland-dev/usr/lib/pkgconfig/bcm_host.pc
./raspberrypi3-poky-linux-gnueabi/userland/git-r5/packages-split/userland-dev/usr/lib/pkgconfig/vg.pc
./raspberrypi3-poky-linux-gnueabi/userland/git-r5/packages-split/userland-dev/usr/lib/pkgconfig/brcmegl.pc
./raspberrypi3-poky-linux-gnueabi/userland/git-r5/packages-split/userland-dev/usr/lib/pkgconfig/brcmglesv2.pc
./raspberrypi3-poky-linux-gnueabi/userland/git-r5/sysroot-destdir/usr/lib/pkgconfig/brcmvg.pc
./raspberrypi3-poky-linux-gnueabi/userland/git-r5/sysroot-destdir/usr/lib/pkgconfig/glesv2.pc
./raspberrypi3-poky-linux-gnueabi/userland/git-r5/sysroot-destdir/usr/lib/pkgconfig/egl.pc
./raspberrypi3-poky-linux-gnueabi/userland/git-r5/sysroot-destdir/usr/lib/pkgconfig/bcm_host.pc
./raspberrypi3-poky-linux-gnueabi/userland/git-r5/sysroot-destdir/usr/lib/pkgconfig/vg.pc
./raspberrypi3-poky-linux-gnueabi/userland/git-r5/sysroot-destdir/usr/lib/pkgconfig/brcmegl.pc
./raspberrypi3-poky-linux-gnueabi/userland/git-r5/sysroot-destdir/usr/lib/pkgconfig/brcmglesv2.pc
./raspberrypi3-poky-linux-gnueabi/userland/git-r5/git/.pc
./raspberrypi3-poky-linux-gnueabi/userland/git-r5/package/usr/lib/pkgconfig/brcmvg.pc
./raspberrypi3-poky-linux-gnueabi/userland/git-r5/package/usr/lib/pkgconfig/glesv2.pc
./raspberrypi3-poky-linux-gnueabi/userland/git-r5/package/usr/lib/pkgconfig/egl.pc
./raspberrypi3-poky-linux-gnueabi/userland/git-r5/package/usr/lib/pkgconfig/bcm_host.pc
./raspberrypi3-poky-linux-gnueabi/userland/git-r5/package/usr/lib/pkgconfig/vg.pc
./raspberrypi3-poky-linux-gnueabi/userland/git-r5/package/usr/lib/pkgconfig/brcmegl.pc
./raspberrypi3-poky-linux-gnueabi/userland/git-r5/package/usr/lib/pkgconfig/brcmglesv2.pc
./raspberrypi3-poky-linux-gnueabi/userland/git-r5/build/brcmvg.pc
./raspberrypi3-poky-linux-gnueabi/userland/git-r5/build/glesv2.pc
./raspberrypi3-poky-linux-gnueabi/userland/git-r5/build/egl.pc
./raspberrypi3-poky-linux-gnueabi/userland/git-r5/build/bcm_host.pc
./raspberrypi3-poky-linux-gnueabi/userland/git-r5/build/vg.pc
./raspberrypi3-poky-linux-gnueabi/userland/git-r5/build/brcmegl.pc
./raspberrypi3-poky-linux-gnueabi/userland/git-r5/build/brcmglesv2.pc




________________________________
De : Khem Raj <raj.khem at gmail.com>
Envoyé : samedi 22 octobre 2016 18:13
À : Karim ATIKI
Cc : yocto
Objet : Re: [yocto] [raspberrypi3][meta-qt5] Failed to build meta-toolchain-qt5


On Oct 22, 2016, at 8:16 AM, Karim ATIKI <karim_atiki at hotmail.com<mailto:karim_atiki at hotmail.com>> wrote:

Actually, it looks like the issue comes from gstreamer1.0-plugins-bad recipe.

This function, graphics_get_display_size, comes from libbcm_host which seems to be present in sysroot.

In log.doconfigure i found:


checking for bcm_host_init in -lbcm_host... yes
checking bcm_host.h usability... yes
checking bcm_host.h presence... yes
checking for bcm_host.h... yes

So it seems that it found the necessary library.

However, in the logfile of the compile error, there is no "-lbcm_host" dependency at all.

Any idea to solve it ?

Look at the packageconfig files from userland package and see if its exporting the right libraries in .pc files.


Karim



________________________________
De : yocto-bounces at yoctoproject.org<mailto:yocto-bounces at yoctoproject.org> <yocto-bounces at yoctoproject.org<mailto:yocto-bounces at yoctoproject.org>> de la part de Karim ATIKI <karim_atiki at hotmail.com<mailto:karim_atiki at hotmail.com>>
Envoyé : samedi 22 octobre 2016 14:26
À : yocto
Objet : [yocto] [raspberrypi3][meta-qt5] Failed to build meta-toolchain-qt5

Hi all,

Tryng to build the meta-toolchain-qt5, I've a failure while bulidng gst-plugins-bad.

The underlying error seems to be:

| ./.libs/libgstgl-1.0.so: undefined reference to `graphics_get_display_size

This function seems to come from bcm_host library.
Isn't it related to  RaspberryPi graphic libs ?

Should I add a specific dependency ?

Weird.

Karim


--
_______________________________________________
yocto mailing list
yocto at yoctoproject.org<mailto:yocto at yoctoproject.org>
https://lists.yoctoproject.org/listinfo/yocto

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20161022/7ea19b43/attachment.html>


More information about the yocto mailing list