[SRU] "Can't locate lcovutil.pm" after updating to 2.0-1
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
lcov (Debian) |
Fix Released
|
Unknown
|
|||
lcov (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Mantic |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
[ Impact ]
lcov is completely unusable as it will always give the following error when lcov is executed.
$ lcov --help
Can't locate lcovutil.pm in @INC (you may need to install the lcovutil module) (@INC contains: /usr/local/lib/lcov /etc/perl /usr/local/
BEGIN failed--compilation aborted at /usr/bin/lcov line 102.
Update:
The error with lcov --help has been fixed in -proposed but it was noticed in the verification that lcov is still unusable and can not generate report. And the errors seen are same as https:/
[ Test Plan ]
* install lcov
* execute "lcov --help"
A more detailed test plan to test the functionality:
1. Use the attached test.c file
2. cc test.c -fprofile-arcs -ftest-coverage -lgcov
3. ./a.out
4. lcov --base-directory . --directory . --capture --output-file i3.info
5. genhtml -o /tmp/i3-coverage/ i3.info
[ Where problems could occur ]
* There is no change in the code, it only installs a file which lcov expects at runtime. So, user should not see any change in the known behaviour.
* For the incremental diff, its removing two patches for old gcc which Debian has already removed. These patches were modifying geninfo to add support for old gcc. But since gcc-13 will be installed by default in Mantic so these patches were creating new problems.
Since it is possible to install gcc-9 in Mantic, so lcov will be not work in that case. But I have verified that none of the "lcov" package in mantic or mantic-proposed works with gcc-9 currently. So removing these old patches will not introduce any new regression.
[ Other Info ]
* There are few more changes apart from installing "lcovutil.pm".
* Multi threading had to be disabled in the build, otherwise the tests during the build are failing. Debian has disabled the tests for this but it is better to keep the tests enabled. I have also sent the chane to Debian - https:/
* lcov also needs libcapture-
Update:
* Debian has removed the old gcc compatibility patches at https:/
[ Original Bug Description ]
The new lcov version is broken.
$ lcov
Can't locate lcovutil.pm in @INC (you may need to install the lcovutil module) (@INC contains: /usr/local/lib/lcov /etc/perl /usr/local/
BEGIN failed--compilation aborted at /usr/bin/lcov line 102.
Reported upstream https:/
tags: | added: mantic |
Changed in lcov (Debian): | |
status: | Unknown → New |
Changed in lcov (Debian): | |
status: | New → Fix Released |
Changed in lcov (Debian): | |
status: | Fix Released → New |
Changed in lcov (Debian): | |
status: | New → Fix Released |
description: | updated |
Status changed to 'Confirmed' because the bug affects multiple users.