Bug 2750

Summary: grub has host contamination issues
Product: [Build System, Metadata & Runtime] OE-Core Reporter: Richard Purdie <richard.purdie>
Component: coreAssignee: Constantin Musca <constantinx.musca>
Status: VERIFIED FIXED QA Contact:
Severity: normal    
Priority: Medium CC: alexandru.c.georgescu, constantinx.musca, jessica.zhang, meta.mr.watcher, meta.watcher
Version: unspecified   
Target Milestone: 1.3 M4   
Hardware: x86   
OS: Multiple   
Whiteboard: a6d808f8c8aabb6fdc9ca6dc1ab27074fa159605
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: ---

Description Richard Purdie 2012-07-12 12:24:01 UTC
Grub has host contamination issues. An autobuilder build recently failed with:

| Processing task-core-boot...
| error: Failed dependencies:
|       liblzma5 >= 5.1.1alpha is needed by grub-1.99-r8.core2
|       liblzma.so.5 is needed by grub-1.99-r8.core2
| ERROR: Function failed: do_rootfs
(see /srv/home/pokybuild/yocto-autobuilder/yocto-slave/sys940x/build/build/tmp/work/sys940x-poky-linux/core-image-minimal-1.0-r0/temp/log.do_rootfs.23664 for further information)

which is caused by grub finding and compiling against lzma but not listing it in DEPENDS. Looking at configure.ac, we need to also deal with device-mapper, devmapper, zfs and nvpair. We'll likely have to patch configure.ac since there are no disable options for these items.
Comment 1 Richard Purdie 2012-07-12 12:24:35 UTC
Failure on the autobuilder: http://autobuilder.yoctoproject.org:8010/builders/sys940x/builds/26/steps/shell_27/logs/stdio
Comment 2 Constantin Musca 2012-09-21 11:12:24 UTC
Bug fixed.

Changes:
- add support for the --enable_liblzma option
- disable lzma, device-mapper, zfs, nvpair
Comment 3 Alexandru Georgescu 2012-09-25 14:24:24 UTC
verified.