summaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-devtools/python/python3-pyruvate_1.1.2.bb
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2022-01-25 22:36:22 -0800
committerKhem Raj <raj.khem@gmail.com>2022-01-31 08:15:16 -0800
commit2c90fd26abae5367683dff3945634b781de53714 (patch)
treec7f8a9af23e4eda01fc647489e0233c7357dca2c /meta-python/recipes-devtools/python/python3-pyruvate_1.1.2.bb
parent7c5dbbc9ef632cfe2fb913bf166c9a36812d96de (diff)
downloadmeta-openembedded-2c90fd26abae5367683dff3945634b781de53714.tar.gz
python3-pyruvate: Fix build with mips
mips/glibc systems have interesting problem where dev_t is not defined properly for O32 ABI [1], therefore address it for libsystemd crate, it works fine for musl Fixes error[E0308]: mismatched types --> /usr/src/debug/python3-pyruvate/1.1.2-r0/cargo_home/bitbake/libsystemd-0.4.1/src/logging.rs:296:25 | 296 | device: stat.st_dev, | ^^^^^^^^^^^ expected `u64`, found `u32` [1] https://sourceware.org/bugzilla/show_bug.cgi?id=17786 Signed-off-by: Khem Raj <raj.khem@gmail.com> Cc: Tim Orling <tim.orling@konsulko.com> Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-pyruvate_1.1.2.bb')
-rw-r--r--meta-python/recipes-devtools/python/python3-pyruvate_1.1.2.bb2
1 files changed, 2 insertions, 0 deletions
diff --git a/meta-python/recipes-devtools/python/python3-pyruvate_1.1.2.bb b/meta-python/recipes-devtools/python/python3-pyruvate_1.1.2.bb
index dad18b78c2..14142fdb67 100644
--- a/meta-python/recipes-devtools/python/python3-pyruvate_1.1.2.bb
+++ b/meta-python/recipes-devtools/python/python3-pyruvate_1.1.2.bb
@@ -22,6 +22,8 @@ RUSTFLAGS:append:mipsel = " --cfg crossbeam_no_atomic_64"
22RUSTFLAGS:append:powerpc = " --cfg crossbeam_no_atomic_64" 22RUSTFLAGS:append:powerpc = " --cfg crossbeam_no_atomic_64"
23RUSTFLAGS:append:riscv32 = " --cfg crossbeam_no_atomic_64" 23RUSTFLAGS:append:riscv32 = " --cfg crossbeam_no_atomic_64"
24 24
25SRC_URI:append:mips = " file://0001-check-for-mips-targets-for-stat.st_dev-definitions.patch;patchdir=../cargo_home/bitbake/libsystemd-0.4.1/"
26
25SRC_URI += " \ 27SRC_URI += " \
26 crate://crates.io/aho-corasick/0.7.18 \ 28 crate://crates.io/aho-corasick/0.7.18 \
27 crate://crates.io/atty/0.2.14 \ 29 crate://crates.io/atty/0.2.14 \