Bug 11590 - creating root file systems using elf failed applying patch fix-makefile-to-find-libz.patch
Summary: creating root file systems using elf failed applying patch fix-makefile-to-fi...
Status: RESOLVED FIXED
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: core (show other bugs)
Version: 2.4
Hardware: x86 x86
: Medium normal
Target Milestone: 2.4 M2
Assignee: Saul Wold
QA Contact: Francisco Pedraza
URL: http://www.yoctoproject.org/docs/2.2/...
Whiteboard: Backport to 2.3.1
Depends on:
Blocks: 10745
  Show dependency tree
 
Reported: 2017-05-29 21:26 UTC by Francisco Pedraza
Modified: 2017-07-21 16:09 UTC (History)
5 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: Regression (Found by QA test)
Verified:
Documentation change: No (bug/feature does not impact docs)


Attachments
log elf applying patch (3.32 KB, application/octet-stream)
2017-05-29 21:26 UTC, Francisco Pedraza
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Francisco Pedraza 2017-05-29 21:26:34 UTC
Created attachment 3780 [details]
log elf applying patch

"elf" image compression failed 

Steps to reproduce
1. Add the following variables to "conf/local.conf"
IMAGE_FSTYPES += "elf"
2. Compile
$ bitbake core-image-minimal

Expected result:
The compilation process should be performed successfully and the generated compressed image should be at: "~/tmp/deploy/images/machine/"

Actual result:
The compilation image process failed getting the following error message:


ERROR: mkelfimage-native-4.0+gitAUTOINC+686a48a339-r0 do_patch: Command Error: 'quilt --quiltrc /home/fjpedraz/Bugs/2.4/poky/build/tmp/work/x86_64-linux/mkelfimage-native/4.0+gitAUTOINC+686a48a339-r0/recipe-sysroot-native/etc/quiltrc push' exited with 0  Output:
Applying patch fix-makefile-to-find-libz.patch
patching file configure.ac
Hunk #2 FAILED at 175.
1 out of 2 hunks FAILED -- rejects in file configure.ac
Patch fix-makefile-to-find-libz.patch does not apply (enforce with -f)
ERROR: mkelfimage-native-4.0+gitAUTOINC+686a48a339-r0 do_patch: Function failed: patch_do_patch
ERROR: Logfile of failure stored in: /home/fjpedraz/Bugs/2.4/poky/build/tmp/work/x86_64-linux/mkelfimage-native/4.0+gitAUTOINC+686a48a339-r0/temp/log.do_patch.34263
ERROR: Task (virtual:native:/home/fjpedraz/Bugs/2.4/poky/meta/recipes-devtools/mkelfimage/mkelfimage_git.bb:do_patch) failed with exit code '1'



Build Configuration:
BB_VERSION        = "1.34.0"
BUILD_SYS         = "x86_64-linux"
NATIVELSBSTRING   = "universal-4.8"
TARGET_SYS        = "i586-poky-linux"
MACHINE           = "qemux86"
DISTRO            = "poky"
DISTRO_VERSION    = "2.3"
TUNE_FEATURES     = "m32 i586"
TARGET_FPU        = ""


Attached you can find logs.
Comment 1 Francisco Pedraza 2017-05-29 21:28:21 UTC
It has relation with another implementation I am working on: https://bugzilla.yoctoproject.org/show_bug.cgi?id=10745