https://bugzilla.redhat.com/show_bug.cgi?id=1217352
Bug ID: 1217352 Summary: perl-Archive-Extract should have dependency on perl(Archive::Tar) Product: Fedora Version: 21 Component: perl-Archive-Extract Assignee: ppisar@redhat.com Reporter: paul@city-fan.org QA Contact: extras-qa@fedoraproject.org CC: perl-devel@lists.fedoraproject.org, ppisar@redhat.com, psabata@redhat.com
Archive-Extract uses Archive::Tar (preferred to /usr/bin/tar) to extract tarballs but has no dependency on it.
Thus tangerine cannot compare tarballs without it:
$ tangerine --diff Devel-CheckBin-0.02.tar.gz Devel-CheckBin-0.03.tar.gz You do not have 'Archive::Tar' installed - Please install it as soon as possible. at /usr/share/perl5/vendor_perl/App/Tangerine.pm line 145. You do not have 'Archive::Tar' installed - Please install it as soon as possible. at /usr/share/perl5/vendor_perl/App/Tangerine.pm line 145.
(App::Tangerine is using Archive::Extract here)
https://bugzilla.redhat.com/show_bug.cgi?id=1217352
Petr Pisar ppisar@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED
--- Comment #1 from Petr Pisar ppisar@redhat.com --- The issue with wrappers like Archive::Extract is that they allows to use pick up from many options what current RPM's dependency mechanism without virtual (=dummy packages) cannot. (Rich dependencies feature is coming but it's will take a lot of time until becoming allowed in Fedora.)
I understand that bailing out instead of getting some sane dependency is at least surprising. I will try to create the virtual packages monster and when it fails, I will just hard-code some sane default.
https://bugzilla.redhat.com/show_bug.cgi?id=1217352
--- Comment #2 from Paul Howarth paul@city-fan.org --- What I found particularly surprising in this case was that there was no failover from the missing Archive::Tar to using /usr/bin/tar, which Archive::Extract *is* able to find. Upstream's documentation suggests that Archive::Tar should be tried first and then fall back to tar.
https://bugzilla.redhat.com/show_bug.cgi?id=1217352
--- Comment #3 from Petr Pisar ppisar@redhat.com ---
What I found particularly surprising in this case was that there was no failover from the missing Archive::Tar to using /usr/bin/tar, which Archive::Extract *is* able to find.
I tried it in Fedora 23. If tar is installed and perl-Archive-Tar is not installed, Archive::Extract works for me. But it still warns "You do not have 'Archive::Tar' installed".
Upstream's documentation suggests that Archive::Tar should be tried first and then fall back to tar.
Yes, its funny module. Archive::Tar itself states that /usr/bin/tar is faster, so people concern about performance should use that.
Due to the warning I will set dependency on perl(Archive::Tar) unconditionally.
https://bugzilla.redhat.com/show_bug.cgi?id=1217352
Petr Pisar ppisar@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- External Bug ID| |CPAN 104121
https://bugzilla.redhat.com/show_bug.cgi?id=1217352
Petr Pisar ppisar@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |MODIFIED Fixed In Version| |perl-Archive-Extract-0.74-2 | |.fc23
https://bugzilla.redhat.com/show_bug.cgi?id=1217352
--- Comment #4 from Fedora Update System updates@fedoraproject.org --- perl-Archive-Extract-0.74-2.fc22 has been submitted as an update for Fedora 22. https://admin.fedoraproject.org/updates/perl-Archive-Extract-0.74-2.fc22
https://bugzilla.redhat.com/show_bug.cgi?id=1217352
--- Comment #5 from Fedora Update System updates@fedoraproject.org --- perl-Archive-Extract-0.74-2.fc21 has been submitted as an update for Fedora 21. https://admin.fedoraproject.org/updates/perl-Archive-Extract-0.74-2.fc21
https://bugzilla.redhat.com/show_bug.cgi?id=1217352
Petr Pisar ppisar@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed In Version|perl-Archive-Extract-0.74-2 |perl-Archive-Extract-0.74-3 |.fc23 |.fc23
--- Comment #6 from Petr Pisar ppisar@redhat.com --- I made a typo (unxz vs. xz) what's fatal for yum (but not for dnf:). Should be fixed in perl-Archive-Extract-0.74-3.fc23 built.
https://bugzilla.redhat.com/show_bug.cgi?id=1217352
--- Comment #7 from Fedora Update System updates@fedoraproject.org --- perl-Archive-Extract-0.74-3.fc22 has been submitted as an update for Fedora 22. https://admin.fedoraproject.org/updates/perl-Archive-Extract-0.74-3.fc22
https://bugzilla.redhat.com/show_bug.cgi?id=1217352
--- Comment #8 from Fedora Update System updates@fedoraproject.org --- perl-Archive-Extract-0.74-3.fc21 has been submitted as an update for Fedora 21. https://admin.fedoraproject.org/updates/perl-Archive-Extract-0.74-3.fc21
https://bugzilla.redhat.com/show_bug.cgi?id=1217352
Fedora Update System updates@fedoraproject.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|MODIFIED |ON_QA
--- Comment #9 from Fedora Update System updates@fedoraproject.org --- Package perl-Archive-Extract-0.74-3.fc22: * should fix your issue, * was pushed to the Fedora 22 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing perl-Archive-Extract-0.74-3.fc22' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2015-7300/perl-Archive-Extrac... then log in and leave karma (feedback).
https://bugzilla.redhat.com/show_bug.cgi?id=1217352
Fedora Update System updates@fedoraproject.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|ON_QA |CLOSED Fixed In Version|perl-Archive-Extract-0.74-3 |perl-Archive-Extract-0.74-3 |.fc23 |.fc22 Resolution|--- |ERRATA Last Closed| |2015-05-08 03:30:11
--- Comment #10 from Fedora Update System updates@fedoraproject.org --- perl-Archive-Extract-0.74-3.fc22 has been pushed to the Fedora 22 stable repository. If problems still persist, please make note of it in this bug report.
https://bugzilla.redhat.com/show_bug.cgi?id=1217352
Fedora Update System updates@fedoraproject.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed In Version|perl-Archive-Extract-0.74-3 |perl-Archive-Extract-0.74-3 |.fc22 |.fc21
--- Comment #11 from Fedora Update System updates@fedoraproject.org --- perl-Archive-Extract-0.74-3.fc21 has been pushed to the Fedora 21 stable repository. If problems still persist, please make note of it in this bug report.
perl-devel@lists.fedoraproject.org