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

Bug 260886

Summary: dev-libs/libspt: uses -Werror during build and fails with gcc-4.3.3
Product: Gentoo Linux Reporter: Diego Elio Pettenò (RETIRED) <flameeyes>
Component: New packagesAssignee: CJK Team <cjk>
Status: RESOLVED FIXED    
Severity: normal    
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, 259417    
Attachments: Build log
Remove -Werror in src/Makefile.in

Description Diego Elio Pettenò (RETIRED) gentoo-dev 2009-03-02 14:09:08 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-03-09 10:55:37 UTC
Created attachment 184438 [details]
Build log
Comment 2 Magnus Granberg gentoo-dev 2009-03-10 20:21:45 UTC
Created attachment 184598 [details]
Remove -Werror in src/Makefile.in
Comment 3 Patrick Lauer gentoo-dev 2009-04-03 15:34:57 UTC
+  03 Apr 2009; Patrick Lauer <patrick@gentoo.org>
+  +files/libspt-werror.patch, +libspt-1.1-r1.ebuild:
+  Patch to fix compilation with gcc43 from Magnus Granberg. EAPI2ified.
+  Fixes #260886