Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 893272 - dev-cpp/rapidyaml-0.5.0 fails to compile (HARDENED-SYSTEM): gtest-port.h:270:2: error: #error C++ versions less than C++14 are not supported
Summary: dev-cpp/rapidyaml-0.5.0 fails to compile (HARDENED-SYSTEM): gtest-port.h:270:...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Ionen Wolkens
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 893432
  Show dependency tree
 
Reported: 2023-02-05 09:31 UTC by Agostino Sarubbo
Modified: 2023-02-07 02:55 UTC (History)
0 users

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


Attachments
build.log (build.log,145.33 KB, text/plain)
2023-02-05 09:31 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-05 09:31:46 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: dev-cpp/rapidyaml-0.5.0 fails to compile (HARDENED-SYSTEM).
Discovered on: amd64 (internal ref: hardened_tinderbox)

NOTE:
(HARDENED-SYSTEM) in the summary means that the bug was found on a machine that runs an hardened profile with -D_FORTIFY_SOURCE=3 and -D_GLIBCXX_ASSERTIONS (https://www.gentoo.org/support/news-items/2023-01-01-hardening-fortify-assertions.html) but this bug MAY or MAY NOT BE related to the changes related to hardened.
Comment 1 Agostino Sarubbo gentoo-dev 2023-02-05 09:31:49 UTC
Created attachment 849896 [details]
build.log

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


FAILED: test/CMakeFiles/ryml-_testgroup.dir/test_group.cpp.o 
FAILED: test/CMakeFiles/ryml-_testlib.dir/test_case.cpp.o 
FAILED: test/CMakeFiles/ryml-test-basic.dir/test_basic.cpp.o 
FAILED: test/CMakeFiles/ryml-test-callbacks.dir/test_callbacks.cpp.o 
FAILED: test/CMakeFiles/ryml-test-emit.dir/test_emit.cpp.o 
FAILED: test/CMakeFiles/ryml-test-json.dir/test_json.cpp.o 
FAILED: test/CMakeFiles/ryml-test-noderef.dir/test_noderef.cpp.o 
FAILED: test/CMakeFiles/ryml-test-parser.dir/test_parser.cpp.o 
FAILED: test/CMakeFiles/ryml-test-preprocess.dir/test_preprocess.cpp.o 
FAILED: test/CMakeFiles/ryml-test-serialize.dir/test_serialize.cpp.o 
FAILED: test/CMakeFiles/ryml-test-stack.dir/test_stack.cpp.o 
FAILED: test/CMakeFiles/ryml-test-style.dir/test_style.cpp.o 
FAILED: test/CMakeFiles/ryml-test-tree.dir/test_tree.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-05 12:11:11 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6bdfb5ab03bb84f2f6be6bb928673db7e3e346ac

commit 6bdfb5ab03bb84f2f6be6bb928673db7e3e346ac
Author:     Ionen Wolkens <ionen@gentoo.org>
AuthorDate: 2023-02-05 11:36:08 +0000
Commit:     Ionen Wolkens <ionen@gentoo.org>
CommitDate: 2023-02-05 12:09:37 +0000

    dev-cpp/rapidyaml: bump to -std=c++17
    
    Does not seem to be anything that requires staying on c++11.
    Technically the new gtest-1.13 only needs >=14 but may as
    well go higher with current gcc's default.
    
    Closes: https://bugs.gentoo.org/893272
    Signed-off-by: Ionen Wolkens <ionen@gentoo.org>

 dev-cpp/rapidyaml/rapidyaml-0.5.0.ebuild | 3 +++
 1 file changed, 3 insertions(+)