* Re: [meta-qt5] Query regarding building meta-qt5 using yocto
[not found] <CAKxnpWa2Zb2FaAZrTMZAh2Te9Pc50e=2XR_tgiog3mQ4zHUjOg@mail.gmail.com>
@ 2014-02-12 10:02 ` Martin Jansa
0 siblings, 0 replies; only message in thread
From: Martin Jansa @ 2014-02-12 10:02 UTC (permalink / raw)
To: abdul razak; +Cc: openembedded-devel
[-- Attachment #1: Type: text/plain, Size: 10871 bytes --]
On Tue, Feb 11, 2014 at 10:03:43PM -0500, abdul razak wrote:
> Hi Martin,
>
> Sorry to disturb you this way, but I am new to yocto and stuck with this
> issue with meta-qt5.
Please use openembedded-devel@lists.openembedded.org for questions like
this.
> I am trying to build QT5 using yocto for BeagleBone. I am facing the below
> issue.
>
> The OpenGL functionality test failed!
> You might need to modify the include and library search paths by editing
> QMAKE_INCDIR_OPENGL, QMAKE_LIBDIR_OPENGL and QMAKE_LIBS_OPENGL
See
meta-qt5/recipes-qt/qt5/qtbase.inc
# gl or gles needs to be enabled in order to build qtdeclarative
# http://qt.gitorious.org/qt/qtdeclarative/commit/e988998a08b1420ed10bd02d9d4b3b8ed2289df9
PACKAGECONFIG_GL ?= "${@base_contains('DISTRO_FEATURES', 'opengl', 'gl', '', d)}"
# gl or gles2 is needed in order to build qtdeclarative
# (qtdeclarative.do_configure fails to find quick module without)
PACKAGECONFIG[gl] = "-opengl desktop -no-eglfs,,virtual/libgl"
PACKAGECONFIG[gles2] = "-opengl es2 -eglfs,,virtual/libgles2 virtual/egl"
It defaults to "full" desktop GL, you probably want just gles2 for
beaglebone. You need to change PACKAGECONFIG_GL in your .bbappend or
distro/local.conf
Cheers,
> I have attached the complete log.
>
> Below are the steps i followed:
>
> 1) git clone git://git.yoctoproject.org/poky
> cd poky
> git clone https://github.com/openembedded/meta-oe
> git clone git://git.yoctoproject.org/meta-ti
> git clone -b dora https://github.com/meta-qt5/meta-qt5.git
> In build/conf/local.conf add
> EXTRA_IMAGE_FEATURES = "debug-tweaks ssh-server-openssh "
> IMAGE_INSTALL_append = " gcc g++ binutils libgcc libgcc-dev libstdc++
> libstdc++-dev libstdc++-staticdev \
> tslib-conf tslib-tests tslib-calibrate openssh-sftp-server alsa-lib
> alsa-tools alsa-state alsa-utils-alsaconf \
> tslib evtest dbus nano qtbase qtbase-fonts qtbase-plugins qtbase-examples
> cinematicexperience gstreamer \
> cairo pango fontconfig freetype pulseaudio "
> DISTRO_FEATURES_remove = "x11 wayland"
> bitbake core-image-minimal
>
>
> Hope you can help. Looking forward for your reply.
>
> --
>
>
> Regards,
> Abdul Razak
> DEBUG: Executing python function sysroot_cleansstate
> DEBUG: Python function sysroot_cleansstate finished
> DEBUG: Executing shell function qmake5_base_preconfigure
> DEBUG: Shell function qmake5_base_preconfigure finished
> DEBUG: Executing shell function do_configure
> Performing shadow build...
> Preparing build tree...
> arm-poky-linux-gnueabi-g++ -march=armv7-a -mthumb-interwork -mfloat-abi=softfp -mfpu=neon --sysroot=/home/abdul/BeagleBone/poky/build/tmp/sysroots/beaglebone -c -fvisibility=hidden fvisibility.c
> Symbol visibility control enabled.
> arm-poky-linux-gnueabi-g++ -march=armv7-a -mthumb-interwork -mfloat-abi=softfp -mfpu=neon --sysroot=/home/abdul/BeagleBone/poky/build/tmp/sysroots/beaglebone -o libtest.so -shared -Wl,-Bsymbolic-functions -fPIC bsymbolic_functions.c
> Symbolic function binding enabled.
>
> This is the Qt Open Source Edition.
>
> You are licensed to use this software under the terms of
> the Lesser GNU General Public License (LGPL) versions 2.1.
>
> You have already accepted the terms of the license.
>
> Running configuration tests...
> Determining architecture... ()
> arm-poky-linux-gnueabi-g++ -march=armv7-a -mthumb-interwork -mfloat-abi=softfp -mfpu=neon --sysroot=/home/abdul/BeagleBone/poky/build/tmp/sysroots/beaglebone -c -pipe -O2 -pipe -g -feliminate-unused-debug-types -fpermissive -fvisibility-inlines-hidden -g -Wall -W -fPIE -I/home/abdul/BeagleBone/poky/build/tmp/work/armv7a-vfp-neon-poky-linux-gnueabi/qtbase/5.1.1-r0/qtbase-opensource-src-5.1.1/mkspecs/linux-oe-g++ -I/home/abdul/BeagleBone/poky/build/tmp/work/armv7a-vfp-neon-poky-linux-gnueabi/qtbase/5.1.1-r0/qtbase-opensource-src-5.1.1/config.tests/arch -I. -o arch.o /home/abdul/BeagleBone/poky/build/tmp/work/armv7a-vfp-neon-poky-linux-gnueabi/qtbase/5.1.1-r0/qtbase-opensource-src-5.1.1/config.tests/arch/arch.cpp
> arm-poky-linux-gnueabi-g++ -march=armv7-a -mthumb-interwork -mfloat-abi=softfp -mfpu=neon --sysroot=/home/abdul/BeagleBone/poky/build/tmp/sysroots/beaglebone -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -o arch arch.o
> Found architecture in binary
> CFG_ARCH="arm"
> CFG_CPUFEATURES=" neon"
> Determining architecture... ()
> arm-poky-linux-gnueabi-g++ -march=armv7-a -mthumb-interwork -mfloat-abi=softfp -mfpu=neon --sysroot=/home/abdul/BeagleBone/poky/build/tmp/sysroots/beaglebone -c -pipe -O2 -pipe -g -feliminate-unused-debug-types -fpermissive -fvisibility-inlines-hidden -g -Wall -W -fPIE -I/home/abdul/BeagleBone/poky/build/tmp/sysroots/x86_64-linux/usr/lib/qt5/mkspecs/linux-oe-g++ -I/home/abdul/BeagleBone/poky/build/tmp/work/armv7a-vfp-neon-poky-linux-gnueabi/qtbase/5.1.1-r0/qtbase-opensource-src-5.1.1/config.tests/arch -I. -o arch.o /home/abdul/BeagleBone/poky/build/tmp/work/armv7a-vfp-neon-poky-linux-gnueabi/qtbase/5.1.1-r0/qtbase-opensource-src-5.1.1/config.tests/arch/arch.cpp
> arm-poky-linux-gnueabi-g++ -march=armv7-a -mthumb-interwork -mfloat-abi=softfp -mfpu=neon --sysroot=/home/abdul/BeagleBone/poky/build/tmp/sysroots/beaglebone -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -o arch arch.o
> Found architecture in binary
> CFG_HOST_ARCH="arm"
> CFG_HOST_CPUFEATURES=" neon"
> System architecture: 'arm'
> Host architecture: 'arm'
> C++11 auto-detection... ()
> compiling /home/abdul/BeagleBone/poky/build/tmp/work/armv7a-vfp-neon-poky-linux-gnueabi/qtbase/5.1.1-r0/qtbase-opensource-src-5.1.1/config.tests/common/c++11/c++11.cpp
> linking c++11
> C++11 enabled.
> floatmath auto-detection... ()
> compiling /home/abdul/BeagleBone/poky/build/tmp/work/armv7a-vfp-neon-poky-linux-gnueabi/qtbase/5.1.1-r0/qtbase-opensource-src-5.1.1/config.tests/unix/floatmath/floatmath.cpp
> /home/abdul/BeagleBone/poky/build/tmp/work/armv7a-vfp-neon-poky-linux-gnueabi/qtbase/5.1.1-r0/qtbase-opensource-src-5.1.1/config.tests/unix/floatmath/floatmath.cpp:44:5: warning: unused parameter 'argc' [-Wunused-parameter]
> int main(int argc, char **argv)
> ^
> /home/abdul/BeagleBone/poky/build/tmp/work/armv7a-vfp-neon-poky-linux-gnueabi/qtbase/5.1.1-r0/qtbase-opensource-src-5.1.1/config.tests/unix/floatmath/floatmath.cpp:44:5: warning: unused parameter 'argv' [-Wunused-parameter]
> linking floatmath
> floatmath enabled.
> sse2 auto-detection... ()
> compiling /home/abdul/BeagleBone/poky/build/tmp/work/armv7a-vfp-neon-poky-linux-gnueabi/qtbase/5.1.1-r0/qtbase-opensource-src-5.1.1/config.tests/common/sse2/sse2.cpp
> arm-poky-linux-gnueabi-g++: error: unrecognized command line option '-msse2'
> make: *** [sse2.o] Error 1
> sse2 disabled.
> sse3 auto-detection... ()
> compiling /home/abdul/BeagleBone/poky/build/tmp/work/armv7a-vfp-neon-poky-linux-gnueabi/qtbase/5.1.1-r0/qtbase-opensource-src-5.1.1/config.tests/common/sse3/sse3.cpp
> arm-poky-linux-gnueabi-g++: error: unrecognized command line option '-msse3'
> make: *** [sse3.o] Error 1
> sse3 disabled.
> ssse3 auto-detection... ()
> compiling /home/abdul/BeagleBone/poky/build/tmp/work/armv7a-vfp-neon-poky-linux-gnueabi/qtbase/5.1.1-r0/qtbase-opensource-src-5.1.1/config.tests/common/ssse3/ssse3.cpp
> arm-poky-linux-gnueabi-g++: error: unrecognized command line option '-mssse3'
> make: *** [ssse3.o] Error 1
> ssse3 disabled.
> sse4_1 auto-detection... ()
> compiling /home/abdul/BeagleBone/poky/build/tmp/work/armv7a-vfp-neon-poky-linux-gnueabi/qtbase/5.1.1-r0/qtbase-opensource-src-5.1.1/config.tests/common/sse4_1/sse4_1.cpp
> arm-poky-linux-gnueabi-g++: error: unrecognized command line option '-msse4.1'
> make: *** [sse4_1.o] Error 1
> sse4_1 disabled.
> sse4_2 auto-detection... ()
> compiling /home/abdul/BeagleBone/poky/build/tmp/work/armv7a-vfp-neon-poky-linux-gnueabi/qtbase/5.1.1-r0/qtbase-opensource-src-5.1.1/config.tests/common/sse4_2/sse4_2.cpp
> arm-poky-linux-gnueabi-g++: error: unrecognized command line option '-msse4.2'
> make: *** [sse4_2.o] Error 1
> sse4_2 disabled.
> avx auto-detection... ()
> compiling /home/abdul/BeagleBone/poky/build/tmp/work/armv7a-vfp-neon-poky-linux-gnueabi/qtbase/5.1.1-r0/qtbase-opensource-src-5.1.1/config.tests/common/avx/avx.cpp
> arm-poky-linux-gnueabi-g++: error: unrecognized command line option '-mavx'
> make: *** [avx.o] Error 1
> avx disabled.
> neon auto-detection... ()
> compiling /home/abdul/BeagleBone/poky/build/tmp/work/armv7a-vfp-neon-poky-linux-gnueabi/qtbase/5.1.1-r0/qtbase-opensource-src-5.1.1/config.tests/unix/neon/neon.cpp
> linking neon
> neon enabled.
> Cups auto-detection... ()
> compiling /home/abdul/BeagleBone/poky/build/tmp/work/armv7a-vfp-neon-poky-linux-gnueabi/qtbase/5.1.1-r0/qtbase-opensource-src-5.1.1/config.tests/unix/cups/cups.cpp
> /home/abdul/BeagleBone/poky/build/tmp/work/armv7a-vfp-neon-poky-linux-gnueabi/qtbase/5.1.1-r0/qtbase-opensource-src-5.1.1/config.tests/unix/cups/cups.cpp:42:23: fatal error: cups/cups.h: No such file or directory
> #include <cups/cups.h>
> ^
> compilation terminated.
> make: *** [cups.o] Error 1
> Cups disabled.
> D-Bus auto-detection... ()
> compiling /home/abdul/BeagleBone/poky/build/tmp/work/armv7a-vfp-neon-poky-linux-gnueabi/qtbase/5.1.1-r0/qtbase-opensource-src-5.1.1/config.tests/unix/dbus/dbus.cpp
> linking dbus
> D-Bus enabled.
> PulseAudio auto-detection... ()
> compiling /home/abdul/BeagleBone/poky/build/tmp/work/armv7a-vfp-neon-poky-linux-gnueabi/qtbase/5.1.1-r0/qtbase-opensource-src-5.1.1/config.tests/unix/pulseaudio/pulseaudio.cpp
> linking pulseaudio
> PulseAudio enabled.
> OpenGL auto-detection... ()
> compiling /home/abdul/BeagleBone/poky/build/tmp/work/armv7a-vfp-neon-poky-linux-gnueabi/qtbase/5.1.1-r0/qtbase-opensource-src-5.1.1/config.tests/unix/opengldesktop/opengldesktop.cpp
> linking opengldesktop
> /home/abdul/BeagleBone/poky/build/tmp/sysroots/x86_64-linux/usr/libexec/armv7a-vfp-neon-poky-linux-gnueabi/gcc/arm-poky-linux-gnueabi/4.8.2/ld: cannot find -lGL
> collect2: error: ld returned 1 exit status
> make: *** [opengldesktop] Error 1
> OpenGL disabled.
> The OpenGL functionality test failed!
> You might need to modify the include and library search paths by editing
> QMAKE_INCDIR_OPENGL, QMAKE_LIBDIR_OPENGL and QMAKE_LIBS_OPENGL in
> /home/abdul/BeagleBone/poky/build/tmp/work/armv7a-vfp-neon-poky-linux-gnueabi/qtbase/5.1.1-r0/qtbase-opensource-src-5.1.1/mkspecs/linux-oe-g++.
> WARNING: exit code 1 from a shell command.
> ERROR: Function failed: do_configure (log file is located at /home/abdul/BeagleBone/poky/build/tmp/work/armv7a-vfp-neon-poky-linux-gnueabi/qtbase/5.1.1-r0/temp/log.do_configure.14298)
--
Martin 'JaMa' Jansa jabber: Martin.Jansa@gmail.com
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 205 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2014-02-12 10:02 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <CAKxnpWa2Zb2FaAZrTMZAh2Te9Pc50e=2XR_tgiog3mQ4zHUjOg@mail.gmail.com>
2014-02-12 10:02 ` [meta-qt5] Query regarding building meta-qt5 using yocto Martin Jansa
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.