Hi,
I am working on Yocto Rocko 2.4.3 based on FSL community BSP 2.4 with 4.9.11_1.0.0 ga linux release
and am following this reference mannul Yocto Build Release - Variscite Wiki
I followed every step in this document.
while building yocto project build console image with qt5 package getting the error
please check the log file
Loading cache: 100% |###########################################################################################################| Time: 0:00:00
Loaded 3208 entries from dependency cache.
Parsing recipes: 100% |#########################################################################################################| Time: 0:00:01
Parsing of 2377 .bb files complete (2376 cached, 1 parsed). 3209 targets, 408 skipped, 3 masked, 0 errors.
NOTE: Resolving any missing task queue dependencies
Build Configuration:
BB_VERSION = "1.36.0"
BUILD_SYS = "x86_64-linux"
NATIVELSBSTRING = "universal"
TARGET_SYS = "arm-fslc-linux-gnueabi"
MACHINE = "var-som-mx6"
DISTRO = "fslc-framebuffer"
DISTRO_VERSION = "2.4"
TUNE_FEATURES = "arm armv7a vfp thumb neon callconvention-hard"
TARGET_FPU = "hard"
meta
meta-poky = "HEAD:90414ecd5cf72995074f3dc6b05cfbee0a1dab67"
meta-oe
meta-multimedia = "HEAD:dacfa2b1920e285531bec55cd2f08743390aaf57"
meta-freescale = "HEAD:affb4b17d3d97ae45bdc4887268ba1d88fccd876"
meta-freescale-3rdparty = "HEAD:a02324e27f7a7ac630dab616f46a8bad7fe2c071"
meta-freescale-distro = "HEAD:0ec6d7e206705702b5b534611754de0787f92b72"
meta-browser = "HEAD:1cd38d701a49eade80a04140f70d3383117b9745"
meta-gnome
meta-networking
meta-python = "HEAD:dacfa2b1920e285531bec55cd2f08743390aaf57"
meta-qt5 = "HEAD:682ad61c071a9710e9f9d8a32ab1b5f3c14953d1"
meta-swupdate = "HEAD:0fb115e97187c069f0da90163f1f374a6b7a4af7"
meta-variscite-fslc = "HEAD:2b628d4f9cd0f8b628875f18fee0b2d4a78f5b2c"
Initialising tasks: 100% |######################################################################################################| Time: 0:00:11
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
ERROR: qtwebkit-5.9.6+gitAUTOINC+bd0657f98a-r0 do_install: oe_runmake failed
ERROR: qtwebkit-5.9.6+gitAUTOINC+bd0657f98a-r0 do_install: Function failed: do_install (log file is located at /home/srinivas/var-fslc-yocto/build_fb/tmp/work/armv7at2hf-neon-fslc-linux-gnueabi/qtwebkit/5.9.6+gitAUTOINC+bd0657f98a-r0/temp/log.do_install.8176)
ERROR: Logfile of failure stored in: /home/srinivas/var-fslc-yocto/build_fb/tmp/work/armv7at2hf-neon-fslc-linux-gnueabi/qtwebkit/5.9.6+gitAUTOINC+bd0657f98a-r0/temp/log.do_install.8176
Log data follows:
| DEBUG: Executing python function extend_recipe_sysroot
| NOTE: Direct dependencies are ['/home/srinivas/var-fslc-yocto/sources/meta-qt5/recipes-qt/qt5/qtbase_git.bb:do_populate_sysroot', '/home/srinivas/var-fslc-yocto/sources/meta-qt5/recipes-qt/qt5/qtsensors_git.bb:do_populate_sysroot', 'virtual:native:/home/srinivas/var-fslc-yocto/sources/poky/meta/recipes-devtools/pseudo/pseudo_1.8.2.bb:do_populate_sysroot', '/home/srinivas/var-fslc-yocto/sources/meta-qt5/recipes-qt/qt5/qtmultimedia_git.bb:do_populate_sysroot', 'virtual:native:/home/srinivas/var-fslc-yocto/sources/poky/meta/recipes-extended/gperf/gperf_3.1.bb:do_populate_sysroot', '/home/srinivas/var-fslc-yocto/sources/poky/meta/recipes-support/sqlite/sqlite3_3.20.0.bb:do_populate_sysroot', '/home/srinivas/var-fslc-yocto/sources/poky/meta/recipes-support/icu/icu_59.1.bb:do_populate_sysroot', '/home/srinivas/var-fslc-yocto/sources/poky/meta/recipes-support/libxslt/libxslt_1.1.29.bb:do_populate_sysroot', '/home/srinivas/var-fslc-yocto/sources/poky/meta/recipes-devtools/gcc/gcc-runtime_7.3.bb:do_populate_sysroot', '/home/srinivas/var-fslc-yocto/sources/poky/meta/recipes-multimedia/gstreamer/gstreamer1.0_1.12.2.bb:do_populate_sysroot', 'virtual:native:/home/srinivas/var-fslc-yocto/sources/poky/meta/recipes-devtools/ruby/ruby_2.4.4.bb:do_populate_sysroot', '/home/srinivas/var-fslc-yocto/sources/poky/meta/recipes-core/glib-2.0/glib-2.0_2.52.3.bb:do_populate_sysroot', '/home/srinivas/var-fslc-yocto/sources/meta-qt5/recipes-qt/qt5/qtlocation_git.bb:do_populate_sysroot', '/home/srinivas/var-fslc-yocto/sources/meta-qt5/recipes-qt/qt5/qtdeclarative_git.bb:do_populate_sysroot', '/home/srinivas/var-fslc-yocto/sources/poky/meta/recipes-core/glibc/glibc_2.26.bb:do_populate_sysroot', '/home/srinivas/var-fslc-yocto/sources/poky/meta/recipes-devtools/quilt/quilt-native_0.65.bb:do_populate_sysroot', '/home/srinivas/var-fslc-yocto/sources/meta-qt5/recipes-qt/qt5/qtbase-native_git.bb:do_populate_sysroot', '/home/srinivas/var-fslc-yocto/sources/meta-qt5/recipes-qt/qt5/qtwebchannel_git.bb:do_populate_sysroot', '/home/srinivas/var-fslc-yocto/sources/poky/meta/recipes-devtools/gcc/gcc-cross_7.3.bb:do_populate_sysroot', '/home/srinivas/var-fslc-yocto/sources/poky/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_1.12.2.bb:do_populate_sysroot', '/home/srinivas/var-fslc-yocto/sources/poky/meta/recipes-graphics/fontconfig/fontconfig_2.12.4.bb:do_populate_sysroot']
| NOTE: Installed into sysroot: []
| NOTE: Skipping as already exists in sysroot: ['qtbase', 'qtsensors', 'pseudo-native', 'qtmultimedia', 'gperf-native', 'sqlite3', 'icu', 'libxslt', 'gcc-runtime', 'gstreamer1.0', 'ruby-native', 'glib-2.0', 'qtlocation', 'qtdeclarative', 'glibc', 'quilt-native', 'qtbase-native', 'qtwebchannel', 'gcc-cross-arm', 'gstreamer1.0-plugins-base', 'fontconfig', 'dbus', 'imx-gpu-viv', 'libpng', 'tslib', 'zlib', 'openssl', 'libjpeg-turbo', 'eudev', 'freetype', 'pulseaudio', 'alsa-lib', 'gstreamer1.0-plugins-bad', 'libtool-native', 'autoconf-native', 'gnu-config-native', 'automake-native', 'libxml2', 'libgcc', 'linux-libc-headers', 'gobject-introspection', 'libcap', 'libyaml-native', 'openssl-native', 'libpcre', 'util-linux', 'bash-completion', 'libffi', 'qtxmlpatterns', 'qtquickcontrols', 'zlib-native', 'dbus-native', 'qtwebsockets', 'binutils-cross-arm', 'mpfr-native', 'texinfo-dummy-native', 'libmpc-native', 'gmp-native', 'xz-native', 'orc', 'libtheora', 'libogg', 'libvorbis', 'iso-codes', 'pango', 'expat', 'base-passwd', 'initscripts', 'shadow-native', 'shadow-sysroot', 'update-rc.d', 'shadow', 'base-files', 'libdrm', 'cryptodev-linux', 'kmod', 'gconf', 'libatomic-ops', 'libtool', 'avahi', 'speexdsp', 'libsndfile1', 'ofono', 'bluez5', 'sbc', 'libwebp', 'libusb1', 'curl', 'libgudev', 'nettle', 'bzip2', 'neon', 'librsvg', 'm4-native', 'python3', 'makedepend-native', 'pkgconfig-native', 'cryptodev-linux-native', 'ncurses', 'opkg-utils', 'gettext-minimal-native', 'expat-native', 'bison-native', 'flex-native', 'harfbuzz', 'cairo', 'attr', 'libpthread-stubs', 'libpciaccess', 'dbus-glib', 'libdaemon', 'flac', 'mobile-broadband-provider-info', 'readline', 'libcheck', 'libical', 'gnutls', 'gmp', 'libproxy', 'libcroco', 'gdk-pixbuf', 'gdbm', 'db', 'xz', 'xproto-native', 'util-macros-native', 'pigz-native', 'pixman', 'util-macros', 'libidn', 'libunistring', 'shared-mime-info']
| DEBUG: Python function extend_recipe_sysroot finished
| DEBUG: Executing shell function do_install
| NOTE: make -j 4 MAKEFLAGS=-j 4 OE_QMAKE_COMPILER=arm-fslc-linux-gnueabi-gcc -march=armv7-a -mthumb -mfpu=neon -mfloat-abi=hard --sysroot=/home/srinivas/var-fslc-yocto/build_fb/tmp/work/armv7at2hf-neon-fslc-linux-gnueabi/qtwebkit/5.9.6+gitAUTOINC+bd0657f98a-r0/recipe-sysroot OE_QMAKE_CC=arm-fslc-linux-gnueabi-gcc -march=armv7-a -mthumb -mfpu=neon -mfloat-abi=hard --sysroot=/home/srinivas/var-fslc-yocto/build_fb/tmp/work/armv7at2hf-neon-fslc-linux-gnueabi/qtwebkit/5.9.6+gitAUTOINC+bd0657f98a-r0/recipe-sysroot OE_QMAKE_CXX=arm-fslc-linux-gnueabi-g++ -march=armv7-a -mthumb -mfpu=neon -mfloat-abi=hard --sysroot=/home/srinivas/var-fslc-yocto/build_fb/tmp/work/armv7at2hf-neon-fslc-linux-gnueabi/qtwebkit/5.9.6+gitAUTOINC+bd0657f98a-r0/recipe-sysroot OE_QMAKE_CFLAGS= -O2 -pipe -g -feliminate-unused-debug-types -fdebug-prefix-map=/home/srinivas/var-fslc-yocto/build_fb/tmp/work/armv7at2hf-neon-fslc-linux-gnueabi/qtwebkit/5.9.6+gitAUTOINC+bd0657f98a-r0=/usr/src/debug/qtwebkit/5.9.6+gitAUTOINC+bd0657f98a-r0 -fdebug-prefix-map=/home/srinivas/var-fslc-yocto/build_fb/tmp/work/armv7at2hf-neon-fslc-linux-gnueabi/qtwebkit/5.9.6+gitAUTOINC+bd0657f98a-r0/recipe-sysroot-native= -fdebug-prefix-map=/home/srinivas/var-fslc-yocto/build_fb/tmp/work/armv7at2hf-neon-fslc-linux-gnueabi/qtwebkit/5.9.6+gitAUTOINC+bd0657f98a-r0/recipe-sysroot= OE_QMAKE_CXXFLAGS= -O2 -pipe -g -feliminate-unused-debug-types -fdebug-prefix-map=/home/srinivas/var-fslc-yocto/build_fb/tmp/work/armv7at2hf-neon-fslc-linux-gnueabi/qtwebkit/5.9.6+gitAUTOINC+bd0657f98a-r0=/usr/src/debug/qtwebkit/5.9.6+gitAUTOINC+bd0657f98a-r0 -fdebug-prefix-map=/home/srinivas/var-fslc-yocto/build_fb/tmp/work/armv7at2hf-neon-fslc-linux-gnueabi/qtwebkit/5.9.6+gitAUTOINC+bd0657f98a-r0/recipe-sysroot-native= -fdebug-prefix-map=/home/srinivas/var-fslc-yocto/build_fb/tmp/work/armv7at2hf-neon-fslc-linux-gnueabi/qtwebkit/5.9.6+gitAUTOINC+bd0657f98a-r0/recipe-sysroot= -fvisibility-inlines-hidden OE_QMAKE_LINK=arm-fslc-linux-gnueabi-g++ -march=armv7-a -mthumb -mfpu=neon -mfloat-abi=hard --sysroot=/home/srinivas/var-fslc-yocto/build_fb/tmp/work/armv7at2hf-neon-fslc-linux-gnueabi/qtwebkit/5.9.6+gitAUTOINC+bd0657f98a-r0/recipe-sysroot OE_QMAKE_LDFLAGS=-Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed OE_QMAKE_AR=arm-fslc-linux-gnueabi-ar OE_QMAKE_STRIP=echo OE_QMAKE_WAYLAND_SCANNER=/home/srinivas/var-fslc-yocto/build_fb/tmp/work/armv7at2hf-neon-fslc-linux-gnueabi/qtwebkit/5.9.6+gitAUTOINC+bd0657f98a-r0/recipe-sysroot-native/usr/bin/wayland-scanner OE_QMAKE_INCDIR_QT=/home/srinivas/var-fslc-yocto/build_fb/tmp/work/armv7at2hf-neon-fslc-linux-gnueabi/qtwebkit/5.9.6+gitAUTOINC+bd0657f98a-r0/recipe-sysroot//usr/include/qt5 install INSTALL_ROOT=/home/srinivas/var-fslc-yocto/build_fb/tmp/work/armv7at2hf-neon-fslc-linux-gnueabi/qtwebkit/5.9.6+gitAUTOINC+bd0657f98a-r0/image
| 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 /home/srinivas/var-fslc-yocto/build_fb/tmp/work/armv7at2hf-neon-fslc-linux-gnueabi/qtwebkit/5.9.6+gitAUTOINC+bd0657f98a-r0/temp/log.do_install.8176)
ERROR: Task (/home/srinivas/var-fslc-yocto/sources/meta-qt5/recipes-qt/qt5/qtwebkit_git.bb:do_install) failed with exit code '1'
NOTE: Tasks Summary: Attempted 3620 tasks of which 3619 didn't need to be rerun and 1 failed.
NOTE: Writing buildhistory
Summary: 1 task failed:
/home/srinivas/var-fslc-yocto/sources/meta-qt5/recipes-qt/qt5/qtwebkit_git.bb:do_install
Summary: There were 2 ERROR messages shown,returning a non-zero exit code.
This is the issue am facing try to help out.
Thanks in advance,
Srinivas Reddy
I am experiencing the same issue with qtwebkit. Can you provide steps to get past this error? Thanks.
Hello Srinivas Reddy,
The BSP you are using is for Variscite’s board so I would recommend contacting them for further support. My apologies for the inconvenience.
Regards,
@gusarambula
Thanks for your reply
That issue was solved and i got one more issue related to rfs package i.e also i resolved.
I need one help from you.
In NXP Dart mx6 board we are using 4.9.11 kernel version,In that SPI slave driver is missing,so how do i integrate the SPI slave driver into the yocto project. please send any documentation you found.
Thanks in advance,
Srinivasa Redyy
Hello Srinivas Reddy,
It would depend on whether there are SPI drivers available as part of the Yocto BSP packages. You can see which packages are available with the command:
$ bitbake -s
If there is one package available, you can install it by adding it on the conf/local.conf or on the image recipe.
Another alternative would be adding an existing Yocto layer that contains the desired driver or writing a new recipe that adds it. You can see a bit more on how to do this on the Yocto BSP Guide
https://www.yoctoproject.org/docs/2.6/bsp-guide/bsp-guide.html
I hope this helps!
Regards,
Hi gusarambula,
I have seen all packages by using $bitbake -s command.
Here i am attaching the few packages which is part of Yocto BSP packages
.............................................
source-han-sans-tw-fonts :1.004-r0
source-highlight :3.1.8-r0
source-highlight-native :3.1.8-r0
speex :1.2.0-r0
speexdsp :1.2rc3-r0
spitools :git-r0
sqlite :2.8.17-r7
sqlite-native :2.8.17-r7
................................................
...............................................
I thought spitools package is missing, so how do i add the package which contains the SPI driver.
Regards,
Srinivasa Reddy