Is there an existing issue for this?
- I have searched the existing issues
Current behaviour
0# make cov
1/usr/bin/lcov --gcov-tool /bitcoin-core/cov_tool_wrapper.sh -c -i -d /bitcoin-core/src -o baseline.info
2Can't locate lcovutil.pm in [@INC](/bitcoin-bitcoin/contributor/inc/) (you may need to install the lcovutil module) (@INC contains: /usr/local/lib/lcov /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.36.0 /usr/local/share/perl/5.36.0 /usr/lib/x86_64-linux-gnu/perl5/5.36 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl-base /usr/lib/x86_64-linux-gnu/perl/5.36 /usr/share/perl/5.36 /usr/local/lib/site_perl) at /usr/bin/lcov line 102.
3BEGIN failed--compilation aborted at /usr/bin/lcov line 102.
4make: *** [Makefile:1344: baseline.info] Error 2
5rm cov_tool_wrapper.sh
Expected behaviour
No error
Steps to reproduce
For example on Debian Trixie or Ubuntu Mantic:
0apt update && apt install -y git python3 libevent-dev libboost-dev lcov build-essential libtool autotools-dev automake pkg-config bsdmainutils bsdextrautils clang llvm && git clone --depth=1 https://github.com/bitcoin/bitcoin bitcoin-core && cd bitcoin-core && ./autogen.sh && ./configure --enable-lcov --enable-lcov-branch-coverage --disable-bench && make -j$( nproc ) && make cov
Relevant log output
No response
How did you obtain Bitcoin Core
Compiled from source
What version of Bitcoin Core are you using?
current master
Operating system and version
Debian Trixie or Ubuntu Mantic
Machine specifications
No response