#1092268 lcov: LCOV >=2.0 needs runtime dependency on CPAN "Memory::Process"

Package:
lcov
Source:
lcov
Submitter:
Sebastian Pipping
Date:
2025-01-06 18:00:02 UTC
Severity:
normal
#1092268#5
Date:
2025-01-06 17:56:26 UTC
From:
To:
Dear Maintainer,

here's the crasher reproducing the issue in Debian trixie and/or sid:

  # genhtml -j 2 --memory 100 dummy
  Attempting to retrieve memory size from /proc instead
  genhtml: ERROR: (package) package Memory::Process is required to control
memory consumption during
  parallel operations: genhtml: ERROR: Can't locate Memory/Process.pm in @INC
(you may need to install
  the Memory::Process module) (@INC entries checked: [..])
        (use "genhtml --ignore-errors package ..." to bypass this error)

It can be verified in Docker in three lines:

  FROM debian:sid
  RUN apt-get update && apt-get install --yes lcov
  RUN genhtml --version && genhtml -j 2 --memory 100 dummy

It would be awesome if CPAN Memory::Process could be packaged and then added to
runtime dependencies of LCOV.
Thanks in advance!

Related:
- https://github.com/linux-test-project/lcov/issues/370
- https://bugs.gentoo.org/947616

Best, Sebastian