Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 893378 - dev-libs/leveldb-1.23-r4 fails to compile (HARDENED-SYSTEM): gtest-port.h:270:2: error: #error C++ versions less than C++14 are not supported
Summary: dev-libs/leveldb-1.23-r4 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 (vote)
Assignee: Arthur Zamarin
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks: 893432
  Show dependency tree
 
Reported: 2023-02-06 11:19 UTC by Agostino Sarubbo
Modified: 2023-02-09 14:52 UTC (History)
0 users

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


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

Issue: dev-libs/leveldb-1.23-r4 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-06 11:19:58 UTC
Created attachment 849972 [details]
build.log

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


FAILED: CMakeFiles/c_test.dir/util/testutil.cc.o 
FAILED: CMakeFiles/env_test.dir/util/env_test.cc.o 
FAILED: CMakeFiles/env_test.dir/util/testutil.cc.o 
FAILED: CMakeFiles/fault_injection_test.dir/db/fault_injection_test.cc.o 
FAILED: CMakeFiles/fault_injection_test.dir/util/testutil.cc.o 
FAILED: CMakeFiles/issue178_test.dir/issues/issue178_test.cc.o 
FAILED: CMakeFiles/issue178_test.dir/util/testutil.cc.o 
FAILED: CMakeFiles/issue200_test.dir/issues/issue200_test.cc.o 
FAILED: CMakeFiles/issue200_test.dir/util/testutil.cc.o 
FAILED: CMakeFiles/issue320_test.dir/issues/issue320_test.cc.o 
FAILED: CMakeFiles/issue320_test.dir/util/testutil.cc.o 
FAILED: CMakeFiles/no_destructor_test.dir/util/no_destructor_test.cc.o 
FAILED: CMakeFiles/no_destructor_test.dir/util/testutil.cc.o 
FAILED: CMakeFiles/status_test.dir/util/status_test.cc.o 
FAILED: CMakeFiles/status_test.dir/util/testutil.cc.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-09 14:52:43 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9a2c62b023f130c3723fee1b3682e10004292747

commit 9a2c62b023f130c3723fee1b3682e10004292747
Author:     Peter Levine <plevine457@gmail.com>
AuthorDate: 2023-02-08 02:27:48 +0000
Commit:     Arthur Zamarin <arthurzam@gentoo.org>
CommitDate: 2023-02-09 14:42:48 +0000

    dev-libs/leveldb: fix building against dev-cpp/gtest-1.13.0
    
    Closes: https://bugs.gentoo.org/893378
    Closes: https://github.com/gentoo/gentoo/pull/29476
    Signed-off-by: Peter Levine <plevine457@gmail.com>
    Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>

 dev-libs/leveldb/leveldb-1.23-r5.ebuild | 50 +++++++++++++++++++++++++++++++++
 1 file changed, 50 insertions(+)