Bug 784053 - perl-Sub-WrapPackages provides perl(lib) erroneously
Summary: perl-Sub-WrapPackages provides perl(lib) erroneously
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: perl-Sub-WrapPackages
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Emmanuel Seyman
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-01-23 16:53 UTC by Petr Pisar
Modified: 2012-02-07 07:51 UTC (History)
2 users (show)

Fixed In Version: perl-Sub-WrapPackages-2.0-7.fc16
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-02-07 07:51:04 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Petr Pisar 2012-01-23 16:53:14 UTC
# repoquery --qf '%{SOURCERPM}/%{NEVRA}' --whatprovides 'perl(lib)'
perl-5.14.2-210.fc17.src.rpm/perl-4:5.14.2-210.fc17.x86_64
perl-Sub-WrapPackages-2.0-7.fc17.src.rpm/perl-Sub-WrapPackages-0:2.0-7.fc17.noarch

Why does perl-Sub-WrapPackages provide `perl(lib)'? It redefines package lib in the middle of lib/Sub/WrapPackages.pm. Sub::WrapPackags POD says:

> Deferred wrapping of subs in packages that aren't yet loaded works
> via a subroutine inserted in @INC.  This means that if you mess
> around with @INC, eg by inserting a directoy at the beginning of
> the path, the magic might not get a chance to run.  If you "use
> lib" to mess with @INC though, it should work, as I've over-ridden
> lib's import() method.  That said, code this funky has no right to
> work.  Use with caution!

Please filter `perl(lib)' from set of Provides. I guess other Fedoras than F17 are affected too.

Comment 1 Emmanuel Seyman 2012-01-29 11:03:03 UTC
The filter is there but in rpm 4.8 format.
I'm updating it for rpm 4.9 and I'll release updates for F15 and F16.

Comment 2 Fedora Update System 2012-01-29 23:27:33 UTC
perl-Sub-WrapPackages-2.0-6.fc15 has been submitted as an update for Fedora 15.
https://admin.fedoraproject.org/updates/perl-Sub-WrapPackages-2.0-6.fc15

Comment 3 Fedora Update System 2012-01-29 23:27:42 UTC
perl-Sub-WrapPackages-2.0-7.fc16 has been submitted as an update for Fedora 16.
https://admin.fedoraproject.org/updates/perl-Sub-WrapPackages-2.0-7.fc16

Comment 4 Fedora Update System 2012-01-30 20:56:23 UTC
Package perl-Sub-WrapPackages-2.0-7.fc16:
* should fix your issue,
* was pushed to the Fedora 16 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing perl-Sub-WrapPackages-2.0-7.fc16'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2012-1032/perl-Sub-WrapPackages-2.0-7.fc16
then log in and leave karma (feedback).

Comment 5 Emmanuel Seyman 2012-01-31 10:33:41 UTC
This bug wasn't present in F15 so I've deleted the update.

Comment 6 Fedora Update System 2012-02-07 07:51:04 UTC
perl-Sub-WrapPackages-2.0-7.fc16 has been pushed to the Fedora 16 stable repository.  If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.