<?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>9270</bug_id>
          
          <creation_ts>2016-03-15 21:18:00 +0000</creation_ts>
          <short_desc>devtool modify on the kernel fails to build</short_desc>
          <delta_ts>2016-05-10 10:09:55 +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>devtools / tool chain</component>
          <version>2.1</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>VERIFIED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium+</priority>
          <bug_severity>major</bug_severity>
          <target_milestone>2.1 M4</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Paul Eggleton">bluelightning</reporter>
          <assigned_to name="Markus Lehtonen">markus.lehtonen</assigned_to>
          <cc>bogdanx.a.voiculescu</cc>
    
    <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</cc>
          
          <qa_contact name="Bogdan Alexandru Voiculescu">bogdanx.a.voiculescu</qa_contact>
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>No (bug/feature does not impact docs)</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>59989</commentid>
    <comment_count>0</comment_count>
    <who name="Paul Eggleton">bluelightning</who>
    <bug_when>2016-03-15 21:18:00 +0000</bug_when>
    <thetext>If you run devtool modify virtual/kernel followed by bitbake virtual/kernel, do_compile fails with the following error:

----- snip -----
|   Using /home/paul/poky/poky/build/workspace/sources/linux-yocto as source for kernel
|   /home/paul/poky/poky/build/workspace/sources/linux-yocto is not clean, please run &apos;make mrproper&apos;
|   in the &apos;/home/paul/poky/poky/build/workspace/sources/linux-yocto&apos; directory.
| /home/paul/poky/poky/build/workspace/sources/linux-yocto/Makefile:968: recipe for target &apos;prepare3&apos; failed
----- snip -----</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>60008</commentid>
    <comment_count>1</comment_count>
    <who name="Markus Lehtonen">markus.lehtonen</who>
    <bug_when>2016-03-16 12:42:15 +0000</bug_when>
    <thetext>Ugh, the .config in srctree is breaking the build. I&apos;ll send a patch to fix this.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>60018</commentid>
    <comment_count>2</comment_count>
    <who name="Markus Lehtonen">markus.lehtonen</who>
    <bug_when>2016-03-16 15:56:34 +0000</bug_when>
    <thetext>Patch sent for review:
http://lists.openembedded.org/pipermail/openembedded-core/2016-March/119084.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>60205</commentid>
    <comment_count>3</comment_count>
    <who name="Markus Lehtonen">markus.lehtonen</who>
    <bug_when>2016-03-21 13:17:53 +0000</bug_when>
    <thetext>Fixed in
http://git.openembedded.org/openembedded-core/commit/?id=d36699b28c661880957d744420df9e23cdd76957</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>62068</commentid>
    <comment_count>4</comment_count>
    <who name="Bogdan Alexandru Voiculescu">bogdanx.a.voiculescu</who>
    <bug_when>2016-05-10 10:09:55 +0000</bug_when>
    <thetext>Verified on master 
&quot;master:f7b520878babbaa7527151f22c031ae160512753&quot;

