Files
poky/meta/recipes-devtools
Yash Shinde 9a084b728e rpm-sequoia: Use DEBUG_BUILD to determine build directory
Debug builds fail with a panic in build.rs when attempting
to create rpm-sequoia.pc in a non-existent target/debug directory:

process didn't exit successfully: `TOPDIR/tmp/work/core2-32-wrs-linux/rpm-sequoia/1.7.0/build/target/debug/build/rpm-sequoia-d2609670a855c0b5/build-script-build` (exit status: 101)
— stderr
thread 'main' panicked at build.rs:125:36:
Creating "TOPDIR/tmp/work/core2-32-wrs-linux/rpm-sequoia/1.7.0/sources-unpack/git/target/debug/rpm-sequoia.pc" (CARGO_TARGET_DIR: None): Os
{ code: 2, kind: NotFound, message: "No such file or directory" }

This was caused by the build and install logic assuming a fixed release directory
in rpm-sequoia recipe.

Update build and install steps to use the ${BUILD_DIR} variable,
which is set based on the value of DEBUG_BUILD from cargo.bbclass.
(rpm-sequoia inherits cargo)
This ensures paths used for rpm-sequoia.pc generation and installation
are valid in both debug and release configurations.

(From OE-Core rev: 2d21762d6f163c7fb8796d1035b0e25e21a3350b)

Signed-off-by: Yash Shinde <Yash.Shinde@windriver.com>
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-07-07 22:12:50 +01:00
..
2025-05-13 10:29:20 +01:00
2024-09-03 10:21:38 +01:00
2025-05-13 10:29:20 +01:00
2024-05-28 09:38:23 +01:00
2025-06-26 11:02:34 +01:00
2025-06-20 12:07:27 +01:00
2025-06-11 09:34:40 +01:00
2024-04-16 08:07:01 +01:00
2025-06-20 12:07:27 +01:00
2025-06-20 12:07:27 +01:00
2025-05-01 14:33:26 +01:00
2025-06-20 12:07:27 +01:00
2024-10-29 11:19:57 +00:00
2023-09-26 10:35:27 +01:00
2024-08-23 09:12:37 +01:00
2025-06-16 17:57:30 +01:00
2025-06-20 12:07:27 +01:00
2025-06-20 12:07:27 +01:00
2025-07-01 08:49:37 +01:00
2024-06-04 12:04:52 +01:00
2025-07-01 08:49:37 +01:00
2025-06-20 12:07:27 +01:00
2025-03-06 11:16:47 +00:00
2025-06-20 12:07:27 +01:00
2025-06-20 12:07:27 +01:00
2025-06-05 11:02:22 +01:00
2025-07-07 22:12:50 +01:00
2025-01-20 13:38:59 +00:00
2025-06-05 11:02:23 +01:00
2025-05-13 10:29:21 +01:00
2025-07-01 08:49:37 +01:00
2025-03-27 11:19:04 +00:00
2025-03-17 17:09:22 +00:00