Skip to contentSkip to conversation

ghostscript: Define COMPATIBLE_HOST with supported platforms

PATCH Superseded Nathan Rossi 2 participants 3 messages Nov 7, 2018 – Nov 8, 2018

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ghostscript: Define COMPATIBLE_HOST with supported platforms

Setup the COMPATIBLE_HOST variable with all supported hosts based on the provided objarch.h files. This inverts the existing pattern where unsupported hosts (e.g. 'arc.*') are explicitly set.

This suppresses the warning message generated on hosts that are not supported but were not listed explicitly.

WARNING: .../ghostscript_9.25.bb: Unable to get checksum for ghostscript SRC_URI entry objarch.h: file could not be found

---
 meta/recipes-extended/ghostscript/ghostscript_9.25.bb | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
meta/recipes-extended/ghostscript/ghostscript_9.25.bb +1 -2
index 35eaaeb2fa..8b69170458 100644
@@ -121,5 +121,4 @@ do_install_class-native () {
 
 BBCLASSEXTEND = "native"
 
-# ghostscript does not supports "arc"
-COMPATIBLE_HOST = "^(?!arc).*"
+COMPATIBLE_HOST = "(aarch64|arm|i586|i686|microblaze|mipsarch|nios2|powerpc|x86-64).*"

---
2.19.1

#1 lore raw

This patch causes the following failure on autobuilder.
https://autobuilder.yoctoproject.org/typhoon/#/builders/32/builds/183/steps/7/logs/step1c

Best Regards,
Chen Qi

Quoted 28 lines · Nathan Rossi

Setup the COMPATIBLE_HOST variable with all supported hosts based on the provided objarch.h files. This inverts the existing pattern where unsupported hosts (e.g. 'arc.*') are explicitly set.

This suppresses the warning message generated on hosts that are not supported but were not listed explicitly.

WARNING: .../ghostscript_9.25.bb: Unable to get checksum for ghostscript SRC_URI entry objarch.h: file could not be found

---
  meta/recipes-extended/ghostscript/ghostscript_9.25.bb | 3 +--
  1 file changed, 1 insertion(+), 2 deletions(-)
meta/recipes-extended/ghostscript/ghostscript_9.25.bb +1 -3
index 35eaaeb2fa..8b69170458 100644
@@ -121,5 +121,4 @@ do_install_class-native () {
 
  BBCLASSEXTEND = "native"
 
-# ghostscript does not supports "arc"
-COMPATIBLE_HOST = "^(?!arc).*"
+COMPATIBLE_HOST = "(aarch64|arm|i586|i686|microblaze|mipsarch|nios2|powerpc|x86-64).*"
---

2.19.1

#2 lore raw
Quoted 4 lines · ChenQi

This patch causes the following failure on autobuilder.
https://autobuilder.yoctoproject.org/typhoon/#/builders/32/builds/183/steps/7/logs/step1c

Sorry my bad, I sent out the wrong version. v2 incoming, which fixes it up to use host_sys patterns instead of overrides (for x86_64 and mips).

Regards,
Nathan

Quoted 34 lines

Best Regards,
Chen Qi

Quoted 28 lines · Nathan Rossi

Setup the COMPATIBLE_HOST variable with all supported hosts based on the provided objarch.h files. This inverts the existing pattern where unsupported hosts (e.g. 'arc.*') are explicitly set.

This suppresses the warning message generated on hosts that are not supported but were not listed explicitly.

WARNING: .../ghostscript_9.25.bb: Unable to get checksum for ghostscript SRC_URI entry objarch.h: file could not be found

---
  meta/recipes-extended/ghostscript/ghostscript_9.25.bb | 3 +--
  1 file changed, 1 insertion(+), 2 deletions(-)
meta/recipes-extended/ghostscript/ghostscript_9.25.bb +1 -3
index 35eaaeb2fa..8b69170458 100644
@@ -121,5 +121,4 @@ do_install_class-native () {
 
  BBCLASSEXTEND = "native"
 
-# ghostscript does not supports "arc"
-COMPATIBLE_HOST = "^(?!arc).*"
+COMPATIBLE_HOST = "(aarch64|arm|i586|i686|microblaze|mipsarch|nios2|powerpc|x86-64).*"
---

2.19.1