Tree/Branch: Poky/1.1_M1 Poky Commit: 4ff7af11ef69849ef9c16f585eae58ac920b222b Meta Branch: 1.1_M1 Meta Commit: fc719f0cd6530ce15148b4aa274f1644b461b298 With Yocto 1.1 M1 RC2 commit, non-GPLv3 build fails with no provider for core-image-minimal/basic. Error log as below: ######## NOTE: Resolving any missing task queue dependencies NOTE: Runtime target 'oprofileui-server' is unbuildable, removing... Missing or unbuildable dependency chain was: ['oprofileui-server', 'libglade', 'gnome-common'] NOTE: Runtime target 'qemu-config' is unbuildable, removing... Missing or unbuildable dependency chain was: ['qemu-config', 'oprofileui-server', 'libglade', 'gnome-common'] NOTE: Runtime target 'task-core-boot' is unbuildable, removing... Missing or unbuildable dependency chain was: ['task-core-boot', 'qemu-config', 'oprofileui-server', '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-boot', 'qemu-config', 'oprofileui-server', 'libglade', 'gnome-common'] ERROR: Nothing PROVIDES 'gnome-common' ERROR: Command execution failed: Traceback (most recent call last): File "/home/jxu49/osel/poky-gpl/bitbake/lib/bb/command.py", line 102, in runAsyncCommand commandmethod(self.cmds_async, self, options) File "/home/jxu49/osel/poky-gpl/bitbake/lib/bb/command.py", line 200, in buildTargets command.cooker.buildTargets(pkgs_to_build, task) File "/home/jxu49/osel/poky-gpl/bitbake/lib/bb/cooker.py", line 833, in buildTargets taskdata.add_unresolved(localdata, self.status) File "/home/jxu49/osel/poky-gpl/bitbake/lib/bb/taskdata.py", line 534, in add_unresolved self.remove_buildtarget(targetid) File "/home/jxu49/osel/poky-gpl/bitbake/lib/bb/taskdata.py", line 491, in remove_buildtarget self.fail_fnid(fnid, missing_list) File "/home/jxu49/osel/poky-gpl/bitbake/lib/bb/taskdata.py", line 471, in fail_fnid self.remove_buildtarget(target, missing_list) File "/home/jxu49/osel/poky-gpl/bitbake/lib/bb/taskdata.py", line 491, in remove_buildtarget self.fail_fnid(fnid, missing_list) File "/home/jxu49/osel/poky-gpl/bitbake/lib/bb/taskdata.py", line 476, in fail_fnid self.remove_runtarget(target, missing_list) File "/home/jxu49/osel/poky-gpl/bitbake/lib/bb/taskdata.py", line 517, in remove_runtarget self.fail_fnid(fnid, missing_list) File "/home/jxu49/osel/poky-gpl/bitbake/lib/bb/taskdata.py", line 476, in fail_fnid self.remove_runtarget(target, missing_list) File "/home/jxu49/osel/poky-gpl/bitbake/lib/bb/taskdata.py", line 517, in remove_runtarget self.fail_fnid(fnid, missing_list) File "/home/jxu49/osel/poky-gpl/bitbake/lib/bb/taskdata.py", line 476, in fail_fnid self.remove_runtarget(target, missing_list) File "/home/jxu49/osel/poky-gpl/bitbake/lib/bb/taskdata.py", line 517, in remove_runtarget self.fail_fnid(fnid, missing_list) File "/home/jxu49/osel/poky-gpl/bitbake/lib/bb/taskdata.py", line 471, in fail_fnid self.remove_buildtarget(target, missing_list) File "/home/jxu49/osel/poky-gpl/bitbake/lib/bb/taskdata.py", line 501, in remove_buildtarget raise bb.providers.NoProvider(target) NoProvider: core-image-basic ########
This is a known issue, that has been discussed in the email lists. This issue is that qemu-config is bringing in a set of dependencies, some of which are GPLv3, since the qemu-config itself is not GPLv3 there is no direct way to disable it. A patch is currently pending in the 6/1 Consolidated pull.
Minimal image build also fails for non-GPLv3 build, error log as below: NOTE: Resolving any missing task queue dependencies NOTE: Runtime target 'oprofileui-server' is unbuildable, removing... Missing or unbuildable dependency chain was: ['oprofileui-server', 'libglade', 'gnome-common'] NOTE: Runtime target 'qemu-config' is unbuildable, removing... Missing or unbuildable dependency chain was: ['qemu-config', 'oprofileui-server', 'libglade', 'gnome-common'] NOTE: Runtime target 'task-core-boot' is unbuildable, removing... Missing or unbuildable dependency chain was: ['task-core-boot', 'qemu-config', 'oprofileui-server', 'libglade', 'gnome-common'] ERROR: Required build target 'core-image-minimal' has no buildable providers. Missing or unbuildable dependency chain was: ['core-image-minimal', 'task-core-boot', 'qemu-config', 'oprofileui-server', 'libglade', 'gnome-common'] ERROR: Nothing PROVIDES 'gnome-common' ERROR: Command execution failed: Traceback (most recent call last): File "/home/jxu49/osel/poky-gpl/bitbake/lib/bb/command.py", line 102, in runAsyncCommand commandmethod(self.cmds_async, self, options) File "/home/jxu49/osel/poky-gpl/bitbake/lib/bb/command.py", line 200, in buildTargets command.cooker.buildTargets(pkgs_to_build, task) File "/home/jxu49/osel/poky-gpl/bitbake/lib/bb/cooker.py", line 833, in buildTargets taskdata.add_unresolved(localdata, self.status) File "/home/jxu49/osel/poky-gpl/bitbake/lib/bb/taskdata.py", line 534, in add_unresolved self.remove_buildtarget(targetid) File "/home/jxu49/osel/poky-gpl/bitbake/lib/bb/taskdata.py", line 491, in remove_buildtarget self.fail_fnid(fnid, missing_list) File "/home/jxu49/osel/poky-gpl/bitbake/lib/bb/taskdata.py", line 471, in fail_fnid self.remove_buildtarget(target, missing_list) File "/home/jxu49/osel/poky-gpl/bitbake/lib/bb/taskdata.py", line 491, in remove_buildtarget self.fail_fnid(fnid, missing_list) File "/home/jxu49/osel/poky-gpl/bitbake/lib/bb/taskdata.py", line 476, in fail_fnid self.remove_runtarget(target, missing_list) File "/home/jxu49/osel/poky-gpl/bitbake/lib/bb/taskdata.py", line 517, in remove_runtarget self.fail_fnid(fnid, missing_list) File "/home/jxu49/osel/poky-gpl/bitbake/lib/bb/taskdata.py", line 476, in fail_fnid self.remove_runtarget(target, missing_list) File "/home/jxu49/osel/poky-gpl/bitbake/lib/bb/taskdata.py", line 517, in remove_runtarget self.fail_fnid(fnid, missing_list) File "/home/jxu49/osel/poky-gpl/bitbake/lib/bb/taskdata.py", line 476, in fail_fnid self.remove_runtarget(target, missing_list) File "/home/jxu49/osel/poky-gpl/bitbake/lib/bb/taskdata.py", line 517, in remove_runtarget self.fail_fnid(fnid, missing_list) File "/home/jxu49/osel/poky-gpl/bitbake/lib/bb/taskdata.py", line 471, in fail_fnid self.remove_buildtarget(target, missing_list) File "/home/jxu49/osel/poky-gpl/bitbake/lib/bb/taskdata.py", line 501, in remove_buildtarget raise bb.providers.NoProvider(target) NoProvider: core-image-minimal
I tried poky/master, which has the qemu-config fixing patch. The issue does not happen for both minimal/basic for non-GPLv3 build with this branch. So if we want 1.1 M1 has such fixing, we may need to backport the patch.
http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=54825128e13cc1b601585daefa84e1dcdd6dc995
This will not be pulled into M1, but it is available in master
Verify with Yocto 1.1 M2 RC3 build, the bug is fixed.