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

Bug 744286

Summary: dev-libs/libbytesize-2.4 uses -Werror for build
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: Lars Wendler (Polynomial-C) (RETIRED) <polynomial-c>
Status: RESOLVED FIXED    
Severity: normal CC: esigra
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 260867    

Description Agostino Sarubbo gentoo-dev 2020-09-23 07:58:39 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: dev-libs/libbytesize-2.4 uses -Werror for build.
Discovered on: amd64 (internal ref: tinderbox)

-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

NOTE: If you want to change the summary, to avoid auto-filed duplicates, please at least keep the word '-Werror'
Comment 1 Larry the Git Cow gentoo-dev 2020-09-23 13:06:07 UTC
The bug has been closed via the following commit(s):

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

commit 21c239f3bfb548ecb34effaa32214d454c1275bc
Author:     Lars Wendler <polynomial-c@gentoo.org>
AuthorDate: 2020-09-23 12:44:35 +0000
Commit:     Lars Wendler <polynomial-c@gentoo.org>
CommitDate: 2020-09-23 13:06:01 +0000

    dev-libs/libbytesize: Don't build with "-Werror" by default
    
    Closes: https://bugs.gentoo.org/744286
    Package-Manager: Portage-3.0.8, Repoman-3.0.1
    Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>

 .../files/libbytesize-2.4-no_Werror.patch          | 24 ++++++++++++++++++++++
 dev-libs/libbytesize/libbytesize-2.3.ebuild        | 11 +++++++++-
 dev-libs/libbytesize/libbytesize-2.4.ebuild        | 11 +++++++++-
 3 files changed, 44 insertions(+), 2 deletions(-)