Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

#38078 closed defect (fixed)

hdfeos's +szip variant should require_active_variants +szip for its dependency on hdf4

Reported by: cooljeanius (Eric Gallager) Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.1.3
Keywords: Cc: tenomoto (Takeshi Enomoto)
Port: hdf4 hdfeos

Description

I was recently trying to install hdfeos +szip, and its configure step gave me the following error:

checking for hdf4 szip decoding filter... no
checking for hdf4 szip encoding filter... no
configure: error: HDF4 was linked without SZIP, but --with-szlib was given
Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_hdfeos/hdfeos/work/hdfeos" && ./configure --prefix=/opt/local --disable-dependency-tracking --with-hdf4=/opt/local --with-jpeg=/opt/local --with-zlib=/opt/local --enable-shared --disable-dependency-tracking --with-szlib=/opt/local 
Exit code: 1
Error: org.macports.configure for port hdfeos returned: configure failure: command execution failed
DEBUG: Error code: NONE

After that I reinstalled hdf4, this time using the +szip variant for that, and after I did that, hdfeos +szip built successfully. To fix this, hdfeos's portfile should include something like the following inside its szip variant:

require_active_variants hdf4 szip

Change History (5)

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

Resolution: fixed
Status: newclosed

Committed in r103119. Thanks.

comment:2 Changed 11 years ago by cooljeanius (Eric Gallager)

Update: The same situation arises with hdf5-18 and hdfeos5, as well.

comment:3 Changed 11 years ago by tenomoto (Takeshi Enomoto)

Yes, I'm working on it now. Thanks for reminding me.

comment:4 Changed 11 years ago by tenomoto (Takeshi Enomoto)

For hdfeos5, committed in r103131.

comment:5 Changed 11 years ago by cooljeanius (Eric Gallager)

Thanks!

Note: See TracTickets for help on using tickets.