Bug 1183231

Summary: perl-autodie missing dependency for IPC::System::Simple
Product: [Fedora] Fedora Reporter: Richard Kennedy <richard>
Component: perl-autodieAssignee: Petr Pisar <ppisar>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 21CC: lnie, perl-devel, ppisar
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: perl-autodie-2.25-3.fc21 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-01-30 04:33:40 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:

Description Richard Kennedy 2015-01-17 13:34:14 UTC
Description of problem:
perl reports a missing dependency with 'use autodie qw(:all)'


Version-Release number of selected component (if applicable):
perl-autodie.noarch 2.25-2.fc21

How reproducible:
When test compiling a perl program containing

use autodie qw(:all);

perl reports a missing dependency :-

perl -c test.pl
IPC::System::Simple required for Fatalised/autodying system() at test.pl line 5.

Therefore the perl-autodie package needs a dependency to Perl-IPC-System-Simple so that it gets installed as well and then developers can make full use of autodie without any extra effort.



Additional info:

Comment 1 Petr Pisar 2015-01-19 09:15:28 UTC
autodie(3pm) documents that it's an optional dependency:

    A plain "use autodie" implies "use autodie qw(:default)". Note that
    "system" and "exec" are not enabled by default. "system" requires the
    optional IPC::System::Simple module to be installed, and enabling "system"
    or "exec" will invalidate their exotic forms. See "BUGS" below for more
    details.

I can make it a dependency on the RPM level, but then there will be people complaining about bloating dependencies. Until Fedora blesses soft dependencies, no solution will fit to all.

Comment 2 Fedora Update System 2015-01-19 10:08:03 UTC
perl-autodie-2.25-3.fc21 has been submitted as an update for Fedora 21.
https://admin.fedoraproject.org/updates/perl-autodie-2.25-3.fc21

Comment 3 lnie 2015-01-20 06:11:25 UTC
perl-autodie-2.25-3.fc21 works

Comment 4 Fedora Update System 2015-01-20 21:03:45 UTC
Package perl-autodie-2.25-3.fc21:
* should fix your issue,
* was pushed to the Fedora 21 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing perl-autodie-2.25-3.fc21'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2015-0924/perl-autodie-2.25-3.fc21
then log in and leave karma (feedback).

Comment 5 Fedora Update System 2015-01-30 04:33:40 UTC
perl-autodie-2.25-3.fc21 has been pushed to the Fedora 21 stable repository.  If problems still persist, please make note of it in this bug report.