Skip to content

ERROR: Could not apply patches for common-pc-64 #302

Description

@outbackdingo

almost there, not quite there??? did it build for you?

Initialising tasks: 100% |######################################################################################################################| Time: 0:00:03
Sstate summary: Wanted 1557 Local 0 Mirrors 0 Missed 1557 Current 0 (0% match, 0% complete)
NOTE: Executing Tasks
ERROR: linux-yocto-5.14.6+gitAUTOINC+11430e73de_7ae156be3b-r0 do_patch: Could not apply patches for common-pc-64.
ERROR: linux-yocto-5.14.6+gitAUTOINC+11430e73de_7ae156be3b-r0 do_patch: Patch failures can be resolved in the linux source directory /home/dingo/overc/build/tmp/work-shared/genericx86-64/kernel-source)
ERROR: linux-yocto-5.14.6+gitAUTOINC+11430e73de_7ae156be3b-r0 do_patch: ExecutionError('/home/dingo/overc/build/tmp/work/genericx86_64-overc-linux/linux-yocto/5.14.6+gitAUTOINC+11430e73de_7ae156be3b-r0/temp/run.do_patch.1350433', 1, None, None)
ERROR: Logfile of failure stored in: /home/dingo/overc/build/tmp/work/genericx86_64-overc-linux/linux-yocto/5.14.6+gitAUTOINC+11430e73de_7ae156be3b-r0/temp/log.do_patch.1350433
Log data follows:
| DEBUG: Executing python function extend_recipe_sysroot
| NOTE: Direct dependencies are ['/home/dingo/overc/poky/meta/recipes-kernel/kern-tools/kern-tools-native_git.bb:do_populate_sysroot', 'virtual:native:/home/dingo/overc/meta-virtualization/recipes-kernel/linux/yocto-cfg-fragments.bb:do_populate_sysroot', 'virtual:native:/home/dingo/overc/poky/meta/recipes-devtools/patch/patch_2.7.6.bb:do_populate_sysroot', '/home/dingo/overc/poky/meta/recipes-devtools/quilt/quilt-native_0.66.bb:do_populate_sysroot']
| NOTE: Installed into sysroot: ['patch-native', 'quilt-native', 'libtool-native', 'attr-native', 'texinfo-dummy-native', 'gettext-minimal-native']
| NOTE: Skipping as already exists in sysroot: ['kern-tools-native', 'yocto-cfg-fragments-native']
| DEBUG: sed -e 's:^[^/]*/:/home/dingo/overc/build/tmp/work/genericx86_64-overc-linux/linux-yocto/5.14.6+gitAUTOINC+11430e73de_7ae156be3b-r0/recipe-sysroot-native/:g' /home/dingo/overc/build/tmp/sysroots-components/x86_64/quilt-native/fixmepath /home/dingo/overc/build/tmp/sysroots-components/x86_64/libtool-native/fixmepath | xargs sed -i -e 's:FIXMESTAGINGDIRTARGET:/home/dingo/overc/build/tmp/work/genericx86_64-overc-linux/linux-yocto/5.14.6+gitAUTOINC+11430e73de_7ae156be3b-r0/recipe-sysroot:g; s:FIXMESTAGINGDIRHOST:/home/dingo/overc/build/tmp/work/genericx86_64-overc-linux/linux-yocto/5.14.6+gitAUTOINC+11430e73de_7ae156be3b-r0/recipe-sysroot-native:g' -e 's:FIXME_PSEUDO_SYSROOT:/home/dingo/overc/build/tmp/sysroots-components/x86_64/pseudo-native:g' -e 's:FIXME_HOSTTOOLS_DIR:/home/dingo/overc/build/tmp/hosttools:g' -e 's:FIXME_PKGDATA_DIR:/home/dingo/overc/build/tmp/pkgdata/genericx86-64:g' -e 's:FIXME_PSEUDO_LOCALSTATEDIR:/home/dingo/overc/build/tmp/work/genericx86_64-overc-linux/linux-yocto/5.14.6+gitAUTOINC+11430e73de_7ae156be3b-r0/pseudo/:g' -e 's:FIXME_LOGFIFO:/home/dingo/overc/build/tmp/work/genericx86_64-overc-linux/linux-yocto/5.14.6+gitAUTOINC+11430e73de_7ae156be3b-r0/temp/fifo.1350433:g'
| DEBUG: Python function extend_recipe_sysroot finished
| DEBUG: Executing shell function do_patch
| (1/2) 0001-Add-abililty-for-a-child-ADMIN-name-space-to-escape-.patch
| (2/2) 0002-CAP_ADMIN_NS-Only-pass-a-level-1-ns-if-inheritable-a.patch
| [INFO]: check of .kernel-meta//patches//./0002-CAP_ADMIN_NS-Only-pass-a-level-1-ns-if-inheritable-a.patch with "git am" did not pass, trying reduced context.
| [INFO]: Context reduced git-am of .kernel-meta//patches//./0002-CAP_ADMIN_NS-Only-pass-a-level-1-ns-if-inheritable-a.patch with "git am" did not work, trying "apply".
| error: patch failed: kernel/cred.c:372
| error: kernel/cred.c: patch does not apply
| [ERROR]: Application of .kernel-meta//patches//./0002-CAP_ADMIN_NS-Only-pass-a-level-1-ns-if-inheritable-a.patch failed.
| Patch needs to be refreshed. Sample resolution script:
| .git/rebase-apply/resolve_rejects
| ERROR: Could not apply patches for common-pc-64.
| ERROR: Patch failures can be resolved in the linux source directory /home/dingo/overc/build/tmp/work-shared/genericx86-64/kernel-source)
| WARNING: /home/dingo/overc/build/tmp/work/genericx86_64-overc-linux/linux-yocto/5.14.6+gitAUTOINC+11430e73de_7ae156be3b-r0/temp/run.do_patch.1350433:207 exit 1 from 'exit 1'
| WARNING: Backtrace (BB generated script):
| #1: bbfatal_log, /home/dingo/overc/build/tmp/work/genericx86_64-overc-linux/linux-yocto/5.14.6+gitAUTOINC+11430e73de_7ae156be3b-r0/temp/run.do_patch.1350433, line 207
| #2: do_patch, /home/dingo/overc/build/tmp/work/genericx86_64-overc-linux/linux-yocto/5.14.6+gitAUTOINC+11430e73de_7ae156be3b-r0/temp/run.do_patch.1350433, line 163
| #3: main, /home/dingo/overc/build/tmp/work/genericx86_64-overc-linux/linux-yocto/5.14.6+gitAUTOINC+11430e73de_7ae156be3b-r0/temp/run.do_patch.1350433, line 230
ERROR: Task (/home/dingo/overc/poky/meta/recipes-kernel/linux/linux-yocto_5.14.bb:do_patch) failed with exit code '1'
NOTE: Tasks Summary: Attempted 2207 tasks of which 0 didn't need to be rerun and 1 failed.

Summary: 1 task failed:
/home/dingo/overc/poky/meta/recipes-kernel/linux/linux-yocto_5.14.bb:do_patch
Summary: There were 3 WARNING messages shown.
Summary: There were 3 ERROR messages shown, returning a non-zero exit code.
❯ .git/rebase-apply/resolve_rejects
zsh: no such file or directory: .git/rebase-apply/resolve_rejects

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions