Bug 2041187 - json: FTBFS in Fedora Rawhide
Summary: json: FTBFS in Fedora Rawhide
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: gcc
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
Assignee: Jakub Jelinek
QA Contact: Fedora Extras Quality Assurance
URL: https://koschei.fedoraproject.org/pac...
Whiteboard:
Depends On:
Blocks: 2041366 2041367 2046746
TreeView+ depends on / blocked
 
Reported: 2022-01-16 11:28 UTC by Vitaly
Modified: 2022-02-02 14:34 UTC (History)
15 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-01-27 10:08:01 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github nlohmann json issues 3138 0 None open build failure on upcoming gcc-12: test/src/unit-regression1.cpp:392:22: error: ambiguous overload for 'operator=' 2022-02-02 14:37:39 UTC

Description Vitaly 2022-01-16 11:28:07 UTC
Description of problem:
Package json fails to build from source in Fedora Rawhide.

Version-Release number of selected component (if applicable):
3.10.5-1.fc36

Steps to Reproduce:
koji build --scratch f36 json-3.10.5-1.fc36.src.rpm

Additional info:
This package is tracked by Koschei. See:
https://koschei.fedoraproject.org/package/json

Comment 1 Vitaly 2022-01-17 08:46:59 UTC
Changing the component to GCC, because the json upstream doesn't know how to fix this. Maybe it is just a simple GCC regression.

Comment 2 Jonathan Wakely 2022-01-17 09:59:04 UTC
GCC now implements http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2020/p2166r1.html which requires this behaviour for C++23.

Even if we make the change only apply to C++23 and not earluier standards, the json library will need to be fixed eventually.

Comment 3 Vitaly 2022-01-27 10:08:01 UTC
Fixed.


Note You need to log in before you can comment on or make changes to this bug.