Opened 6 years ago

Closed 6 years ago

#58135 closed defect (fixed)

nco fails to build

Reported by: scrallen Owned by: tenomoto (Takeshi Enomoto)
Priority: Normal Milestone:
Component: ports Version: 2.5.4
Keywords: Cc: basmac, lvankampenhout (Leo van Kampenhout), Dave-Allured (Dave Allured)
Port: nco

Description

While upgrading nco, the execution failed:

 ~ 43 > sudo port clean nco
--->  Cleaning nco
 ~ 44 > sudo port upgrade nco
--->  Computing dependencies for nco
--->  Fetching archive for nco
--->  Attempting to fetch nco-4.7.7_2+accelerate.darwin_17.x86_64.tbz2 from https://packages.macports.org/nco
--->  Attempting to fetch nco-4.7.7_2+accelerate.darwin_17.x86_64.tbz2 from http://fco.it.packages.macports.org/mirrors/macports-packages/nco
--->  Attempting to fetch nco-4.7.7_2+accelerate.darwin_17.x86_64.tbz2 from http://jnb.za.packages.macports.org/packages/nco
--->  Fetching distfiles for nco
--->  Verifying checksums for nco
--->  Extracting nco
--->  Configuring nco
--->  Building nco
Error: Failed to build nco: command execution failed
Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_nco/nco/main.log for details.
Error: Follow https://guide.macports.org/#project.tickets to report a bug.

Attached is the log file /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_nco/nco/main.log

I am running with: macOS 10.13 (darwin/17.7.0) arch i386 MacPorts 2.5.4 Xcode 9.1 SDK 10.13

Thank you for your help...

Attachments (1)

main.log (128.5 KB) - added by scrallen 6 years ago.

Download all attachments as: .zip

Change History (9)

Changed 6 years ago by scrallen

Attachment: main.log added

comment:1 Changed 6 years ago by scrallen

Version: 2.5.4

comment:2 Changed 6 years ago by mf2k (Frank Schima)

Cc: tenomoto removed
Owner: set to tenomoto
Status: newassigned

comment:3 Changed 6 years ago by scrallen

This appears to be a known and resolved issue with NCO 4.7.7 with netCDF 4.6.2:

Discussion at above link suggests it is fixed with NCO 4.7.8 and later.

Therefore, a suggested potential fix to this ticket is version bump of NCO to 4.78 or later (latest stable release as of this post is NCO 4.7.9)

comment:4 Changed 6 years ago by basmac

Cc: basmac added

comment:5 Changed 6 years ago by lvankampenhout (Leo van Kampenhout)

For me, a workaround was to activate netcdf 4.6.1

sudo port activate netcdf@4.6.1

If you no longer have that installed, you could try to install that manually: https://trac.macports.org/wiki/howto/InstallingOlderPort

comment:6 Changed 6 years ago by lvankampenhout (Leo van Kampenhout)

Cc: lvankampenhout added

comment:7 Changed 6 years ago by Dave-Allured (Dave Allured)

Cc: Dave-Allured added

comment:8 Changed 6 years ago by tenomoto (Takeshi Enomoto)

Resolution: fixed
Status: assignedclosed

In 2c749eabd8bf2ee5c3294da13efa9af0f1fe2218/macports-ports (master):

nco: update to 4.7.9

Closes: #58135

Note: See TracTickets for help on using tickets.