Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 890206 - dev-cpp/magic_enum-0.9.5 adds -Werror flag on its own
Summary: dev-cpp/magic_enum-0.9.5 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: Gentoo Games
URL:
Whiteboard:
Keywords:
: 927342 (view as bug list)
Depends on:
Blocks: werror
  Show dependency tree
 
Reported: 2023-01-08 08:51 UTC by Agostino Sarubbo
Modified: 2024-03-21 02:19 UTC (History)
2 users (show)

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


Attachments
build.log (build.log,48.77 KB, text/plain)
2023-01-08 08:51 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-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(+)