| Summary: | /meta/recipes-devtools/gcc/gcc-common.inc bb.error print incorrect | ||
|---|---|---|---|
| Product: | [Build System, Metadata & Runtime] OE-Core | Reporter: | Noel Eck <noel> |
| Component: | devtools / tool chain | Assignee: | Joshua Lock <joshuagloe> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | minor | ||
| Priority: | Medium | CC: | meta.mr.watcher, meta.watcher |
| Version: | 2.0 | ||
| Target Milestone: | 2.1 | ||
| Hardware: | All | ||
| OS: | Multiple | ||
| Whiteboard: | |||
| OS type for building Yocto: | --- | Type of Regression: | --- |
| Verified: | Documentation change: | No (bug/feature does not impact docs) | |
Hi Noel, this fix looks good. Would you be able to submit this as a patch to the openembedded-core mailing list? The openembedded wiki has some contribution guidelines: http://www.openembedded.org/wiki/How_to_submit_a_patch_to_OpenEmbedded (In reply to comment #1) > Hi Noel, this fix looks good. Would you be able to submit this as a patch to > the openembedded-core mailing list? > > The openembedded wiki has some contribution guidelines: > > http://www.openembedded.org/wiki/How_to_submit_a_patch_to_OpenEmbedded Done. Thanks Noel! Changing the status to "in progress review" as patch has been submitted: http://lists.openembedded.org/pipermail/openembedded-core/2016-April/120125.html Merged to master & krogoth: http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?h=krogoth&id=a8c8e811eeedc26079d9c150a214a36619141d79 |
Python print statement prints out tune and availtunes incorrectly. diff --git a/meta/recipes-devtools/gcc/gcc-common.inc b/meta/recipes-devtools/gcc/gcc-common.inc index 6f2f224..e4fd4d6 100644 --- a/meta/recipes-devtools/gcc/gcc-common.inc +++ b/meta/recipes-devtools/gcc/gcc-common.inc @@ -54,7 +54,7 @@ def get_gcc_multiarch_setting(bb, d): def get_tune_parameters(tune, d): availtunes = d.getVar('AVAILTUNES', True) if tune not in availtunes.split(): - bb.error('The tune: %s is not one of the available tunes: %s', tune or None, availtunes) + bb.error('The tune: %s is not one of the available tunes: %s' % (tune or None, availtunes))