Files
poky/meta/recipes-devtools
Yash Shinde bd0535ddf8 cargo-c: fix debug symbols containing TMPDIR references
When building cargo-c with DEBUG mode, QA checks fail due to
absolute paths from the build environment (TMPDIR) being embedded into
the debug symbols/binaries. This causes issues such as:

  ERROR: do_package_qa: File /usr/bin/.debug/cargo-capi contains reference to TMPDIR [buildpaths]
  ERROR: do_package_qa: File /usr/bin/.debug/cargo-cinstall contains reference to TMPDIR [buildpaths]
  ERROR: do_package_qa: File /usr/bin/.debug/cargo-cbuild contains reference to TMPDIR [buildpaths]
  ERROR: do_package_qa: File /usr/bin/.debug/cargo-ctest contains reference to TMPDIR [buildpaths]

To fix this, pass an additional -ffile-prefix-map option to DEBUG_PREFIX_MAP to
ensure that paths under `${CARGO_HOME}` are remapped to `${TARGET_DBGSRC_DIR}`.
This ensures debug info is reproducible and does not leak host-specific paths.

(From OE-Core rev: 3239961e35434592c06ec2cae2885ab464d35744)

Signed-off-by: Yash Shinde <Yash.Shinde@windriver.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-13 18:01:03 +01:00
..
2025-09-25 11:09:05 +01:00
2025-09-11 09:41:10 +01:00
2025-09-18 11:16:42 +01:00
2025-09-25 11:09:04 +01:00
2025-07-17 10:41:18 +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-07-17 10:41:18 +01:00
2024-04-16 08:07:01 +01:00
2025-08-07 12:11:15 +01:00
2025-05-01 14:33:26 +01:00
2025-10-02 11:28:03 +01:00
2025-07-28 14:51:50 +01:00
2025-10-13 18:01:03 +01:00
2024-10-29 11:19:57 +00:00
2023-09-26 10:35:27 +01:00
2025-09-25 11:09:04 +01:00
2025-09-15 17:57:23 +01:00
2025-08-14 10:31:10 +01:00
2025-08-25 17:47:20 +01:00
2025-10-02 11:28:02 +01:00
2025-07-31 10:48:35 +01:00
2025-07-01 08:49:37 +01:00
2024-06-04 12:04:52 +01:00
2025-07-17 10:41:18 +01:00
2025-06-20 12:07:27 +01:00
2025-07-24 10:29:53 +01:00
2025-07-07 22:12:50 +01:00
2025-06-05 11:02:22 +01:00
2025-09-08 14:05:10 +01:00
2025-01-20 13:38:59 +00:00
2025-09-11 11:31:56 +01:00
2025-09-08 14:05:10 +01:00
2025-05-13 10:29:21 +01:00
2025-09-08 18:02:40 +01:00
2025-10-09 10:58:07 +01:00
2025-03-27 11:19:04 +00:00
2025-03-17 17:09:22 +00:00