[MacPorts] #30258: hdfeos: build failure with ccache
MacPorts
noreply at macports.org
Wed Jul 20 15:12:05 PDT 2011
#30258: hdfeos: build failure with ccache
-------------------------------------+--------------------------------------
Reporter: ryandesign@… | Owner: takeshi@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 1.9.2
Keywords: | Port: hdfeos
-------------------------------------+--------------------------------------
hdfeos fails to build if `configureccache yes` is in macports.conf:
{{{
checking for /opt/local/include/szlib.h... yes
checking szlib.h usability... yes
checking szlib.h presence... yes
checking for szlib.h... yes
checking for SZ_BufftoBuffCompress in -lsz... yes
checking for gawk... (cached) gawk
checking for h4cc... ccache
cat: ccache: No such file or directory
checking for szlib encoder... shared szlib doesn't work. disabling szip.
checking hdf.h usability... yes
checking hdf.h presence... yes
checking for hdf.h... yes
checking mfhdf.h usability... yes
checking mfhdf.h presence... yes
checking for mfhdf.h... yes
checking for main in -ldf... yes
checking for main in -lmfhdf... yes
checking for hdf4 szip decoding filter... yes
checking for hdf4 szip encoding filter... no
configure: error: SZIP specified in --with-szlib is not functional
shell command " cd
"/opt/local/var/macports/build/_Users_rschmidt_macports_dports_science_hdfeos/work/hdfeos"
&& ./configure --prefix=/opt/local --with-hdf4=/opt/local --with-
zlib=/opt/local --with-szlib=/opt/local --disable-dependency-tracking "
returned error 1
Error: Target org.macports.configure returned: configure failure: shell
command failed (see log for details)
DEBUG: Backtrace: configure failure: shell command failed (see log for
details)
Warning: the following items did not execute (for hdfeos):
org.macports.activate org.macports.configure org.macports.build
org.macports.destroot org.macports.install
Log for hdfeos is at:
/opt/local/var/macports/logs/_Users_rschmidt_macports_dports_science_hdfeos/main.log
}}}
The attached patch works around the problem by disabling ccache for
hdfeos. A better solution might be to fix hdfeos so it works with ccache
(if indeed ccache works with h4cc).
--
Ticket URL: <https://trac.macports.org/ticket/30258>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list