<?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>7088</bug_id>
          
          <creation_ts>2014-12-18 14:31:22 +0000</creation_ts>
          <short_desc>core-image-rt build failure</short_desc>
          <delta_ts>2014-12-18 15:06:20 +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>OE-Core</product>
          <component>core</component>
          <version>1.7</version>
          <rep_platform>x86</rep_platform>
          <op_sys>x86</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>NOTABUG</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Undecided</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Maxin B. John (inactive)">maxin.baby.john</reporter>
          <assigned_to name="Saul Wold">sgw</assigned_to>
          <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</cc>
          
          
          <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>47613</commentid>
    <comment_count>0</comment_count>
    <who name="Maxin B. John (inactive)">maxin.baby.john</who>
    <bug_when>2014-12-18 14:31:22 +0000</bug_when>
    <thetext>Observed this build failure with the master branch (also in dizzy):

# git clone git://git.yoctoproject.org/poky
# cd poky
# source oe-init-build-env
# bitbake core-image-rt

NOTE: Resolving any missing task queue dependencies

Build Configuration:
BB_VERSION        = &quot;1.25.0&quot;
BUILD_SYS         = &quot;x86_64-linux&quot;
NATIVELSBSTRING   = &quot;Ubuntu-14.04&quot;
TARGET_SYS        = &quot;i586-poky-linux&quot;
MACHINE           = &quot;qemux86&quot;
DISTRO            = &quot;poky&quot;
DISTRO_VERSION    = &quot;1.7&quot;
TUNE_FEATURES     = &quot;m32 i586&quot;
TARGET_FPU        = &quot;&quot;
meta              
meta-yocto        
meta-yocto-bsp    = &quot;master:0a791e91e55d30b328ddbd90fdb0d5911c388b96&quot;

NOTE: Preparing RunQueue
ERROR: Multiple .bb files are due to be built which each provide virtual/kernel (/media/poky/meta/recipes-kernel/linux/linux-yocto_3.14.bb /media/poky/meta/recipes-kernel/linux/linux-yocto-rt_3.14.bb).
 This usually means one provides something the other doesn&apos;t and should.
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
WARNING: Failed to fetch URL ftp://ftp.debian.org/debian/pool/main/b/base-passwd/base-passwd_3.5.29.tar.gz, attempting MIRRORS if available
WARNING: Failed to fetch URL http://downloads.sourceforge.net/project/libpng/libpng16/1.6.13/libpng-1.6.13.tar.xz, attempting MIRRORS if available
WARNING: Failed to fetch URL http://ftp.de.debian.org/debian/pool/main/m/mklibs/mklibs_0.1.39.tar.xz, attempting MIRRORS if available
WARNING: Failed to fetch URL ftp://ftp.debian.org/debian/pool/main/d/dpkg/dpkg_1.17.4.tar.xz, attempting MIRRORS if available
Currently 11 running tasks (1102 of 2108):
0: glibc-2.20-r0 do_fetch (pid 53748)
1: glibc-initial-2.20-r0 do_fetch (pid 53747)
2: linux-yocto-3.14.19+gitAUTOINC+fb6271a942_e19a1b40de-r0 do_fetch (pid 55095)
3: linux-yocto-rt-3.14.19+gitAUTOINC+fb6271a942_0a875ce52a-r0 do_fetch (pid 55237)

....
....

4: cross-localedef /media/data/fb/majo/master/poky/build/tmp/sysroots/qemux86/usr/src/kernel/sound/pcmcia/vx/Makefile
 Matched in manifest-qemux86-linux-yocto-rt.populate_sysroot
 /media/data/fb/majo/master/poky/build/tmp/sysroots/qemux86/usr/src/kernel/sound/pcmcia/vx/vxpocket.h
 Matched in manifest-qemux86-linux-yocto-rt.populate_sysroot
 /media/data/fb/majo/master/poky/build/tmp/sysroots/qemux86/sysroot-providers/virtual_kernel
 Matched in manifest-qemux86-linux-yocto-rt.populate_sysroot
Please verify which recipe should provide the above files.
The build has stopped as continuing in this scenario WILL break things, if not now, possibly in the future (we&apos;ve seen builds fail several months later). If the system knew how to recover from this automatically it would however there are several different scenarios which can result in this and we don&apos;t know which one this is. It may be you have switched providers of something like virtual/kernel (e.g. from linux-yocto to linux-yocto-dev), in that case you need to execute the clean task for both recipes and it will resolve this error. It may be you changed DISTRO_FEATURES from systemd to udev or vice versa. Cleaning those recipes should again resolve this error however switching DISTRO_FEATURES on an existing build directory is not supported, you should really clean out tmp and rebuild (reusing sstate should be safe). It could be the overlapping files detected are harmless in which case adding them to SSTATE_DUPWHITELIST may be the correct solution. It could also be your build is including two different conflicting versions of things (e.g. bluez 4 and bluez 5 and the correct solution for that would be to resolve the conflict. If in doubt, please ask on the mailing list, sharing the error and filelist above.
ERROR: If the above message is too much, the simpler version is you&apos;re advised to wipe out tmp and rebuild (reusing sstate is fine). That will likely fix things in most (but not all) cases.
ERROR: Function failed: sstate_task_postfunc
ERROR: Logfile of failure stored in: /media/poky/build/tmp/work/qemux86-poky-linux/linux-yocto/3.14.19+gitAUTOINC+fb6271a942_e19a1b40de-r0/temp/log.do_populate_sysroot.9948
ERROR: Task 74 (/media/poky/meta/recipes-kernel/linux/linux-yocto_3.14.bb, do_populate_sysroot) failed with exit code &apos;1&apos;
NOTE: Tasks Summary: Attempted 2046 tasks of which 8 didn&apos;t need to be rerun and 2 failed.
Waiting for 0 running tasks to finish:

Summary: 2 tasks failed:
  /media/poky/meta/recipes-kernel/linux/linux-yocto_3.14.bb, do_packagedata
  /media/poky/meta/recipes-kernel/linux/linux-yocto_3.14.bb, do_populate_sysroot
Summary: There were 4 WARNING messages shown.
Summary: There were 7 ERROR messages shown, returning a non-zero exit code.
-native-2.20-r0 do_fetch (pid 56256)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>47614</commentid>
    <comment_count>1</comment_count>
    <who name="Maxin B. John (inactive)">maxin.baby.john</who>
    <bug_when>2014-12-18 15:06:20 +0000</bug_when>
    <thetext>Sorry for jumping the gun. Adding 
PREFERRED_PROVIDER_virtual/kernel = &quot;linux-yocto-rt
in local.conf fixed it.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>