Bug 7845 - bitbake fsl-image-qt5 build error for board VAR-SOM-MX6
Summary: bitbake fsl-image-qt5 build error for board VAR-SOM-MX6
Status: VERIFIED INVALID
Alias: None
Product: BitBake
Classification: Build System, Metadata & Runtime
Component: bitbake (show other bugs)
Version: unspecified
Hardware: x86 Multiple
: Medium normal
Target Milestone: 1.9 M2
Assignee: Robert Yang
QA Contact: Bogdan Alexandru Voiculescu
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2015-06-03 23:16 UTC by Radek Pesina
Modified: 2015-08-28 12:59 UTC (History)
4 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: Don't know


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Radek Pesina 2015-06-03 23:16:48 UTC
Hi,

I'm still learning my way around yocoto, but currently I am getting the following build error when comiling VAR-SOM-MX6 - Yocto fsl-L3.10.53-1.1.0 Daisy R7.

----------------------------------------------------------------------------

radek@debianradek:~/var-som-mx6-daisy-v7/build_fb$ time bitbake fsl-image-qt5 
WARNING: Host distribution "Debian-8.0" has not been validated with this version of the build system; you may possibly experience unexpected failures. It is recommended that you use a tested distribution.
Loading cache: 100% |###########################################| ETA:  00:00:00
Loaded 2199 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 runtime libgl-mesa-dev (mesa, mesa-gl)
NOTE: consider defining a PREFERRED_PROVIDER entry to match libgl-mesa-dev
NOTE: multiple providers are available for runtime libglapi (mesa, mesa-gl)
NOTE: consider defining a PREFERRED_PROVIDER entry to match libglapi

Build Configuration:
BB_VERSION        = "1.22.0"
BUILD_SYS         = "x86_64-linux"
NATIVELSBSTRING   = "Debian-8.0"
TARGET_SYS        = "arm-poky-linux-gnueabi"
MACHINE           = "varsomimx6"
DISTRO            = "poky"
DISTRO_VERSION    = "1.6.2"
TUNE_FEATURES     = "armv7a vfp neon callconvention-hard cortexa9"
TARGET_FPU        = "vfp-neon"
meta              
meta-yocto        = "(nobranch):30b8d9378b8260e452552b806610dc9b6fe0b69f"
meta-oe           = "(nobranch):8065dd8456913457a0114ddb2b4bd4842847b2a3"
meta-fsl-arm      = "(nobranch):9bc540eec9a7e280af13371ea70650fcc47ea627"
meta-fsl-arm-extra = "(nobranch):e1085deb3d915d2a95a65cceadc77c6de0dadfb6"
meta-fsl-demos    = "(nobranch):f141c7d1158b8addbd6f1ed047a1b47c2ed85f8f"
meta-fsl-arm      
meta-fsl-demos    = "(nobranch):0c5367e963b5f7797ded59f835313466b896d7e9"
meta-browser      = "(nobranch):63963cc56c8d0291779693e62b66cb16e5c86883"
meta-gnome        
meta-networking   
meta-ruby         = "(nobranch):8065dd8456913457a0114ddb2b4bd4842847b2a3"
meta-qt5          = "(nobranch):c29c317e0f22202bfaa85329a580564bbc179089"
meta-fsl-qt5      
meta-fsl-bluez    = "(nobranch):0c5367e963b5f7797ded59f835313466b896d7e9"
meta-variscite    = "<unknown>:<unknown>"

