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

Bug 886441

Summary: sci-libs/caffe2-1.12.0 adds -Werror flag on its own
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: Tupone Alfredo <tupone>
Status: RESOLVED FIXED    
Severity: normal CC: esigra, telans
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 260867    
Attachments: build.log.xz

Description Agostino Sarubbo gentoo-dev 2022-12-16 21:27:59 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: sci-libs/caffe2-1.12.0 adds -Werror flag on its own.
Discovered on: amd64 (internal ref: ci)

NOTE:
-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.
Comment 1 Agostino Sarubbo gentoo-dev 2022-12-16 21:28:01 UTC
Created attachment 843171 [details]
build.log.xz

build log and emerge --info (compressed because it exceeds attachment limit, use 'xzless' to read it)
Comment 2 Larry the Git Cow gentoo-dev 2022-12-23 11:07:07 UTC
The bug has been closed via the following commit(s):

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

commit 4e35b1fd5cf76fe594ebc10a3a3d0e874cb78e75
Author:     Alfredo Tupone <tupone@gentoo.org>
AuthorDate: 2022-12-23 11:05:52 +0000
Commit:     Alfredo Tupone <tupone@gentoo.org>
CommitDate: 2022-12-23 11:06:42 +0000

    sci-libs/caffe2: remove -Werror
    
    Closes: https://bugs.gentoo.org/886441
    Signed-off-by: Alfredo Tupone <tupone@gentoo.org>

 sci-libs/caffe2/files/caffe2-1.11.0-gentoo.patch | 22 +++++++++++++++++++++-
 1 file changed, 21 insertions(+), 1 deletion(-)