I am trying to build fsl-image-x11 target.... we are getting following error....
but when we are building core-image-minimal , it is building successfully in same procedure.
bitbake -k fsl-image-x11
Loading cache: 100% |##########################################################################################################| ETA: 00:00:00
Loaded 2005 entries from dependency cache.
NOTE: Resolving any missing task queue dependencies
NOTE: multiple providers are available for jpeg (jpeg, libjpeg-turbo)
NOTE: consider defining a PREFERRED_PROVIDER entry to match jpeg
NOTE: multiple providers are available for jpeg-native (jpeg-native, libjpeg-turbo-native)
NOTE: consider defining a PREFERRED_PROVIDER entry to match jpeg-native
Build Configuration:
BB_VERSION = "1.20.0"
BUILD_SYS = "i686-linux"
NATIVELSBSTRING = "Ubuntu-12.04"
TARGET_SYS = "arm-poky-linux-gnueabi"
MACHINE = "imx6slevk"
DISTRO = "poky"
DISTRO_VERSION = "1.5.1"
TUNE_FEATURES = "armv7a vfp neon callconvention-hard cortexa9"
TARGET_FPU = "vfp-neon"
meta
meta-yocto = "(nobranch):bee7e3756adf70edaeabe9d43166707aab84f581"
meta-oe = "(nobranch):eb4563b83be0a57ede4269ab19688af6baa62cd2"
meta-fsl-arm = "(nobranch):af392c22bf6b563525ede4a81b6755ff1dd2c1c6"
meta-fsl-arm-extra = "(nobranch):07ad83db0fb67c5023bd627a61efb7f474c52622"
meta-fsl-demos = "(nobranch):5a12677ad000a926d23c444266722a778ea228a7"
meta-fsl-arm
meta-fsl-demos = "(nobranch):16c911d80ade96702e3c42ce97f1d69069576bdc"
meta-browser = "(nobranch):fc3969f63bda343c38c40a23f746c560c4735f3e"
meta-gnome
meta-networking = "(nobranch):eb4563b83be0a57ede4269ab19688af6baa62cd2"
NOTE: Preparing runqueue
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
ERROR: Function failed: do_compile (log file is located at /u01/project/imx6SoloLite/imx6QtBuild/fsl-release-bsp/build/tmp/work/i686-linux/docbook-utils-native/0.6.14-r3/temp/log.do_compile.30640)
ERROR: Logfile of failure stored in: /u01/project/imx6SoloLite/imx6QtBuild/fsl-release-bsp/build/tmp/work/i686-linux/docbook-utils-native/0.6.14-r3/temp/log.do_compile.30640
Log data follows:
| DEBUG: Executing shell function do_compile
| NOTE: make -j 4
| Making all in backends
| make[1]: Entering directory `/u01/project/imx6SoloLite/imx6QtBuild/fsl-release-bsp/build/tmp/work/i686-linux/docbook-utils-native/0.6.14-r3/build/backends'
| make[1]: Nothing to be done for `all'.
| make[1]: Leaving directory `/u01/project/imx6SoloLite/imx6QtBuild/fsl-release-bsp/build/tmp/work/i686-linux/docbook-utils-native/0.6.14-r3/build/backends'
| Making all in bin
| make[1]: Entering directory `/u01/project/imx6SoloLite/imx6QtBuild/fsl-release-bsp/build/tmp/work/i686-linux/docbook-utils-native/0.6.14-r3/build/bin'
| make[1]: Nothing to be done for `all'.
| make[1]: Leaving directory `/u01/project/imx6SoloLite/imx6QtBuild/fsl-release-bsp/build/tmp/work/i686-linux/docbook-utils-native/0.6.14-r3/build/bin'
| Making all in doc
| make[1]: Entering directory `/u01/project/imx6SoloLite/imx6QtBuild/fsl-release-bsp/build/tmp/work/i686-linux/docbook-utils-native/0.6.14-r3/build/doc'
| Making all in refentry
| make[2]: Entering directory `/u01/project/imx6SoloLite/imx6QtBuild/fsl-release-bsp/build/tmp/work/i686-linux/docbook-utils-native/0.6.14-r3/build/doc/refentry'
| make[2]: Nothing to be done for `all'.
| make[2]: Leaving directory `/u01/project/imx6SoloLite/imx6QtBuild/fsl-release-bsp/build/tmp/work/i686-linux/docbook-utils-native/0.6.14-r3/build/doc/refentry'
| Making all in man
| make[2]: Entering directory `/u01/project/imx6SoloLite/imx6QtBuild/fsl-release-bsp/build/tmp/work/i686-linux/docbook-utils-native/0.6.14-r3/build/doc/man'
| make[2]: Nothing to be done for `all'.
| make[2]: Leaving directory `/u01/project/imx6SoloLite/imx6QtBuild/fsl-release-bsp/build/tmp/work/i686-linux/docbook-utils-native/0.6.14-r3/build/doc/man'
| Making all in HTML
| make[2]: Entering directory `/u01/project/imx6SoloLite/imx6QtBuild/fsl-release-bsp/build/tmp/work/i686-linux/docbook-utils-native/0.6.14-r3/build/doc/HTML'
| SGML_CATALOG_FILES=/u01/project/imx6SoloLite/imx6QtBuild/fsl-release-bsp/build/tmp/sysroots/i686-linux/etc/sgml/catalog \
| SGML_SEARCH_PATH=/u01/project/imx6SoloLite/imx6QtBuild/fsl-release-bsp/build/tmp/work/i686-linux/docbook-utils-native/0.6.14-r3/docbook-utils-0.6.14:/u01/project/imx6SoloLite/imx6QtBuild/fsl-release-bsp/build/tmp/work/i686-linux/docbook-utils-native/0.6.14-r3/docbook-utils-0.6.14/doc:.. \
| jade -t sgml -i html -d /u01/project/imx6SoloLite/imx6QtBuild/fsl-release-bsp/build/tmp/work/i686-linux/docbook-utils-native/0.6.14-r3/docbook-utils-0.6.14/docbook-utils.dsl\#html \
| -V '%use-id-as-filename%' /u01/project/imx6SoloLite/imx6QtBuild/fsl-release-bsp/build/tmp/work/i686-linux/docbook-utils-native/0.6.14-r3/docbook-utils-0.6.14/doc/docbook-utils.sgml
| SGML_CATALOG_FILES=/u01/project/imx6SoloLite/imx6QtBuild/fsl-release-bsp/build/tmp/sysroots/i686-linux/etc/sgml/catalog \
| SGML_SEARCH_PATH=/u01/project/imx6SoloLite/imx6QtBuild/fsl-release-bsp/build/tmp/work/i686-linux/docbook-utils-native/0.6.14-r3/docbook-utils-0.6.14:/u01/project/imx6SoloLite/imx6QtBuild/fsl-release-bsp/build/tmp/work/i686-linux/docbook-utils-native/0.6.14-r3/docbook-utils-0.6.14/doc:.. \
| jade -t sgml -i html -d /u01/project/imx6SoloLite/imx6QtBuild/fsl-release-bsp/build/tmp/work/i686-linux/docbook-utils-native/0.6.14-r3/docbook-utils-0.6.14/docbook-utils.dsl\#html \
| -V '%use-id-as-filename%' /u01/project/imx6SoloLite/imx6QtBuild/fsl-release-bsp/build/tmp/work/i686-linux/docbook-utils-native/0.6.14-r3/docbook-utils-0.6.14/doc/docbook-utils.sgml
| SGML_CATALOG_FILES=/u01/project/imx6SoloLite/imx6QtBuild/fsl-release-bsp/build/tmp/sysroots/i686-linux/etc/sgml/catalog \
| SGML_SEARCH_PATH=/u01/project/imx6SoloLite/imx6QtBuild/fsl-release-bsp/build/tmp/work/i686-linux/docbook-utils-native/0.6.14-r3/docbook-utils-0.6.14:/u01/project/imx6SoloLite/imx6QtBuild/fsl-release-bsp/build/tmp/work/i686-linux/docbook-utils-native/0.6.14-r3/docbook-utils-0.6.14/doc:.. \
| jade -t sgml -i html -d /u01/project/imx6SoloLite/imx6QtBuild/fsl-release-bsp/build/tmp/work/i686-linux/docbook-utils-native/0.6.14-r3/docbook-utils-0.6.14/docbook-utils.dsl\#html \
| -V '%use-id-as-filename%' /u01/project/imx6SoloLite/imx6QtBuild/fsl-release-bsp/build/tmp/work/i686-linux/docbook-utils-native/0.6.14-r3/docbook-utils-0.6.14/doc/docbook-utils.sgml
| SGML_CATALOG_FILES=/u01/project/imx6SoloLite/imx6QtBuild/fsl-release-bsp/build/tmp/sysroots/i686-linux/etc/sgml/catalog \
| SGML_SEARCH_PATH=/u01/project/imx6SoloLite/imx6QtBuild/fsl-release-bsp/build/tmp/work/i686-linux/docbook-utils-native/0.6.14-r3/docbook-utils-0.6.14:/u01/project/imx6SoloLite/imx6QtBuild/fsl-release-bsp/build/tmp/work/i686-linux/docbook-utils-native/0.6.14-r3/docbook-utils-0.6.14/doc:.. \
| jade -t sgml -i html -d /u01/project/imx6SoloLite/imx6QtBuild/fsl-release-bsp/build/tmp/work/i686-linux/docbook-utils-native/0.6.14-r3/docbook-utils-0.6.14/docbook-utils.dsl\#html \
| -V '%use-id-as-filename%' /u01/project/imx6SoloLite/imx6QtBuild/fsl-release-bsp/build/tmp/work/i686-linux/docbook-utils-native/0.6.14-r3/docbook-utils-0.6.14/doc/docbook-utils.sgml
| jade: symbol lookup error: /u01/project/imx6SoloLite/imx6QtBuild/fsl-release-bsp/build/tmp/sysroots/i686-linux/usr/bin/../../usr/lib/libospgrove.so.0: undefined symbol: _ZN14OpenJade_Grove8ClassDef12sgmlDocumentE
| jade: symbol lookup error: /u01/project/imx6SoloLite/imx6QtBuild/fsl-release-bsp/build/tmp/sysroots/i686-linux/usr/bin/../../usr/lib/libospgrove.so.0: undefined symbol: _ZN14OpenJade_Grove8ClassDef12sgmlDocumentE
| make[2]: *** [docbook2texi.html] Error 127
| make[2]: *** Waiting for unfinished jobs....
| make[2]: *** [backend-spec.html] Error 127
| jade: symbol lookup error: /u01/project/imx6SoloLite/imx6QtBuild/fsl-release-bsp/build/tmp/sysroots/i686-linux/usr/bin/../../usr/lib/libospgrove.so.0: undefined symbol: _ZN14OpenJade_Grove8ClassDef12sgmlDocumentE
| make[2]: jade: symbol lookup error: /u01/project/imx6SoloLite/imx6QtBuild/fsl-release-bsp/build/tmp/sysroots/i686-linux/usr/bin/../../usr/lib/libospgrove.so.0: undefined symbol: _ZN14OpenJade_Grove8ClassDef12sgmlDocumentE
| *** [docbook2man.html] Error 127
| make[2]: *** [api.html] Error 127
| make[2]: Leaving directory `/u01/project/imx6SoloLite/imx6QtBuild/fsl-release-bsp/build/tmp/work/i686-linux/docbook-utils-native/0.6.14-r3/build/doc/HTML'
| make[1]: *** [all-recursive] Error 1
| make[1]: Leaving directory `/u01/project/imx6SoloLite/imx6QtBuild/fsl-release-bsp/build/tmp/work/i686-linux/docbook-utils-native/0.6.14-r3/build/doc'
| make: *** [all-recursive] Error 1
| ERROR: oe_runmake failed
| WARNING: exit code 1 from a shell command.
| ERROR: Function failed: do_compile (log file is located at /u01/project/imx6SoloLite/imx6QtBuild/fsl-release-bsp/build/tmp/work/i686-linux/docbook-utils-native/0.6.14-r3/temp/log.do_compile.30640)
ERROR: Task 5999 (/u01/project/imx6SoloLite/imx6QtBuild/fsl-release-bsp/sources/poky/meta/recipes-devtools/docbook-utils/docbook-utils-native_0.6.14.bb, do_compile) failed with exit code '1'
ERROR: Function failed: do_install (log file is located at /u01/project/imx6SoloLite/imx6QtBuild/fsl-release-bsp/build/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/gtkperf/0.40-r0/temp/log.do_install.30672)
ERROR: Logfile of failure stored in: /u01/project/imx6SoloLite/imx6QtBuild/fsl-release-bsp/build/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/gtkperf/0.40-r0/temp/log.do_install.30672
Log data follows:
| DEBUG: SITE files ['endian-little', 'bit-32', 'arm-common', 'common-linux', 'common-glibc', 'arm-linux', 'arm-linux-gnueabi', 'common']
| DEBUG: Executing shell function do_install
| NOTE: make -j 4 DESTDIR=/u01/project/imx6SoloLite/imx6QtBuild/fsl-release-bsp/build/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/gtkperf/0.40-r0/image install
| make: *** No rule to make target `install'. Stop.
| ERROR: oe_runmake failed
| WARNING: exit code 1 from a shell command.
| ERROR: Function failed: do_install (log file is located at /u01/project/imx6SoloLite/imx6QtBuild/fsl-release-bsp/build/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/gtkperf/0.40-r0/temp/log.do_install.30672)
ERROR: Task 533 (/u01/project/imx6SoloLite/imx6QtBuild/fsl-release-bsp/sources/meta-fsl-bsp-release/imx/meta-fsl-demos/recipes-graphics/gtkperf/gtkperf_0.40.bb, do_install) failed with exit code '1'
NOTE: Tasks Summary: Attempted 6460 tasks of which 6364 didn't need to be rerun and 2 failed.
No currently running tasks (6460 of 6709)
Summary: 2 tasks failed:
/u01/project/imx6SoloLite/imx6QtBuild/fsl-release-bsp/sources/poky/meta/recipes-devtools/docbook-utils/docbook-utils-native_0.6.14.bb, do_compile
/u01/project/imx6SoloLite/imx6QtBuild/fsl-release-bsp/sources/meta-fsl-bsp-release/imx/meta-fsl-demos/recipes-graphics/gtkperf/gtkperf_0.40.bb, do_install
Summary: There were 2 ERROR messages shown, returning a non-zero exit code.
Only an advice for future reference.
When using an old host machine (not supported by Yocto Project any more ~you will see the warning message at beginning of the build) it's recommended to install a package with the needed host-packages with the right versions.
You can download this package from Yocto Project's site:
https://www.yoctoproject.org/downloads/tools?release=All&title=
This is the "Build Tools", and if you are targeting a dora branch, you would install https://www.yoctoproject.org/downloads/tools/dora15/buildtools-sdk-dora-15
It helps a lot with host dependency, mainly with python dependencies.
Of course, the most advisable would be upgrade the host machine. This is only a workaround when you cannot upgrade the host machine OS.
Which version of out BSP are you using?
It’s most likely that you have already installed all required packages for Yocto to work correctly buy allow me to ask anyway if you installed all packaged needed by our BSP per documentation (section 3.1 of the Yocto User Guide).
Have you initialized the Yocto environment using the x11 backend (-e x11 option when initializing the Yocto environment)?
Perhaps you have done so already but sometimes helps to clean up and bake again.
Please let us know of any findings!
Hi Gusarambula,
First of thanks for your valuable guide at the same time sorry for late reply from my site.
We are using BSP version 3.10.17_1.0.0 (fsl-yocto-3.10.17_1.0.0), and I am we are using
Ubuntu-12.04 host environment for building.
And i have already initialized the Yocto environment using the x11 backend (-e x11)
I did many many times clean up and bake even i started from scratch also.
But if i am giving (-k) parameter for doing bake then it is completing without
creating any (.sdcard) image in corresponding directory.
And we are following same user guide (Freescale_Yocto_Project_User's_Guide).
And i want to inform you that after many attempt i got some help/suggestion on Internet,
and we are able to get "work-around" and build the (.sdcard) images in proper directory.
We modified two (.bb) file during building.
openjade-native_1.3.2.bb (link statically to local libs instead of shared)
evtest_1.25.bb ( changed the value of SRC_URI[archive.md5sum] and SRC_URI[archive.sha256sum] )
After this we are able to get work-around.
But by-default it is building Qt-4.8.5, we have to build with Qt-5.3.1 (don't want Qt-4.8.5).
Can we guide me or give us valuable suggestion/help so that we can build with Qt-5.3.1
Thanks and sorry for long reply.
--Sanjeet
SANJEET KARN a écrit:
We modified two (.bb) file during building.
openjade-native_1.3.2.bb (link statically to local libs instead of shared)
evtest_1.25.bb ( changed the value of SRC_URI[archive.md5sum] and SRC_URI[archive.sha256sum] )
It seems i'm having the same problem as you. May i ask how did you fix these 2 files, what changes did you make?
Thanks by advance
I just ran into the openjade problem. I found a patch for the static link workaround here: fix-openjade-yocto-issue - Pastebin.com.
I had the same problem and I made a little modification in the scripts.
meta-openembedded/meta-oe/recipes-support/evtest/evtest_1.25.bb
I Modify these 2 lines the checksum ow are correct
LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe"
SRC_URI = "http://cgit.freedesktop.org/~whot/evtest/snapshot/evtest-${PV}.tar.bz2;name=archive"
for gtkperf I just add a Line DEPENDS += "gtk+"
meta-fsl-bsp-release/imx/meta-fsl-demos/recipes-graphics/gtkperf/gtkperf_0.40.bb
require gtkperf.inc
DEPENDS += "gtk+"
SRC_URI[md5sum] = "4331dde4bb83865e15482885fcb0cc53"
SRC_URI[sha256sum] = "9704344e732038eecbd007dd996a56293a6b027b5b76f3f036273a3fae1ab27b"
Regards,
Caio Pereira
We fixed evtest in the dora-3.10.17-1.0.2 release - please switch to that release and you'll have no problems and update to our latest fixes.
I'm sorry for the delay!
The meta-fsl-qt5 layer is not enabled for default builds. The layer demonstrates changes needed for QT5 5.2.1 to work on the dora branch. This layer will not work on the master branch.
To integrate meta-fsl-qt5, from the build directory run the fsl-qt5-demo.sh
../sources/meta-fsl-bsp-release/imx/meta-fsl-qt5/tools/fsl-qt5-setup-demo.sh
This will donwload the meta-qt5 layer, checkout the 5.2.1 branch and add qt5 to the distro features. The meta-fsl-qt5 layer provides
new image recipes for x11, wayland, fb and directfb. Examples provided with the image recipes is the Cinematic Experience. Each backend requires
a different set of parameters. Below are the parameters for QT5 Cinematic Experience.
[Taken from the README of the fsl-yocto-3.10.17_1.0 document bundle]