Skip to contentSkip to conversation

meta-extsdk-toolchain: Mark as nostamp

PATCH In review Richard Purdie 2 participants 3 messages Jan 11, 2020

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 meta-extsdk-toolchain: Mark as nostamp

This recipe needs to generate the latest hashes. With unihash we may not rebuild as previous dependencies may be marked as equivalent.

eSDK which uses this is nostamp already, mark this task as nostamp also for the same reason.

---
 meta/recipes-core/meta/meta-extsdk-toolchain.bb | 3 +++
 1 file changed, 3 insertions(+)
meta/recipes-core/meta/meta-extsdk-toolchain.bb +3 -0
index 235d6ecc0f4..0df681ac738 100644
@@ -16,6 +16,9 @@ addtask do_locked_sigs after do_populate_sysroot
 SSTATETASKS += "do_locked_sigs"
 do_locked_sigs[sstate-inputdirs] = "${LOCKED_SIGS_INDIR}"
 do_locked_sigs[sstate-outputdirs] = "${STAGING_DIR}/${PACKAGE_ARCH}/${PN}/locked-sigs"
+# If a taskhash changes we need to use the latest hash changes. With unihash we may not rebuild.
+# eSDK which uses this is nostamp anyway
+do_locked_sigs[nostamp] = "1"
 
 python do_locked_sigs() {
     import oe.copy_buildsystem
Signature · 1 line
2.20.1
#1 lore raw

PATCH 2/2 glib-2.0: Fix hardcoded paths in checksums

The expansion by this function, recently added by the meson site handling code was causing hardcoded paths to become embedded in the tash hashes. Avoid this (and hence avoid eSDK failures which exposed this).

---
 meta/recipes-core/glib-2.0/glib-2.0_2.62.4.bb | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
meta/recipes-core/glib-2.0/glib-2.0_2.62.4.bb +2 -1
index 953fba501a7..5e71c81cca1 100644
@@ -29,6 +29,7 @@ def find_meson_cross_files(d):
     if bb.data.inherits_class('native', d):
         return ""
 
+    corebase = d.getVar("COREBASE")
     import collections
     sitedata = siteinfo_data(d)
     # filename -> found
@@ -36,7 +37,7 @@ def find_meson_cross_files(d):
     for path in d.getVar("FILESPATH").split(":"):
         for element in sitedata:
             filename = os.path.join(path, "meson.cross.d", element)
-            files[filename] = os.path.exists(filename)
+            files[filename.replace(corebase, "${COREBASE}")] = os.path.exists(filename)
 
     items = ["--cross-file=" + k for k,v in files.items() if v]
     d.appendVar("EXTRA_OEMESON", " " + " ".join(items))
Signature · 1 line
2.20.1
#2 lore raw

✗ patchtest: failure for "meta-extsdk-toolchain: Mark as..." and 1 more

In reply to Richard Purdie

== Series Details ==

Series: "meta-extsdk-toolchain: Mark as..." and 1 more
Revision: 1
URL : https://patchwork.openembedded.org/series/21963/
State : failure

== Summary ==

Thank you for submitting this patch series to OpenEmbedded Core. This is an automated response. Several tests have been executed on the proposed series by patchtest resulting in the following failures:

* Issue Series does not apply on top of target branch [test_series_merge_on_head]
Suggested fix Rebase your series on top of targeted branch
Targeted branch master (currently at 65d38cc1ce)

If you believe any of these test results are incorrect, please reply to the mailing list ([email protected]) raising your concerns. Otherwise we would appreciate you correcting the issues and submitting a new version of the patchset if applicable. Please ensure you add/increment the version number when sending the new version (i.e. [PATCH] -> [PATCH v2] -> [PATCH v3] -> ...).

---

Guidelines:     https://www.openembedded.org/wiki/Commit_Patch_Message_Guidelines
Test framework: http://git.yoctoproject.org/cgit/cgit.cgi/patchtest
Test suite:     http://git.yoctoproject.org/cgit/cgit.cgi/patchtest-oe