Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 895692 - dev-cpp/nlohmann_json-3.11.2-r1 fails to compile (GCC-13-SYSTEM): unit-iterators2.cpp:946:32: error: no match for operator== (operand types are doctest::detail::Expression_lhs<std::ranges::reverse_view<std::ranges::ref_view<nlohmann::json_abi_v3_11_2::ba
Summary: dev-cpp/nlohmann_json-3.11.2-r1 fails to compile (GCC-13-SYSTEM): unit-iterat...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: gcc-13
  Show dependency tree
 
Reported: 2023-02-21 10:14 UTC by Agostino Sarubbo
Modified: 2023-02-21 12:27 UTC (History)
0 users

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


Attachments
build.log (build.log,249.40 KB, text/plain)
2023-02-21 10:14 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 2023-02-21 10:14:09 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: dev-cpp/nlohmann_json-3.11.2-r1 fails to compile (GCC-13-SYSTEM).
Discovered on: amd64 (internal ref: gcc13_tinderbox)

NOTE:
(GCC-13-SYSTEM) in the summary means that the bug was found on a machine that runs gcc-13 but this bug MAY or MAY NOT BE related to the new compiler
Comment 1 Agostino Sarubbo gentoo-dev 2023-02-21 10:14:11 UTC
Created attachment 853462 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2023-02-21 10:14:12 UTC
Error(s) that match a know pattern in addition to what has been reported in the summary:


FAILED: tests/CMakeFiles/test-iterators2_cpp20.dir/src/unit-iterators2.cpp.o 
/var/tmp/portage/dev-cpp/nlohmann_json-3.11.2-r1/work/json-3.11.2/tests/src/unit-iterators2.cpp:946:32: error: no match for ‘operator==’ (operand types are ‘doctest::detail::Expression_lhs<std::ranges::reverse_view<std::ranges::ref_view<nlohmann::json_abi_v3_11_2::basic_json<> > >&>’ and ‘nlohmann::json_abi_v3_11_2::json’ {aka ‘nlohmann::json_abi_v3_11_2::basic_json<>’})
Comment 3 Larry the Git Cow gentoo-dev 2023-02-21 12:27:03 UTC
The bug has been closed via the following commit(s):

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

commit 0b9bc827044513629412186679b81112b5f633fd
Author:     Arsen Arsenović <arsen@gentoo.org>
AuthorDate: 2023-02-21 12:23:17 +0000
Commit:     Arsen Arsenović <arsen@gentoo.org>
CommitDate: 2023-02-21 12:26:35 +0000

    dev-cpp/nlohmann_json: Fix test build failure error on GCC 13
    
    Closes: https://bugs.gentoo.org/895692
    Signed-off-by: Arsen Arsenović <arsen@gentoo.org>

 .../files/nlohmann_json-3.11.2-gcc13-2.patch       | 42 ++++++++++++++++++++++
 .../nlohmann_json/nlohmann_json-3.11.2-r1.ebuild   |  1 +
 2 files changed, 43 insertions(+)