Skip to contentSkip to conversation

test-pacbti: Use UNPACKDIR

PATCH In review Ryan Eatmon 2 participants 2 messages May 24, 2024 – May 30, 2024

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 test-pacbti: Use UNPACKDIR

Fix parsing recipes error:

Parsing recipes...
ERROR: meta-arm/recipes-test/pacbti/test-pacbti.bb: Using S = ${WORKDIR} is no longer supported
ERROR: Parsing halted due to errors, see error messages above

There was a change in oe-core [1] and was further discussed here [2].

[1] https://git.openembedded.org/openembedded-core/commit/?h=master&id=32cba1cc916ad530c5e6630a927e74ca6f06289b
[2] https://lists.openembedded.org/g/openembedded-architecture/message/2007

---
 meta-arm/recipes-test/pacbti/test-pacbti.bb | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
meta-arm/recipes-test/pacbti/test-pacbti.bb +2 -1
index 331c5854..b0ce1988 100644
@@ -4,7 +4,8 @@ LIC_FILES_CHKSUM = "file://pacbti.c;beginline=2;endline=2;md5=6ec41034e04432ee37
 
 SRC_URI = "file://pacbti.c"
 
-S = "${WORKDIR}"
+S = "${WORKDIR}/sources"
+UNPACKDIR = "${S}"
 
 do_compile() {
     # Compile with -zforce-bti with fatal warnings, so the link fails if PAC/BTI
Signature · 1 line
2.17.1
#1 lore raw
Quoted 6 lines · Ryan Eatmon

Fix parsing recipes error:

Parsing recipes...
ERROR: meta-arm/recipes-test/pacbti/test-pacbti.bb: Using S = ${WORKDIR} is no longer supported
ERROR: Parsing halted due to errors, see error messages above

Quoted 6 lines

There was a change in oe-core [1] and was further discussed here [2].

[1] https://git.openembedded.org/openembedded-core/commit/?h=master&id=32cba1cc916ad530c5e6630a927e74ca6f06289b
[2] https://lists.openembedded.org/g/openembedded-architecture/message/2007

Thanks for the patch. I had a similar one queued internally, but I'll take yours. Unfortunately, we need to delay merging it for a couple of weeks due. This is due to the WORKDIR changes not working on scarthgap and needing master to be pinned to scarthgap for an upcoming BSP release. I've added this patch to my gitlab master-next-master branch (the name sucks, I know), and will push it to master once the release occurs.

Thanks,
Jon

Quoted 22 lines
---
 meta-arm/recipes-test/pacbti/test-pacbti.bb | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
meta-arm/recipes-test/pacbti/test-pacbti.bb +2 -1
index 331c5854..b0ce1988 100644
@@ -4,7 +4,8 @@ LIC_FILES_CHKSUM = "file://pacbti.c;beginline=2;endline=2;md5=6ec41034e04432ee37
 
 SRC_URI = "file://pacbti.c"
 
-S = "${WORKDIR}"
+S = "${WORKDIR}/sources"
+UNPACKDIR = "${S}"
 
 do_compile() {
     # Compile with -zforce-bti with fatal warnings, so the link fails if PAC/BTI
Signature · 1 line
2.17.1