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

Bug 310503

Summary: dev-java/icedtea-7.2.2.1 is using -Werror.
Product: Gentoo Linux Reporter: Ralph Sennhauser (RETIRED) <sera>
Component: [OLD] JavaAssignee: Java team <java>
Status: RESOLVED FIXED    
Severity: normal CC: johannes.hirte
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: 247140, 260867, 423765    

Description Ralph Sennhauser (RETIRED) gentoo-dev 2010-03-21 09:55:59 UTC
Due to -Werror being set, -Winvalid-pch which I happened to have enabled caused a build failure for icedtea-6.1.7.1.

See url.

Reproducible: Always

Steps to Reproduce:
1. Enable some warnings, eg. -Winvalid-pch
2. emerge icedtea:6


Actual Results:  
build failure

Expected Results:  
Let the warnings be warnings. It should be up to the user to set -Werror or not as warnings change over time (new compilers and such)
Comment 1 Johannes Hirte 2010-05-04 14:55:35 UTC
please provide 'emerge --info'
Comment 2 Miroslav Šulc gentoo-dev 2011-10-19 14:28:04 UTC
this version is not available anymore. please try the latest version. feel free to reopen this bug if the problem persists.
Comment 3 Ralph Sennhauser (RETIRED) gentoo-dev 2011-10-19 14:46:38 UTC
(In reply to comment #2)
> this version is not available anymore. please try the latest version. feel free
> to reopen this bug if the problem persists.

Grepping the build log of icedtea-7.2.0 says -Werror is still heavily used.
Comment 4 Diego Elio Pettenò (RETIRED) gentoo-dev 2012-06-27 07:54:52 UTC
Now this no longer applies to just the java-overlay but main tree as well.
Comment 5 Ralph Sennhauser (RETIRED) gentoo-dev 2012-09-25 19:05:48 UTC
This is fixed for good in icedtea-7.2.3.2. See http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=1095