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

Bug 890206

Summary: dev-cpp/magic_enum-0.9.5 adds -Werror flag on its own
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: Gentoo Games <games>
Status: RESOLVED FIXED    
Severity: normal CC: esigra, sam
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 260867    
Attachments: build.log

Description Agostino Sarubbo gentoo-dev 2023-01-08 08:51:31 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: dev-cpp/magic_enum-0.8.2 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-01-08 08:51:33 UTC
Created attachment 847892 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2023-12-22 08:39:53 UTC
gcc14_tinderbox has reproduced this issue with version 0.9.5 - Updating summary.
Comment 3 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-03-21 02:12:51 UTC
*** Bug 927342 has been marked as a duplicate of this bug. ***
Comment 4 Larry the Git Cow gentoo-dev 2024-03-21 02:19:35 UTC
The bug has been closed via the following commit(s):

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

commit 8273eeaba4ab6cfa57fee50b9547c4704fd40069
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2024-03-21 02:15:25 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-03-21 02:15:25 +0000

    dev-cpp/magic_enum: don't use -Werror
    
    Closes: https://bugs.gentoo.org/890206
    Signed-off-by: Sam James <sam@gentoo.org>

 .../magic_enum/files/magic_enum-0.9.5-werror.patch | 22 ++++++++++++++++++++++
 dev-cpp/magic_enum/magic_enum-0.9.5.ebuild         |  4 ++++
 2 files changed, 26 insertions(+)