Bug 2041187

Summary: json: FTBFS in Fedora Rawhide
Product: [Fedora] Fedora Reporter: Vitaly <vitaly>
Component: gccAssignee: Jakub Jelinek <jakub>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: unspecified    
Version: rawhideCC: aoliva, dmalcolm, dominik, ebaron, fweimer, jakub, jwakely, knoepfel, law, mpolacek, msebor, nickc, sipoyare, vitaly, xjakub
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
URL: https://koschei.fedoraproject.org/package/json
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-01-27 10:08:01 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 2041366, 2041367, 2046746    

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.