-
Notifications
You must be signed in to change notification settings - Fork 242
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use of non-distro CPAN package Memory::Process
without trouble?
#370
Comments
Three reasons:
|
@henry2cox thanks for elaborating! Just thinking aloud:
|
Hmm...my opinions, below (hopefully subject to change given convincing rational argument):
|
@henry2cox the check and import are guarded by a number of conditions though, which is why I never saw the error before. Here's a trigger: # bin/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) I guess we could take that command to distros and ask them to package # git tag --contains 5f659f63801ef7f94c50a0eb5cffa1ea70f73651 | sort -V
v2.0
v2.1
v2.1-beta
v2.1-beta2
v2.2
v2.2-beta
v2.3-beta |
@henry2cox report sent to Gentoo: https://bugs.gentoo.org/947616 |
@henry2cox report sent to Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1092268 |
Now fixed through two new Perl packages:
|
@henry2cox should we close as "fixed in Gentoo, Debian notified, done"? |
In general, I prefer that whoever opened the issue be the one to decide that things are complete and close it :-) That said: yeah - I think so. Sounds reasonable to me. |
Hi!
If I'm not mistaken, LCOV code uses CPAN module
Memory::Process
since at least LCOV 2.0 (precisely commit 5f659f6) while neither Debian nor Gentoo seem to have a distro package providing CPAN packageMemory::Process
. I do not understand yet how both distros are able to package LCOV >=2.0 without any dependency on a package providingMemory::Process
files. If that runtime(?) dependency is not a problem, it would be interesting to understand how and why now. Thanks!Best, Sebastian
The text was updated successfully, but these errors were encountered: