Opened 2 years ago

Closed 7 months ago

#58306 closed defect (fixed)

esmf @@7_1_0r_1: undeclared lib dependency on netcdf, revision bump

Reported by: petrrr Owned by: tenomoto (Takeshi Enomoto)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
Port: esmf


After netcdf update:

--->  Scanning binaries for linking errors
Could not open /opt/local/lib/libnetcdf.13.dylib: Error opening or reading file (referenced from /opt/local/bin/ESMF_Info)
--->  Found 6 broken files, matching files to ports      
--->  Found 1 broken port, determining rebuild order
You can always run 'port rev-upgrade' again to fix errors.
The following ports will be rebuilt: esmf @7_1_0r+accelerate+gfortran

As a consequence a revision bump is required.

Change History (3)

comment:1 Changed 2 years ago by Dave-Allured (Dave Allured)

According to the esmf portfile, netcdf is not a direct dependency of esmf. If you update your port netcdf-fortran, does that fix the problem?

comment:2 Changed 2 years ago by Dave-Allured (Dave Allured)

My mistake, sorry. I checked ESMF source code. There is a direct dependency on netcdf, and the current portfile esmf @7_1_0r_1 is in error. Different parts of the code call both netcdf and netcdf-fortran.

Port maintainer, would you please add netcdf as a library dependency to the ESMF portfile? Thank you.

comment:3 Changed 7 months ago by ryandesign (Ryan Schmidt)

Resolution: fixed
Status: assignedclosed

In ecc78a0db70757d7a40c14a81cbb19d59ce40091/macports-ports (master):

esmf: Add netcdf dependency

Closes: #58306

Note: See TracTickets for help on using tickets.