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

Bug 920029

Summary: [guru] dev-cpp/cpprestsdk-2.10.19-r1 adds -Werror flag on its own
Product: GURU Reporter: Agostino Sarubbo <ago>
Component: Package issuesAssignee: Jan-Espen Oversand <sigsegv>
Status: RESOLVED FIXED    
Severity: normal CC: esigra, guru-bugs
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-12-15 14:45:18 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: dev-cpp/cpprestsdk-2.10.19 adds -Werror flag on its own.
Discovered on: amd64 (internal ref: guru_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-12-15 14:45:21 UTC
Created attachment 879480 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2023-12-17 17:36:08 UTC
guru_ci has reproduced this issue with version 2.10.19-r1 - Updating summary.
Comment 3 Larry the Git Cow gentoo-dev 2023-12-17 23:08:09 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=102ae60a0ca9167b3ffa33fd6dcf892014bfb143

commit 102ae60a0ca9167b3ffa33fd6dcf892014bfb143
Author:     Jan-Espen Oversand <sigsegv@radiotube.org>
AuthorDate: 2023-12-17 22:51:02 +0000
Commit:     Jan-Espen Oversand <sigsegv@radiotube.org>
CommitDate: 2023-12-17 22:51:51 +0000

    dev-cpp/cpprestsdk: disable werror flag by default
    
    Bug: https://bugs.gentoo.org/920029
    Closes: https://bugs.gentoo.org/920029
    Signed-off-by: Jan-Espen Oversand <sigsegv@radiotube.org>

 ...restsdk-2.10.19-r2.ebuild => cpprestsdk-2.10.19-r3.ebuild} |  1 +
 .../files/cpprestsdk-2.10.19-disable-werror-default.patch     | 11 +++++++++++
 2 files changed, 12 insertions(+)

Additionally, it has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=102ae60a0ca9167b3ffa33fd6dcf892014bfb143

commit 102ae60a0ca9167b3ffa33fd6dcf892014bfb143
Author:     Jan-Espen Oversand <sigsegv@radiotube.org>
AuthorDate: 2023-12-17 22:51:02 +0000
Commit:     Jan-Espen Oversand <sigsegv@radiotube.org>
CommitDate: 2023-12-17 22:51:51 +0000

    dev-cpp/cpprestsdk: disable werror flag by default
    
    Bug: https://bugs.gentoo.org/920029
    Closes: https://bugs.gentoo.org/920029
    Signed-off-by: Jan-Espen Oversand <sigsegv@radiotube.org>

 ...restsdk-2.10.19-r2.ebuild => cpprestsdk-2.10.19-r3.ebuild} |  1 +
 .../files/cpprestsdk-2.10.19-disable-werror-default.patch     | 11 +++++++++++
 2 files changed, 12 insertions(+)