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
Status: RESOLVED FIXED
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: 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: ---


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

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
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

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

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

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):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f5f05e9efa68f48ae23a3adf48e04178b4ab7f4e

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

    dev-java/jna: patch to avoid adding -Werror flag
    
    Closes: https://bugs.gentoo.org/888813
    Signed-off-by: Volkmar W. Pogatzki <gentoo@pogatzki.net>
    Signed-off-by: Sam James <sam@gentoo.org>

 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(-)