<?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>1492</bug_id>
          
          <creation_ts>2011-09-17 20:25:23 +0000</creation_ts>
          <short_desc>non-GPLv3 build broken with incompatible license for gcc-crosssdk-intermediate</short_desc>
          <delta_ts>2011-09-26 18:39:23 +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>Meta-yocto</product>
          <component>meta-yocto</component>
          <version>unspecified</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>High</priority>
          <bug_severity>major</bug_severity>
          <target_milestone>1.1</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Jiajun Xu">jiajun.xu</reporter>
          <assigned_to name="Saul Wold">sgw</assigned_to>
          <cc>ke.yu</cc>
    
    <cc>poky.bs.watcher</cc>
    
    <cc>poky.watcher</cc>
    
    <cc>richard.purdie</cc>
    
    <cc>wenhuax.fan</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>16275</commentid>
    <comment_count>0</comment_count>
    <who name="Jiajun Xu">jiajun.xu</who>
    <bug_when>2011-09-17 20:25:23 +0000</bug_when>
    <thetext>tree/branch: poky/1.1_M4
commit: 6462c158fc482e495c1171ffc7747e2ad650a292

With 1.1_M4 branch, core-image-basic build against non-GPLv3 license will fail by reporting following message. core-image-minimal could pass the test.

In M3 testing, it could pass non-GPLv3 build.

