Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 893346 - dev-libs/crc32c-1.1.2-r1 fails to compile (HARDENED-SYSTEM): gtest-port.h:270:2: error: #error C++ versions less than C++14 are not supported
Summary: dev-libs/crc32c-1.1.2-r1 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 07:54 UTC by Agostino Sarubbo
Modified: 2023-02-09 15:14 UTC (History)
0 users

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


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

Issue: dev-libs/crc32c-1.1.2-r1 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 07:54:44 UTC
Created attachment 849956 [details]
build.log

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


FAILED: CMakeFiles/crc32c_tests.dir/src/crc32c_arm64_unittest.cc.o 
FAILED: CMakeFiles/crc32c_tests.dir/src/crc32c_portable_unittest.cc.o 
FAILED: CMakeFiles/crc32c_tests.dir/src/crc32c_read_le_unittest.cc.o 
FAILED: CMakeFiles/crc32c_tests.dir/src/crc32c_round_up_unittest.cc.o 
FAILED: CMakeFiles/crc32c_tests.dir/src/crc32c_sse42_unittest.cc.o 
FAILED: CMakeFiles/crc32c_tests.dir/src/crc32c_test_main.cc.o 
FAILED: CMakeFiles/crc32c_tests.dir/src/crc32c_unittest.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 15:14:34 UTC
The bug has been closed via the following commit(s):

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

commit f71faa99a9c06babb9def382a9fa2d4a08149f15
Author:     Peter Levine <plevine457@gmail.com>
AuthorDate: 2023-02-08 02:10:56 +0000
Commit:     Arthur Zamarin <arthurzam@gentoo.org>
CommitDate: 2023-02-09 15:13:34 +0000

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

 dev-libs/crc32c/crc32c-1.1.2-r2.ebuild | 42 ++++++++++++++++++++++++++++++++++
 1 file changed, 42 insertions(+)