[MacPorts] #59976: gdal @3.0.2_1 +cfitsio +gcc9 +ecw +grass +grib +hdf5 +jasper +libkml +lta +lzma +mysql8 +native +netcdf +openjpeg +perf +poppler +postgresql11 +xerces build failure

MacPorts noreply at macports.org
Fri Jan 17 16:17:54 UTC 2020


#59976: gdal @3.0.2_1 +cfitsio +gcc9 +ecw +grass +grib +hdf5 +jasper +libkml +lta
+lzma +mysql8 +native +netcdf +openjpeg +perf +poppler +postgresql11
+xerces build failure
------------------------------+----------------------
  Reporter:  TheLastLovemark  |      Owner:  Veence
      Type:  defect           |     Status:  assigned
  Priority:  Normal           |  Milestone:
 Component:  ports            |    Version:  2.6.2
Resolution:                   |   Keywords:
      Port:  gdal             |
------------------------------+----------------------

Comment (by kencu):

 OK. Looking through your config.log, the error appears to be this:
 {{{
 84      configure:3890: checking whether the C compiler works
 85      configure:3912: /opt/local/bin/gcc-mp-9 -pipe -Os -arch x86_64
 -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names
 -stdlib=libc++ -arch x86_64 conftest.c  >&5
 86      gcc-mp-9: error: unrecognized command line option '-stdlib=libc++'
 }}}

 now to figure out why that `-stdlib=libc++` is being passed to `gcc`...

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


More information about the macports-tickets mailing list