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

MacPorts noreply at macports.org
Tue Jan 21 14:24:56 PST 2014


#42220: py26-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
 Keywords:           |       Port:  py26-netcdf4
---------------------+--------------------------------
 I have `configureccache`        set to `        yes` in my `macports.conf`
 file and ran into this error when trying to build py26-netcdf:
 {{{
 running build_ext
 customize UnixCCompiler
 customize UnixCCompiler using build_ext
 building 'netCDF4' extension
 compiling C sources
 C compiler: {ccache /usr/bin/gcc-4.2} -DNDEBUG -g -fwrapv -O3 -Wall
 -Wstrict-prototypes -arch x86_64 -arch i386

 creating build/temp.macosx-10.6-x86_64-2.6
 compile options: '-I/opt/local/include -I/opt/local/include
 -I/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6
 /site-packages/numpy/core/include
 -I/opt/local/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6
 -c'
 {ccache: netCDF4.c
 sh: {ccache: command not found
 sh: {ccache: command not found
 error: Command "{ccache /usr/bin/gcc-4.2} -DNDEBUG -g -fwrapv -O3 -Wall
 -Wstrict-prototypes -arch x86_64 -arch i386 -I/opt/local/include
 -I/opt/local/include
 -I/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6
 /site-packages/numpy/core/include
 -I/opt/local/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6
 -c netCDF4.c -o build/temp.macosx-10.6-x86_64-2.6/netCDF4.o" failed with
 exit status 127
 Command failed:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_release_tarballs_ports_python_py-
 netcdf4/py26-netcdf4/work/netCDF4-1.0.4" &&
 /opt/local/Library/Frameworks/Python.framework/Versions/2.6/bin/python2.6
 setup.py --no-user-cfg build
 Exit code: 1
 Error: org.macports.build for port py26-netcdf4 returned: command
 execution failed
 DEBUG: Error code: CHILDSTATUS 28040 1
 DEBUG: Backtrace: command execution failed
 }}}

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


More information about the macports-tickets mailing list