Skip to content

Instantly share code, notes, and snippets.

@yarikoptic
Created May 6, 2011 18:18
Show Gist options
  • Save yarikoptic/959478 to your computer and use it in GitHub Desktop.
Save yarikoptic/959478 to your computer and use it in GitHub Desktop.
while running
CCACHE_CPP2=1 CCACHE_LOGFILE=/tmp/1.log PATH=/usr/lib/ccache:$PATH make
got
[2011-05-06T14:12:24.132205 2214 ] === CCACHE STARTED =========================================
[2011-05-06T14:12:24.132538 2214 ] Hostname: novo
[2011-05-06T14:12:24.132554 2214 ] Working directory: /home/yoh/deb/gits/pkg-exppsy/freesurfer/freeview
[2011-05-06T14:12:24.132771 2214 ] Source file: moc_LayerPropertyPointSet.cpp
[2011-05-06T14:12:24.132784 2214 ] Object file: freeview-moc_LayerPropertyPointSet.o
[2011-05-06T14:12:24.132802 2214 ] Trying direct lookup
[2011-05-06T14:12:24.132952 2214 ] Looking for object file hash in /home/yoh/.ccache/9/c/dbf4d13187c3f33893c312cb87eff8-8459.manifest
[2011-05-06T14:12:24.132978 2214 ] No such manifest file
[2011-05-06T14:12:24.132990 2214 ] Did not find object file hash in manifest
[2011-05-06T14:12:24.133000 2214 ] Running preprocessor
[2011-05-06T14:12:24.133057 2214 ] Executing /usr/bin/g++ -DHAVE_CONFIG_H -I. -I.. -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4 -I. -I/usr/X11R6/include -I. -g -O3 -msse2 -mfpmath=sse -Wall -DUSE_SSE_MATHFUN -m64 -DLinux -DANSI -pipe -O2 -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -fno-strict-aliasing -Wno-deprecated -Wno-unused -Wno-uninitialized -Wno-return-type -Wno-reorder -Wno-sign-compare -I../include -I/usr/X11R6/include -pthread -I/usr/include/GL -I/usr/include/vtk-5.6 -I../vtkfsio -I../vtkutils -I/usr/include/InsightToolkit -I/usr/include/InsightToolkit/Algorithms -I/usr/include/InsightToolkit/BasicFilters -I/usr/include/InsightToolkit/Common -I/usr/include/InsightToolkit/IO -I/usr/include/InsightToolkit/Numerics -I/usr/include/InsightToolkit/Numerics/Statistics -I/usr/include/InsightToolkit/Review -I/usr/include/InsightToolkit/SpatialObject -I/usr/include/InsightToolkit/Utilities -DHAVE_ITK_LIBS -I/usr/include/vxl/core -I/usr/include/vxl/vcl -I/usr/include/vxl/v3p/netlib -I/usr/include/vxl/v3p/netlib/opt -c -E moc_LayerPropertyPointSet.cpp
[2011-05-06T14:12:24.133497 2216 ] Unlink /home/yoh/.ccache/tmp/moc_LayerP.tmp.novo.2214.ii (as-tmp)
[2011-05-06T14:12:24.133705 2216 ] Unlink /home/yoh/.ccache/tmp/tmp.cpp_stderr.novo.2214 (as-tmp)
[2011-05-06T14:12:24.270428 2214 ] Unlink /home/yoh/.ccache/tmp/tmp.cpp_stderr.novo.2214 (as-tmp)
[2011-05-06T14:12:24.270508 2214 ] Got object file hash from preprocessor
[2011-05-06T14:12:24.270572 2214 ] Object file /home/yoh/.ccache/c/d/35497b21975a5e7b7696e44ff0cfd8-934322.o not in cache
[2011-05-06T14:12:24.270595 2214 ] Running real compiler
[2011-05-06T14:12:24.270606 2214 ] Executing /usr/bin/g++ -DHAVE_CONFIG_H -I. -I.. -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4 -I. -I/usr/X11R6/include -I. -g -O3 -msse2 -mfpmath=sse -Wall -DUSE_SSE_MATHFUN -m64 -DLinux -DANSI -pipe -O2 -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -fno-strict-aliasing -Wno-deprecated -Wno-unused -Wno-uninitialized -Wno-return-type -Wno-reorder -Wno-sign-compare -I../include -I/usr/X11R6/include -pthread -I/usr/include/GL -I/usr/include/vtk-5.6 -I../vtkfsio -I../vtkutils -I/usr/include/InsightToolkit -I/usr/include/InsightToolkit/Algorithms -I/usr/include/InsightToolkit/BasicFilters -I/usr/include/InsightToolkit/Common -I/usr/include/InsightToolkit/IO -I/usr/include/InsightToolkit/Numerics -I/usr/include/InsightToolkit/Numerics/Statistics -I/usr/include/InsightToolkit/Review -I/usr/include/InsightToolkit/SpatialObject -I/usr/include/InsightToolkit/Utilities -DHAVE_ITK_LIBS -I/usr/include/vxl/core -I/usr/include/vxl/vcl -I/usr/include/vxl/v3p/netlib -I/usr/include/vxl/v3p/netlib/opt -c -o /home/yoh/.ccache/c/d/35497b21975a5e7b7696e44ff0cfd8-934322.o.tmp.novo.2214 moc_LayerPropertyPointSet.cpp
[2011-05-06T14:12:24.270856 2218 ] Unlink /home/yoh/.ccache/c/d/35497b21975a5e7b7696e44ff0cfd8-934322.o.tmp.stdout.novo.2214 (as-tmp)
[2011-05-06T14:12:24.271113 2218 ] Unlink /home/yoh/.ccache/c/d/35497b21975a5e7b7696e44ff0cfd8-934322.o.tmp.stderr.novo.2214 (as-tmp)
[2011-05-06T14:12:25.073966 2214 ] Unlink /home/yoh/.ccache/c/d/35497b21975a5e7b7696e44ff0cfd8-934322.o.tmp.stdout.novo.2214 (as-tmp)
[2011-05-06T14:12:25.074034 2214 ] Compiler gave exit status 1
[2011-05-06T14:12:25.074160 2214 ] Unlink /home/yoh/.ccache/c/d/35497b21975a5e7b7696e44ff0cfd8-934322.o.tmp.stderr.novo.2214 (as-tmp)
[2011-05-06T14:12:25.074185 2214 ] Unlink /home/yoh/.ccache/tmp/moc_LayerP.tmp.novo.2214.ii (as-tmp)
[2011-05-06T14:12:25.074441 2214 ] Acquired lock /home/yoh/.ccache/c/stats.lock
[2011-05-06T14:12:25.074564 2214 ] Releasing lock /home/yoh/.ccache/c/stats.lock
[2011-05-06T14:12:25.074578 2214 ] Unlink /home/yoh/.ccache/c/stats.lock (as-tmp)
[2011-05-06T14:12:25.074595 2214 ] Result: compile failed
but direct invocation of the failed call worked just fine, i.e.:
/usr/bin/g++ -DHAVE_CONFIG_H -I. -I.. -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4 -I. -I/usr/X11R6/include -I. -g -O3 -msse2 -mfpmath=sse -Wall -DUSE_SSE_MATHFUN -m64 -DLinux -DANSI -pipe -O2 -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -fno-strict-aliasing -Wno-deprecated -Wno-unused -Wno-uninitialized -Wno-return-type -Wno-reorder -Wno-sign-compare -I../include -I/usr/X11R6/include -pthread -I/usr/include/GL -I/usr/include/vtk-5.6 -I../vtkfsio -I../vtkutils -I/usr/include/InsightToolkit -I/usr/include/InsightToolkit/Algorithms -I/usr/include/InsightToolkit/BasicFilters -I/usr/include/InsightToolkit/Common -I/usr/include/InsightToolkit/IO -I/usr/include/InsightToolkit/Numerics -I/usr/include/InsightToolkit/Numerics/Statistics -I/usr/include/InsightToolkit/Review -I/usr/include/InsightToolkit/SpatialObject -I/usr/include/InsightToolkit/Utilities -DHAVE_ITK_LIBS -I/usr/include/vxl/core -I/usr/include/vxl/vcl -I/usr/include/vxl/v3p/netlib -I/usr/include/vxl/v3p/netlib/opt -c -o /home/yoh/.ccache/c/d/35497b21975a5e7b7696e44ff0cfd8-934322.o.tmp.novo.2214 moc_LayerPropertyPointSet.cpp
or just plain invoking make calling g++ working fine:
g++ -DHAVE_CONFIG_H -I. -I.. -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4 -I. -I/usr/X11R6/include -I. -g -O3 -msse2 -mfpmath=sse -Wall -DUSE_SSE_MATHFUN -m64 -DLinux -DANSI -pipe -O2 -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -fno-strict-aliasing -Wno-deprecated -Wno-unused -Wno-uninitialized -Wno-return-type -Wno-reorder -Wno-sign-compare -I../include -I/usr/X11R6/include -pthread -I/usr/include/GL -I/usr/include/vtk-5.6 -I../vtkfsio -I../vtkutils -I/usr/include/InsightToolkit -I/usr/include/InsightToolkit/Algorithms -I/usr/include/InsightToolkit/BasicFilters -I/usr/include/InsightToolkit/Common -I/usr/include/InsightToolkit/IO -I/usr/include/InsightToolkit/Numerics -I/usr/include/InsightToolkit/Numerics/Statistics -I/usr/include/InsightToolkit/Review -I/usr/include/InsightToolkit/SpatialObject -I/usr/include/InsightToolkit/Utilities -DHAVE_ITK_LIBS -I/usr/include/vxl/core -I/usr/include/vxl/vcl -I/usr/include/vxl/v3p/netlib -I/usr/include/vxl/v3p/netlib/opt -c -o freeview-moc_LayerPropertyPointSet.o `test -f 'moc_LayerPropertyPointSet.cpp' || echo './'`moc_LayerPropertyPointSet.cpp
what could be the catch/reason?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment