DEBUG: Executing python function extend_recipe_sysroot
NOTE: Direct dependencies are ['/srv/pokybuild/yocto-worker/meta-arm/build/meta/recipes-devtools/quilt/quilt-native_0.68.bb:do_populate_sysroot', 'virtual:native:/srv/pokybuild/yocto-worker/meta-arm/build/meta/recipes-devtools/patch/patch_2.7.6.bb:do_populate_sysroot']
NOTE: Installed into sysroot: ['gettext-minimal-native', 'libtool-native', 'quilt-native', 'texinfo-dummy-native', 'patch-native', 'attr-native']
NOTE: Skipping as already exists in sysroot: []
DEBUG: sed -e 's:^[^/]*/:TOPDIR/tmp/work/sbsa_ref-poky-linux/optee-os/4.4.0/recipe-sysroot-native/:g' TOPDIR/tmp/sysroots-components/x86_64/libtool-native/fixmepath TOPDIR/tmp/sysroots-components/x86_64/quilt-native/fixmepath | xargs sed -i -e 's:FIXMESTAGINGDIRTARGET:TOPDIR/tmp/work/sbsa_ref-poky-linux/optee-os/4.4.0/recipe-sysroot:g; s:FIXMESTAGINGDIRHOST:TOPDIR/tmp/work/sbsa_ref-poky-linux/optee-os/4.4.0/recipe-sysroot-native:g' -e 's:FIXME_PSEUDO_SYSROOT:TOPDIR/tmp/sysroots-components/x86_64/pseudo-native:g' -e 's:FIXME_HOSTTOOLS_DIR:TOPDIR/tmp/hosttools:g' -e 's:FIXME_PKGDATA_DIR:TOPDIR/tmp/pkgdata/sbsa-ref:g' -e 's:FIXME_PSEUDO_LOCALSTATEDIR:TOPDIR/tmp/work/sbsa_ref-poky-linux/optee-os/4.4.0/pseudo/:g' -e 's:FIXME_LOGFIFO:TOPDIR/tmp/work/sbsa_ref-poky-linux/optee-os/4.4.0/temp/fifo.3546981:g'
DEBUG: Python function extend_recipe_sysroot finished
DEBUG: Executing python function do_patch
DEBUG: Executing python function patch_do_patch
DEBUG: Searching for 0003-optee-enable-clang-support.patch in paths:
    /srv/pokybuild/yocto-worker/meta-arm/build/meta-arm/meta-arm/recipes-security/optee/optee-os/poky
    /srv/pokybuild/yocto-worker/meta-arm/build/meta-arm/meta-arm/recipes-security/optee/optee-os-4.4.0/poky
    /srv/pokybuild/yocto-worker/meta-arm/build/meta-arm/meta-arm/recipes-security/optee/optee-os/poky
    /srv/pokybuild/yocto-worker/meta-arm/build/meta-arm/meta-arm/recipes-security/optee/files/poky
    /srv/pokybuild/yocto-worker/meta-arm/build/meta-arm/meta-arm/recipes-security/optee/optee-os/sbsa-ref
    /srv/pokybuild/yocto-worker/meta-arm/build/meta-arm/meta-arm/recipes-security/optee/optee-os-4.4.0/sbsa-ref
    /srv/pokybuild/yocto-worker/meta-arm/build/meta-arm/meta-arm/recipes-security/optee/optee-os/sbsa-ref
    /srv/pokybuild/yocto-worker/meta-arm/build/meta-arm/meta-arm/recipes-security/optee/files/sbsa-ref
    /srv/pokybuild/yocto-worker/meta-arm/build/meta-arm/meta-arm/recipes-security/optee/optee-os/aarch64
    /srv/pokybuild/yocto-worker/meta-arm/build/meta-arm/meta-arm/recipes-security/optee/optee-os-4.4.0/aarch64
    /srv/pokybuild/yocto-worker/meta-arm/build/meta-arm/meta-arm/recipes-security/optee/optee-os/aarch64
    /srv/pokybuild/yocto-worker/meta-arm/build/meta-arm/meta-arm/recipes-security/optee/files/aarch64
    /srv/pokybuild/yocto-worker/meta-arm/build/meta-arm/meta-arm/recipes-security/optee/optee-os/qemuall
    /srv/pokybuild/yocto-worker/meta-arm/build/meta-arm/meta-arm/recipes-security/optee/optee-os-4.4.0/qemuall
    /srv/pokybuild/yocto-worker/meta-arm/build/meta-arm/meta-arm/recipes-security/optee/optee-os/qemuall
    /srv/pokybuild/yocto-worker/meta-arm/build/meta-arm/meta-arm/recipes-security/optee/files/qemuall
    /srv/pokybuild/yocto-worker/meta-arm/build/meta-arm/meta-arm/recipes-security/optee/optee-os/aarch64
    /srv/pokybuild/yocto-worker/meta-arm/build/meta-arm/meta-arm/recipes-security/optee/optee-os-4.4.0/aarch64
    /srv/pokybuild/yocto-worker/meta-arm/build/meta-arm/meta-arm/recipes-security/optee/optee-os/aarch64
    /srv/pokybuild/yocto-worker/meta-arm/build/meta-arm/meta-arm/recipes-security/optee/files/aarch64
    /srv/pokybuild/yocto-worker/meta-arm/build/meta-arm/meta-arm/recipes-security/optee/optee-os/
    /srv/pokybuild/yocto-worker/meta-arm/build/meta-arm/meta-arm/recipes-security/optee/optee-os-4.4.0/
    /srv/pokybuild/yocto-worker/meta-arm/build/meta-arm/meta-arm/recipes-security/optee/optee-os/
    /srv/pokybuild/yocto-worker/meta-arm/build/meta-arm/meta-arm/recipes-security/optee/files/
