FS#78613 - [lcov] Missing dependency: perl-capture-tiny, perl-datetime
Attached to Project:
Community Packages
Opened by Rafael (raffomania) - Friday, 26 May 2023, 10:20 GMT
Last edited by Caleb Maclennan (alerque) - Friday, 09 June 2023, 09:12 GMT
Opened by Rafael (raffomania) - Friday, 26 May 2023, 10:20 GMT
Last edited by Caleb Maclennan (alerque) - Friday, 09 June 2023, 09:12 GMT
|
Details
Description:
With version 2, running lcov on a file like this: lcov --summary lcov.info Results in an error like this: Can't locate Capture/Tiny.pm in @INC (you may need to install the Capture::Tiny module) (@INC contains: /usr/lib/lcov /usr/lib/perl5/5.36/site_perl /usr/share/perl5/site_perl /usr/lib/perl5/5.36/vendor_perl /usr/share/perl5/vendor_perl /usr/lib/perl5/5.36/core_perl /usr/share/perl5/core_perl) at /usr/lib/lcov/lcovutil.pm Installing the packages `perl-capture-tiny` and `perl-datetime` fixes the errors. These perl modules are listed as dependencies on the lcov project page, so I think they need to be added as dependencies to the `lcov` package. package version(s): 2.0-1 |
This task depends upon
Closed by Caleb Maclennan (alerque)
Friday, 09 June 2023, 09:12 GMT
Reason for closing: Fixed
Additional comments about closing: lcov-2.0-2
Friday, 09 June 2023, 09:12 GMT
Reason for closing: Fixed
Additional comments about closing: lcov-2.0-2
- Devel::Cover [1] - currently in AUR [2], albeit slightly outdated
- Memory::Process [3] - currently not in official repositories or AUR
- additional JSON modules (these are switchable for performance/preference): 'perl-json-xs', 'perl-cpanel-json-xs', 'perl-json'
- 'perl-tidy' for contributors
The rest are provided by Perl package itself as core modules: Digest::MD5, File::Spec, JSON::PP, Time::HiRes
There are also some Python packages dependencies:
- 'python-coverage' to measure Python code coverage
- 'python-xlsxwriter' to generate any of the spreadsheet reports
[1] https://metacpan.org/dist/Devel-Cover
[2] https://aur.archlinux.org/packages/perl-devel-cover
[3] https://metacpan.org/dist/Memory-Process
I'm on the road for a few days. If somebody sent in patchs (`git format-patch` against `pgkctl repo clone lcov` plus new PKGBUILD for the missing dep and a similarly generated version update patch against the AUR one that needs migrating to repos) I might be able to get it in on Mo or Tu, otherwise this will have to wait until I'm back at a desk.
FS#78662FS#78684