[MacPorts] #42220: py-netcdf4 @1.0.4_1: build failure when using ccache

MacPorts noreply at macports.org
Thu Jul 23 02:32:33 PDT 2015


#42220: py-netcdf4 @1.0.4_1: build failure when using ccache
-------------------------+--------------------------------
  Reporter:  egall@…     |      Owner:  macports-tickets@…
      Type:  defect      |     Status:  new
  Priority:  Normal      |  Milestone:
 Component:  ports       |    Version:  2.2.1
Resolution:              |   Keywords:
      Port:  py-netcdf4  |
-------------------------+--------------------------------

Comment (by zanderpower@…):

 I see that this is an old ticket, but I too am getting the same error when
 trying to upgrade py27-netcdf4.  I have tried deactivating ccache, and
 even uninstalling ccache (of course along with appropriately modifying the
 settings on macports.conf and the PATH variable in my .bash_profile.  All
 to no avail.  The first--and the only previous--install of py27-netcdf4
 worked okay, and I do not remember having to mess around with ccache,
 which was almost certainly active at the time.  Now no matter what I have
 tried thus far gives me the same build error:
 {{{
 :info:build {ccache /mp2/local/bin/gcc-mp-4.7} -DNDEBUG -g -fwrapv -O3
 -Wall -Wstrict-prototypes -arch ppc -I/mp2/local/include
 -I/mp2/local/include
 -I/mp2/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
 /site-packages/numpy/core/include
 -I/mp2/local/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7
 -c netCDF4/_netCDF4.c -o build/temp.macosx-10.5-ppc-2.7/netCDF4/_netCDF4.o
 :info:build unable to execute '{ccache': No such file or directory
 :info:build error: command '{ccache' failed with exit status 1
 }}}

 Note: I have also tried deactivating the old py27-netcdf4 and building
 from scratch.  Still the same error.  Weird!  Any ideas?
 I am attaching the build log.

-- 
Ticket URL: <https://trac.macports.org/ticket/42220#comment:7>
MacPorts <https://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list