[MacPorts] #67476: postgis3 @3.2.0_5+postgresql14+proj8+raster+topology: Dependency requires c++14 instead of 11 now.

MacPorts noreply at macports.org
Mon May 22 14:27:15 UTC 2023


#67476: postgis3 @3.2.0_5+postgresql14+proj8+raster+topology: Dependency requires
c++14 instead of 11 now.
----------------------------------+--------------------
  Reporter:  beporter             |      Owner:  (none)
      Type:  defect               |     Status:  new
  Priority:  Normal               |  Milestone:
 Component:  ports                |    Version:  2.8.1
Resolution:                       |   Keywords:
      Port:  postgis3 protobuf-c  |
----------------------------------+--------------------
Description changed by beporter:

Old description:

> * Cleaned and ran `sudo port install postgis3` again: Failed again.
> * Checked the [https://trac.macports.org/wiki/ProblemHotlist problem
> hotlist]: Not listed.
> *
> [https://trac.macports.org/search?q=postgis3&noquickjump=1&portsummarysearch=on
> Searched] for existing tickets: #67339 is ''similar'' but looks to be a
> missing directory, not `CXX_STANDARD` related.
> * Problem is specific to compilation.
> * Problem is not related to `port upgrade`.
>
> This seems to be the relevant bit from the log file:
>
> {{{
> :info:build In file included from flatgeobuf_c.cpp:26:
> :info:build In file included from ./feature_generated.h:7:
> :info:build In file included from include/flatbuffers/flatbuffers.h:20:
> :info:build In file included from include/flatbuffers/base.h:241:
> :info:build In file included from
> /opt/local/include/absl/strings/string_view.h:39:
> :info:build In file included from
> /opt/local/include/absl/base/attributes.h:37:
> :info:build In file included from
> /opt/local/include/absl/base/config.h:86:
> :info:build /opt/local/include/absl/base/policy_checks.h:79:2: error:
> "C++ versions less than C++14 are not supported."
> :info:build #error "C++ versions less than C++14 are not supported."
> }}}
>
> Assuming `absl` is actually [https://github.com/abseil/abseil-cpp
> abseil], then there's a [https://github.com/abseil/abseil-
> cpp/releases/tag/20230125.3 recent release note] indicating it now
> requires c++14. Possibly [https://github.com/macports/macports-
> ports/blob/4cf20f01/devel/protobuf-c/Portfile#L36 protobuf-c], which is a
> dependency of postgis3 and has `compiler.cxx_standard 2011` in its
> Portfile?
>
> This must be a second-level dependency though, because the
> [https://github.com/macports/macports-
> ports/blob/master/databases/postgis3/Portfile Postgis3 Portfile] doesn't
> contain any reference to `c++11`.

New description:

 * Cleaned and ran `sudo port install postgis3` again: Failed again.
 * Checked the [https://trac.macports.org/wiki/ProblemHotlist problem
 hotlist]: Not listed.
 *
 [https://trac.macports.org/search?q=postgis3&noquickjump=1&portsummarysearch=on
 Searched] for existing tickets: #67339 is ''similar'' but looks to be a
 missing directory, not `CXX_STANDARD` related.
 * Problem is specific to compilation.
 * Problem is not related to `port upgrade`.

 This seems to be the relevant bit from the log file:

 {{{
 :info:build In file included from flatgeobuf_c.cpp:26:
 :info:build In file included from ./feature_generated.h:7:
 :info:build In file included from include/flatbuffers/flatbuffers.h:20:
 :info:build In file included from include/flatbuffers/base.h:241:
 :info:build In file included from
 /opt/local/include/absl/strings/string_view.h:39:
 :info:build In file included from
 /opt/local/include/absl/base/attributes.h:37:
 :info:build In file included from
 /opt/local/include/absl/base/config.h:86:
 :info:build /opt/local/include/absl/base/policy_checks.h:79:2: error: "C++
 versions less than C++14 are not supported."
 :info:build #error "C++ versions less than C++14 are not supported."
 }}}

 Assuming `absl` is actually [https://github.com/abseil/abseil-cpp abseil],
 then there's a [https://github.com/abseil/abseil-
 cpp/releases/tag/20230125.3 recent release note] indicating it now
 requires c++14.

 This must be a second-level dependency though, because the
 [https://github.com/macports/macports-
 ports/blob/master/databases/postgis3/Portfile Postgis3 Portfile] doesn't
 contain any reference to `c++11`. Possibly [https://github.com/macports
 /macports-ports/blob/4cf20f01/devel/protobuf-c/Portfile#L36 protobuf-c],
 which is a dependency of postgis3 and has `compiler.cxx_standard 2011` in
 its Portfile?

--

-- 
Ticket URL: <https://trac.macports.org/ticket/67476#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list