From Bugzilla Helper: User-Agent: Mozilla/5.0 (X11; U; Linux i686; es-ES; rv:1.7.12) Gecko/20050922 Fedora/1.0.7-1.1.fc4 Firefox/1.0.7 Description of problem: When C source files are compiled with ccache and coverage flags enabled, (-ftest-coverage and -fprofile-arcs), .gcno files are generated, but in ~/.ccache. Those also should move to build directories as .o files does. There are 2 options, IMHO to solve this kind of problem; 1: Disable ccache: Unfortunately, ccache package installs a ccache.sh file in /etc/profile.d wich force to use it. So it could be posible to clear this file from ccache package. 2: Implement funtionality to move .gcno files to builddir. Option 2 is an enhacement, so I thought that fastest option to solve this issue is op 1. Version-Release number of selected component (if applicable): ccache-2.4-3 How reproducible: Always Steps to Reproduce: 1. Install ccache-2.4-3. 2. compile elfutils-115 (from rawhide) witn --enable-gcov 3. run /tests/coverage.sh Additional info:
Doesn't setting CCACHE_DISABLE in the environment satisfy your option 1? See the ccache man page for more info.
It's been some time, so I'm assuming comment 1 was a sufficient solution. Feel free to reopen if not.