Bug 13481 - A recent update to the openembedded-core layer ovmf is causing the bitbake build to fail
Summary: A recent update to the openembedded-core layer ovmf is causing the bitbake bu...
Status: RESOLVED FIXED
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: oe-core other (show other bugs)
Version: unspecified
Hardware: x86 Multiple
: Undecided normal
Target Milestone: ---
Assignee: Ross Burton
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2019-08-13 22:34 UTC by Chanakya Koppolu
Modified: 2019-08-14 17:40 UTC (History)
0 users

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: Don't know


Attachments
Log file of the recipe patch applied edk2-stable201905-r0 (18.61 KB, application/octet-stream)
2019-08-13 22:34 UTC, Chanakya Koppolu
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Chanakya Koppolu 2019-08-13 22:34:52 UTC
Created attachment 4554 [details]
Log file of the recipe patch applied edk2-stable201905-r0

A recent update from upstream for one of the layers under openembedded-core(1f64ecf ovmf: Update to version edk2-stable201905) has caused our builds to fail. 

Here is the bitbake error message:

02:21:17  NOTE: recipe ovmf-edk2-stable201905-r0: task do_patch: Started
02:21:18  ERROR: ovmf-edk2-stable201905-r0 do_patch: Command Error: 'quilt --quiltrc /srv/jenkins/workspace/gerrit-bot/tools/rt_linux-intel-rt/build/tmp-glibc/work/corei7-64-oe-linux/ovmf/edk2-stable201905-r0/recipe-sysroot-native/etc/quiltrc push' exited with 0  Output:
02:21:18  Applying patch 0001-ovmf-RefkitTestCA-TEST-UEFI-SecureBoot.patch
02:21:18  patching file OvmfPkg/EnrollDefaultKeys/EnrollDefaultKeys.c
02:21:18  Hunk #1 FAILED at 516 (different line endings).
02:21:18  Hunk #2 FAILED at 908 (different line endings).
02:21:18  2 out of 2 hunks FAILED -- rejects in file OvmfPkg/EnrollDefaultKeys/EnrollDefaultKeys.c
02:21:18  Patch 0001-ovmf-RefkitTestCA-TEST-UEFI-SecureBoot.patch does not apply (enforce with -f)
02:21:18  ERROR: Logfile of failure stored in: /srv/jenkins/workspace/gerrit-bot/tools/rt_linux-intel-rt/build/tmp-glibc/work/corei7-64-oe-linux/ovmf/edk2-stable201905-r0/temp/log.do_patch.27744
02:21:18  NOTE: recipe ovmf-edk2-stable201905-r0: task do_patch: Failed
02:21:18  ERROR: Task (/srv/jenkins/workspace/gerrit-bot/tools/rt_linux-intel-rt/openembedded-core/meta/recipes-core/ovmf/ovmf_git.bb:do_patch) failed with exit code '1'


Please provide a patch or steps to resolve this build issue.
Comment 1 Chanakya Koppolu 2019-08-14 17:40:06 UTC
A patch was applied by meta-intel layer to fix the build issue. The patch udpate is "50721b6 ovmf: refresh patch"