Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 898142 - dev-java/jffi-1.3.10 adds -Werror flag on its own
Summary: dev-java/jffi-1.3.10 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
  Show dependency tree
 
Reported: 2023-02-27 11:31 UTC by Agostino Sarubbo
Modified: 2023-03-04 07:22 UTC (History)
3 users (show)

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


Attachments
build.log (build.log,60.48 KB, text/plain)
2023-02-27 11:31 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 2023-02-27 11:31:03 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: dev-java/jffi-1.3.10 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 2023-02-27 11:31:04 UTC
CC'ing also the author of the commit (ba4b499ebfd082c8022b05b828261dcde4d4800f)
Comment 2 Agostino Sarubbo gentoo-dev 2023-02-27 11:31:06 UTC
Created attachment 854998 [details]
build.log

build log and emerge --info
Comment 3 Larry the Git Cow gentoo-dev 2023-03-04 07:22:31 UTC
The bug has been closed via the following commit(s):

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

commit d9e0fbfe50821c810cad6f7a374d95d8baef1117
Author:     Volkmar W. Pogatzki <gentoo@pogatzki.net>
AuthorDate: 2023-03-01 11:05:09 +0000
Commit:     Miroslav Šulc <fordfrog@gentoo.org>
CommitDate: 2023-03-04 07:22:22 +0000

    dev-java/jffi: suppress -Werror flag
    
    Closes: https://bugs.gentoo.org/898142
    Signed-off-by: Volkmar W. Pogatzki <gentoo@pogatzki.net>
    Closes: https://github.com/gentoo/gentoo/pull/29870
    Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>

 dev-java/jffi/files/jffi-1.3.8-GNUmakefile.patch | 19 +++++++++++++++----
 1 file changed, 15 insertions(+), 4 deletions(-)