Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 485682 - sys-boot/grub:2 should drop -Werror
Summary: sys-boot/grub:2 should drop -Werror
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Lowest QA (vote)
Assignee: Mike Gilbert
URL: https://savannah.gnu.org/bugs/index.p...
Whiteboard:
Keywords:
Depends on:
Blocks: werror
  Show dependency tree
 
Reported: 2013-09-22 18:09 UTC by Agostino Sarubbo
Modified: 2013-12-10 00:34 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

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