Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 891679 - dev-cpp/doctest-2.4.10 adds -Werror flag on its own (LIBARCHIVE-SYSTEM)
Summary: dev-cpp/doctest-2.4.10 adds -Werror flag on its own (LIBARCHIVE-SYSTEM)
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Petr Vaněk
Depends on:
Blocks: werror
  Show dependency tree
Reported: 2023-01-22 09:34 UTC by Agostino Sarubbo
Modified: 2023-03-05 11:19 UTC (History)
2 users (show)

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

build.log (build.log,231.42 KB, text/plain)
2023-01-22 09:34 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-22 09:34:45 UTC

Issue: dev-cpp/doctest-2.4.9 adds -Werror flag on its own (LIBARCHIVE-SYSTEM).
Discovered on: amd64 (internal ref: libarchive_tinderbox)

(LIBARCHIVE-SYSTEM) in the summary means that the bug was found on a machine that runs app-alternatives/tar and app-alternatives/cpio with [-gnu,+libarchive] but this bug MAY or MAY NOT BE related to the tar/cpio implementation.
-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-22 09:34:48 UTC
Created attachment 848973 [details]

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2023-03-04 08:54:14 UTC
ci has reproduced this issue with version 2.4.10 - Updating summary.
Comment 3 Larry the Git Cow gentoo-dev 2023-03-05 11:19:40 UTC
The bug has been closed via the following commit(s):

commit 82c15976e4ada7e9320b666b9d2252a11e10e7fa
Author:     Petr Vaněk <>
AuthorDate: 2023-03-05 08:34:52 +0000
Commit:     Sam James <>
CommitDate: 2023-03-05 11:19:20 +0000

    dev-cpp/doctest: remove automatic -Werror
    doctest builds tests with -Werror flag enabled by default. This is not
    wanted, let's remove it.
    Signed-off-by: Petr Vaněk <>
    Signed-off-by: Sam James <>

 dev-cpp/doctest/doctest-2.4.10.ebuild | 5 +++++
 1 file changed, 5 insertions(+)