Opened 15 years ago

Closed 15 years ago

#23943 closed defect (fixed)

nco +netcdf4 extract failure when netcdf not installed

Reported by: ryandesign (Ryan Carsten Schmidt) Owned by: tenomoto (Takeshi Enomoto)
Priority: Normal Milestone:
Component: ports Version: 1.8.2
Keywords: Cc:
Port: nco

Description

If I try to extract nco with the netcdf4 variant but netcdf has not yet been installed, an error occurs:

$ sudo port extract nco +netcdf4
--->  Computing dependencies for nco
--->  Fetching nco
--->  Verifying checksum(s) for nco
--->  Extracting nco
Error: Target org.macports.extract returned: couldn't execute "/opt/local/bin/nc-config": no such file or directory
Error: Status 1 encountered during processing.

nco should not attempt to run nc-config, or anything else provided by a dependency, until the pre-configure phase; before that phase, the dependency may not yet have been installed.

Change History (1)

comment:1 Changed 15 years ago by tenomoto (Takeshi Enomoto)

Resolution: fixed
Status: newclosed

Run nc-config in the pre-configure rather than the pre-extract phase. r64440

Note: See TracTickets for help on using tickets.