[MacPorts] #63517: Failed to configure netcdf

MacPorts noreply at macports.org
Tue Sep 21 07:20:24 UTC 2021


#63517: Failed to configure netcdf
-----------------------+--------------------
 Reporter:  massonseb  |      Owner:  (none)
     Type:  defect     |     Status:  new
 Priority:  Normal     |  Milestone:
Component:  ports      |    Version:  2.7.1
 Keywords:             |       Port:  netcdf
-----------------------+--------------------
 I cannot upgrade from netcdf 4.7.4_2 to 4.8.1_0 because of an error during
 the configure.
 There is the command I use:

 {{{
 sudo port install netcdf +cdf5 +dap +gcc9 +mpich +netcdf4
 }}}

 I have multiple errors in the CMakeError.log file:

 {{{
 ...
 ld: unknown option: --no-undefined
 ...
 gcc-mp-9: error: unrecognized command line option '-Wshorten-64-to-32'
 ...
 Undefined symbols for architecture x86_64:
   "_H5Pset_fapl_ros3", referenced from:
       _main in CheckFunctionExists.c.o
 ld: symbol(s) not found for architecture x86_64
 }}}

 I attache the complete CMakeError.log file in the ticket.

-- 
Ticket URL: <https://trac.macports.org/ticket/63517>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list