[MacPorts] #38078: hdfeos's +szip variant should require_active_variants +szip for its dependency on hdf4
#38078: hdfeos's +szip variant should require_active_variants +szip for its dependency on hdf4 ---------------------+-------------------------------- Reporter: egall@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Keywords: | Port: hdf4 hdfeos ---------------------+-------------------------------- 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 }}} -- Ticket URL: <https://trac.macports.org/ticket/38078> MacPorts <http://www.macports.org/> Ports system for Mac OS
#38078: hdfeos's +szip variant should require_active_variants +szip for its dependency on hdf4 --------------------------+-------------------------------- Reporter: egall@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: fixed | Keywords: Port: hdf4 hdfeos | --------------------------+-------------------------------- Changes (by takeshi@…): * status: new => closed * resolution: => fixed Comment: Committed in r103119. Thanks. -- Ticket URL: <https://trac.macports.org/ticket/38078#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#38078: hdfeos's +szip variant should require_active_variants +szip for its dependency on hdf4 --------------------------+-------------------------------- Reporter: egall@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: fixed | Keywords: Port: hdf4 hdfeos | --------------------------+-------------------------------- Comment (by egall@…): Update: The same situation arises with hdf5-18 and hdfeos5, as well. -- Ticket URL: <https://trac.macports.org/ticket/38078#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#38078: hdfeos's +szip variant should require_active_variants +szip for its dependency on hdf4 --------------------------+-------------------------------- Reporter: egall@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: fixed | Keywords: Port: hdf4 hdfeos | --------------------------+-------------------------------- Comment (by takeshi@…): Yes, I'm working on it now. Thanks for reminding me. -- Ticket URL: <https://trac.macports.org/ticket/38078#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#38078: hdfeos's +szip variant should require_active_variants +szip for its dependency on hdf4 --------------------------+-------------------------------- Reporter: egall@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: fixed | Keywords: Port: hdf4 hdfeos | --------------------------+-------------------------------- Comment (by takeshi@…): For hdfeos5, committed in r103131. -- Ticket URL: <https://trac.macports.org/ticket/38078#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#38078: hdfeos's +szip variant should require_active_variants +szip for its dependency on hdf4 --------------------------+-------------------------------- Reporter: egall@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: fixed | Keywords: Port: hdf4 hdfeos | --------------------------+-------------------------------- Comment (by egall@…): Thanks! -- Ticket URL: <https://trac.macports.org/ticket/38078#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts