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

Bug 260870

Summary: app-crypt/tpm-emulator: uses -Werror during build
Product: Gentoo Linux Reporter: Diego Elio Pettenò (RETIRED) <flameeyes>
Component: New packagesAssignee: Crypto team [DISABLED] <crypto+disabled>
Status: RESOLVED INVALID    
Severity: normal CC: esigra, rico32
Priority: High Keywords: PMASKED
Version: unspecified   
Hardware: All   
OS: Linux   
URL: http://blog.flameeyes.eu/2009/02/25/future-proof-your-code-dont-use-werror
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 260867    

Description Diego Elio Pettenò (RETIRED) gentoo-dev 2009-03-02 14:00:01 UTC
Hello,

you're receiving this canned bug because the package in summary uses the flag -Werror during build, which transforms warnings in errors, and is prone to break software when new GCC releases are added to Gentoo.

Please make sure your package does not use -Werror during build, so that it can be more future-proof for the new GCC releases.

Thanks,
Diego
Comment 1 Andreas Niederl 2009-08-31 10:50:35 UTC
The flag can be removed by putting the following line into src_unpack():
sed -i 's/-Werror//' {tpmd_dev,tpm_dev,tddl,tpmd}/Makefile

I'll try to contact upstream and see if I can separate devel and end-user build targets.
Comment 2 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2009-09-21 10:40:56 UTC
No longer relevant with 0.5.1, as it was fixed upstream.