Opened 8 years ago

Last modified 8 years ago

#53420 closed defect

restore_ports fails when configuring netcdf — at Version 1

Reported by: whlipscomb (William Lipscomb) Owned by:
Priority: Normal Milestone:
Component: ports Version: 2.4.0
Keywords: Cc: takeshi@…
Port: netcdf

Description (last modified by ryandesign (Ryan Carsten Schmidt))

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

Change History (2)

Changed 8 years ago by whlipscomb (William Lipscomb)

Attachment: main.log added

main.log file for netcdf configure

comment:1 Changed 8 years ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)
Keywords: netcdf restore_ports removed

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.
Note: See TracTickets for help on using tickets.