From: Paul Barker <paul@paulbarker.me.uk>
To: Karim ATIKI <karim_atiki@hotmail.com>
Cc: yocto <yocto@yoctoproject.org>
Subject: Re: [meta-raspberrypi3] Failed to build gstreamer1.0-plugins-bad with minimal configuration
Date: Thu, 27 Oct 2016 21:26:10 +0100 [thread overview]
Message-ID: <20161027212610.33d285b0@nuc.betafive.co.uk> (raw)
In-Reply-To: <HE1PR01MB1883A54CB9FBC20C3EC9225692AB0@HE1PR01MB1883.eurprd01.prod.exchangelabs.com>
On Wed, 26 Oct 2016 12:56:11 +0000
Karim ATIKI <karim_atiki@hotmail.com> wrote:
> Hi all,
>
>
> I'm currently unable to build gstreamer1.0-plugins-bad with a clean
> checkout of poky-krogoth and also poky-master with
> DISTRO_FEATURES_remove = " x11 wayland"
>
>
> It fails during the do_compile() task of gstreamer1.0-plugins-bad
> with the following error message:
>
>
> undefined reference to graphics_get_display_size().
>
>
> This function comes with libbcmhost which is however installed with
> userland in sysroot.
>
>
> In addition, the log.do_configure of gstreamer1.0-plugins-bad detects
> bcm_host as well.
>
>
> If I change DISTRO_FEATURES_remove = " x11" it will work.
>
>
> I have tested with a minimal configuration & layers:
>
>
> Build Configuration:
> BB_VERSION = "1.32.0"
> BUILD_SYS = "x86_64-linux"
> NATIVELSBSTRING = "Debian-8.2"
> TARGET_SYS = "arm-poky-linux-gnueabi"
> MACHINE = "raspberrypi3"
> DISTRO = "poky"
> DISTRO_VERSION = "2.2"
> TUNE_FEATURES = "arm armv7ve vfp thumb neon vfpv4
> callconvention-hard cortexa7" TARGET_FPU = "hard"
> meta
> meta-poky
> meta-yocto-bsp = "master:ef627ab364d52fe19994c94c1a78fbe21620a32c"
> meta-raspberrypi = "master:de016ceef63028f5578191785c50529695f76a1a"
> meta-oe
> meta-multimedia = "master:8ba31c9ba214802b1305aabbc0be0353cba0bc3e
>
>
> and simply launched:
>
>
> bitbake -k gstreamer1.0-plugins-bad
>
>
I've managed to reproduce your issue. Here's the interesting bits of a
diff between the do_configure logs, lines removed only exist in the
successful build, lines added only exist in the failed build:
@@ -1289,24 +1013,33 @@
checking for winsock2.h... no
checking for X... no
configure: No package 'x11' found
+checking for GLES2... yes
checking EGL/fbdev_window.h usability... no
checking EGL/fbdev_window.h presence... no
checking for EGL/fbdev_window.h... no
-checking for bcm_host_init in -lbcm_host... no
+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
+checking for eglGetProcAddress in -lEGL... yes
+checking EGL/egl.h usability... yes
+checking EGL/egl.h presence... yes
+checking for EGL/egl.h... yes
+checking for glEnable in -lGLESv2... yes
+checking GLES2/gl2.h usability... yes
+checking GLES2/gl2.h presence... yes
+checking for GLES2/gl2.h... yes
checking for WAYLAND_EGL... no
checking libdrm/drm_fourcc.h usability... no
checking libdrm/drm_fourcc.h presence... no
checking for libdrm/drm_fourcc.h... no
checking for GST_ALLOCATORS... yes
-host is arm-oe-linux-gnueabi
+host is arm-poky-linux-gnueabi
configure: WARNING: X or Wayland is required for OpenGL support
-configure: WARNING: Either OpenGL or OpenGL|ES is required for
OpenGL support -configure: WARNING: Could not find any OpenGL
platforms to use such as CGL, WGL or GLX -configure: WARNING: Could
not find any window systems to use such as Cocoa, Win32API or X11
-checking for GLeglImageOES... no -checking for GLchar... no
-checking for GLsizeiptr... no
-checking for GLintptr... no
+checking for GLeglImageOES... yes
+checking for GLchar... yes
+checking for GLsizeiptr... yes
+checking for GLintptr... yes
checking for GLsync... no
checking for GLuint64... no
checking for GLint64... no
@@ -1610,7 +1343,7 @@
configure: *** checking feature: gl elements ***
configure: *** for plug-ins: gl ***
-configure: *** These plugins will not be built: gl
+configure: *** These plugins will be built: gl
configure: *** checking feature: Gtk+ elements ***
configure: *** for plug-ins: gtk ***
@@ -2101,6 +1834,7 @@
dtls
dvb
fbdevsink
+ gl
hls
neonhttpsrc
rsvg
@@ -2131,7 +1865,6 @@
faad
flite
fluidsynth
- gl
gme
gsmenc gsmdec
gtk
ie. In the successful build GLES wasn't detected, which led to the gl
plugin not being built, which led to the problem not occurring. That's
probably not helpful if you want to be able to use the gl plugin though!
I'm trying to narrow down the differences between these two builds,
I'll let you know if I find out any more!
Thanks,
Paul
next prev parent reply other threads:[~2016-10-27 22:51 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-10-26 12:56 [meta-raspberrypi3] Failed to build gstreamer1.0-plugins-bad with minimal configuration Karim ATIKI
2016-10-27 20:26 ` Paul Barker [this message]
2016-10-27 21:18 ` Paul Barker
2016-10-28 2:40 ` Khem Raj
2016-10-28 5:56 ` Karim ATIKI
2016-10-28 7:28 ` Herman van Hazendonk
2016-10-29 21:13 ` Paul Barker
2016-11-01 18:51 ` Karim ATIKI
2016-11-03 2:57 ` Khem Raj
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20161027212610.33d285b0@nuc.betafive.co.uk \
--to=paul@paulbarker.me.uk \
--cc=karim_atiki@hotmail.com \
--cc=yocto@yoctoproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.