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

Bug 453910

Summary: app-emulation/qemu should drop -Werror
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: New packagesAssignee: Doug Goldstein (RETIRED) <cardoe>
Status: RESOLVED TEST-REQUEST    
Severity: normal CC: esigra, qemu+disabled
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 260867    

Description Agostino Sarubbo gentoo-dev 2013-01-24 21:59:26 UTC
This package should drop -Werror flag, from the build log:


x86_64-pc-linux-gnu-gcc -I/var/tmp/portage/app-emulation/qemu-1.2.2-r2/work/qemu-kvm-1.2.0/slirp -I. 
-I/var/tmp/portage/app-emulation/qemu-1.2.2-r2/work/qemu-kvm-1.2.0 -I/var/tmp/portage/app-emulation/qemu-1.2.2-r2/work/qemu-kvm-1.2.0/fpu -Wall -Wstrict-prototypes -Werror 
-fomit-frame-pointer -fno-builtin -I/var/tmp/portage/app-emulation/qemu-1.2.2-r2/work/qemu-kvm-1.2.0   -fno-stack-protector -MMD -MP -MT multiboot.o -MF ./multiboot.d -Wall 
-Wstrict-prototypes -Werror -fomit-frame-pointer -fno-builtin -I/var/tmp/portage/app-emulation/qemu-1.2.2-r2/work/qemu-kvm-1.2.0   -fno-stack-protector -c -o multiboot.o 
multiboot.S
x86_64-pc-linux-gnu-gcc -I/var/tmp/portage/app-emulation/qemu-1.2.2-r2/work/qemu-kvm-1.2.0/slirp -I. 
-I/var/tmp/portage/app-emulation/qemu-1.2.2-r2/work/qemu-kvm-1.2.0 -I/var/tmp/portage/app-emulation/qemu-1.2.2-r2/work/qemu-kvm-1.2.0/fpu -Wall -Wstrict-prototypes -Werror 
-fomit-frame-pointer -fno-builtin -I/var/tmp/portage/app-emulation/qemu-1.2.2-r2/work/qemu-kvm-1.2.0   -fno-stack-protector -MMD -MP -MT linuxboot.o -MF ./linuxboot.d -Wall 
-Wstrict-prototypes -Werror -fomit-frame-pointer -fno-builtin -I/var/tmp/portage/app-emulation/qemu-1.2.2-r2/work/qemu-kvm-1.2.0   -fno-stack-protector -c -o linuxboot.o 
linuxboot.S
x86_64-pc-linux-gnu-gcc -I/var/tmp/portage/app-emulation/qemu-1.2.2-r2/work/qemu-kvm-1.2.0/slirp -I. 
-I/var/tmp/portage/app-emulation/qemu-1.2.2-r2/work/qemu-kvm-1.2.0 -I/var/tmp/portage/app-emulation/qemu-1.2.2-r2/work/qemu-kvm-1.2.0/fpu -Wall -Wstrict-prototypes -Werror 
-fomit-frame-pointer -fno-builtin -I/var/tmp/portage/app-emulation/qemu-1.2.2-r2/work/qemu-kvm-1.2.0   -fno-stack-protector -MMD -MP -MT kvmvapic.o -MF ./kvmvapic.d -Wall 
-Wstrict-prototypes -Werror -fomit-frame-pointer -fno-builtin -I/var/tmp/portage/app-emulation/qemu-1.2.2-r2/work/qemu-kvm-1.2.0   -fno-stack-protector -c -o kvmvapic.o 
kvmvapic.S
Comment 1 Agostino Sarubbo gentoo-dev 2013-02-11 16:55:04 UTC
The following code fixes the issue for me:

sed "s:-Werror::" -i pc-bios/optionrom/Makefile || die
Comment 2 Doug Goldstein (RETIRED) gentoo-dev 2013-02-11 17:15:32 UTC
(In reply to comment #1)
> The following code fixes the issue for me:
> 
> sed "s:-Werror::" -i pc-bios/optionrom/Makefile || die

That's only for building the optionroms not for the while environment.
Comment 3 Doug Goldstein (RETIRED) gentoo-dev 2013-05-30 02:13:39 UTC
Can you find if this is true with 1.4.2 still?