Bug 1558427
| Summary: | Useless dependency on perl(Path::Iter) prevents from bootstrapping Perl packages | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Petr Pisar <ppisar> | ||||
| Component: | perl-File-Copy-Recursive | Assignee: | Ralf Corsepius <rc040203> | ||||
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
| Severity: | unspecified | Docs Contact: | |||||
| Priority: | unspecified | ||||||
| Version: | 27 | CC: | lxtnow, perl-devel, rc040203, tcallawa, tremble | ||||
| Target Milestone: | --- | ||||||
| Target Release: | --- | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | perl-File-Copy-Recursive-0.40-3.fc28 perl-File-Copy-Recursive-0.40-3.fc26 perl-File-Copy-Recursive-0.40-3.fc27 | Doc Type: | If docs needed, set a value | ||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2018-04-04 15:50:34 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: | |||||
| Embargoed: | |||||||
| Attachments: |
|
||||||
|
Description
Petr Pisar
2018-03-20 08:37:02 UTC
I can seen 0.40 is in Fedora since version 27. Thanks for the patch. Any insights, why rpm's dep-generator doesn't catch perl(File::Glob)? The generator intentionally ignores non-top-level run-time-loaded modules,
indented "require Foo":
my $glob = sub {
my ( $do, $src_glob, @args ) = @_;
local $CPRFComp = 1;
require File::Glob;
my @rt;
for my $path ( File::Glob::bsd_glob($src_glob) ) {
my @call = [ $do->( $path, @args ) ] or return;
push @rt, \@call;
}
return @rt;
};
I believe the reason is many false positives like branches that never execute on Fedora, e.g:
if ($^O eq 'MSWin32') {
require Win32::Foo;
}
perl-File-Copy-Recursive-0.40-3.fc26 has been submitted as an update to Fedora 26. https://bodhi.fedoraproject.org/updates/FEDORA-2018-0d1617f491 perl-File-Copy-Recursive-0.40-3.fc28 has been submitted as an update to Fedora 28. https://bodhi.fedoraproject.org/updates/FEDORA-2018-c4fb1d3e12 perl-File-Copy-Recursive-0.40-3.fc27 has been submitted as an update to Fedora 27. https://bodhi.fedoraproject.org/updates/FEDORA-2018-051664aa73 perl-File-Copy-Recursive-0.40-3.fc27 has been pushed to the Fedora 27 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2018-051664aa73 perl-File-Copy-Recursive-0.40-3.fc26 has been pushed to the Fedora 26 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2018-0d1617f491 perl-File-Copy-Recursive-0.40-3.fc28 has been pushed to the Fedora 28 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2018-c4fb1d3e12 perl-File-Copy-Recursive-0.40-3.fc28 has been pushed to the Fedora 28 stable repository. If problems still persist, please make note of it in this bug report. perl-File-Copy-Recursive-0.40-3.fc26 has been pushed to the Fedora 26 stable repository. If problems still persist, please make note of it in this bug report. perl-File-Copy-Recursive-0.40-3.fc27 has been pushed to the Fedora 27 stable repository. If problems still persist, please make note of it in this bug report. |