DEBUG: Executing python function extend_recipe_sysroot
NOTE: Direct dependencies are ['/srv/pokybuild/yocto-worker/qemuriscv64/build/layers/openembedded-core/meta/recipes-devtools/quilt/quilt-native_0.69.bb:do_populate_sysroot']
NOTE: Installed into sysroot: []
NOTE: Skipping as already exists in sysroot: ['quilt-native']
DEBUG: Python function extend_recipe_sysroot finished
DEBUG: Executing python function do_patch
DEBUG: Executing python function patch_do_patch
DEBUG: Searching for 0001-tools-mkeficapsule-Detect-GnuTLS-PKCS-11-support.patch in paths:
    /srv/pokybuild/yocto-worker/qemuriscv64/build/layers/openembedded-core/meta/recipes-bsp/u-boot/u-boot-tools-2026.07/poky
    /srv/pokybuild/yocto-worker/qemuriscv64/build/layers/openembedded-core/meta/recipes-bsp/u-boot/u-boot-tools/poky
    /srv/pokybuild/yocto-worker/qemuriscv64/build/layers/openembedded-core/meta/recipes-bsp/u-boot/files/poky
    /srv/pokybuild/yocto-worker/qemuriscv64/build/layers/openembedded-core/meta/recipes-bsp/u-boot/u-boot-tools-2026.07/
    /srv/pokybuild/yocto-worker/qemuriscv64/build/layers/openembedded-core/meta/recipes-bsp/u-boot/u-boot-tools/
    /srv/pokybuild/yocto-worker/qemuriscv64/build/layers/openembedded-core/meta/recipes-bsp/u-boot/files/
    /srv/pokybuild/yocto-worker/qemuriscv64/build/layers/openembedded-core/meta/recipes-bsp/u-boot/u-boot-tools-2026.07/x86-64
    /srv/pokybuild/yocto-worker/qemuriscv64/build/layers/openembedded-core/meta/recipes-bsp/u-boot/u-boot-tools/x86-64
    /srv/pokybuild/yocto-worker/qemuriscv64/build/layers/openembedded-core/meta/recipes-bsp/u-boot/files/x86-64
    /srv/pokybuild/yocto-worker/qemuriscv64/build/layers/openembedded-core/meta/recipes-bsp/u-boot/u-boot-tools-2026.07/
    /srv/pokybuild/yocto-worker/qemuriscv64/build/layers/openembedded-core/meta/recipes-bsp/u-boot/u-boot-tools/
    /srv/pokybuild/yocto-worker/qemuriscv64/build/layers/openembedded-core/meta/recipes-bsp/u-boot/files/
DEBUG: Using /srv/pokybuild/yocto-worker/qemuriscv64/build/layers/openembedded-core/meta/recipes-bsp/u-boot/files/0001-tools-mkeficapsule-Detect-GnuTLS-PKCS-11-support.patch for 0001-tools-mkeficapsule-Detect-GnuTLS-PKCS-11-support.patch
DEBUG: Searching for 0001-pylibfdt-Replace-removed-SWIG-Python-2-compatibility.patch in paths:
    /srv/pokybuild/yocto-worker/qemuriscv64/build/layers/openembedded-core/meta/recipes-bsp/u-boot/u-boot-tools-2026.07/poky
    /srv/pokybuild/yocto-worker/qemuriscv64/build/layers/openembedded-core/meta/recipes-bsp/u-boot/u-boot-tools/poky
    /srv/pokybuild/yocto-worker/qemuriscv64/build/layers/openembedded-core/meta/recipes-bsp/u-boot/files/poky
    /srv/pokybuild/yocto-worker/qemuriscv64/build/layers/openembedded-core/meta/recipes-bsp/u-boot/u-boot-tools-2026.07/
    /srv/pokybuild/yocto-worker/qemuriscv64/build/layers/openembedded-core/meta/recipes-bsp/u-boot/u-boot-tools/
    /srv/pokybuild/yocto-worker/qemuriscv64/build/layers/openembedded-core/meta/recipes-bsp/u-boot/files/
    /srv/pokybuild/yocto-worker/qemuriscv64/build/layers/openembedded-core/meta/recipes-bsp/u-boot/u-boot-tools-2026.07/x86-64
    /srv/pokybuild/yocto-worker/qemuriscv64/build/layers/openembedded-core/meta/recipes-bsp/u-boot/u-boot-tools/x86-64
    /srv/pokybuild/yocto-worker/qemuriscv64/build/layers/openembedded-core/meta/recipes-bsp/u-boot/files/x86-64
    /srv/pokybuild/yocto-worker/qemuriscv64/build/layers/openembedded-core/meta/recipes-bsp/u-boot/u-boot-tools-2026.07/
    /srv/pokybuild/yocto-worker/qemuriscv64/build/layers/openembedded-core/meta/recipes-bsp/u-boot/u-boot-tools/
    /srv/pokybuild/yocto-worker/qemuriscv64/build/layers/openembedded-core/meta/recipes-bsp/u-boot/files/
