Opened 4 months ago

Closed 4 months ago

#70440 closed defect (fixed)

libkml @1.3.0_4+debug+tests: error: C++ versions less than C++14 are not supported

Reported by: TheLastLovemark Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version: 2.9.3
Keywords: Cc:
Port: libkml

Description

This may be related to #70349... I'm not 100% sure. It's been a while since I've used macports before this week and I've forgotten how to read log files.

Attachments (1)

libkml-main.log (203.0 KB) - added by TheLastLovemark 4 months ago.
libkml main.log

Download all attachments as: .zip

Change History (5)

Changed 4 months ago by TheLastLovemark

Attachment: libkml-main.log added

libkml main.log

comment:1 Changed 4 months ago by ryandesign (Ryan Carsten Schmidt)

Cc: ryandesign removed
Owner: set to ryandesign
Port: opencv3 removed
Status: newassigned
Summary: libkml build fails during install of opencv3 +avx2 +contrib +debug +eigen +gdal +nonfree +opencl +openni +qt5 +tbb +tests +vtklibkml @1.3.0_4+debug+tests: error: C++ versions less than C++14 are not supported

The first occurrence of error: in the log, aside from the ones about failing to fetch archives, is:

/opt/local/include/gtest/internal/gtest-port.h:279:2: error: C++ versions less than C++14 are not supported.
#error C++ versions less than C++14 are not supported.
 ^

So no, this has nothing to do with #70349.

comment:2 Changed 4 months ago by ryandesign (Ryan Carsten Schmidt)

Of note, this should only happen when you use the tests variant, which is only of relevance if you want to run the tests. So while I should fix the tests variant, if you do not want to run the tests, don't use the tests variant.

comment:3 Changed 4 months ago by TheLastLovemark

I do plan to use the tests... seeing that I'm on older equipment and all...

comment:4 Changed 4 months ago by ryandesign (Ryan Carsten Schmidt)

Resolution: fixed
Status: assignedclosed

In 7d0aefbc34ca2fc2bdd2663fc41d955aa0c64302/macports-ports (master):

libkml: Tests require C++14

Closes: #70440

Note: See TracTickets for help on using tickets.