Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 948662 - dev-cpp/nlohmann_json-3.11.2 fails to compile: alloc_traits.h:76:31: error: static assertion failed: allocator_traits<A>::rebind_alloc<A::value_type> must be A
Summary: dev-cpp/nlohmann_json-3.11.2 fails to compile: alloc_traits.h:76:31: error: s...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: gcc-13
  Show dependency tree
 
Reported: 2025-01-24 16:09 UTC by Agostino Sarubbo
Modified: 2025-01-24 18:45 UTC (History)
0 users

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


Attachments
build.log (build.log,101.76 KB, text/plain)
2025-01-24 16:09 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 2025-01-24 16:09:17 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: dev-cpp/nlohmann_json-3.11.2 fails to compile.
Discovered on: amd64 (internal ref: tinderbox-stable)

Info about the issue:
https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#CF0014
Comment 1 Agostino Sarubbo gentoo-dev 2025-01-24 16:09:18 UTC
Created attachment 917406 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2025-01-24 16:09:19 UTC
Error(s) that match a know pattern in addition to what has been reported in the summary:


FAILED: tests/CMakeFiles/test-allocator_cpp11.dir/src/unit-allocator.cpp.o 
/usr/lib/gcc/x86_64-pc-linux-gnu/14/include/g++-v14/bits/alloc_traits.h:76:31: error: static assertion failed: allocator_traits<A>::rebind_alloc<A::value_type> must be A
Comment 3 Agostino Sarubbo gentoo-dev 2025-01-24 16:09:19 UTC
If you think this bug has already been resolved in major version(s), then please remove the affected versions from the tree.
Comment 4 Holger Hoffstätte 2025-01-24 18:16:34 UTC
Fixed in 3.11.3 (2023-11-28), see linked issues.