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

Bug 785742

Summary: [guru] kde-frameworks/kirigami-addons-0.1 uses -Werror for build
Product: GURU Reporter: Agostino Sarubbo <ago>
Component: Package issuesAssignee: GURU project <guru-bugs>
Status: RESOLVED INVALID    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 785607    

Description Agostino Sarubbo gentoo-dev 2021-04-25 22:01:25 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: kde-frameworks/kirigami-addons-0.1 uses -Werror for build.
Discovered on: amd64 (internal ref: guru_ci)

-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 Anna Vyalkova 2021-04-27 11:29:33 UTC
The flag is specific (-Werror=return-type) so it's safe to leave as is.
Comment 2 Agostino Sarubbo gentoo-dev 2021-04-27 12:20:19 UTC
it was a false positive