[oe-commits] [openembedded-core] 35/38: ghostscript: check for incompatible host

git at git.openembedded.org git at git.openembedded.org
Thu May 18 12:31:10 UTC 2017


This is an automated email from the git hooks/post-receive script.

rpurdie pushed a commit to branch master-next
in repository openembedded-core.

commit e71503c32986c8d2e6b34e7615d33598de2df2d4
Author: Chang Rebecca Swee Fun <rebecca.swee.fun.chang at intel.com>
AuthorDate: Tue May 9 14:54:51 2017 +0800

    ghostscript: check for incompatible host
    
    The following warning occurs when building with meta-zephyr
    with MACHINE set to 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 is due to the the TARGET_ARCH = "arc" for meta-zephyr is not
    supported by ghostscript and causing bitbake unable to locate the
    correct config file during recipe parse.
    
    Adding checker in the recipe to raise an exception if the target
    architecture is "arc". This would then only display an error if
    someone specifically tries to build the recipe:
    
    ERROR: ghostscript was skipped: incompatible with host arc-yocto-elf (not in COMPATIBLE_HOST)
    
    [YOCTO #11344]
    
    Signed-off-by: Chang Rebecca Swee Fun <rebecca.swee.fun.chang at intel.com>
    Signed-off-by: Ross Burton <ross.burton at intel.com>
---
 meta/recipes-extended/ghostscript/ghostscript_9.20.bb | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/meta/recipes-extended/ghostscript/ghostscript_9.20.bb b/meta/recipes-extended/ghostscript/ghostscript_9.20.bb
index 87a7a55..30591c9 100644
--- a/meta/recipes-extended/ghostscript/ghostscript_9.20.bb
+++ b/meta/recipes-extended/ghostscript/ghostscript_9.20.bb
@@ -110,3 +110,6 @@ do_install_class-native () {
 }
 
 BBCLASSEXTEND = "native"
+
+# ghostscript does not supports "arc"
+COMPATIBLE_HOST = "^(?!arc).*"

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list