Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 260870 - app-crypt/tpm-emulator: uses -Werror during build
Summary: app-crypt/tpm-emulator: uses -Werror during build
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Crypto team [DISABLED]
URL: http://blog.flameeyes.eu/2009/02/25/f...
Whiteboard:
Keywords: PMASKED
Depends on:
Blocks: werror
  Show dependency tree
 
Reported: 2009-03-02 14:00 UTC by Diego Elio Pettenò (RETIRED)
Modified: 2009-09-21 10:40 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 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.