Wind River Support Network

HomeDefectsLIN6-13553
Fixed

LIN6-13553 : grub 0.97 and --enable-bootimage=iso config generates a build error

Created: Sep 6, 2017    Updated: Dec 3, 2018
Resolved Date: Oct 15, 2017
Found In Version: 6.0.0.34
Fix Version: 6.0.0.35
Severity: Severe
Applicable for: Wind River Linux 6
Component/s: Build & Config

Description

--enable-bootimage=iso config line plus using grub 0.97 version are not compatible and generates an error in the build


| ## ----------- ##
| ## confdefs.h. ##
| ## ----------- ##
| 
| /* confdefs.h */
| #define PACKAGE_NAME "GRUB"
| #define PACKAGE_TARNAME "grub"
| #define PACKAGE_VERSION "0.97"
| #define PACKAGE_STRING "GRUB 0.97"
| #define PACKAGE_BUGREPORT "bug-grub@gnu.org"
| #define PACKAGE_URL ""
| #define PACKAGE "grub"
| #define VERSION "0.97"
| 
| configure: exit 77
| ERROR: oe_runconf failed
| WARNING: exit code 1 from a shell command.
| ERROR: Function failed: do_configure (log file is located at /hbustost/cases/00076516_x86_lx6/bitbake_build/tmp/work/x86_64-wrs-linux/grub/0.97-r7/temp/do_configure/log.do_configure.11390)
ERROR: Task 1620 (/hbustost/cases/00076516_x86_lx6/layers/oe-core/meta/recipes-bsp/grub/grub_0.97.bb, do_configure) failed with exit code '1'
NOTE: Tasks Summary: Attempted 1476 tasks of which 265 didn't need to be rerun and 1 failed.
Waiting for 0 running tasks to finish:

Summary: 1 task failed:
  /hbustost/cases/00076516_x86_lx6/layers/oe-core/meta/recipes-bsp/grub/grub_0.97.bb, do_configure
Summary: There was 1 ERROR message shown, returning a non-zero exit code.
make: *** [export/intel-x86-64-glibc-small-standard-dist.tar.bz2] Error 1

Steps to Reproduce

1. Choose your build config:
<install>/wrlinux-6/wrlinux/configure --enable-board=intel-x86-64 --enable-bootimage=iso --enable-kernel=standard --enable-rootfs=glibc_small --enable-jobs=30 --enable-parallel-pkgbuilds=30 --with-rcpl-version=0034

2. change the package version of grub in the local.conf
PREFERRED_VERSION_grub = "0.97"

3. Build the image 
$ make


Other Downloads


Live chat
Online