Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 485682

Summary: sys-boot/grub:2 should drop -Werror
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: Mike Gilbert <floppym>
Status: CONFIRMED ---    
Severity: QA CC: base-system, esigra
Priority: Lowest    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: https://savannah.gnu.org/bugs/index.php?40860
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 260867    

Description Agostino Sarubbo gentoo-dev 2013-09-22 18:09:07 UTC
This package should drop -Werror enabled by the buildsystem.
Comment 1 Agostino Sarubbo gentoo-dev 2013-09-22 18:09:39 UTC
From the build log we have:

x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H  -I/var/tmp/portage/sys-boot/grub-2.00_p5107-r1/work/grub-2.00/grub-core/efiemu/runtime -DGRUB_FILE=\"efiemu/runtime/efiemu.c\" -I. -I/var/tmp/portage/sys-boot/grub-2.00_p5107-r1/work/grub-2.00/grub-core -I.. -I/var/tmp/portage/sys-boot/grub-2.00_p5107-r1/work/grub-2.00 -I/var/tmp/portage/sys-boot/grub-2.00_p5107-r1/work/grub-2.00/include -I../include -I/var/tmp/portage/sys-boot/grub-2.00_p5107-r1/work/grub-2.00/grub-core/lib/libgcrypt-grub/include -I/var/tmp/portage/sys-boot/grub-2.00_p5107-r1/work/grub-2.00/grub-core/lib/libgcrypt-grub/src/ -DELF32 -DAPPLE_CC -m32 -Wall -Werror -nostdlib -O2 -c -o efiemu32.o.bin /var/tmp/portage/sys-boot/grub-2.00_p5107-r1/work/grub-2.00/grub-core/efiemu/runtime/efiemu.c || exit 1; \
Comment 2 Mike Gilbert gentoo-dev 2013-09-22 18:23:36 UTC
Seems to be limited to the "efiemu" files. These get build with TARGET_CC but not with TARGET_CFLAGS. Instead, Makefile.am hard codes the flags, ignoring the --disable-werror configure option.
Comment 3 Mike Gilbert gentoo-dev 2013-12-09 23:52:30 UTC
Reported upstream.