New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #23822 (closed defect: fixed)

Opened 3 years ago

Last modified 3 years ago

nco-4.0.0 doesn't build

Reported by: ak@… Owned by: takeshi@…
Priority: Normal Milestone:
Component: ports Version: 1.8.2
Keywords: Cc:
Port: nco

Description (last modified by macsforever2000@…) (diff)

The last version of the nco-4.0.0, doesn't build and reports the following errors:

--->  Computing dependencies for nco
--->  Building nco
Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_science_nco/work/nco-4.0.0" && /usr/bin/make -j16 all " returned error 2
Command output: /usr/bin/make  all-recursive
Making all in data
/opt/local/bin/ncgen -o in.nc in.cdl 
ncgen: in.cdl line 296: Data constant: unexpected NC type: NC_INT64
ncgen: in.cdl line 300: Data constant: unexpected NC type: NC_INT64
ncgen: in.cdl line 308: Data constant: unexpected NC type: NC_INT64
ncgen: in.cdl line 434: Data constant: unexpected NC type: NC_INT64
make[2]: *** [in.nc] Error 6
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

How to fix it, is it possible to go back and install the old nco-3.9.9?

Thanks, Adam

Change History

comment:1 Changed 3 years ago by macsforever2000@…

  • Keywords nco removed
  • Owner changed from macports-tickets@… to takeshi@…
  • Description modified (diff)
  • Port changed from nco-4.0.0 to nco

comment:2 Changed 3 years ago by takeshi@…

  • Status changed from new to closed
  • Resolution set to fixed

This is caused by update of netcdf 4.1 in which ncgen is renamed as ncgen3. fixed in r64260. I still have a problem with #23645.

Note: See TracTickets for help on using tickets.