Hi RP,

On 5/28/26 21:13, Richard Purdie wrote:
On Thu, 2026-05-21 at 00:46 -0700, Robert Yang via lists.openembedded.org wrote:
From: Robert Yang <[email protected]>

* Remove strace/0001-Ignore-pwritev-pwrite64-tests-on-musl.patch, AUH has
   copied it to the files directory.

Signed-off-by: Robert Yang <[email protected]>
---
  ...gnore-pwritev-pwrite64-tests-on-musl.patch | 16 ++++++++----
  ...toconf-macro-to-detect-largefile-sup.patch |  4 +--
  ...kport-ax_prog_cc_for_build.m4-macros.patch |  2 +-
  ...001-strace-fix-reproducibilty-issues.patch |  2 +-
  ...002-tests-Replace-off64_t-with-off_t.patch |  2 +-
  .../strace/strace/Makefile-ptest.patch        |  6 ++---
  .../strace/strace/ptest-spacesave.patch       |  2 +-
  .../strace/strace/skip-bpf.patch              | 25 +++++++++++++------
  .../strace/strace/skip-load.patch             |  2 +-
  .../strace/strace/update-gawk-paths.patch     |  2 +-
  .../strace/{strace_6.19.bb => strace_7.0.bb}  |  6 +----
  11 files changed, 40 insertions(+), 29 deletions(-)
  rename meta/recipes-devtools/strace/{strace => 
files}/0001-Ignore-pwritev-pwrite64-tests-on-musl.patch (78%)
  rename meta/recipes-devtools/strace/{strace_6.19.bb => strace_7.0.bb} (93%)

diff --git 
a/meta/recipes-devtools/strace/strace/0001-Ignore-pwritev-pwrite64-tests-on-musl.patch
 
b/meta/recipes-devtools/strace/files/0001-Ignore-pwritev-pwrite64-tests-on-musl.patch
similarity index 78%
rename from 
meta/recipes-devtools/strace/strace/0001-Ignore-pwritev-pwrite64-tests-on-musl.patch
rename to 
meta/recipes-devtools/strace/files/0001-Ignore-pwritev-pwrite64-tests-on-musl.patch
index f21f68001f..d19533854c 100644
--- 
a/meta/recipes-devtools/strace/strace/0001-Ignore-pwritev-pwrite64-tests-on-musl.patch

This is still moving one of the patches into files/ which isn't desired!

This is because the 0001-Ignore-pwritev-pwrite64-tests-on-musl.patch is a
conditional patch:

SRC_URI:append:libc-musl = "\
           file://0001-Ignore-pwritev-pwrite64-tests-on-musl.patch \
           "

So the devtool won't copy it into workspace, then bb.utils.which() can't find it
, and will return the last section in FILESPATH which is strace/files, I can't
a regular way to fix it because that's how the bb.utils.which() and localpath
works. But there a workaround, add the following line to the recipe can fix the
problem:

FILESPATH .= ":${FILE_DIRNAME}/${BPN}"

I will send a V4 for it.


// Robert


Cheers,

Richard

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#238881): 
https://lists.openembedded.org/g/openembedded-core/message/238881
Mute This Topic: https://lists.openembedded.org/mt/119421496/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to