Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 889444 - sci-libs/caffe2-1.12.0-r1 adds -Werror flag on its own
Summary: sci-libs/caffe2-1.12.0-r1 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: 2023-01-03 07:08 UTC by Agostino Sarubbo
Modified: 2023-01-04 14:02 UTC (History)
2 users (show)

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

build.log.xz (build.log.xz,67.71 KB, application/x-xz)
2023-01-03 07:08 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 2023-01-03 07:08:42 UTC

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

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

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

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