Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 895690 - dev-cpp/msgpack-cxx-5.0.0 fails to compile (GCC-13-SYSTEM): alloc_traits.h:70:31: error: static assertion failed: allocator_traits<A>::rebind_alloc<A::value_type> must be A
Summary: dev-cpp/msgpack-cxx-5.0.0 fails to compile (GCC-13-SYSTEM): alloc_traits.h:70...
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Vim Maintainers
Depends on:
Blocks: gcc-13
  Show dependency tree
Reported: 2023-02-21 10:14 UTC by Agostino Sarubbo
Modified: 2023-04-18 14:15 UTC (History)
0 users

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

build.log (build.log,96.56 KB, text/plain)
2023-02-21 10:14 UTC, Agostino Sarubbo

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:05 UTC

Issue: dev-cpp/msgpack-cxx-5.0.0 fails to compile (GCC-13-SYSTEM).
Discovered on: amd64 (internal ref: gcc13_tinderbox)

(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:07 UTC
Created attachment 853460 [details]

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

-- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE) 
FAILED: test/CMakeFiles/msgpack_cpp11.dir/msgpack_cpp11.cpp.o 
/usr/lib/gcc/x86_64-pc-linux-gnu/13/include/g++-v13/bits/alloc_traits.h:70:31: error: static assertion failed: allocator_traits<A>::rebind_alloc<A::value_type> must be A
Comment 3 Larry the Git Cow gentoo-dev 2023-04-18 14:15:22 UTC
The bug has been closed via the following commit(s):

commit 03a4af32d14d3b7841ada238dad68311a2bf09a9
Author:     Arsen Arsenović <>
AuthorDate: 2023-04-18 14:11:33 +0000
Commit:     Arsen Arsenović <>
CommitDate: 2023-04-18 14:14:18 +0000

    dev-cpp/msgpack-cxx: Fix building on GCC13
    Signed-off-by: Arsen Arsenović <>

 .../files/msgpack-cxx-6.0.0-gcc13.patch            | 49 ++++++++++++++++++++++
 dev-cpp/msgpack-cxx/msgpack-cxx-6.0.0.ebuild       |  4 ++
 2 files changed, 53 insertions(+)