[MacPorts] #70442: Followup to #70440: libkml @1.3.0_4+debug+tests: error: C++ versions less than C++14 are not supported

MacPorts noreply at macports.org
Wed Jul 24 16:38:22 UTC 2024


#70442: Followup to #70440: libkml @1.3.0_4+debug+tests: error: C++ versions less
than C++14 are not supported
------------------------------+--------------------
  Reporter:  TheLastLovemark  |      Owner:  (none)
      Type:  defect           |     Status:  new
  Priority:  Normal           |  Milestone:
 Component:  ports            |    Version:  2.9.3
Resolution:                   |   Keywords:
      Port:  libkml           |
------------------------------+--------------------
Description changed by TheLastLovemark:

Old description:

> As you suggested in #70440
>
> I made sure gcc14 was installed and set to the default as so:
>
> {{{
> sh-3.2# hash -r
> sh-3.2# gcc --version
> gcc (MacPorts gcc14 14.1.0_1+stdlib_flag) 14.1.0
> Copyright (C) 2024 Free Software Foundation, Inc.
> This is free software; see the source for copying conditions.  There is
> NO
> warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
> PURPOSE.
>
> sh-3.2# type -a gcc
> gcc is /opt/local/bin/gcc
> gcc is /usr/bin/gcc
> sh-3.2# port install opencv3 +avx2 +contrib +debug +eigen +gdal +nonfree
> +opencl +openni +qt5 +tbb +tests +vtk
> --->  Computing dependencies for opencv3
> The following dependencies will be installed:
>  SuiteSparse_AMD
>  SuiteSparse_CAMD
>  SuiteSparse_CCOLAMD
>  SuiteSparse_CHOLMOD
>  SuiteSparse_COLAMD
>  SuiteSparse_SPQR
>  SuiteSparse_config
>  ceres-solver
>  freexl
>  gdal
>  geos
>  gklib
>  libkml
>  librttopo
>  metis
>  postgresql16
>  postgresql_select
>  spatialite
> Continue? [Y/n]: y
> --->  Fetching archive for libkml
> --->  Attempting to fetch
> libkml-1.3.0_4+debug+tests.darwin_17.x86_64.tbz2 from
> http://packages.macports.org/libkml
> --->  Attempting to fetch
> libkml-1.3.0_4+debug+tests.darwin_17.x86_64.tbz2 from
> https://mirrors.mit.edu/macports/packages/libkml
> --->  Attempting to fetch
> libkml-1.3.0_4+debug+tests.darwin_17.x86_64.tbz2 from
> http://bos.us.packages.macports.org/libkml
> --->  Fetching distfiles for libkml
> --->  Verifying checksums for libkml
> --->  Extracting libkml
> --->  Applying patches to libkml
> --->  Configuring libkml
> --->  Building libkml
> Error: Failed to build libkml: command execution failed
> Error: See
> /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gis_libkml/libkml/main.log
> for details.
> Error: Follow https://guide.macports.org/#project.tickets if you believe
> there is a bug.
> Error: Processing of port opencv3 failed
> }}}
>
> still fal

New description:

 As you suggested in #70440

 I made sure gcc14 was installed and set to the default as so:

 {{{
 sh-3.2# hash -r
 sh-3.2# gcc --version
 gcc (MacPorts gcc14 14.1.0_1+stdlib_flag) 14.1.0
 Copyright (C) 2024 Free Software Foundation, Inc.
 This is free software; see the source for copying conditions.  There is NO
 warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
 PURPOSE.

 sh-3.2# type -a gcc
 gcc is /opt/local/bin/gcc
 gcc is /usr/bin/gcc
 sh-3.2# port install opencv3 +avx2 +contrib +debug +eigen +gdal +nonfree
 +opencl +openni +qt5 +tbb +tests +vtk
 --->  Computing dependencies for opencv3
 The following dependencies will be installed:
  SuiteSparse_AMD
  SuiteSparse_CAMD
  SuiteSparse_CCOLAMD
  SuiteSparse_CHOLMOD
  SuiteSparse_COLAMD
  SuiteSparse_SPQR
  SuiteSparse_config
  ceres-solver
  freexl
  gdal
  geos
  gklib
  libkml
  librttopo
  metis
  postgresql16
  postgresql_select
  spatialite
 Continue? [Y/n]: y
 --->  Fetching archive for libkml
 --->  Attempting to fetch libkml-1.3.0_4+debug+tests.darwin_17.x86_64.tbz2
 from http://packages.macports.org/libkml
 --->  Attempting to fetch libkml-1.3.0_4+debug+tests.darwin_17.x86_64.tbz2
 from https://mirrors.mit.edu/macports/packages/libkml
 --->  Attempting to fetch libkml-1.3.0_4+debug+tests.darwin_17.x86_64.tbz2
 from http://bos.us.packages.macports.org/libkml
 --->  Fetching distfiles for libkml
 --->  Verifying checksums for libkml
 --->  Extracting libkml
 --->  Applying patches to libkml
 --->  Configuring libkml
 --->  Building libkml
 Error: Failed to build libkml: command execution failed
 Error: See
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gis_libkml/libkml/main.log
 for details.
 Error: Follow https://guide.macports.org/#project.tickets if you believe
 there is a bug.
 Error: Processing of port opencv3 failed
 }}}

 still failed

--

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


More information about the macports-tickets mailing list