Skip to contentSkip to conversation

smarty: Drop allarch

PATCH Chris Paterson 2 participants 5 messages Jun 17, 2025 1 message not in the archive

lore
Share & tools
lore
#1 lore raw
In reply to a message not in the archive

Hello all,

Quoted 63 lines

From: [email protected] <openembedded- [email protected]> On Behalf Of Chris Paterson via lists.openembedded.org
Sent: 20 May 2025 22:53

allarch is causing issues when running yocto-layer-check for test_machine_signatures on a BSP layer that depends on meta-oe:

bitbake-diffsigs -t smarty do_package_qa -s 416787047ca76d43b094860cf617234f957d11895e7b7be20cbe9203289f27e1 1e482ffc1ead26bcd1f89d4dcf92e497dd6223933941b3ec6e483cb0072c9f5d Hash for task dependency php:do_packagedata changed from 6bfffcbbcd4507bd0be6cf3138583b92d82e75099c13dcf58363aaa938ed6f9a to 24c5373ca06af905e35fa48b7ca3477283add52fc54348fee9dd5a28efd1bc05 Hash for task dependency php:do_package changed from cc9a8c60aeb862dd19eda30bd6ed137beb2ddd8b5b730a8b996fc58681a2ccdd to e8d7465054669b47fcf933f060e1fb69a3871d1d1e3d5b9a9610644edd17d2a8 Hash for task dependency bzip2:do_packagedata changed from c00269772615a22d528f4205b4a1ce88a2325c9acd08de20445d20e22e255b1c to c3629ef771a2b92ed5eb9c36cffd96557537542e2bae0568e191225af0c5f4fc Hash for task dependency bzip2:do_package changed from bf71dc096cc85a6f6cdddebb908709f47b55ed8401a7f56fc7810484f8d0a226 to 3326e837bd452b74e32ab6b4f96fca7ed69e4d5cbbdd57acc6c9325201638cc4 Hash for task dependency bzip2:do_install changed from 9e253b0c997975295046712d52a305e50d73148a00b6970aa39d5e548d66dc91 to a78a2933308498a16e713a934c1cc59480d5fd4c8bedf6b055c2ef6608836f78 Hash for task dependency bzip2:do_compile changed from b515ce5b36cc71307ce02f27a4b5187482acfeeddc74e6679c60ebef46ab6e1d to fe7f086dbf72dc1924bf9b4f7ddd54e519627fd7782434b50f67b245ce72073f Hash for task dependency bzip2:do_configure changed from 52680e9abaad7c7ec1ba6098f965bfd991924a5ce1a57db73725eb8917cfda31 to 3395d5acb3b7d42a4ff2cfd010d4d05c0595f91d36f8d9cd9888a367987ddb4f Hash for task dependency bzip2:do_deploy_source_date_epoch changed from b3cb06d6eb2fcd84f94c4f66c8e68dcb4f277622e1e3e5809fe2ea02ab589b31 to a6eade80d249c35f50b8b4d7ba5d72ccaed07068dde6529a5f219b918a7c5294
basehash changed from
f275277525924e477f47fb1b0bd4eb782ef2818fa2bd930159cd5ae5960f1e91 to 7aaec6b4c1f6b5ce5726d99f3a040678c1e49a5aa6f2f22d28503563b8e6fb32
Variable TUNE_CCARGS value changed:
" [--mcpu=cortex-a57.cortex-a53+crc-] {+-mcpu=cortex-a57+crc+} -mbranch-
protection=standard"

allarch was introduced to smarty in
0f33416ad038 ("smarty: update 4.5.5 -> 5.4.2") which was first introduced for Walnascar hence the issue wasn't caught until now.

Removing the allarch inheritance fixes the issue.

Also remove extra whitespace after comment.

devel/topic/issue_meta_oe_walnascar/113168928

---
 meta-oe/recipes-support/smarty/smarty_5.4.5.bb | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)
meta- renamed from meta-oe/recipes-support/smarty/smarty_5.4.5.bb +0 -0

oe/recipes-support/smarty/smarty_5.4.5.bb
index 7072641d4585..37336ff5d70e 100644

meta-oe/recipes-support/smarty/smarty_5.4.5.bb S = "${UNPACKDIR}/git" · line 22

Quoted 8 lines
meta-oe/recipes-support/smarty/smarty_5.4.5.bb +1 -3
@@ -18,9 +18,7 @@ S = "${UNPACKDIR}/git"
 
 INHIBIT_DEFAULT_DEPS = "1"
 
-inherit allarch
-
-# `make clean` removes files, they can't be rebuild with `make all`
+# `make clean` removes files, they can't be rebuild with `make all`
 CLEANBROKEN = "1"

Does anyone have any opinions on this patch?
Have I missed a step in the bug reporting/fixing process for meta-oe?

I also sent some related patches on the 22/05 but I won't spam the ML by pining them all right now.

Thanks, Chris

Quoted 4 lines
meta-oe/recipes-support/smarty/smarty_5.4.5.bb +0 -1
 do_configure[noexec] = "1"
--

