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

Bug 889336

Summary: app-arch/qpress-20220819 adds -Werror flag on its own
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: Azamat H. Hackimov <azamat.hackimov>
Status: RESOLVED FIXED    
Severity: normal CC: esigra, proxy-maint
Priority: Normal Keywords: PullRequest
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://github.com/gentoo/gentoo/pull/29460
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 260867    
Attachments: build.log

Description Agostino Sarubbo gentoo-dev 2023-01-02 06:00:44 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: app-arch/qpress-20220819 adds -Werror flag on its own.
Discovered on: amd64 (internal ref: clang-stricter_tinderbox)

NOTE:
(USR-MERGE-SYSTEM) in the summary means that the bug was found on a machine that runs default/linux/amd64/17.1/systemd/merged-usr profile but this bug MAY or MAY NOT BE related to the new profile.
-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-01-02 06:00:46 UTC
Created attachment 846514 [details]
build.log

build log and emerge --info
Comment 2 Larry the Git Cow gentoo-dev 2023-02-08 04:11:46 UTC
The bug has been closed via the following commit(s):

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

commit b1556a4ddabf55f1adf02de75bb5bce64a4b18f5
Author:     Azamat H. Hackimov <azamat.hackimov@gmail.com>
AuthorDate: 2023-02-07 12:25:14 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2023-02-08 04:10:40 +0000

    app-arch/qpress: exclude -Werror on build
    
    Closes: https://bugs.gentoo.org/889336
    Signed-off-by: Azamat H. Hackimov <azamat.hackimov@gmail.com>
    Closes: https://github.com/gentoo/gentoo/pull/29460
    Signed-off-by: Sam James <sam@gentoo.org>

 app-arch/qpress/files/qpress-20220819-fix-build-system.patch | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)