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

Bug 889444

Summary: sci-libs/caffe2-1.12.0-r1 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 2023-01-03 07:08:42 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: sci-libs/caffe2-1.12.0-r1 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 2023-01-03 07:08:45 UTC
Created attachment 846814 [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 2023-01-04 14:02:39 UTC
The bug has been closed via the following commit(s):

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

commit d63f5f531caa6c5a6cd5db49ba9efd96006a7325
Author:     Alfredo Tupone <tupone@gentoo.org>
AuthorDate: 2023-01-04 14:00:46 +0000
Commit:     Alfredo Tupone <tupone@gentoo.org>
CommitDate: 2023-01-04 14:01:57 +0000

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

 sci-libs/caffe2/files/caffe2-1.11.0-gentoo.patch | 38 +++++++++++++++++-------
 1 file changed, 27 insertions(+), 11 deletions(-)