2.43.0

#2 lore raw
Quoted 4 lines · Chris Paterson via lists.openembedded.org

Does anyone have any opinions on this patch?
Have I missed a step in the bug reporting/fixing process for meta-oe?

I also sent some related patches on the 22/05 but I won't spam the ML by pining them all right now.

This has been part of master branch since a while:
https://git.openembedded.org/meta-openembedded/commit/meta-oe/recipes-support/smarty/smarty_5.4.5.bb?id=1e571fdddee552d6a54a72f5a6926ec65a3d392e

In case there is no problem with a patch and there is nothing to discuss, usually it is just accepted and applied in a day or two after submission without any feedback.

Quoted 2 lines

Thanks, Chris

#3 lore raw

Hello Gyorgy,

Quoted 7 lines

From: Gyorgy Sarvari <[email protected]>
Sent: 17 June 2025 07:57

Quoted 3 lines · Chris Paterson via lists.openembedded.org

Does anyone have any opinions on this patch?
Have I missed a step in the bug reporting/fixing process for meta-oe?

Quoted 6 lines
Quoted 1 line

I also sent some related patches on the 22/05 but I won't spam the ML by

pining them all right now.

This has been part of master branch since a while:
https://git.openembedded.org/meta-openembedded/commit/meta-oe/recipes-
support/smarty/smarty_5.4.5.bb?id=1e571fdddee552d6a54a72f5a6926ec65a3d392e

So it is!
Sorry for the noise!

I was foolishly only checking the Walnascar branch as that's the version I'm currently based on.

Quoted 4 lines

In case there is no problem with a patch and there is nothing to discuss, usually it is just accepted and applied in a day or two after submission without any feedback.

Thank you for the information.

Kind regards, Chris

Quoted 3 lines
Quoted 3 lines

Thanks, Chris

#4 lore raw
Quoted 12 lines · Chris Paterson

Hello Gyorgy,

Quoted 10 lines

From: Gyorgy Sarvari <[email protected]>
Sent: 17 June 2025 07:57

Quoted 4 lines · Chris Paterson via lists.openembedded.org

Does anyone have any opinions on this patch?
Have I missed a step in the bug reporting/fixing process for meta-oe?

I also sent some related patches on the 22/05 but I won't spam the ML by

pining them all right now.

Quoted 8 lines
Quoted 3 lines

This has been part of master branch since a while:
https://git.openembedded.org/meta-openembedded/commit/meta-oe/recipes-
support/smarty/smarty_5.4.5.bb?id=1e571fdddee552d6a54a72f5a6926ec65a3d392e

So it is!
Sorry for the noise!

I was foolishly only checking the Walnascar branch as that's the version I'm currently based on.

That's a bit different. When you submit a patch, that will go to master branch by default. If you would like a patch to appear in a stable branch like Walnascar, then you need to submit the patch specifically for that branch (in the readme of the specific branch it is described how to, it just needs an extra tag in the subject). Not all patches are accepted in stable branches, but this particular patch looks like something that is required there too, so that's not something to worry about.

(Though master branch submissions appear quick in the repo, stable branches are merged only once a month)

Quoted 9 lines
Quoted 3 lines

In case there is no problem with a patch and there is nothing to discuss, usually it is just accepted and applied in a day or two after submission without any feedback.

Thank you for the information.

Kind regards, Chris

Quoted 2 lines
Quoted 2 lines

Thanks, Chris

#5 lore raw
Quoted 28 lines

From: Gyorgy Sarvari <[email protected]>
Sent: 17 June 2025 09:50

Quoted 10 lines · Chris Paterson

Hello Gyorgy,

Quoted 8 lines

From: Gyorgy Sarvari <[email protected]>
Sent: 17 June 2025 07:57

Quoted 4 lines · Chris Paterson via lists.openembedded.org

Does anyone have any opinions on this patch?
Have I missed a step in the bug reporting/fixing process for meta-oe?

I also sent some related patches on the 22/05 but I won't spam the ML

by

Quoted 5 lines
Quoted 5 lines

pining them all right now.

This has been part of master branch since a while:
https://git.openembedded.org/meta-openembedded/commit/meta-oe/recipes-

support/smarty/smarty_5.4.5.bb?id=1e571fdddee552d6a54a72f5a6926ec65a3d392e

Quoted 4 lines

So it is!
Sorry for the noise!

I was foolishly only checking the Walnascar branch as that's the version

I'm currently based on.

Quoted 1 line
Quoted 8 lines

That's a bit different. When you submit a patch, that will go to master branch by default. If you would like a patch to appear in a stable branch like Walnascar, then you need to submit the patch specifically for that branch (in the readme of the specific branch it is described how to, it just needs an extra tag in the subject). Not all patches are accepted in stable branches, but this particular patch looks like something that is required there too, so that's not something to worry about.

This I did at the same time.

Quoted 3 lines

(Though master branch submissions appear quick in the repo, stable branches are merged only once a month)

And this is probably why the stable version isn't merged yet. I'll be more patient :)

Thanks again!

Kind regards, Chris