<?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>7121</bug_id>
          
          <creation_ts>2015-01-07 17:30:05 +0000</creation_ts>
          <short_desc>Rebuild failure &quot;| make[1]: *** No rule to make target `clean&apos;.  Stop.&quot;</short_desc>
          <delta_ts>2015-01-20 16:09:11 +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>kernel</component>
          <version>1.7</version>
          <rep_platform>All</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>1.8</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Ross Burton">ross.burton</reporter>
          <assigned_to name="Bruce Ashfield">bruce.ashfield</assigned_to>
          <cc>bruce.ashfield</cc>
    
    <cc>tom.zanussi</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>Regression (Used to work)</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>47769</commentid>
    <comment_count>0</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2015-01-07 17:30:05 +0000</bug_when>
    <thetext>Doing a rebuild with master is currently resulting in these failures:

ERROR: Function failed: do_configure (log file is located at /data/poky-master/tmp/work/nuc-poky-linux/lttng-modules/2.5.2-r0/temp/log.do_configure.9043)
ERROR: Logfile of failure stored in: /data/poky-master/tmp/work/nuc-poky-linux/lttng-modules/2.5.2-r0/temp/log.do_configure.9043
Log data follows:
| DEBUG: Executing python function sysroot_cleansstate
| DEBUG: Python function sysroot_cleansstate finished
| DEBUG: Executing shell function do_configure
| make -C /data/poky-master/tmp/sysroots/nuc/usr/src/kernel M=/data/poky-master/tmp/work/nuc-poky-linux/lttng-modules/2.5.2-r0/git clean
| make[1]: Entering directory `/data/poky-master/tmp/sysroots/nuc/usr/src/kernel&apos;
| make[1]: *** No rule to make target `clean&apos;.  Stop.
| make[1]: Leaving directory `/data/poky-master/tmp/sysroots/nuc/usr/src/kernel&apos;
| make: *** [clean] Error 2
| WARNING: exit code 2 from a shell command.
| ERROR: Function failed: do_configure (log file is located at /data/poky-master/tmp/work/nuc-poky-linux/lttng-modules/2.5.2-r0/temp/log.do_configure.9043)
ERROR: Task 323 (/home/ross/Yocto/poky/meta/recipes-kernel/lttng/lttng-modules_2.5.2.bb, do_configure) failed with exit code &apos;1&apos;
ERROR: Function failed: do_make_scripts (log file is located at /data/poky-master/tmp/work/nuc-poky-linux/lttng-modules/2.5.2-r0/temp/log.do_make_scripts.9042)
ERROR: Logfile of failure stored in: /data/poky-master/tmp/work/nuc-poky-linux/lttng-modules/2.5.2-r0/temp/log.do_make_scripts.9042
Log data follows:
| DEBUG: Executing shell function do_make_scripts
| make: Entering directory `/data/poky-master/tmp/sysroots/nuc/usr/src/kernel&apos;
| make: *** No rule to make target `scripts&apos;.  Stop.
| make: Leaving directory `/data/poky-master/tmp/sysroots/nuc/usr/src/kernel&apos;
| WARNING: exit code 2 from a shell command.
| ERROR: Function failed: do_make_scripts (log file is located at /data/poky-master/tmp/work/nuc-poky-linux/lttng-modules/2.5.2-r0/temp/log.do_make_scripts.9042)
ERROR: Task 324 (/home/ross/Yocto/poky/meta/recipes-kernel/lttng/lttng-modules_2.5.2.bb, do_make_scripts) failed with exit code &apos;1&apos;

$ ls -l /data/poky-master/tmp/sysroots/nuc/usr/src/kernel
total 3972
drwxr-xr-x 3 ross ross    4096 Jan  6 21:11 arch
drwxr-xr-x 4 ross ross    4096 Jan  6 21:11 include
-rw-r--r-- 3 ross ross      22 Jan  6 21:11 kernel-abiversion
-rw-r--r-- 3 ross ross  631087 Jan  6 21:11 Module.symvers
-rw-r--r-- 3 ross ross 3418911 Jan  6 21:11 System.map-3.17.1-yocto-standard</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>47770</commentid>
    <comment_count>1</comment_count>
    <who name="Bruce Ashfield">bruce.ashfield</who>
    <bug_when>2015-01-07 18:03:07 +0000</bug_when>
    <thetext>This will be addressed by the continued split of source and build in the shared
work directories.

In the meantime, can you paste the commands that trigger this ? i.e. when you
say &quot;rebuild&quot;, what exactly are the steps ?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>47784</commentid>
    <comment_count>2</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2015-01-07 22:55:57 +0000</bug_when>
    <thetext>&quot;bitbake world&quot;, and something had changed that caused a rebuild of the tools.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>48090</commentid>
    <comment_count>3</comment_count>
    <who name="Bruce Ashfield">bruce.ashfield</who>
    <bug_when>2015-01-20 16:09:11 +0000</bug_when>
    <thetext>This has been fixed with the move of the kernel to work-shared, and the kernel-source/kernel-build-artifacts split.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>