Bug 1492 - non-GPLv3 build broken with incompatible license for gcc-crosssdk-intermediate
Summary: non-GPLv3 build broken with incompatible license for gcc-crosssdk-intermediate
Status: VERIFIED FIXED
Alias: None
Product: Meta-yocto
Classification: Build System, Metadata & Runtime
Component: meta-yocto (show other bugs)
Version: unspecified
Hardware: x86 Multiple
: High major
Target Milestone: 1.1
Assignee: Saul Wold
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2011-09-17 20:25 UTC by Jiajun Xu
Modified: 2011-09-26 18:39 UTC (History)
5 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jiajun Xu 2011-09-17 20:25:23 UTC
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 'virtual/i686-pokysdk-linux-gcc-intermediate-crosssdk' (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 & 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 & GPLv2 & GPLv3 & LGPLv2.1 & LGPLv3
NOTE: Runtime target 'eglibc-locale-nativesdk' is unbuildable, removing...
Missing or unbuildable dependency chain was: ['eglibc-locale-nativesdk', 'virtual/libc-nativesdk', 'virtual/i686-pokysdk-linux-gcc-intermediate-crosssdk']
NOTE: Runtime target 'eglibc-nativesdk' is unbuildable, removing...
Missing or unbuildable dependency chain was: ['eglibc-nativesdk', 'virtual/i686-pokysdk-linux-gcc-intermediate-crosssdk']
ERROR: Nothing PROVIDES 'gnome-common' (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 'avahi-daemon' is unbuildable, removing...
Missing or unbuildable dependency chain was: ['avahi-daemon', 'libglade', 'gnome-common']
NOTE: Runtime target 'task-core-apps-console' is unbuildable, removing...
Missing or unbuildable dependency chain was: ['task-core-apps-console', 'avahi-daemon', 'libglade', 'gnome-common']
ERROR: Required build target 'core-image-basic' has no buildable providers.
Missing or unbuildable dependency chain was: ['core-image-basic', 'task-core-apps-console', 'avahi-daemon', 'libglade', 'gnome-common']
ERROR: Command execution failed: Traceback (most recent call last):
  File "/home/jxu49/osel/poky-rc2/bitbake/lib/bb/command.py", line 102, in runAsyncCommand
    commandmethod(self.cmds_async, self, options)
  File "/home/jxu49/osel/poky-rc2/bitbake/lib/bb/command.py", line 207, in buildTargets
    command.cooker.buildTargets(pkgs_to_build, task)
  File "/home/jxu49/osel/poky-rc2/bitbake/lib/bb/cooker.py", line 1102, in buildTargets
    taskdata.add_unresolved(localdata, self.status)
  File "/home/jxu49/osel/poky-rc2/bitbake/lib/bb/taskdata.py", line 552, in add_unresolved
    self.remove_buildtarget(targetid)
  File "/home/jxu49/osel/poky-rc2/bitbake/lib/bb/taskdata.py", line 509, in remove_buildtarget
    self.fail_fnid(fnid, missing_list)
  File "/home/jxu49/osel/poky-rc2/bitbake/lib/bb/taskdata.py", line 489, in fail_fnid
    self.remove_buildtarget(target, missing_list)
  File "/home/jxu49/osel/poky-rc2/bitbake/lib/bb/taskdata.py", line 509, in remove_buildtarget
    self.fail_fnid(fnid, missing_list)
  File "/home/jxu49/osel/poky-rc2/bitbake/lib/bb/taskdata.py", line 494, in fail_fnid
    self.remove_runtarget(target, missing_list)
  File "/home/jxu49/osel/poky-rc2/bitbake/lib/bb/taskdata.py", line 535, in remove_runtarget
    self.fail_fnid(fnid, missing_list)
  File "/home/jxu49/osel/poky-rc2/bitbake/lib/bb/taskdata.py", line 494, in fail_fnid
    self.remove_runtarget(target, missing_list)
  File "/home/jxu49/osel/poky-rc2/bitbake/lib/bb/taskdata.py", line 535, in remove_runtarget
    self.fail_fnid(fnid, missing_list)
  File "/home/jxu49/osel/poky-rc2/bitbake/lib/bb/taskdata.py", line 489, in fail_fnid
    self.remove_buildtarget(target, missing_list)
  File "/home/jxu49/osel/poky-rc2/bitbake/lib/bb/taskdata.py", line 519, in remove_buildtarget
    raise bb.providers.NoProvider(target)
NoProvider: core-image-basic
########
Comment 1 Saul Wold 2011-09-19 08:45:55 UTC
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.
Comment 3 Jiajun Xu 2011-09-26 18:39:23 UTC
Verify the bug as fixed with edison branch, commit 41c564fe605fa4685fd27b1721e3424ac8a96db1.