[OE-core] util-linux_2.26.2.bb, do_patch failed with exit code '1

Andre McCurdy armccurdy at gmail.com
Thu Feb 11 21:07:08 UTC 2016


On Thu, Feb 11, 2016 at 8:29 AM, Nathan Sowatskey <nathan at nathan.to> wrote:
> Hi
>
> I am using the Jethro branch of oe-core, and my build is failing with the error below.
>
> This has started happening in the last few days. This build worked as expected last week.
>
> Has anyone else seen anything like this please?

There's no patch named "nsenter-to-be-more-flexible.patch" in oe-core.

Running "bitbake -e util-linux > env.txt" will show you how SRC_URI is
derived and where the patch is actually coming from.

> I have removed the contents of the tmp, downloads and caches a few times to test.
>
> Many thanks
>
> Nathan
>
> ERROR: Command Error: exit status: 1  Output:
> Applying patch nsenter-to-be-more-flexible.patch
> patching file sys-utils/nsenter.c
> Hunk #1 succeeded at 28 with fuzz 1.
> Hunk #2 succeeded at 38 (offset -4 lines).
> Hunk #3 succeeded at 72 (offset -4 lines).
> Hunk #4 FAILED at 94.
> Hunk #5 succeeded at 96 (offset -7 lines).
> Hunk #6 succeeded at 106 (offset -7 lines).
> Hunk #7 succeeded at 196 (offset -10 lines).
> Hunk #8 FAILED at 214.
> Hunk #9 succeeded at 217 (offset -13 lines).
> Hunk #10 FAILED at 309.
> Hunk #11 succeeded at 374 (offset -32 lines).
> 3 out of 11 hunks FAILED -- rejects in file sys-utils/nsenter.c
> Patch nsenter-to-be-more-flexible.patch does not apply (enforce with -f)
> ERROR: Function failed: patch_do_patch
> ERROR: Logfile of failure stored in: /home/builder/git/iox-yocto-build/tmp/work/core2-64-poky-linux/util-linux/2.26.2-r0/temp/log.do_patch.116544
> ERROR: Task 2897 (/home/builder/git/oe-core/meta/recipes-core/util-linux/util-linux_2.26.2.bb, do_patch) failed with exit code '1'
>
>> Nathan John Sowatskey
> Consulting Engineer - Programmable Infrastructure, DevOps, IoT and SDN
> nathan at nathan.to
> www.linkedin.com/in/nathandevops
> XMPP: nathandotto at im.koderoot.net
> Google: nathanjohnsowatskey at gmail.com
> Skype: nathan_sowatskey
> Twitter: NathanDotTo
> GitHub: https://github.com/DevOps4Networks
> http://www.kipling.org.uk/poems_if.htm
>
> --
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core at lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core



More information about the Openembedded-core mailing list