Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.
Bug 1356548 - perl-ExtUtils-Install and perl-ExtUtils-MakeMaker need devel packages
Summary: perl-ExtUtils-Install and perl-ExtUtils-MakeMaker need devel packages
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: perl
Version: 7.4
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: perl-maint-list
QA Contact: BaseOS QE - Apps
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-07-14 10:57 UTC by Milan Kerslager
Modified: 2016-07-14 13:04 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-07-14 13:04:30 UTC


Attachments (Terms of Use)
Output of yum install perl-ExtUtils-Install (deleted)
2016-07-14 10:57 UTC, Milan Kerslager
no flags Details

Description Milan Kerslager 2016-07-14 10:57:14 UTC
Created attachment 1179748 [details]
Output of yum install perl-ExtUtils-Install

I was trying to install spamassassin package, but it pulled in a lot of devel packages. I tracked down that the problematic package is perl-ExtUtils-Install-1.58-286.el7:

yum -y install perl-ExtUtils-Install

Dependencies:

gdbm-devel
glibc-devel
glibc-headers
kernel-headers
libdb-devel
perl-devel

I wonder why devel packages are needed to just run software written in Perl.

Output of "yum install perl-ExtUtils-Install" attached.

Comment 2 Petr Pisar 2016-07-14 13:04:30 UTC
This one dependency, perl-ExtUtils-Install on perl-devel, is bogus. But even if the dependency wasn't there, you would get perl-devel because of perl-ExtUtils-MakeMaker. perl-ExtUtils-MakeMaker is a developmental package used for building Perl XS modules, thus it requires perl-devel.

See Fedora bugs #1056723 or #432176.

We managed to reduce dependencies from various core modules on perl-devel in Fedora as tracked in bug #1129443, but only on the cost of providing ExtUtils::MM_Unix::maybe_command() in a separate module that is unacceptable for Perl upstream. We also had to edit thousands of source packages to declare dependencies properly.

I believe porting similar change into RHEL would break backward compatibility because various source Perl packages do not depend on perl-devel although they should because they think dependency on perl-ExtUtils-MakeMaker is enough.

If you need more help, please contact Red Hat support.


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