New: grub2 fails to compile
https://bugs.busybox.net/show_bug.cgi?id=8991
Bug ID: 8991
Summary: grub2 fails to compile
Product: buildroot
Version: 2016.05
Hardware: PC
OS: Linux
Status: NEW
Severity: major
Priority: P5
Component: Other
Assignee: unassigned at buildroot.uclibc.org
Reporter: ian_ormshaw at waters.com
CC: buildroot at uclibc.org
Target Milestone: ---
Created attachment 6461
--> https://bugs.busybox.net/attachment.cgi?id=6461&action=edit
patch to fix compilation error
grub2 fails to compile with the following error:
gettext/gettext.c:37:36: error: storage size of 'main_context' isn't known
static struct grub_gettext_context main_context, secondary_context;
file grub2-2.00/grub-core/gettext/gettext.c
the structure grub_gettext_context is not defined until line 62 line
The attached patch contains the changes I made to fix the issue
Signature · 2 lines
You are receiving this mail because: You are on the CC list for the bug.
[Buildroot] [Bug 8991] grub2 fails to compile
https://bugs.busybox.net/show_bug.cgi?id=8991
--- Comment #1 from Thomas Petazzoni <[email protected]> --- Thanks for your report!
Could you provide the Buildroot version, and Buildroot configuration file that allow to produce this build failure?
Signature · 2 lines
You are receiving this mail because: You are on the CC list for the bug.
[Buildroot] [Bug 8991] grub2 fails to compile
In reply to bugzilla at busybox.nethttps://bugs.busybox.net/show_bug.cgi?id=8991
--- Comment #2 from Dr I J Ormshaw <[email protected]> --- Created attachment 6466
--> https://bugs.busybox.net/attachment.cgi?id=6466&action=edit
config file
Signature · 2 lines
You are receiving this mail because: You are on the CC list for the bug.
[Buildroot] [Bug 8991] grub2 fails to compile
In reply to bugzilla at busybox.nethttps://bugs.busybox.net/show_bug.cgi?id=8991
--- Comment #3 from Dr I J Ormshaw <[email protected]> --- Version as reported 2016-05
Signature · 2 lines
You are receiving this mail because: You are on the CC list for the bug.
[Buildroot] [Bug 8991] grub2 fails to compile
In reply to bugzilla at busybox.nethttps://bugs.busybox.net/show_bug.cgi?id=8991
--- Comment #4 from Dr I J Ormshaw <[email protected]> --- Created attachment 6476
--> https://bugs.busybox.net/attachment.cgi?id=6476&action=edit
config derived from qemu_x86_64_defconfig
The following is what seems to cause the error
grub2:Platform (x86-64-efi)
(boot linux ext2 fat squash4 part_msdos part_gpt normal efi_gop terminal) builtin modules
Signature · 2 lines
You are receiving this mail because: You are on the CC list for the bug.
[Buildroot] [Bug 8991] grub2 fails to compile
In reply to bugzilla at busybox.nethttps://bugs.busybox.net/show_bug.cgi?id=8991
Thomas Petazzoni <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |FIXED
Status|NEW |RESOLVED--- Comment #5 from Thomas Petazzoni <[email protected]> --- Fixed in
https://git.buildroot.org/buildroot/commit/?id=4770c4ef83f89fc3348fd6df636b0e4adac05d16.
Thanks for reporting the bug!
Signature · 2 lines
You are receiving this mail because: You are on the CC list for the bug.