DEBUG: Using /srv/pokybuild/yocto-worker/qemuriscv64/build/layers/openembedded-core/meta/recipes-bsp/u-boot/files/0001-pylibfdt-Replace-removed-SWIG-Python-2-compatibility.patch for 0001-pylibfdt-Replace-removed-SWIG-Python-2-compatibility.patch
NOTE: Applying patch '0001-tools-mkeficapsule-Detect-GnuTLS-PKCS-11-support.patch' (../layers/openembedded-core/meta/recipes-bsp/u-boot/files/0001-tools-mkeficapsule-Detect-GnuTLS-PKCS-11-support.patch)
NOTE: Applying patch '0001-pylibfdt-Replace-removed-SWIG-Python-2-compatibility.patch' (../layers/openembedded-core/meta/recipes-bsp/u-boot/files/0001-pylibfdt-Replace-removed-SWIG-Python-2-compatibility.patch)
ERROR: Applying patch '/srv/pokybuild/yocto-worker/qemuriscv64/build/layers/openembedded-core/meta/recipes-bsp/u-boot/files/0001-pylibfdt-Replace-removed-SWIG-Python-2-compatibility.patch' on target directory 'TOPDIR/tmp/work/x86_64-linux/u-boot-tools-native/2026.07/sources/u-boot-tools-2026.07'
CmdError('quilt --quiltrc TOPDIR/tmp/work/x86_64-linux/u-boot-tools-native/2026.07/recipe-sysroot-native/etc/quiltrc push', 1, "stdout: Applying patch 0001-pylibfdt-Replace-removed-SWIG-Python-2-compatibility.patch
can't find file to patch at input line 33
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|From 32378d7b4383a79d13da9005035600d8f0c8c29d Mon Sep 17 00:00:00 2001
|From: Jitka Plesnikova <jplesnik@redhat.com>
|Date: Tue, 29 Jul 2026 05:55:56 +0000
|Subject: [PATCH] pylibfdt: Replace removed SWIG Python 2 compatibility macros
|
|SWIG 4.5.0 removed Python 2 compatibility macros (PyInt_*, PyString_*)
|from its runtime header pyhead.swg (see commit 79f7a2b7cb7d). Replace
|them with their Python 3 C API equivalents:
|
|- PyString_FromString -> PyUnicode_FromString
|- PyString_AsString -> PyBytes_AsString
|- PyInt_AsLong -> PyLong_AsLong
|
|The replacements are safe since the macros were already aliased to
|these exact functions in SWIG's Python 3 code path.
|
|Signed-off-by: Jitka Plesnikova <jplesnik@redhat.com>
|Signed-off-by: Peter Robinson <pbrobinson@gmail.com>
|Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
|(cherry picked from commit 5008d1d6a356b8d0a78060da2e1021507d529cff)
|
|Upstream-Status: Backport [https://github.com/dgibson/dtc/commit/5008d1d6a356b8d0a78060da2e1021507d529cff]
|
|Signed-off-by: Jaipaul Cheernam <jaipaul.cheernam@est.tech>
|---
| scripts/dtc/pylibfdt/libfdt.i | 6 +++---
| 1 file changed, 3 insertions(+), 3 deletions(-)
|
|diff --git a/scripts/dtc/pylibfdt/libfdt.i b/scripts/dtc/pylibfdt/libfdt.i
|index 1f9c0471..b1cb9873 100644
|--- a/scripts/dtc/pylibfdt/libfdt.i
|+++ b/scripts/dtc/pylibfdt/libfdt.i
--------------------------
No file to patch.  Skipping patch.
2 out of 2 hunks ignored
Patch 0001-pylibfdt-Replace-removed-SWIG-Python-2-compatibility.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:
11/08/26 07:13
Error type:
Recipe
Task:
do_patch
Recipe:
u-boot-tools-native
Recipe version:
1_2026.07-r0
Machine:
qemuriscv64
Distro:
poky
Build system:
x86_64-linux
Target system:
riscv64-poky-linux
Host distro:
universal/opensuseleap-15.6
Branch:
mathieu/master-next
Commit:
036681a79c8bc204971fc8271a98ef67de289cc8
Build:
#246212
Submitter:
yp-ab-opensuse156-vk-1
Link back:
https://autobuilder.yoctoproject.org/valkyrie/#/builders/45/builds/2092
Similar errors:
0
Open a bug