Bug 11344

Summary: ghostscript warning when building for arduino-101-sss
Product: [Build System, Metadata & Runtime] OE-Core Reporter: Saul Wold <sgw>
Component: coreAssignee: Rebecca Chang <rebecca.swee.fun.chang>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Medium CC: meta.mr.watcher, meta.watcher
Version: 2.3   
Target Milestone: 2.4   
Hardware: Other   
OS: other   
Whiteboard:
OS type for building Yocto: --- Type of Regression: New (Never tested)
Verified: Documentation change: No (bug/feature does not impact docs)

Description Saul Wold 2017-04-12 18:10:05 UTC
The following warning occurs when building zephyr with arduino-101-sss.

WARNING: /srv/sdc/builds/11319/meta/recipes-extended/ghostscript/ghostscript_9.20.bb: Unable to get checksum for ghostscript SRC_URI entry objarch.h: file could not be found

This can be reproduced with meta-zephyr and MACHINE=arduino-101-sss, it also needs a clean tmp, because the warning comes during initial parse.
Comment 1 Rebecca Chang 2017-04-13 09:22:31 UTC
Not sure whether is it good time to submit patch for 2.4 milestone. Anyway, I have pushed to mailing list.

http://lists.openembedded.org/pipermail/openembedded-core/2017-April/135652.html
Comment 2 Rebecca Chang 2017-04-13 23:34:17 UTC
Need to rework on review comments.
Comment 3 Rebecca Chang 2017-04-14 00:39:38 UTC
Archived comments from mailing list (Comments from Ross and Richard):

> That's a very long list, would it be easier to set it to objarch.h
> and then use select overrides to clear it?

Its basically copying the structure from the disk which we don't want
to do.

I think what this recipe needs to do is raise a SkipRecipe exception if
it not one of the supported architectures. This would then only display
an error if someone specifically tries to build the recipe.
Comment 4 Rebecca Chang 2017-04-18 01:56:44 UTC
Patch ready and pending for YP2.4 merge window.
Comment 5 Rebecca Chang 2017-05-19 00:28:53 UTC
Patch merged into OE-Core with commit hash of
720a7230b92d734106d5340a426270dd4e921e8e

and in Poky with commit hash of
f9fc72218203cb1df5989bb5b90e155b9ac8d784