DEBUG: Using /srv/pokybuild/yocto-worker/meta-arm/build/meta-arm/meta-arm/recipes-security/optee/optee-os/0003-optee-enable-clang-support.patch for 0003-optee-enable-clang-support.patch
NOTE: Applying patch '0003-optee-enable-clang-support.patch' (../meta-arm/meta-arm/recipes-security/optee/optee-os/0003-optee-enable-clang-support.patch)
ERROR: Applying patch '0003-optee-enable-clang-support.patch' on target directory 'TOPDIR/tmp/work/sbsa_ref-poky-linux/optee-os/4.4.0/git'
CmdError('quilt --quiltrc TOPDIR/tmp/work/sbsa_ref-poky-linux/optee-os/4.4.0/recipe-sysroot-native/etc/quiltrc push', 0, "stdout: Applying patch 0003-optee-enable-clang-support.patch
can't find file to patch at input line 21
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|From 9cf8ac4e6fcecb33af377e1a322f4841ed4e30ce Mon Sep 17 00:00:00 2001
|From: Brett Warren <brett.warren@arm.com>
|Date: Wed, 23 Sep 2020 09:27:34 +0100
|Subject: [PATCH] optee: enable clang support
|
|When compiling with clang, the LIBGCC_LOCATE_CFLAG variable used
|to provide a sysroot wasn't included, which results in not locating
|compiler-rt. This is mitigated by including the variable as ammended.
|
|Upstream-Status: Pending
|ChangeId: 8ba69a4b2eb8ebaa047cb266c9aa6c2c3da45701
|Signed-off-by: Brett Warren <brett.warren@arm.com>
|---
| mk/clang.mk | 2 +-
| 1 file changed, 1 insertion(+), 1 deletion(-)
|
|diff --git a/mk/clang.mk b/mk/clang.mk
|index a045beee8482..1ebe2f702dcd 100644
|--- a/mk/clang.mk
|+++ b/mk/clang.mk
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
Patch 0003-optee-enable-clang-support.patch does not apply (enforce with -f)

stderr: ")
DEBUG: Python function patch_do_patch finished
DEBUG: Python function do_patch finished

Error details

Submitted on:
21/05/25 17:00
Error type:
Recipe
Task:
do_patch
Recipe:
optee-os
Recipe version:
4.4.0-r0
Machine:
sbsa-ref
Distro:
poky
Build system:
x86_64-linux
Target system:
aarch64-poky-linux
Host distro:
universal/rocky-9.5
Branch:
akanavin/s-in-unpackdir
Commit:
dfe6cc7aacdfd5e0177b776df9ac8ed7cef087e8
Build:
#206276
Submitter:
yp-ab-rocky9-vk-1
Link back:
https://autobuilder.yoctoproject.org/valkyrie/#/builders/75/builds/1573
Similar errors:
1
Open a bug