[MacPorts] #68124: netcdf-fortran @4.6.1: Build failures on 10.7, 10.8, 10.9, 14-x86, 14-arm64

MacPorts noreply at macports.org
Thu Feb 1 16:30:48 UTC 2024


#68124: netcdf-fortran @4.6.1: Build failures on 10.7, 10.8, 10.9, 14-x86, 14-arm64
--------------------------+------------------------------------------------
  Reporter:  Dave-        |      Owner:  tenomoto
  Allured                 |
      Type:  defect       |     Status:  assigned
  Priority:  Normal       |  Milestone:
 Component:  ports        |    Version:  2.8.1
Resolution:               |   Keywords:  lion mountainlion mavericks sonoma
      Port:  netcdf-      |
  fortran                 |
--------------------------+------------------------------------------------

Comment (by Dave-Allured):

 @richarddray, thanks for main.2.log.  Port **netcdf** has several missing
 dependencies, including **bzip2** which is the current error.  If
 convenient, please try my updated portfile for **netcdf** (NOT netcdf-
 fortran).  Let us know how it goes.

 Draft commit:\\
 https://github.com/Dave-Allured/macports-
 ports/commit/5addc753092a5fe1c5b9d8cb9f2611affd1951f1

 1.  Download updated **netcdf** Portfile from my test branch:\\
 https://github.com/Dave-Allured/macports-
 ports/raw/netcdf.deps.1/science/netcdf/Portfile

 2.  Copy into your local ports tree for **netcdf**, overwriting the
 Macports version:\\
 /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/science/netcdf/Portfile\\
 (Use your custom prefix if you are using one.)

 3.  DO NOT run selfupdate after step 2, otherwise you will need to recopy
 the new Portfile back into your ports tree.

 4.  port uninstall **netcdf**

 5.  port -v install **netcdf-fortran**

 There are variations on this procedure, such as skipping step 4, or
 starting over from scratch with the updated Portfile.  Ask questions if
 you have any problems.  This will help with my testing of the new
 Portfile.

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


More information about the macports-tickets mailing list