########
NOTE: Resolving any missing task queue dependencies
ERROR: Nothing PROVIDES &apos;virtual/i686-pokysdk-linux-gcc-intermediate-crosssdk&apos; (but virtual:nativesdk:/home/jxu49/osel/poky-rc2/meta/recipes-core/eglibc/eglibc_2.13.bb DEPENDS on or otherwise requires it)
ERROR: gcc-crosssdk-intermediate PROVIDES virtual/i686-pokysdk-linux-gcc-intermediate-crosssdk but was skipped: incompatible with license GPL-3.0-with-GCC-exception &amp; GPLv3
ERROR: gcc-crosssdk-intermediate PROVIDES virtual/i686-pokysdk-linux-gcc-intermediate-crosssdk but was skipped: incompatible with license GPL-3.0-with-GCC-exception &amp; GPLv2 &amp; GPLv3 &amp; LGPLv2.1 &amp; LGPLv3
NOTE: Runtime target &apos;eglibc-locale-nativesdk&apos; is unbuildable, removing...
Missing or unbuildable dependency chain was: [&apos;eglibc-locale-nativesdk&apos;, &apos;virtual/libc-nativesdk&apos;, &apos;virtual/i686-pokysdk-linux-gcc-intermediate-crosssdk&apos;]
NOTE: Runtime target &apos;eglibc-nativesdk&apos; is unbuildable, removing...
Missing or unbuildable dependency chain was: [&apos;eglibc-nativesdk&apos;, &apos;virtual/i686-pokysdk-linux-gcc-intermediate-crosssdk&apos;]
ERROR: Nothing PROVIDES &apos;gnome-common&apos; (but /home/jxu49/osel/poky-rc2/meta/recipes-gnome/libglade/libglade_2.6.4.bb, /home/jxu49/osel/poky-rc2/meta/recipes-graphics/pango/pango_1.28.4.bb DEPENDS on or otherwise requires it)
ERROR: gnome-common was skipped: incompatible with license GPLv3
NOTE: Runtime target &apos;avahi-daemon&apos; is unbuildable, removing...
Missing or unbuildable dependency chain was: [&apos;avahi-daemon&apos;, &apos;libglade&apos;, &apos;gnome-common&apos;]
NOTE: Runtime target &apos;task-core-apps-console&apos; is unbuildable, removing...
Missing or unbuildable dependency chain was: [&apos;task-core-apps-console&apos;, &apos;avahi-daemon&apos;, &apos;libglade&apos;, &apos;gnome-common&apos;]
ERROR: Required build target &apos;core-image-basic&apos; has no buildable providers.
Missing or unbuildable dependency chain was: [&apos;core-image-basic&apos;, &apos;task-core-apps-console&apos;, &apos;avahi-daemon&apos;, &apos;libglade&apos;, &apos;gnome-common&apos;]
ERROR: Command execution failed: Traceback (most recent call last):
  File &quot;/home/jxu49/osel/poky-rc2/bitbake/lib/bb/command.py&quot;, line 102, in runAsyncCommand
    commandmethod(self.cmds_async, self, options)
  File &quot;/home/jxu49/osel/poky-rc2/bitbake/lib/bb/command.py&quot;, line 207, in buildTargets
    command.cooker.buildTargets(pkgs_to_build, task)
  File &quot;/home/jxu49/osel/poky-rc2/bitbake/lib/bb/cooker.py&quot;, line 1102, in buildTargets
    taskdata.add_unresolved(localdata, self.status)
  File &quot;/home/jxu49/osel/poky-rc2/bitbake/lib/bb/taskdata.py&quot;, line 552, in add_unresolved
    self.remove_buildtarget(targetid)
  File &quot;/home/jxu49/osel/poky-rc2/bitbake/lib/bb/taskdata.py&quot;, line 509, in remove_buildtarget
    self.fail_fnid(fnid, missing_list)
  File &quot;/home/jxu49/osel/poky-rc2/bitbake/lib/bb/taskdata.py&quot;, line 489, in fail_fnid
    self.remove_buildtarget(target, missing_list)
  File &quot;/home/jxu49/osel/poky-rc2/bitbake/lib/bb/taskdata.py&quot;, line 509, in remove_buildtarget
    self.fail_fnid(fnid, missing_list)
  File &quot;/home/jxu49/osel/poky-rc2/bitbake/lib/bb/taskdata.py&quot;, line 494, in fail_fnid
    self.remove_runtarget(target, missing_list)
  File &quot;/home/jxu49/osel/poky-rc2/bitbake/lib/bb/taskdata.py&quot;, line 535, in remove_runtarget
    self.fail_fnid(fnid, missing_list)
  File &quot;/home/jxu49/osel/poky-rc2/bitbake/lib/bb/taskdata.py&quot;, line 494, in fail_fnid
    self.remove_runtarget(target, missing_list)
  File &quot;/home/jxu49/osel/poky-rc2/bitbake/lib/bb/taskdata.py&quot;, line 535, in remove_runtarget
    self.fail_fnid(fnid, missing_list)
  File &quot;/home/jxu49/osel/poky-rc2/bitbake/lib/bb/taskdata.py&quot;, line 489, in fail_fnid
    self.remove_buildtarget(target, missing_list)
  File &quot;/home/jxu49/osel/poky-rc2/bitbake/lib/bb/taskdata.py&quot;, line 519, in remove_buildtarget
    raise bb.providers.NoProvider(target)
NoProvider: core-image-basic
########</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>16290</commentid>
    <comment_count>1</comment_count>
    <who name="Saul Wold">sgw</who>
    <bug_when>2011-09-19 08:45:55 +0000</bug_when>
    <thetext>There are really 2 issues here, first is the gcc issue, which is fixed, there is also an issue with avahi and DISTRO_FEATURES of x11 getting included, thus causing a failure.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>16363</commentid>
    <comment_count>2</comment_count>
    <who name="Saul Wold">sgw</who>
    <bug_when>2011-09-21 17:29:58 +0000</bug_when>
    <thetext>http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=59a08907eafffde664079b9a2068f47131dd3f5d</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>16499</commentid>
    <comment_count>3</comment_count>
    <who name="Jiajun Xu">jiajun.xu</who>
    <bug_when>2011-09-26 18:39:23 +0000</bug_when>
    <thetext>Verify the bug as fixed with edison branch, commit 41c564fe605fa4685fd27b1721e3424ac8a96db1.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>