Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 888813 - dev-java/jna-5.11.0-r1 adds -Werror flag on its own
Summary: dev-java/jna-5.11.0-r1 adds -Werror flag on its own
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Java team
Keywords: PullRequest
Depends on:
Blocks: werror 857528
  Show dependency tree
Reported: 2022-12-28 21:50 UTC by Agostino Sarubbo
Modified: 2023-05-10 09:12 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---

build.log (build.log,73.76 KB, text/plain)
2022-12-28 21:50 UTC, Agostino Sarubbo

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2022-12-28 21:50:06 UTC

Issue: dev-java/jna-5.11.0-r1 adds -Werror flag on its own.
Discovered on: amd64 (internal ref: ci)

-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:
Comment 1 Agostino Sarubbo gentoo-dev 2022-12-28 21:50:09 UTC
Created attachment 845537 [details]

build log and emerge --info
Comment 2 Larry the Git Cow gentoo-dev 2023-05-08 17:36:22 UTC
The bug has been closed via the following commit(s):

commit f5f05e9efa68f48ae23a3adf48e04178b4ab7f4e
Author:     Volkmar W. Pogatzki <>
AuthorDate: 2023-05-08 05:38:44 +0000
Commit:     Sam James <>
CommitDate: 2023-05-08 17:35:24 +0000

    dev-java/jna: patch to avoid adding -Werror flag
    Signed-off-by: Volkmar W. Pogatzki <>
    Signed-off-by: Sam James <>

 dev-java/jna/files/jna-5.11.0-no-Werror.patch | 17 +++++++++++++++++
 dev-java/jna/jna-5.11.0-r1.ebuild             |  3 ++-
 2 files changed, 19 insertions(+), 1 deletion(-)