]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
python3-maturin: bzip2-sys reproduciblility
authorTim Orling <ticotimo@gmail.com>
Sun, 17 Dec 2023 05:41:28 +0000 (21:41 -0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sun, 17 Dec 2023 19:04:39 +0000 (19:04 +0000)
commit58a4f8b3afb67e6818f544e74a7f1dd2b1a66f86
tree26b937743ba32fd07abccb8c9e4bd11d856e16b1
parentb92d923991e57e1e3a8e4a3bf1b7f7ec138f7723
python3-maturin: bzip2-sys reproduciblility

The /usr/bin/.debug/maturin binary ends up with the path
to the bzip-sys (bzip2-1.0.8) source in the python3-maturin-dbg package

Fix this by mapping the debug path for CARGO_HOME
to TARGET_DBGSRC_DIR/cargo_home via CFLAGS. This is
required because the bzip-sys crate is compiled using
the cc crate and we override default CFLAGS.

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-devtools/python/python3-maturin_1.4.0.bb