Bug 7002 - Failed to build an non-GPLv3 image
Summary: Failed to build an non-GPLv3 image
Status: RESOLVED WONTFIX
Alias: None
Product: Hob
Classification: Build System, Metadata & Runtime
Component: hob (show other bugs)
Version: 1.5.4
Hardware: x86 mips
: Low normal
Target Milestone: Future
Assignee: Unassigned
QA Contact: Andra Necula
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2014-11-27 10:19 UTC by Andra Necula
Modified: 2015-01-29 16:12 UTC (History)
7 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: No (bug/feature does not impact docs)


Attachments
hoberror (134.82 KB, image/png)
2014-11-27 10:19 UTC, Andra Necula
no flags Details
hoberror1 (132.68 KB, image/png)
2014-11-27 10:20 UTC, Andra Necula
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Andra Necula 2014-11-27 10:19:05 UTC
Created attachment 2263 [details]
hoberror

Failed to build an non-GPLv3 image on:
poky : de14d21bc6633ddeb810cef051b91ee322276496

Steps to reproduce:

1. select for example qemumips;
2. choose for example core-image-minimal;
3. from "Advanced configuration" select "Exclude GPLv3 packages";
4. Build image;

I get the error attached.
Comment 1 Andra Necula 2014-11-27 10:20:07 UTC
Created attachment 2264 [details]
hoberror1
Comment 2 Paul Eggleton 2014-11-27 16:09:03 UTC
Unfortunately Hob isn't really actively maintained at this point. However, I expect the reason it's failing is not so much the non-GPLv3 but that Hob is attempting to build a "live" image for qemumips, which isn't a valid combination - syslinux is excluded from building on non-x86 and that's why this error will be coming up. You could try unticking the live image format in Hob's options screen as a workaround, or if that doesn't work you'll almost certainly be able to do this build from the command line instead (I realise that's not an ideal situation though).
Comment 3 Alexandru Georgescu 2014-12-03 14:56:21 UTC
Hi,
I've tested without hob. A core-image-minimal build successfully but a core-image-sato-sdk seems that fails at gdb:



autobuilder@ubuntuAB:~/tmp/poky/build$ bitbake core-image-sato-sdk
WARNING: Host distribution "Ubuntu-14.10" has not been validated with this version of the build system; you may possibly experience unexpected failures. It is recommended that you use a tested distribution.
Loading cache: 100% |#####################################################################################################################################################################################################################################| ETA:  00:00:00
Loaded 1188 entries from dependency cache.
NOTE: Resolving any missing task queue dependencies
ERROR: Nothing RPROVIDES 'gdb' (but /home/autobuilder/tmp/poky/meta/recipes-core/packagegroups/packagegroup-core-tools-debug.bb RDEPENDS on or otherwise requires it)
ERROR: gdb was skipped: incompatible with license GPLv2 & GPLv3 & LGPLv2 & LGPLv3
NOTE: Runtime target 'gdb' is unbuildable, removing...
Missing or unbuildable dependency chain was: ['gdb']
NOTE: Runtime target 'packagegroup-core-tools-debug' is unbuildable, removing...
Missing or unbuildable dependency chain was: ['packagegroup-core-tools-debug', 'gdb']
ERROR: Required build target 'core-image-sato-sdk' has no buildable providers.
Missing or unbuildable dependency chain was: ['core-image-sato-sdk', 'packagegroup-core-tools-debug', 'gdb']

Summary: There was 1 WARNING message shown.
Summary: There were 2 ERROR messages shown, returning a non-zero exit code.
autobuilder@ubuntuAB:~/tmp/poky/build$


The local.conf is as following:


MACHINE ??= “qemumips"
INCOMPATIBLE_LICENSE = “GPLv3"
SSTATE_DIR = "/home/autobuilder/sstate”


Regards,
Alex.
Comment 4 Paul Eggleton 2015-01-29 16:11:00 UTC
We don't support development tools such as gdb in a non-GPLv3 build since they arent something you would normally ship in a target image, so core-image-sato-sdk isn't an image that's expected to work with non-GPLv3 (the ref manual states that core-image-minimal and core-image-base are the only ones that we test regularly, FWIW).

Given that the Hob issue isn't going to get fixed (and has a workaround) and non-GPLv3 builds are apparently working, I'm marking this as WONTFIX.
Comment 5 Paul Eggleton 2015-01-29 16:12:20 UTC
(I should have said - thanks for double-checking non-GPLv3 builds.)