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

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


Attachments
build.log (build.log,119.30 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:38 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: dev-libs/cpuinfo-2022.03.26 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:40 UTC
Created attachment 849954 [details]
build.log

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


FAILED: CMakeFiles/brand-string-test.dir/test/name/brand-string.cc.o 
FAILED: CMakeFiles/get-current-test.dir/test/get-current.cc.o 
FAILED: CMakeFiles/init-test.dir/test/init.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-08 07:57:55 UTC
The bug has been closed via the following commit(s):

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

commit df2226ba0a2ea74a488dcfb996204654ef21d9ee
Author:     Peter Levine <plevine457@gmail.com>
AuthorDate: 2023-02-08 01:59:27 +0000
Commit:     Alfredo Tupone <tupone@gentoo.org>
CommitDate: 2023-02-08 07:57:40 +0000

    dev-libs/cpuinfo: fix building against dev-cpp/gtest-1.13.0
    
    Closes: https://bugs.gentoo.org/893344
    Closes: https://github.com/gentoo/gentoo/pull/29474
    Signed-off-by: Peter Levine <plevine457@gmail.com>
    Signed-off-by: Alfredo Tupone <tupone@gentoo.org>

 ...{cpuinfo-2022.03.26.ebuild => cpuinfo-2022.03.26-r1.ebuild} | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)