NOTE: Preparing runqueue
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
ERROR: Function failed: do_configure (log file is located at /home/radek/var-som-mx6-daisy-v7/build_fb/tmp/work/x86_64-linux/qemu-native/1.7.0-r0/temp/log.do_configure.1150)
ERROR: Logfile of failure stored in: /home/radek/var-som-mx6-daisy-v7/build_fb/tmp/work/x86_64-linux/qemu-native/1.7.0-r0/temp/log.do_configure.1150
Log data follows:
| DEBUG: Executing python function sysroot_cleansstate
| DEBUG: Python function sysroot_cleansstate finished
| DEBUG: Executing shell function autotools_preconfigure
| DEBUG: Shell function autotools_preconfigure finished
| DEBUG: Executing python function autotools_copy_aclocals
| DEBUG: Python function autotools_copy_aclocals finished
| DEBUG: Executing shell function do_configure
| 
| ERROR: User requested feature sdl
|        configure was not able to find it
| 
| WARNING: exit code 1 from a shell command.
| ERROR: Function failed: do_configure (log file is located at /home/radek/var-som-mx6-daisy-v7/build_fb/tmp/work/x86_64-linux/qemu-native/1.7.0-r0/temp/log.do_configure.1150)
ERROR: Task 4213 (virtual:native:/home/radek/var-som-mx6-daisy-v7/sources/poky/meta/recipes-devtools/qemu/qemu_1.7.0.bb, do_configure) failed with exit code '1'
NOTE: Tasks Summary: Attempted 1491 tasks of which 1490 didn't need to be rerun and 1 failed.
No currently running tasks (1490 of 4443)

Summary: 1 task failed:
  virtual:native:/home/radek/var-som-mx6-daisy-v7/sources/poky/meta/recipes-devtools/qemu/qemu_1.7.0.bb, do_configure
Summary: There was 1 WARNING message shown.
Summary: There was 1 ERROR message shown, returning a non-zero exit code.

real	0m13.150s
user	0m10.820s
sys	0m0.720s


----------------------------------------------------------------------------

Any help would be greatly appreciated!





Also, during actual installation (following the instructions on http://variwiki.com/index.php?title=VAR-SOM-MX6_Yocto_GS_R7), when I perform the following steps I get a fail on one of the patchset hunks:


$ cd ~/var-som-mx6-daisy-v7
$ tar xvf ~/Downloads/var_yocto_v7-4.tar.bz2
$ variscite/install

...

----------------------------------------------------------------------------

1 out of 1 hunk FAILED -- saving rejects to file meta-networking/recipes-connectivity/crda/crda_1.1.3.bb.rej

$ cat ./sources/meta-opeetworking/recipes-connectivity/crda/crda_1.1.3.bb.rej 
--- meta-networking/recipes-connectivity/crda/crda_1.1.3.bb
+++ meta-networking/recipes-connectivity/crda/crda_1.1.3.bb
@@ -7,9 +7,13 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=07c4f6dea3845b02a18dc00c8c87699c"
 
 DEPENDS = "python-m2crypto-native python-native libgcrypt libnl"
 
-SRC_URI = "http://wireless.kernel.org/download/crda/${BP}.tar.bz2;name=crda \
-           http://wireless.kernel.org/download/wireless-regdb/regulatory.bins/2013.01.11-regulatory.bin;name=bin \
+#SRC_URI = "http://wireless.kernel.org/download/crda/${BP}.tar.bz2;name=crda \
+#           http://wireless.kernel.org/download/wireless-regdb/regulatory.bins/2013.01.11-regulatory.bin;name=bin \
+#"
+SRC_URI = "http://www.kernel.org/pub/software/network/crda/${BP}.tar.bz2;name=crda \
+           http://distfiles.lesslinux.org/2013.01.11-regulatory.bin;name=bin \
 "
+
 SRC_URI[crda.md5sum] = "29579185e06a75675507527243d28e5c"
 SRC_URI[crda.sha256sum] = "aa8a7fe92f0765986c421a5b6768a185375ac210393df0605ee132f6754825f0"
 SRC_URI[bin.md5sum] = "e0c8a5ca63fb8bf803213f9a0c90b50b"


Thanks in advance,
Radek.
Comment 1 Robert Yang 2015-06-23 01:48:01 UTC
The error message is:

| ERROR: User requested feature sdl
|        configure was not able to find it

You can try to install the sdl-dev or sdl-devel on the host, and build again, or
bitbake qemu-naive -ccleansstate && bitbake qemu-naive to build again, or build a  fresh project.

For the do_patch error of crda_1.1.3.bb, it is not in yocto, you can check it here:

git clone git://git.openembedded.org/meta-openembedded

It is crda_3.13.bb on the master branch, maybe you need checkout to another branch.

// Robert
Comment 2 Bogdan Alexandru Voiculescu 2015-08-28 12:18:15 UTC
invalid; sdl package to be installed