Description of problem: valgrind fails to rebuild when ccache (http://ccache.samba.org/) is activated: | if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../coregrind -I../../coregrind -I../../include -I../../include -Winline -Wall -Wshadow -O -fomit-frame-pointer -g -Wno-unused -MT cplus-dem.o -MD -MP -MF ".deps/cplus-dem.Tpo" -c -o cplus-dem.o cplus-dem.c; \ | then mv -f ".deps/cplus-dem.Tpo" ".deps/cplus-dem.Po"; else rm -f ".deps/cplus-dem.Tpo"; exit 1; fi | make[4]: *** [cplus-dem.o] Error 1 This is caused by the 'env - ' trick which works around a bug in make<3.80. With recent make version this is not required anymore. Alternatively, a not so intrusive | unset CFLAGS could be used (CFLAGS was the responsible variable). Version-Release number of selected component (if applicable): valgrind-2.2.0-2 make-3.80-4