devtool modify virtual/kernel
NOTE: Creating workspace layer in /.............../build/workspace
NOTE: Enabling workspace layer in bblayers.conf
Parsing recipes..done.
NOTE: Mapping virtual/kernel to linux-yocto
Parsing recipes..done.
NOTE: Fetching linux-yocto...
NOTE: Unpacking...
NOTE: Doing kernel checkout...
Already on &apos;standard/base&apos;
Your branch is up-to-date with &apos;origin/standard/base&apos;.
NOTE: Patching...
NOTE: Executing do_validate_branches...
NOTE: Executing do_kernel_metadata...
[INFO] validating against known patches  (qemux86-standard-meta)
   mark --&gt; common-pc-standard.scc
   mark --&gt; standard.scc
   mark --&gt; base.scc
   mark &lt;-- base.scc
      branch ===&gt; standard/base (reuse)
   mark --&gt; kgdb.scc
   mark &lt;-- kgdb.scc
   mark --&gt; firmware.scc
   mark &lt;-- firmware.scc
   mark --&gt; lttng.scc
   mark &lt;-- lttng.scc
   mark --&gt; blktrace.scc
   mark &lt;-- blktrace.scc
   mark --&gt; systemtap.scc
   mark --&gt; kprobes.scc
   mark &lt;-- kprobes.scc
   mark --&gt; uprobe-enable.scc
   mark &lt;-- uprobe-enable.scc
   mark &lt;-- systemtap.scc
   mark --&gt; utrace.scc
   mark &lt;-- utrace.scc
   mark --&gt; seccomp.scc
   mark &lt;-- seccomp.scc
   mark --&gt; arm.scc
   mark --&gt; v7-A15.scc
   mark &lt;-- v7-A15.scc
   mark &lt;-- arm.scc
   mark --&gt; mips.scc
   mark &lt;-- mips.scc
   mark --&gt; powerpc.scc
   mark &lt;-- powerpc.scc
   mark --&gt; x86.scc
   mark &lt;-- x86.scc
   mark --&gt; hrt.scc
   mark &lt;-- hrt.scc
   mark --&gt; ftrace.scc
   mark &lt;-- ftrace.scc
   mark --&gt; uprobe.scc
   mark --&gt; uprobe-enable.scc
   mark &lt;-- uprobe-enable.scc
   mark &lt;-- uprobe.scc
   mark --&gt; kprobes.scc
   mark &lt;-- kprobes.scc
   mark --&gt; patches.scc
   mark --&gt; drivers.scc
   mark &lt;-- drivers.scc
   mark --&gt; build.scc
   mark &lt;-- build.scc
   mark --&gt; exports.scc
   mark &lt;-- exports.scc
   mark --&gt; boot.scc
   mark &lt;-- boot.scc
   mark --&gt; net.scc
   mark &lt;-- net.scc
   mark --&gt; debug.scc
   mark &lt;-- debug.scc
   mark --&gt; misc.scc
   mark &lt;-- misc.scc
   mark &lt;-- patches.scc
   mark --&gt; initramfs.scc
   mark &lt;-- initramfs.scc
   mark --&gt; yaffs2.scc
   mark &lt;-- yaffs2.scc
   mark --&gt; aufs.scc
   mark &lt;-- aufs.scc
   mark --&gt; tmpfs-posix-acl.scc
   mark &lt;-- tmpfs-posix-acl.scc
   mark --&gt; cgroups.scc
   mark --&gt; namespaces.scc
   mark &lt;-- namespaces.scc
   mark &lt;-- cgroups.scc
   mark --&gt; net_sched.scc
   mark &lt;-- net_sched.scc
   mark --&gt; kexec.scc
   mark &lt;-- kexec.scc
   mark --&gt; cryptodev.scc
   mark &lt;-- cryptodev.scc
   mark --&gt; vfat.scc
   mark &lt;-- vfat.scc
   mark --&gt; kvm.scc
   mark &lt;-- kvm.scc
   mark --&gt; tipc.scc
   mark &lt;-- tipc.scc
   mark --&gt; xip.scc
   mark &lt;-- xip.scc
   mark --&gt; oprofile.scc
   mark &lt;-- oprofile.scc
   mark --&gt; ramconsole.scc
   mark &lt;-- ramconsole.scc
   mark --&gt; vdso.scc
   mark &lt;-- vdso.scc
   mark --&gt; fuse.scc
   mark &lt;-- fuse.scc
   mark --&gt; 8250.scc
   mark &lt;-- 8250.scc
   mark --&gt; uptime.scc
   mark &lt;-- uptime.scc
   mark --&gt; ktest.scc
   mark &lt;-- ktest.scc
   mark --&gt; perf.scc
   mark &lt;-- perf.scc
   mark --&gt; input.scc
   mark &lt;-- input.scc
   mark --&gt; bfq.scc
   mark &lt;-- bfq.scc
   mark --&gt; backports.scc
   mark &lt;-- backports.scc
   mark --&gt; devtmpfs.scc
   mark &lt;-- devtmpfs.scc
   mark --&gt; debugfs.scc
   mark &lt;-- debugfs.scc
   mark --&gt; btrfs.scc
   mark &lt;-- btrfs.scc
   mark --&gt; ext4.scc
   mark &lt;-- ext4.scc
   mark --&gt; ipsec.scc
   mark &lt;-- ipsec.scc
   mark --&gt; ipv6.scc
   mark --&gt; ipsec6.scc
   mark --&gt; ipsec.scc
   mark &lt;-- ipsec.scc
   mark &lt;-- ipsec6.scc
   mark &lt;-- ipv6.scc
   mark --&gt; ip_nf.scc
   mark &lt;-- ip_nf.scc
   mark --&gt; ip6_nf.scc
   mark &lt;-- ip6_nf.scc
   mark --&gt; bridge.scc
   mark &lt;-- bridge.scc
   mark --&gt; systemd.scc
   mark &lt;-- systemd.scc
   mark --&gt; rfkill.scc
   mark &lt;-- rfkill.scc
   mark &lt;-- standard.scc
   mark --&gt; common-pc.scc
   mark --&gt; efi-ext.scc
   mark &lt;-- efi-ext.scc
   mark --&gt; x86.scc
   mark --&gt; x86_base.scc
   mark --&gt; efi.scc
   mark &lt;-- efi.scc
   mark --&gt; hpet.scc
   mark &lt;-- hpet.scc
   mark --&gt; no_hz.scc
   mark &lt;-- no_hz.scc
   mark &lt;-- x86_base.scc
   mark --&gt; smp.scc
   mark &lt;-- smp.scc
   mark --&gt; hz_1000.scc
   mark &lt;-- hz_1000.scc
   mark &lt;-- x86.scc
   mark --&gt; amd.scc
   mark &lt;-- amd.scc
   mark --&gt; intel.scc
   mark &lt;-- intel.scc
   mark --&gt; pci.scc
   mark &lt;-- pci.scc
   mark --&gt; ehci-hcd.scc
   mark --&gt; usb-base.scc
   mark &lt;-- usb-base.scc
   mark &lt;-- ehci-hcd.scc
   mark --&gt; uhci-hcd.scc
   mark --&gt; usb-base.scc
   mark &lt;-- usb-base.scc
   mark &lt;-- uhci-hcd.scc
   mark --&gt; ohci-hcd.scc
   mark --&gt; usb-base.scc
   mark &lt;-- usb-base.scc
   mark &lt;-- ohci-hcd.scc
   mark --&gt; xhci-hcd.scc
   mark --&gt; usb-base.scc
   mark &lt;-- usb-base.scc
   mark &lt;-- xhci-hcd.scc
   mark --&gt; touchscreen-composite.scc
   mark --&gt; usb-base.scc
   mark &lt;-- usb-base.scc
   mark --&gt; touchscreen.scc
   mark &lt;-- touchscreen.scc
   mark &lt;-- touchscreen-composite.scc
   mark --&gt; intel-e100.scc
   mark &lt;-- intel-e100.scc
   mark --&gt; intel-e1xxxx.scc
   mark &lt;-- intel-e1xxxx.scc
   mark --&gt; iwlwifi.scc
   mark --&gt; mac80211.scc
   mark &lt;-- mac80211.scc
   mark &lt;-- iwlwifi.scc
   mark --&gt; iwlegacy.scc
   mark --&gt; mac80211.scc
   mark &lt;-- mac80211.scc
   mark &lt;-- iwlegacy.scc
   mark --&gt; i915.scc
   mark &lt;-- i915.scc
   mark --&gt; drm-gma500.scc
   mark &lt;-- drm-gma500.scc
   mark --&gt; bluetooth.scc
   mark &lt;-- bluetooth.scc
   mark &lt;-- common-pc.scc
   mark --&gt; boot-live.scc
   mark &lt;-- boot-live.scc
   mark --&gt; usb-mass-storage.scc
   mark --&gt; disk.scc
   mark --&gt; scsi.scc
   mark &lt;-- scsi.scc
   mark &lt;-- disk.scc
   mark &lt;-- usb-mass-storage.scc
   mark --&gt; virtio.scc
   mark &lt;-- virtio.scc
   mark --&gt; media-usb-webcams.scc
   mark --&gt; usb-base.cfg
   mark &lt;-- usb-base.cfg
   mark --&gt; media.scc
   mark &lt;-- media.scc
   mark &lt;-- media-usb-webcams.scc
   mark --&gt; snd_hda_intel.scc
   mark &lt;-- snd_hda_intel.scc
   mark &lt;-- common-pc-standard.scc
   mark --&gt; patch_marker.scc
   mark &lt;-- patch_marker.scc
   mark --&gt; nfsd-enable.scc
   mark &lt;-- nfsd-enable.scc
   mark --&gt; netfilter.scc
   mark &lt;-- netfilter.scc
   mark --&gt; virtio.scc
   mark &lt;-- virtio.scc
   mark --&gt; sound.scc
   mark &lt;-- sound.scc
   mark --&gt; paravirt_kvm.scc
   mark &lt;-- paravirt_kvm.scc

