Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 744286 - dev-libs/libbytesize-2.4 uses -Werror for build
Summary: dev-libs/libbytesize-2.4 uses -Werror for build
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Lars Wendler (Polynomial-C) (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: werror
  Show dependency tree
 
Reported: 2020-09-23 07:58 UTC by Agostino Sarubbo
Modified: 2020-09-23 13:06 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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(-)