Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#79502 - [nlohmann-json] FTBFS

Attached to Project: Arch Linux
Opened by Levi Zim (kxxt) - Tuesday, 29 August 2023, 07:26 GMT
Last edited by David Runge (dvzrv) - Tuesday, 29 August 2023, 10:41 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To David Runge (dvzrv)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

FTBFS with gcc13. Upstream already fixed this in https://github.com/nlohmann/json/pull/3895 and https://github.com/nlohmann/json/pull/3950.
We just need to cherry-pick 660d0b58565073975d6f5d94365d6cbf150a4cf8 and 6cec5aefc97ad219b6fd5a4132f88f7c8f6800ee.

/usr/include/c++/13.2.1/bits/alloc_traits.h:70:31: error: static assertion failed: allocator_traits<A>::rebind_alloc<A::value_type> must be A
70 | _Tp>::value,
| ^~~~~

Additional info:
* package version(s) 3.11.2-1
* link to upstream bug report, if any: https://github.com/nlohmann/json/issues/3927
* patch attached

Steps to reproduce: extra-x86_64-build
This task depends upon

Closed by  David Runge (dvzrv)
Tuesday, 29 August 2023, 10:41 GMT
Reason for closing:  Fixed
Additional comments about closing:  Fixed with nlohmann-json 3.11.2-2
Comment by David Runge (dvzrv) - Tuesday, 29 August 2023, 09:46 GMT
@kxxt: Thanks for the ticket!

I will fix this in a pkgrel bump.

Loading...