Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 783978 - dev-java/openjdk-11.0.10_p9 uses -Werror for build
Summary: dev-java/openjdk-11.0.10_p9 uses -Werror for build
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Java team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: werror
  Show dependency tree
 
Reported: 2021-04-19 06:46 UTC by Agostino Sarubbo
Modified: 2024-03-06 12:41 UTC (History)
3 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 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.