Bug 2750 - grub has host contamination issues
Summary: grub has host contamination issues
Status: VERIFIED FIXED
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: core (show other bugs)
Version: unspecified
Hardware: x86 Multiple
: Medium normal
Target Milestone: 1.3 M4
Assignee: Constantin Musca
QA Contact:
URL:
Whiteboard: a6d808f8c8aabb6fdc9ca6dc1ab27074fa159605
Depends on:
Blocks:
 
Reported: 2012-07-12 12:24 UTC by Richard Purdie
Modified: 2012-09-25 14:24 UTC (History)
5 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.