| Summary: | Missing run-time dependency on Time::HiRes module | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Petr Pisar <ppisar> |
| Component: | perl-IPC-RUN3 | Assignee: | Ralf Corsepius <rc040203> |
| Status: | CLOSED NOTABUG | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | rawhide | CC: | perl-devel, rc040203 |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2013-11-27 08:42:41 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
(In reply to Petr Pisar from comment #0) It's clearly an optional dependency. I do not intend to make optional deps mandatory because they cause dependency bloat, without strong reasons. As bug 1034866 is private and thus is unreadable to me, I can not spot any valid reason for this kind of, what I consider to be a drastic measure. |
Time::HiRes is needed at run time if environment variable IPCRUN3PROFILE or IPCRUNPROFILE is set to a non zero value. See lib/IPC/Run3.pm: use constant profiling => $ENV{IPCRUN3PROFILE} || $ENV{IPCRUNPROFILE} || 0; [...] BEGIN { if ( profiling ) { eval "use Time::HiRes qw( gettimeofday ); 1" or die $@; [...] } } I recommend to add `perl(Time::HiRes)' to run-time dependencies of perl-IPC-Run3 package.