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

Bug 776925

Summary: sys-kernel/kpatch-0.7.1-r1 uses -Werror for build
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: Alice Ferrazzi <alicef>
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 2021-03-17 12:48:04 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: sys-kernel/kpatch-0.7.1-r1 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 2022-06-11 05:58:17 UTC
The bug has been closed via the following commit(s):

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

commit 7e27203cbdad242722e9bf58362068246a091fab
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2022-06-11 05:53:23 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-06-11 05:53:23 +0000

    sys-kernel/kpatch: drop Werror
    
    Closes: https://bugs.gentoo.org/776925
    Signed-off-by: Sam James <sam@gentoo.org>

 sys-kernel/kpatch/files/kpatch-0.9.4-no-werror.patch | 12 ++++++++++++
 sys-kernel/kpatch/kpatch-0.9.4.ebuild                |  4 ++++
 2 files changed, 16 insertions(+)