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
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Tupone Alfredo
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: ---

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

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

Issue: sci-libs/caffe2-1.12.0 adds -Werror flag on its own.
Discovered on: amd64 (internal ref: 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:
Comment 1 Agostino Sarubbo gentoo-dev 2022-12-16 21:28:01 UTC
Created attachment 843171 [details]

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):

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

    sci-libs/caffe2: remove -Werror
    Signed-off-by: Alfredo Tupone <>

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