Hi!
While playing with Gentoo bug report https://bugs.gentoo.org/922908 I found that with all of JSON::XS, Cpanel::JSON::XS, JSON::PP installed, the tests still fail with…
# make -j5 -j1 check
Error: Missing Perl module 'JSON' required by /var/tmp/portage/dev-util/lcov-2.0-r2/work/lcov-2.0/tests//../bin/criteria
make[1]: *** [common.mak:69: checkdeps] Error 1
…which is in (some?) contradiction with statement…
|
- at least one flavor of JSON module. |
|
In order of performance/preference: |
|
- JSON::XS |
|
- Cpanel::JSON::XS |
|
- JSON::PP |
|
- JSON |
…but maybe it depends on whether one is reading that as being about (a) runtime or (b) runtime-and-test dependencies.
I guess for Gentoo, the fix is to insist on plain JSON for when tests are enabled with LCOV >=2.0.
With regard to upstream, what do you envision as the best fix or improvement?
Best, Sebastian