DEBUG: Executing python function extend_recipe_sysroot
NOTE: Direct dependencies are ['/srv/pokybuild/yocto-worker/meta-virt/build/meta/recipes-devtools/quilt/quilt-native_0.68.bb:do_populate_sysroot', 'virtual:native:/srv/pokybuild/yocto-worker/meta-virt/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/cortexa57-poky-linux/xen/4.20.0+stable/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/cortexa57-poky-linux/xen/4.20.0+stable/recipe-sysroot:g; s:FIXMESTAGINGDIRHOST:TOPDIR/tmp/work/cortexa57-poky-linux/xen/4.20.0+stable/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/qemuarm64:g' -e 's:FIXME_PSEUDO_LOCALSTATEDIR:TOPDIR/tmp/work/cortexa57-poky-linux/xen/4.20.0+stable/pseudo/:g' -e 's:FIXME_LOGFIFO:TOPDIR/tmp/work/cortexa57-poky-linux/xen/4.20.0+stable/temp/fifo.3556199:g'
DEBUG: Python function extend_recipe_sysroot finished
DEBUG: Executing python function do_patch
DEBUG: Executing python function patch_do_patch
DEBUG: Searching for 0001-menuconfig-mconf-cfg-Allow-specification-of-ncurses-location.patch in paths:
    /srv/pokybuild/yocto-worker/meta-virt/build/meta-virtualization/recipes-extended/xen/xen-4.20.0+stable/poky
    /srv/pokybuild/yocto-worker/meta-virt/build/meta-virtualization/recipes-extended/xen/xen/poky
    /srv/pokybuild/yocto-worker/meta-virt/build/meta-virtualization/recipes-extended/xen/files/poky
    /srv/pokybuild/yocto-worker/meta-virt/build/meta-virtualization/recipes-extended/xen/xen-4.20.0+stable/qemuarm64
    /srv/pokybuild/yocto-worker/meta-virt/build/meta-virtualization/recipes-extended/xen/xen/qemuarm64
    /srv/pokybuild/yocto-worker/meta-virt/build/meta-virtualization/recipes-extended/xen/files/qemuarm64
    /srv/pokybuild/yocto-worker/meta-virt/build/meta-virtualization/recipes-extended/xen/xen-4.20.0+stable/aarch64
    /srv/pokybuild/yocto-worker/meta-virt/build/meta-virtualization/recipes-extended/xen/xen/aarch64
    /srv/pokybuild/yocto-worker/meta-virt/build/meta-virtualization/recipes-extended/xen/files/aarch64
    /srv/pokybuild/yocto-worker/meta-virt/build/meta-virtualization/recipes-extended/xen/xen-4.20.0+stable/qemuall
    /srv/pokybuild/yocto-worker/meta-virt/build/meta-virtualization/recipes-extended/xen/xen/qemuall
    /srv/pokybuild/yocto-worker/meta-virt/build/meta-virtualization/recipes-extended/xen/files/qemuall
    /srv/pokybuild/yocto-worker/meta-virt/build/meta-virtualization/recipes-extended/xen/xen-4.20.0+stable/aarch64
    /srv/pokybuild/yocto-worker/meta-virt/build/meta-virtualization/recipes-extended/xen/xen/aarch64
    /srv/pokybuild/yocto-worker/meta-virt/build/meta-virtualization/recipes-extended/xen/files/aarch64
    /srv/pokybuild/yocto-worker/meta-virt/build/meta-virtualization/recipes-extended/xen/xen-4.20.0+stable/
    /srv/pokybuild/yocto-worker/meta-virt/build/meta-virtualization/recipes-extended/xen/xen/
    /srv/pokybuild/yocto-worker/meta-virt/build/meta-virtualization/recipes-extended/xen/files/
DEBUG: Using /srv/pokybuild/yocto-worker/meta-virt/build/meta-virtualization/recipes-extended/xen/files/0001-menuconfig-mconf-cfg-Allow-specification-of-ncurses-location.patch for 0001-menuconfig-mconf-cfg-Allow-specification-of-ncurses-location.patch
DEBUG: Searching for 0001-xen-fix-header-guard-inconsistencies-gcc15.patch in paths:
    /srv/pokybuild/yocto-worker/meta-virt/build/meta-virtualization/recipes-extended/xen/xen-4.20.0+stable/poky
    /srv/pokybuild/yocto-worker/meta-virt/build/meta-virtualization/recipes-extended/xen/xen/poky
    /srv/pokybuild/yocto-worker/meta-virt/build/meta-virtualization/recipes-extended/xen/files/poky
    /srv/pokybuild/yocto-worker/meta-virt/build/meta-virtualization/recipes-extended/xen/xen-4.20.0+stable/qemuarm64
    /srv/pokybuild/yocto-worker/meta-virt/build/meta-virtualization/recipes-extended/xen/xen/qemuarm64
    /srv/pokybuild/yocto-worker/meta-virt/build/meta-virtualization/recipes-extended/xen/files/qemuarm64
    /srv/pokybuild/yocto-worker/meta-virt/build/meta-virtualization/recipes-extended/xen/xen-4.20.0+stable/aarch64
    /srv/pokybuild/yocto-worker/meta-virt/build/meta-virtualization/recipes-extended/xen/xen/aarch64
    /srv/pokybuild/yocto-worker/meta-virt/build/meta-virtualization/recipes-extended/xen/files/aarch64
    /srv/pokybuild/yocto-worker/meta-virt/build/meta-virtualization/recipes-extended/xen/xen-4.20.0+stable/qemuall
    /srv/pokybuild/yocto-worker/meta-virt/build/meta-virtualization/recipes-extended/xen/xen/qemuall
    /srv/pokybuild/yocto-worker/meta-virt/build/meta-virtualization/recipes-extended/xen/files/qemuall
    /srv/pokybuild/yocto-worker/meta-virt/build/meta-virtualization/recipes-extended/xen/xen-4.20.0+stable/aarch64
    /srv/pokybuild/yocto-worker/meta-virt/build/meta-virtualization/recipes-extended/xen/xen/aarch64
    /srv/pokybuild/yocto-worker/meta-virt/build/meta-virtualization/recipes-extended/xen/files/aarch64
    /srv/pokybuild/yocto-worker/meta-virt/build/meta-virtualization/recipes-extended/xen/xen-4.20.0+stable/
    /srv/pokybuild/yocto-worker/meta-virt/build/meta-virtualization/recipes-extended/xen/xen/
    /srv/pokybuild/yocto-worker/meta-virt/build/meta-virtualization/recipes-extended/xen/files/
DEBUG: Using /srv/pokybuild/yocto-worker/meta-virt/build/meta-virtualization/recipes-extended/xen/files/0001-xen-fix-header-guard-inconsistencies-gcc15.patch for 0001-xen-fix-header-guard-inconsistencies-gcc15.patch
NOTE: Applying patch '0001-menuconfig-mconf-cfg-Allow-specification-of-ncurses-location.patch' (../meta-virtualization/recipes-extended/xen/files/0001-menuconfig-mconf-cfg-Allow-specification-of-ncurses-location.patch)
ERROR: Applying patch '0001-menuconfig-mconf-cfg-Allow-specification-of-ncurses-location.patch' on target directory 'TOPDIR/tmp/work/cortexa57-poky-linux/xen/4.20.0+stable/git'
CmdError('quilt --quiltrc TOPDIR/tmp/work/cortexa57-poky-linux/xen/4.20.0+stable/recipe-sysroot-native/etc/quiltrc push', 0, "stdout: Applying patch 0001-menuconfig-mconf-cfg-Allow-specification-of-ncurses-location.patch
can't find file to patch at input line 43
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|From b300c18ab899b3c899e5405c96c20a32e51d77c8 Mon Sep 17 00:00:00 2001
|From: Bruce Ashfield <bruce.ashfield@windriver.com>
|Date: Mon, 2 Jul 2018 23:10:28 -0400
|Subject: [PATCH] xen: Fix menuconfig and add support for config fragments and
|
|Upstream-Status: Inappropriate [oe specific, cross compile issue]
|
|Signed-off-by: Diego Sueiro <diego.sueiro@arm.com>
|commit e6972e689a980ab28637e94e48c77eeace6abde5
|
|    xen/kconfig,menuconfig,mconf-cfg: Allow specification of ncurses location
|
|    In some cross build environments such as the Yocto Project build
|    environment it provides an ncurses library that is compiled
|    differently than the host's version.  This causes display corruption
|    problems when the host's curses includes are used instead of the
|    includes from the provided compiler are overridden.  There is a second
|    case where there is no curses libraries at all on the host system and
|    menuconfig will just fail entirely.
|
|    The solution is simply to allow an override variable in
|    check-lxdialog.sh for environments such as the Yocto Project.  Adding
|    a CROSS_CURSES_LIB and CROSS_CURSES_INC solves the issue and allowing
|    compiling and linking against the right headers and libraries.
|
|    Change-Id: Ibe8dfafc90655e3be2671dbbb0cb7f5631fc4d44
|    Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
|    cc: Michal Marek <mmarek@suse.cz>
|    cc: linux-kbuild@vger.kernel.org
|    Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
|
|---
| xen/tools/kconfig/mconf-cfg.sh | 8 ++++++++
| 1 file changed, 8 insertions(+)
| mode change 100755 => 100644 xen/tools/kconfig/mconf-cfg.sh
|
|diff --git a/xen/tools/kconfig/mconf-cfg.sh b/xen/tools/kconfig/mconf-cfg.sh
|old mode 100755
|new mode 100644
|index c812872d7f..56eb4fc79f
|--- a/xen/tools/kconfig/mconf-cfg.sh
|+++ b/xen/tools/kconfig/mconf-cfg.sh
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
Patch 0001-menuconfig-mconf-cfg-Allow-specification-of-ncurses-location.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:
17/05/25 18:25
Error type:
Recipe
Task:
do_patch
Recipe:
xen
Recipe version:
4.20.0+stable-r0
Machine:
qemuarm64
Distro:
poky
Build system:
x86_64-linux
Target system:
aarch64-poky-linux
Host distro:
universal/ubuntu-24.04
Branch:
akanavin/s-in-unpackdir
Commit:
2536a32f473f6f56007c5cd2ddebd5d2159d5765
Build:
#206082
Submitter:
yp-ab-ubuntu2404-vk-3
Link back:
https://autobuilder.yoctoproject.org/valkyrie/#/builders/89/builds/1525
Similar errors:
1
Open a bug