Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 894054 - sci-libs/libspatialindex-1.9.3-r1 fails to compile (LIBARCHIVE-SYSTEM): gtest-port.h:270:2: error: #error C++ versions less than C++14 are not supported
Summary: sci-libs/libspatialindex-1.9.3-r1 fails to compile (LIBARCHIVE-SYSTEM): gtest...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: 3D Printing Team
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks: 893432
  Show dependency tree
 
Reported: 2023-02-12 16:41 UTC by Agostino Sarubbo
Modified: 2023-02-13 04:48 UTC (History)
0 users

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


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

Issue: sci-libs/libspatialindex-1.9.3-r1 fails to compile (LIBARCHIVE-SYSTEM).
Discovered on: amd64 (internal ref: libarchive_tinderbox)

NOTE:
(LIBARCHIVE-SYSTEM) in the summary means that the bug was found on a machine that runs app-alternatives/tar and app-alternatives/cpio with [-gnu,+libarchive] but this bug MAY or MAY NOT BE related to the tar/cpio implementation.
Comment 1 Agostino Sarubbo gentoo-dev 2023-02-12 16:42:00 UTC
Created attachment 850454 [details]
build.log

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


FAILED: test/gtest/CMakeFiles/libsidxtest.dir/main.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-13 04:48:39 UTC
The bug has been closed via the following commit(s):

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

commit 2b2af459dee16a8edbbcba4791d7c2b37f04db51
Author:     Peter Levine <plevine457@gmail.com>
AuthorDate: 2023-02-12 20:09:08 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2023-02-13 04:45:59 +0000

    sci-libs/libspatialindex: Fix bug-894054 and bump EAPI
    
    The latest gtest now requires being built with the C++14 dialect or later.
    Change the reference of C++11 to C++14 in the affected CMakeLists.txt.
    
    Closes: https://bugs.gentoo.org/894054
    Closes: https://github.com/gentoo/gentoo/pull/29562
    Signed-off-by: Peter Levine <plevine457@gmail.com>
    Signed-off-by: Sam James <sam@gentoo.org>

 .../libspatialindex-1.9.3-r2.ebuild                | 44 ++++++++++++++++++++++
 1 file changed, 44 insertions(+)