make check-coverage fails
$ make check-coverage
...
make[1]: Leaving directory '/home/rootmonk/Documents/wget2/build'
lcov --capture --initial --directory src/ --directory libwget/.libs --output-file wget2.info
Capturing coverage data from src/ libwget/.libs
Found gcov version: 5.4.0
Scanning src/ for .gcno files ...
Found 9 graph files in src/
Processing bar.gcno
geninfo: ERROR: /home/rootmonk/Documents/wget2/build/src/bar.gcno: reached unexpected end of file
Makefile:1997: recipe for target 'check-coverage' failed
make: *** [check-coverage] Error 255
$ clang --version
clang version 3.8.0-2ubuntu4 (tags/RELEASE_380/final)
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/bin
$ lcov --version
lcov: LCOV version 1.12
$ gcov --version
gcov (Ubuntu 5.4.0-6ubuntu1~16.04.4) 5.4.0 20160609
I already tried make distclean
, ./botstrap
and ../configure
but error persists. Seems like clang-lcov version issue?
BTW,
$ cat /etc/issue
Ubuntu 16.04.3 LTS \n \l
Edited by Avinash Sonawane