[MacPorts] #53420: restore_ports fails when configuring netcdf

MacPorts noreply at macports.org
Sat Jan 28 21:57:34 UTC 2017


#53420: restore_ports fails when configuring netcdf
-------------------------+-------------------
  Reporter:  whlipscomb  |      Owner:
      Type:  defect      |     Status:  new
  Priority:  Normal      |  Milestone:
 Component:  ports       |    Version:  2.4.0
Resolution:              |   Keywords:
      Port:  netcdf      |
-------------------------+-------------------
Changes (by ryandesign):

 * keywords:  netcdf, restore_ports =>


Old description:

> On my Macbook Pro, I recently switched operating systems from Mavericks
> to El Capitan (10.11.6), and I want to restore all my ports.  I am
> following the instructions for Migration here:
> https://trac.macports.org/wiki/Migration.  I entered the command "sudo
> ./restore_ports.tcl myports.txt".  Many ports built successfully, but the
> script failed when trying to configure netcdf.  I am wanting to install
> netcdf-fortran (gcc46 version).  Error output is pasted below.  The
> .../netcdf/main.log file is attached.
>
> Thank you for your help.
>
> {{{
> Error: Failed to configure netcdf: configure failure: command execution
> failed
> Error: See
> /opt/local/var/macports/logs/_opt_local_var_macports_sources_www.macports.org_files_ports_science_netcdf/netcdf/main.log
> for details.
> --->  Computing dependencies for netcdf-cxx
> --->  Dependencies to be installed: netcdf
> Error: Requested variants "+dap+netcdf4" do not match those the build was
> started with: "+dap+gcc46+netcdf4".
> Error: Please use the same variants again, or run 'port clean netcdf'
> first to remove the existing partially completed build.
> Error: See
> /opt/local/var/macports/logs/_opt_local_var_macports_sources_www.macports.org_files_ports_science_netcdf/netcdf/main.log
> for details.
> can't create directory
> "/opt/local/var/macports/build/_opt_local_var_macports_sources_www.macports
> .org_files_ports_science_netcdf-fortran": permission denied
>     while executing
> }}}

New description:

 On my Macbook Pro, I recently switched operating systems from Mavericks to
 El Capitan (10.11.6), and I want to restore all my ports.  I am following
 the instructions for Migration here: wiki:Migration.  I entered the
 command "sudo ./restore_ports.tcl myports.txt".  Many ports built
 successfully, but the script failed when trying to configure netcdf.  I am
 wanting to install netcdf-fortran (gcc46 version).  Error output is pasted
 below.  The .../netcdf/main.log file is attached.

 Thank you for your help.

 {{{
 Error: Failed to configure netcdf: configure failure: command execution
 failed
 Error: See
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_www.macports.org_files_ports_science_netcdf/netcdf/main.log
 for details.
 --->  Computing dependencies for netcdf-cxx
 --->  Dependencies to be installed: netcdf
 Error: Requested variants "+dap+netcdf4" do not match those the build was
 started with: "+dap+gcc46+netcdf4".
 Error: Please use the same variants again, or run 'port clean netcdf'
 first to remove the existing partially completed build.
 Error: See
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_www.macports.org_files_ports_science_netcdf/netcdf/main.log
 for details.
 can't create directory
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_www.macports
 .org_files_ports_science_netcdf-fortran": permission denied
     while executing
 }}}

--

Comment:

 Do what the error message says.

 {{{
 Error: Please use the same variants again, or run 'port clean netcdf'
 first to remove the existing partially completed build.
 }}}

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


More information about the macports-tickets mailing list