<?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>1880</bug_id>
          
          <creation_ts>2012-01-06 08:19:25 +0000</creation_ts>
          <short_desc>[non-gplv3] Error while building core-image-minimal for qemuarm</short_desc>
          <delta_ts>2012-01-27 10:28:06 +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>unspecified</version>
          <rep_platform>x86</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.2 M3</target_milestone>
          
          <blocked>1917</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Andrei Gherzan">andrei</reporter>
          <assigned_to name="Joshua Lock - Disabled">josh</assigned_to>
          <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</cc>
    
    <cc>sgw</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>---</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>17990</commentid>
    <comment_count>0</comment_count>
    <who name="Andrei Gherzan">andrei</who>
    <bug_when>2012-01-06 08:19:25 +0000</bug_when>
    <thetext>Here is the log.

-----&gt;
NOTE: Resolving any missing task queue dependencies
ERROR: Nothing PROVIDES &apos;binutils&apos;
ERROR: binutils was skipped: incompatible with license GPLv3
ERROR: binutils was skipped: incompatible with license GPLv3
NOTE: Runtime target &apos;kernel-base&apos; is unbuildable, removing...
Missing or unbuildable dependency chain was: [&apos;kernel-base&apos;, &apos;binutils&apos;]
&lt;-----

This error is not fatal and finishes the build without building the kernel. 

I think that the problem comes from a new commit:

---&gt;
Author: Joshua Lock &lt;josh@linux.intel.com&gt;  2012-01-04 03:31:19
Committer: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;  2012-01-04 13:56:41
Parent: 0ff1d667dc23b0cc903c18f1b5e032c2b6630aae (distro: Add poky-tiny distro definition)
Child:  00f0d4ad649313e1a9ad2413d942cea78aa56348 (cogl: ensure we can build on armv4)
Branches: master, remotes/origin/master
Follows: 1.1_M4.rc3
Precedes: 

    linux-tools: add binutils to perf DEPENDS
    
    We have witnessed non-deterministic failures of perf for some platforms
    whilst looking for bfd.h, a header provided by binutils.
    
    (From OE-Core rev: ab56f27d96cbd2c79ca16d12333687ca9720934c)
    
    Signed-off-by: Joshua Lock &lt;josh@linux.intel.com&gt;
    Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;

------------------ meta/recipes-kernel/linux/linux-tools.inc ------------------
index 950f197..aa45dba 100644
@@ -22,7 +22,7 @@ addtask install_perf after do_install before do_package
 do_compile_perf[umask] = 022
 do_install_perf[umask] = 022
 
-PERFDEPENDS = &quot;virtual/${MLPREFIX}libc:do_populate_sysroot ${MLPREFIX}elfutils:do_populate_sysroot&quot;
+PERFDEPENDS = &quot;virtual/${MLPREFIX}libc:do_populate_sysroot ${MLPREFIX}elfutils:do_populate_sysroot ${MLPREFIX}binutils:do_populate_sysroot&quot;
 PERFDEPENDS_libc-uclibc = &quot;&quot;
 PERFRDEPENDS = &quot;python perl elfutils&quot;
 PERFRDEPENDS_libc-uclibc = &quot;&quot;
&lt;---</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>18000</commentid>
    <comment_count>1</comment_count>
    <who name="Andrei Gherzan">andrei</who>
    <bug_when>2012-01-07 07:49:22 +0000</bug_when>
    <thetext>I reverted the above mentioned commit and things are working as expected. So that is the problem. Binutils should be included in PERFDEPENDS conditionally if GPLv3 packages are accepted. Tested on a qemuarm build - image minimal.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>18406</commentid>
    <comment_count>2</comment_count>
    <who name="Joshua Lock - Disabled">josh</who>
    <bug_when>2012-01-27 10:28:06 +0000</bug_when>
    <thetext>Workaround fix merged to master: http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=494a5000325325ad855fdea9d83ace2d6b1d6997</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>