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

Bug 277765

Summary: sys-libs/openhpi: uses -Werror during build and fails to build with gcc 4.4 for that
Product: Gentoo Linux Reporter: Diego Elio Pettenò (RETIRED) <flameeyes>
Component: New packagesAssignee: Robin Johnson <robbat2>
Status: RESOLVED FIXED    
Severity: normal CC: esigra
Priority: High    
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, 249226    
Attachments: Build log

Description Diego Elio Pettenò (RETIRED) gentoo-dev 2009-07-14 08:54:54 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 Diego Elio Pettenò (RETIRED) gentoo-dev 2009-07-14 08:55:11 UTC
Created attachment 197881 [details]
Build log
Comment 2 Samuli Suominen (RETIRED) gentoo-dev 2009-08-10 12:10:00 UTC
+  10 Aug 2009; Samuli Suominen <ssuominen@gentoo.org> openhpi-2.12.0.ebuild:
+  Fix building with GCC 4.4+ by removing -Werror wrt #277765.
+