Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 895140 - app-admin/passwordsafe-1.15.0 fails to compile (GCC-13-SYSTEM): gtest-port.h:270:2: error: #error C++ versions less than C++14 are not supported
Summary: app-admin/passwordsafe-1.15.0 fails to compile (GCC-13-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
Assignee: Martin Dummer
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks: 893432
  Show dependency tree
 
Reported: 2023-02-17 16:23 UTC by Agostino Sarubbo
Modified: 2023-04-28 07:44 UTC (History)
1 user (show)

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


Attachments
build.log (build.log,300.46 KB, text/plain)
2023-02-17 16:23 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-17 16:23:21 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: app-admin/passwordsafe-1.15.0 fails to compile (GCC-13-SYSTEM).
Discovered on: amd64 (internal ref: gcc13_tinderbox)

NOTE:
(GCC-13-SYSTEM) in the summary means that the bug was found on a machine that runs gcc-13 but this bug MAY or MAY NOT BE related to the new compiler
Comment 1 Agostino Sarubbo gentoo-dev 2023-02-17 16:23:24 UTC
Created attachment 852272 [details]
build.log

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


FAILED: src/test/CMakeFiles/coretest.dir/AESTest.cpp.o 
FAILED: src/test/CMakeFiles/coretest.dir/AliasShortcutTest.cpp.o 
FAILED: src/test/CMakeFiles/coretest.dir/BlowFishTest.cpp.o 
FAILED: src/test/CMakeFiles/coretest.dir/FileV3Test.cpp.o 
FAILED: src/test/CMakeFiles/coretest.dir/FileV4Test.cpp.o 
FAILED: src/test/CMakeFiles/coretest.dir/ItemAttTest.cpp.o 
FAILED: src/test/CMakeFiles/coretest.dir/ItemDataTest.cpp.o 
FAILED: src/test/CMakeFiles/coretest.dir/OSTest.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-04-28 07:44:10 UTC
The bug has been closed via the following commit(s):

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

commit 226042015d009bb30121508182b19a31131d175e
Author:     Peter Levine <plevine457@gmail.com>
AuthorDate: 2023-04-05 02:48:32 +0000
Commit:     Joonas Niilola <juippis@gentoo.org>
CommitDate: 2023-04-28 07:43:44 +0000

    app-admin/passwordsafe: fix building against gtest-1.13
    
    dev-cpp/gtest-1.13.0 now requires building with c++14 or higher, and
    '-std=gnu++11' has been removed upstream.
    
    Closes: https://bugs.gentoo.org/895140
    Closes: https://github.com/gentoo/gentoo/pull/30483
    Signed-off-by: Peter Levine <plevine457@gmail.com>
    Signed-off-by: Joonas Niilola <juippis@gentoo.org>

 .../files/passwordsafe-1.15.0-gtest-no-gnu++11.patch        | 13 +++++++++++++
 app-admin/passwordsafe/passwordsafe-1.15.0.ebuild           | 10 +++-------
 2 files changed, 16 insertions(+), 7 deletions(-)