Opened 21 months ago

Last modified 18 months ago

#57475 assigned defect

ncarg @6.5.0_2: Install fails, wrong hdf5 variant

Reported by: Dave-Allured (Dave Allured) Owned by: tenomoto (Takeshi Enomoto)
Priority: Normal Milestone:
Component: ports Version: 2.5.4
Keywords: Cc:
Port: ncarg

Description

I am testing a full MacPorts install from source. "Port -v install ncarg" installs 220 dependencies, then fails like this:

--->  Configuring ncarg
Error: Install hdf5 +gcc8
Error: Failed to configure ncarg: hdf5 +gcc8 not installed

Main.log shows that a variant of hdf5 was installed, but ncarg configure did not like it:

:debug:configure hdf5 is installed with the following variants: +cxx+hl
:debug:configure   required: gcc8, forbidden: 
:debug:configure   rejected, because required variant gcc8 is missing

How can this be fixed to provide a simple clean install of ncarg? I am not sure whether the problem resides in ncarg, hdf5, or somewhere else. Here is my configuration:

sw_vers:
ProductName:	Mac OS X
ProductVersion:	10.13.6
BuildVersion:	17G65

Xcode 10.0
Build version 10A255

I am installing to a private user directory, not /opt/local. Root privileges are disabled. I pre-installed certain known fixes for two dependencies. I ran port selfupdate in advance, of course.

Attachments (3)

main.log (359.4 KB) - added by Dave-Allured (Dave Allured) 21 months ago.
console-log.ncarg.1026a.hdf5-fail.tar.gz (5.6 MB) - added by Dave-Allured (Dave Allured) 21 months ago.
main.log.ncarg-6.5.0_3.1113a.txt (366.5 KB) - added by Dave-Allured (Dave Allured) 21 months ago.
ncarg @6.5.0_3 fails in the same way, wrong hdf5 variant. Main.log is attached.

Change History (5)

Changed 21 months ago by Dave-Allured (Dave Allured)

Attachment: main.log added

Changed 21 months ago by Dave-Allured (Dave Allured)

comment:1 Changed 21 months ago by Dave-Allured (Dave Allured)

There are several workarounds. They seem to work, but I have not done extensive testing.

  1. First install hdf5 +gcc8, then install ncarg.
  1. Install ncarg (fails), port clean ncarg, install hdf5 +gcc8, then install ncarg again.
  1. Install ncarg +gcc7.

Changed 21 months ago by Dave-Allured (Dave Allured)

ncarg @6.5.0_3 fails in the same way, wrong hdf5 variant. Main.log is attached.

comment:2 Changed 18 months ago by tenomoto (Takeshi Enomoto)

This is a result of enforcing HDF5 variant. It was simple in the past...

Note: See TracTickets for help on using tickets.