&lt;=== processed .kernel-meta/cfg/scratch/qemux86-standard-meta in 9 seconds
NOTE: Generating kernel config
NOTE: Executing do_kernel_configme...
[INFO] Configuring target/machine combo: &quot;standard/qemux86&quot;
[INFO] Pre-processed cfg file qemux86-standard-config created.
[INFO] processing of raw cfg data completed.

********************************************************************************
  Configuration stored in /tmp/devtoolu5KTcO/workdir/linux-qemux86-standard-build/.config
********************************************************************************

  To build with this kernel configuration, ensure a suitable toolchain
  is in your path for i386, note its common command prefix, and do:

   make O=/tmp/devtoolu5KTcO/workdir/linux-qemux86-standard-build ARCH=i386 \
        CROSS_COMPILE=&lt;cross-compile-prefix&gt;

make: Entering directory `/tmp/devtoolu5KTcO/workdir/source&apos;
make[1]: Entering directory `/tmp/devtoolu5KTcO/workdir/linux-qemux86-standard-build&apos;
  GEN     ./Makefile
scripts/kconfig/conf  --olddefconfig Kconfig
.config:4317:warning: override: reassigning to symbol LOCALVERSION
#
# configuration written to .config
#
make[1]: Leaving directory `/tmp/devtoolu5KTcO/workdir/linux-qemux86-standard-build&apos;
make: Leaving directory `/tmp/devtoolu5KTcO/workdir/source&apos;
NOTE: Copying kernel config to srctree
NOTE: Source tree extracted to /................/build/workspace/sources/linux-yocto
NOTE: Recipe linux-yocto now set up to build from /........../build/workspace/sources/linux-yocto
$ bitbake virtual/kernel
Loading cache: 100% |############################################################################################################################################################| ETA:  00:00:00
Loaded 1302 entries from dependency cache.
Parsing recipes: 100% |##########################################################################################################################################################| Time: 00:00:01
Parsing of 871 .bb files complete (870 cached, 1 parsed). 1301 targets, 47 skipped, 0 masked, 0 errors.
NOTE: There are 1 recipes to be removed from sysroot qemux86, removing...
NOTE: Resolving any missing task queue dependencies

Build Configuration:
BB_VERSION        = &quot;1.31.0&quot;
BUILD_SYS         = &quot;x86_64-linux&quot;
NATIVELSBSTRING   = &quot;universal&quot;
TARGET_SYS        = &quot;i586-poky-linux&quot;
MACHINE           = &quot;qemux86&quot;
DISTRO            = &quot;poky&quot;
DISTRO_VERSION    = &quot;2.1+snapshot-20160510&quot;
TUNE_FEATURES     = &quot;m32 i586&quot;
TARGET_FPU        = &quot;&quot;
meta
meta-poky
meta-yocto-bsp    = &quot;master:f7b520878babbaa7527151f22c031ae160512753&quot;
workspace         = &quot;&lt;unknown&gt;:&lt;unknown&gt;&quot;

NOTE: Preparing RunQueue
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
linux-yocto-4.4.3+git999-r0 do_compile: NOTE: linux-yocto: compiling from external source tree ................./build/workspace/sources/linux-yocto
NOTE: Tasks Summary: Attempted 377 tasks of which 357 didn&apos;t need to be rerun and all succeeded.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>