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

Bug 888837

Summary: dev-util/perf-6.0 adds -Werror flag on its own
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: Naohiro Aota <naota>
Status: RESOLVED FIXED    
Severity: normal CC: amadio, dlan, esigra, zlogene
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 260867    
Attachments: build.log.xz

Description Agostino Sarubbo gentoo-dev 2022-12-29 07:33:03 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: dev-util/perf-6.0 adds -Werror flag on its own.
Discovered on: amd64 (internal ref: dash_tinderbox)

NOTE:
(DASH-SYSTEM) in the summary means that the bug was found on a machine that runs /bin/sh as dash but this bug MAY or MAY NOT BE related to dash.
-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-29 07:33:05 UTC
Created attachment 845561 [details]
build.log.xz

build log and emerge --info (compressed because it exceeds attachment limit, use 'xzless' to read it)
Comment 2 Larry the Git Cow gentoo-dev 2023-01-13 15:27:41 UTC
The bug has been closed via the following commit(s):

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

commit 89389a9fc60661d2bb0b9590e012cf75cbe1960b
Author:     Naohiro Aota <naota@gentoo.org>
AuthorDate: 2023-01-13 15:25:47 +0000
Commit:     Naohiro Aota <naota@gentoo.org>
CommitDate: 2023-01-13 15:26:58 +0000

    dev-util/perf: drop -Werror from Makefile
    
    Closes: https://bugs.gentoo.org/888837
    Signed-off-by: Naohiro Aota <naota@gentoo.org>

 dev-util/perf/perf-6.0.ebuild | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)