Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 886441 - sci-libs/caffe2-1.12.0 adds -Werror flag on its own
Summary: sci-libs/caffe2-1.12.0 adds -Werror flag on its own
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Tupone Alfredo
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: werror
  Show dependency tree
 
Reported: 2022-12-16 21:27 UTC by Agostino Sarubbo
Modified: 2022-12-23 11:07 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log.xz (build.log.xz,67.50 KB, application/x-xz)
2022-12-16 21:28 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
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(-)