Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 893334 - dev-libs/msgpack-3.3.0 fails to compile: gtest-port.h:270:2: error: #error C++ versions less than C++14 are not supported
Summary: dev-libs/msgpack-3.3.0 fails to compile: gtest-port.h:270:2: error: #error C+...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Vim Maintainers
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks: 893432
  Show dependency tree
 
Reported: 2023-02-06 06:15 UTC by Agostino Sarubbo
Modified: 2023-02-13 04:48 UTC (History)
0 users

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


Attachments
build.log (build.log,281.99 KB, text/plain)
2023-02-06 06:15 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 2023-02-06 06:15:45 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: dev-libs/msgpack-3.3.0 fails to compile.
Discovered on: amd64 (internal ref: ci)
Comment 1 Agostino Sarubbo gentoo-dev 2023-02-06 06:15:48 UTC
Created attachment 849944 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2023-02-06 06:15:49 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/array_ref.dir/array_ref.cpp.o 
FAILED: test/CMakeFiles/buffer_c.dir/buffer_c.cpp.o 
FAILED: test/CMakeFiles/buffer.dir/buffer.cpp.o 
FAILED: test/CMakeFiles/carray.dir/carray.cpp.o 
FAILED: test/CMakeFiles/cases.dir/cases.cpp.o 
FAILED: test/CMakeFiles/convert.dir/convert.cpp.o 
FAILED: test/CMakeFiles/fixint_c.dir/fixint_c.cpp.o 
FAILED: test/CMakeFiles/fixint.dir/fixint.cpp.o 
FAILED: test/CMakeFiles/fuzz_unpack_pack_fuzzer_cpp11.dir/fuzz_unpack_pack_fuzzer_cpp11.cpp.o 
FAILED: test/CMakeFiles/iterator_cpp11.dir/iterator_cpp11.cpp.o 
FAILED: test/CMakeFiles/json.dir/json.cpp.o 
FAILED: test/CMakeFiles/limit.dir/limit.cpp.o 
FAILED: test/CMakeFiles/msgpack_basic.dir/msgpack_basic.cpp.o 
FAILED: test/CMakeFiles/msgpack_c.dir/msgpack_c.cpp.o 
FAILED: test/CMakeFiles/msgpack_container.dir/msgpack_container.cpp.o 
FAILED: test/CMakeFiles/msgpack_cpp11.dir/msgpack_cpp11.cpp.o 
FAILED: test/CMakeFiles/msgpack_stream.dir/msgpack_stream.cpp.o 
FAILED: test/CMakeFiles/msgpack_tuple.dir/msgpack_tuple.cpp.o 
FAILED: test/CMakeFiles/msgpack_vref.dir/msgpack_vref.cpp.o 
FAILED: test/CMakeFiles/object.dir/object.cpp.o 
FAILED: test/CMakeFiles/object_with_zone.dir/object_with_zone.cpp.o 
FAILED: test/CMakeFiles/pack_unpack_c.dir/pack_unpack_c.cpp.o 
FAILED: test/CMakeFiles/pack_unpack.dir/pack_unpack.cpp.o 
FAILED: test/CMakeFiles/raw.dir/raw.cpp.o 
FAILED: test/CMakeFiles/reference_cpp11.dir/reference_cpp11.cpp.o 
FAILED: test/CMakeFiles/reference.dir/reference.cpp.o 
FAILED: test/CMakeFiles/reference_wrapper_cpp11.dir/reference_wrapper_cpp11.cpp.o 
FAILED: test/CMakeFiles/shared_ptr_cpp11.dir/shared_ptr_cpp11.cpp.o 
FAILED: test/CMakeFiles/size_equal_only.dir/size_equal_only.cpp.o 
FAILED: test/CMakeFiles/streaming_c.dir/streaming_c.cpp.o 
FAILED: test/CMakeFiles/streaming.dir/streaming.cpp.o 
FAILED: test/CMakeFiles/unique_ptr_cpp11.dir/unique_ptr_cpp11.cpp.o 
FAILED: test/CMakeFiles/user_class.dir/user_class.cpp.o 
FAILED: test/CMakeFiles/version.dir/version.cpp.o 
FAILED: test/CMakeFiles/visitor.dir/visitor.cpp.o 
FAILED: test/CMakeFiles/zone.dir/zone.cpp.o 
/usr/include/gtest/internal/gtest-port.h:270:2: error: #error C++ versions less than C++14 are not supported.
Comment 3 Larry the Git Cow gentoo-dev 2023-02-13 04:48:35 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=05ecf286c0b6d3525aeb6d3927c0d7bd5bace6ba

commit 05ecf286c0b6d3525aeb6d3927c0d7bd5bace6ba
Author:     Peter Levine <plevine457@gmail.com>
AuthorDate: 2023-02-07 17:54:52 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2023-02-13 04:47:34 +0000

    dev-libs/msgpack: enable MSGPACK_CXX17 instead of MSGPACK_CXX11
    
    dev-cpp/gtest-1.13.0 now requires building with c++14 or higher.
    Passing -DMSGPACK_CXX17=ON causes msgpack to build with -std=c++17 and
    should be supported by all modern compilers.
    
    Closes: https://bugs.gentoo.org/893334
    Closes: https://github.com/gentoo/gentoo/pull/29468
    Signed-off-by: Peter Levine <plevine457@gmail.com>
    Signed-off-by: Sam James <sam@gentoo.org>

 dev-libs/msgpack/msgpack-3.3.0-r2.ebuild | 77 ++++++++++++++++++++++++++++++++
 1 file changed, 77 insertions(+)