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

Bug 744289

Summary: sys-libs/libblockdev-2.24 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:50 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: sys-libs/libblockdev-2.24 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:08 UTC
The bug has been closed via the following commit(s):

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

commit deeee63ae23debdc59584cb9e2e25ee2d87751b5
Author:     Lars Wendler <polynomial-c@gentoo.org>
AuthorDate: 2020-09-23 13:05:01 +0000
Commit:     Lars Wendler <polynomial-c@gentoo.org>
CommitDate: 2020-09-23 13:06:02 +0000

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

 sys-libs/libblockdev/libblockdev-2.24.ebuild | 11 ++++++++---
 sys-libs/libblockdev/libblockdev-9999.ebuild | 11 ++++++++---
 2 files changed, 16 insertions(+), 6 deletions(-)