I can confirm that the lcov package in mantic-proposed has fixed the bug for me.
Test done:
1. Install lcov on a Mantic image
2. Execute "lcov -h" and confirmed the issue is still seen
3. Add mantic-proposed to apt sources.list
4. Install lcov from mantic-proposed
5. Execute "lcov -h" again to confirm the help is displayed.
6. get test.c from the testplan
7. build it with "cc test.c -fprofile-arcs -ftest-coverage -lgcov"
8. Execute ./a.out
9. Execute "lcov --base-directory . --directory . --capture --output-file i3.info"
10. Execute "genhtml -o html/ i3.info" to generate the html files
11. Open index.html in the browser to see the record.
I can confirm that the lcov package in mantic-proposed has fixed the bug for me.
Test done:
1. Install lcov on a Mantic image
2. Execute "lcov -h" and confirmed the issue is still seen
3. Add mantic-proposed to apt sources.list
4. Install lcov from mantic-proposed
5. Execute "lcov -h" again to confirm the help is displayed.
6. get test.c from the testplan
7. build it with "cc test.c -fprofile-arcs -ftest-coverage -lgcov"
8. Execute ./a.out
9. Execute "lcov --base-directory . --directory . --capture --output-file i3.info"
10. Execute "genhtml -o html/ i3.info" to generate the html files
11. Open index.html in the browser to see the record.
Test result: the errors with lcov has been fixed.
Package tested:
$ apt-cache policy lcov us.archive. ubuntu. com/ubuntu mantic- proposed/ universe amd64 Packages dpkg/status us.archive. ubuntu. com/ubuntu mantic/universe amd64 Packages
lcov:
Installed: 2.0-1ubuntu0.2
Candidate: 2.0-1ubuntu0.2
Version table:
*** 2.0-1ubuntu0.2 100
100 http://
100 /var/lib/
2.0-1 500
500 http://