<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugzilla.yoctoproject.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugzilla.yoctoproject.org/"
          
          maintainer="it-coreprojects-helpdesk@linuxfoundation.org"
>

    <bug>
          <bug_id>7845</bug_id>
          
          <creation_ts>2015-06-03 23:16:48 +0000</creation_ts>
          <short_desc>bitbake fsl-image-qt5 build error for board VAR-SOM-MX6</short_desc>
          <delta_ts>2015-08-28 12:59:47 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>7</classification_id>
          <classification>Build System, Metadata &amp; Runtime</classification>
          <product>BitBake</product>
          <component>bitbake</component>
          <version>unspecified</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>VERIFIED</bug_status>
          <resolution>INVALID</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>1.9 M2</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Radek Pesina">radek.pesina</reporter>
          <assigned_to name="Robert Yang">liezhi.yang</assigned_to>
          <cc>bogdanx.a.voiculescu</cc>
    
    <cc>poky.bs.watcher</cc>
    
    <cc>poky.watcher</cc>
    
    <cc>radek.pesina</cc>
          
          <qa_contact name="Bogdan Alexandru Voiculescu">bogdanx.a.voiculescu</qa_contact>
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>Don&apos;t know</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>51491</commentid>
    <comment_count>0</comment_count>
    <who name="Radek Pesina">radek.pesina</who>
    <bug_when>2015-06-03 23:16:48 +0000</bug_when>
    <thetext>Hi,

I&apos;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 &quot;Debian-8.0&quot; 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        = &quot;1.22.0&quot;
BUILD_SYS         = &quot;x86_64-linux&quot;
NATIVELSBSTRING   = &quot;Debian-8.0&quot;
TARGET_SYS        = &quot;arm-poky-linux-gnueabi&quot;
MACHINE           = &quot;varsomimx6&quot;
DISTRO            = &quot;poky&quot;
DISTRO_VERSION    = &quot;1.6.2&quot;
TUNE_FEATURES     = &quot;armv7a vfp neon callconvention-hard cortexa9&quot;
TARGET_FPU        = &quot;vfp-neon&quot;
meta              
meta-yocto        = &quot;(nobranch):30b8d9378b8260e452552b806610dc9b6fe0b69f&quot;
meta-oe           = &quot;(nobranch):8065dd8456913457a0114ddb2b4bd4842847b2a3&quot;
meta-fsl-arm      = &quot;(nobranch):9bc540eec9a7e280af13371ea70650fcc47ea627&quot;
meta-fsl-arm-extra = &quot;(nobranch):e1085deb3d915d2a95a65cceadc77c6de0dadfb6&quot;
meta-fsl-demos    = &quot;(nobranch):f141c7d1158b8addbd6f1ed047a1b47c2ed85f8f&quot;
meta-fsl-arm      
meta-fsl-demos    = &quot;(nobranch):0c5367e963b5f7797ded59f835313466b896d7e9&quot;
meta-browser      = &quot;(nobranch):63963cc56c8d0291779693e62b66cb16e5c86883&quot;
meta-gnome        
meta-networking   
meta-ruby         = &quot;(nobranch):8065dd8456913457a0114ddb2b4bd4842847b2a3&quot;
meta-qt5          = &quot;(nobranch):c29c317e0f22202bfaa85329a580564bbc179089&quot;
meta-fsl-qt5      
meta-fsl-bluez    = &quot;(nobranch):0c5367e963b5f7797ded59f835313466b896d7e9&quot;
meta-variscite    = &quot;&lt;unknown&gt;:&lt;unknown&gt;&quot;

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 &apos;1&apos;
NOTE: Tasks Summary: Attempted 1491 tasks of which 1490 didn&apos;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 = &quot;file://LICENSE;md5=07c4f6dea3845b02a18dc00c8c87699c&quot;
 
 DEPENDS = &quot;python-m2crypto-native python-native libgcrypt libnl&quot;
 
-SRC_URI = &quot;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 = &quot;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 \
+#&quot;
+SRC_URI = &quot;http://www.kernel.org/pub/software/network/crda/${BP}.tar.bz2;name=crda \
+           http://distfiles.lesslinux.org/2013.01.11-regulatory.bin;name=bin \
 &quot;
+
 SRC_URI[crda.md5sum] = &quot;29579185e06a75675507527243d28e5c&quot;
 SRC_URI[crda.sha256sum] = &quot;aa8a7fe92f0765986c421a5b6768a185375ac210393df0605ee132f6754825f0&quot;
 SRC_URI[bin.md5sum] = &quot;e0c8a5ca63fb8bf803213f9a0c90b50b&quot;


Thanks in advance,
Radek.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>51864</commentid>
    <comment_count>1</comment_count>
    <who name="Robert Yang">liezhi.yang</who>
    <bug_when>2015-06-23 01:48:01 +0000</bug_when>
    <thetext>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 &amp;&amp; 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</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>53528</commentid>
    <comment_count>2</comment_count>
    <who name="Bogdan Alexandru Voiculescu">bogdanx.a.voiculescu</who>
    <bug_when>2015-08-28 12:18:15 +0000</bug_when>
    <thetext>invalid; sdl package to be installed</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>