From: Prasanth R <ragaprasanth@gmail.com>
To: openembedded-core@lists.openembedded.org
Cc: Prasanth R <ragaprasanth@gmail.com>
Subject: [PATCH] sanity: fix NameError when upgrading a TMPDIR from ABI 14
Date: Fri, 6 Nov 2026 11:54:16 +0900 [thread overview]
Message-ID: <20261106025416.631340-1-ragaprasanth@gmail.com> (raw)
drop_v14_cross_builds() calls sstate_clean_manifest(), which is defined
in sstate.bbclass. Since the sanity code moved to lib/oe in 4efa61f049
("sanity: Move code to lib/oe"), that name is no longer in scope, so a
TMPDIR with ABI 14 fails with:
NameError: name 'sstate_clean_manifest' is not defined
Call it through bb.utils.exec_flat_python_func().
AI-Generated: Uses Claude
Signed-off-by: Prasanth R <prasanth.r@lineo.co.jp>
---
meta/lib/oe/sanity.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/meta/lib/oe/sanity.py b/meta/lib/oe/sanity.py
index c9149ec974..77cea4ed24 100644
--- a/meta/lib/oe/sanity.py
+++ b/meta/lib/oe/sanity.py
@@ -474,7 +474,7 @@ def drop_v14_cross_builds(d):
for m in glob.glob(manifest + ".*"):
if m.endswith(".postrm"):
continue
- sstate_clean_manifest(m, d)
+ bb.utils.exec_flat_python_func("sstate_clean_manifest", m, d)
bb.utils.remove(stamp + "*")
bb.utils.remove(workdir, recurse = True)
--
2.34.1
next reply other threads:[~2026-11-06 2:55 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-06 2:54 Prasanth R [this message]
2026-11-11 17:44 ` [OE-core] [PATCH] sanity: fix NameError when upgrading a TMPDIR from ABI 14 Ross Burton
2026-11-12 0:04 ` Prasanth Ramesh
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20261106025416.631340-1-ragaprasanth@gmail.com \
--to=ragaprasanth@gmail.com \
--cc=openembedded-core@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.