#51600: hdf4: h4cc contains directive to use ccache --------------------------+----------------------- Reporter: ryandesign@… | Owner: takeshi@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.99 Keywords: | Port: hdf4 --------------------------+----------------------- I use ccache on my system. (I set `configure_ccache yes` in macports.conf.) As a consequence of this, /opt/local/bin/h4cc contains references to ccache: {{{ CCBASE="ccache /usr/bin/clang" CLINKERBASE="ccache /usr/bin/clang" }}} This causes ports (such as hdfeos) that want to use hdf4 to fail to build with an error message: {{{ configure: error: C compiler cannot create executables }}} and in config.log: {{{ ccache: error: Failed to create temporary file for /opt/local/var/macports/build/.ccache/3/stats.tmp: Operation not permitted }}} hdf4 should not bake directives to use ccache into its files, nor, ideally, should it bake a reference to a specific compiler. Instead, ports should respect the values of `configure.compiler` and `configure.ccache`. Related: #30258. -- Ticket URL: <https://trac.macports.org/ticket/51600> MacPorts <https://www.macports.org/> Ports system for OS X