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

Bug 783978

Summary: dev-java/openjdk-11.0.10_p9 uses -Werror for build
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: Java team <java>
Status: RESOLVED NEEDINFO    
Severity: normal CC: esigra, flow, java
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 260867    

Description Agostino Sarubbo gentoo-dev 2021-04-19 06:46:29 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: dev-java/openjdk-11.0.10_p9 uses -Werror for build.
Discovered on: amd64 (internal ref: guru_tinderbox)

-Werror is not recommended for releases and should always be disabled when encountered in build-logs, because there are numerous cases where this breaks without purpose.
See also: https://devmanual.gentoo.org/ebuild-writing/common-mistakes/index.html

NOTE: If you want to change the summary, to avoid auto-filed duplicates, please at least keep the word '-Werror'
Comment 1 Florian Schmaus gentoo-dev 2021-04-19 10:38:07 UTC
dev-java/openjdk is not (and was never) in ::guru. Do you mean dev-java/openjdk-sts-bin?
Comment 2 Agostino Sarubbo gentoo-dev 2021-04-19 10:42:45 UTC
(In reply to Florian Schmaus from comment #1)
> dev-java/openjdk is not (and was never) in ::guru. Do you mean
> dev-java/openjdk-sts-bin?

sorry, template error.
Comment 3 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-03-06 12:41:25 UTC
I can't see -Werror being used, it DOES use it for Java, but that's not the same as for C/C++, and I've never seen any issues from it.