Skip to contentSkip to conversation

acpitest: fixing failing recipe

PATCH In review Raphael Silva 3 participants 4 messages Dec 4, 2014

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 acpitest: fixing failing recipe

Removed from blacklist and fixed do_compile error due to sysroot poisoning. Fixed removing the redefinition of CC.

---
 meta-oe/recipes-extended/acpica/acpitests_20140828.bb | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
meta-oe/recipes-extended/acpica/acpitests_20140828.bb +1 -2
index 75e10f6..93c20af 100644
@@ -6,7 +6,6 @@ LIC_FILES_CHKSUM = "file://tests/aapits/atexec.c;beginline=1;endline=115;md5=e92
 
 DEPENDS = "bison flex"
 
-PNBLACKLIST[acpitests] = "fails to find string.h since sysroot poisoning was added in internal toolchain"
 
 SRC_URI = "https://acpica.org/sites/acpica/files/acpitests-unix-${PV}.tar.gz;name=acpitests \
            https://acpica.org/sites/acpica/files/acpica-unix2-${PV}.tar.gz;name=acpica \
@@ -20,7 +19,7 @@ SRC_URI[acpica.sha256sum] = "01d8867656c5ba41dec307c4383ce676196ad4281ac2c9dec9f
 
 S = "${WORKDIR}/acpitests-unix-${PV}"
 
-EXTRA_OEMAKE = "'CC=${TARGET_PREFIX}gcc ${HOST_CC_ARCH}' 'OPT_CFLAGS=-Wall'"
+EXTRA_OEMAKE = "'${HOST_CC_ARCH}' 'OPT_CFLAGS=-Wall'"
 
 # The Makefiles expect a specific layout
 do_compile() {
Signature · 1 line
1.9.1
#1 lore raw

I noticed two typos in my patch. First i didn't use the prefix [meta-oe], and second, in the subject, it is acpitestS the name of the module.

It will not happen again :)
regards,

Quoted 32 lines · Raphael Silva

Removed from blacklist and fixed do_compile error due to sysroot poisoning. Fixed removing the redefinition of CC.

---
 meta-oe/recipes-extended/acpica/acpitests_20140828.bb | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
meta-oe/recipes-extended/acpica/acpitests_20140828.bb +1 -3
index 75e10f6..93c20af 100644
@@ -6,7 +6,6 @@ LIC_FILES_CHKSUM = "file://tests/aapits/atexec.c;beginline=1;endline=115;md5=e92
 
 DEPENDS = "bison flex"
 
-PNBLACKLIST[acpitests] = "fails to find string.h since sysroot poisoning was added in internal toolchain"
 
 SRC_URI = "https://acpica.org/sites/acpica/files/acpitests-unix-${PV}.tar.gz;name=acpitests \
            https://acpica.org/sites/acpica/files/acpica-unix2-${PV}.tar.gz;name=acpica \
@@ -20,7 +19,7 @@ SRC_URI[acpica.sha256sum] = "01d8867656c5ba41dec307c4383ce676196ad4281ac2c9dec9f
 
 S = "${WORKDIR}/acpitests-unix-${PV}"
 
-EXTRA_OEMAKE = "'CC=${TARGET_PREFIX}gcc ${HOST_CC_ARCH}' 'OPT_CFLAGS=-Wall'"
+EXTRA_OEMAKE = "'${HOST_CC_ARCH}' 'OPT_CFLAGS=-Wall'"
 
 # The Makefiles expect a specific layout
 do_compile() {
--

1.9.1

#2 lore raw
Quoted 5 lines · Raphael Philipe

I noticed two typos in my patch. First i didn't use the prefix [meta-oe], and second, in the subject, it is acpitestS the name of the module.

It will not happen again :)

Cool, will fix when cherry-picking to master-next.

Quoted 40 lines

regards,

Quoted 32 lines · Raphael Silva

Removed from blacklist and fixed do_compile error due to sysroot poisoning. Fixed removing the redefinition of CC.

---
 meta-oe/recipes-extended/acpica/acpitests_20140828.bb | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
meta-oe/recipes-extended/acpica/acpitests_20140828.bb +1 -3
index 75e10f6..93c20af 100644
@@ -6,7 +6,6 @@ LIC_FILES_CHKSUM = "file://tests/aapits/atexec.c;beginline=1;endline=115;md5=e92
 
 DEPENDS = "bison flex"
 
-PNBLACKLIST[acpitests] = "fails to find string.h since sysroot poisoning was added in internal toolchain"
 
 SRC_URI = "https://acpica.org/sites/acpica/files/acpitests-unix-${PV}.tar.gz;name=acpitests \
            https://acpica.org/sites/acpica/files/acpica-unix2-${PV}.tar.gz;name=acpica \
@@ -20,7 +19,7 @@ SRC_URI[acpica.sha256sum] = "01d8867656c5ba41dec307c4383ce676196ad4281ac2c9dec9f
 
 S = "${WORKDIR}/acpitests-unix-${PV}"
 
-EXTRA_OEMAKE = "'CC=${TARGET_PREFIX}gcc ${HOST_CC_ARCH}' 'OPT_CFLAGS=-Wall'"
+EXTRA_OEMAKE = "'${HOST_CC_ARCH}' 'OPT_CFLAGS=-Wall'"
 
 # The Makefiles expect a specific layout
 do_compile() {
--

1.9.1

Signature · 4 lines
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel
Signature · 1 line
Martin 'JaMa' Jansa     jabber: [email protected]
#3 lore raw
Quoted 8 lines · Martin Jansa
Quoted 5 lines · Raphael Philipe

I noticed two typos in my patch. First i didn't use the prefix [meta-oe], and second, in the subject, it is acpitestS the name of the module.

It will not happen again :)

Cool, will fix when cherry-picking to master-next.

:-D

Signature · 3 lines
Otavio Salvador                             O.S. Systems
http://www.ossystems.com.br        http://code.ossystems.com.br
Mobile: +55 (53) 9981-7854            Mobile: +1 (347) 903-9750