Skip to contentSkip to conversation

python3-dtc: fix missing files in sysroot

PATCH Applied Ross Burton 2 participants 2 messages Mar 1, 2022 – Mar 2, 2022

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 python3-dtc: fix missing files in sysroot

There is a bug in SWIG/setuptools where 'pip install' doesn't build libfdt.py unless the build tree is already dirty, which makes using the library impossible.

Bump the SRCREV to incorporate the upstream workaround for this issue.

---
 recipes-kernel/dtc/python3-dtc_1.6.1.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
recipes-kernel/dtc/python3-dtc_1.6.1.bb +1 -1
index 671d280..a868bd0 100644
@@ -14,7 +14,7 @@ UPSTREAM_CHECK_GITTAGREGEX = "v(?P<pver>\d+(\.\d+)+)"
 
 LIC_FILES_CHKSUM = "file://pylibfdt/libfdt.i;beginline=1;endline=6;md5=afda088c974174a29108c8d80b5dce90"
 
-SRCREV = "4048aed12b81c5a0154b9af438edc99ec7d2b6a1"
+SRCREV = "c001fc01a43e7a06447c06ea3d50bd60641322b8"
 
 PV = "1.6.1+git${SRCPV}"
 S = "${WORKDIR}/git"
Signature · 1 line
2.25.1
#1 lore raw

queued to master-next along side of Tim's fixes.

Bruce

In message: [meta-virtualization] [PATCH] python3-dtc: fix missing files in sysroot

Quoted 37 lines · on 01/03/2022 Ross Burton wrote:

There is a bug in SWIG/setuptools where 'pip install' doesn't build libfdt.py unless the build tree is already dirty, which makes using the library impossible.

Bump the SRCREV to incorporate the upstream workaround for this issue.

---
 recipes-kernel/dtc/python3-dtc_1.6.1.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
recipes-kernel/dtc/python3-dtc_1.6.1.bb +1 -1
index 671d280..a868bd0 100644
@@ -14,7 +14,7 @@ UPSTREAM_CHECK_GITTAGREGEX = "v(?P<pver>\d+(\.\d+)+)"
 
 LIC_FILES_CHKSUM = "file://pylibfdt/libfdt.i;beginline=1;endline=6;md5=afda088c974174a29108c8d80b5dce90"
 
-SRCREV = "4048aed12b81c5a0154b9af438edc99ec7d2b6a1"
+SRCREV = "c001fc01a43e7a06447c06ea3d50bd60641322b8"
 
 PV = "1.6.1+git${SRCPV}"
 S = "${WORKDIR}/git"
Signature · 11 lines
2.25.1



-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#7069): https://lists.yoctoproject.org/g/meta-virtualization/message/7069
Mute This Topic: https://lists.yoctoproject.org/mt/89473720/1050810
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/meta-virtualization/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-