Bug 1174951

Summary: installing vim pulls in 30 perl packages
Product: [Fedora] Fedora Reporter: Simo Sorce <ssorce>
Component: perlAssignee: Petr Pisar <ppisar>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 21CC: cweyl, iarnell, ignatenko, jplesnik, karsten, kasal, moshima.web, perl-devel, ppisar, psabata, rc040203, tcallawa
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: perl-5.20.2-323.fc23 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-03-17 06:57:12 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 Simo Sorce 2014-12-16 20:16:16 UTC
Description of problem:
running "yum install vim" on a just installed Fedora 21 pulls in 30 perl packages

Version-Release number of selected component (if applicable):
vim-enhanced 2:7.4.475-2.fc21

How reproducible:
always, just installl

Steps to Reproduce:
1. yum install vimn

Actual results:
30 perl packages gets pulled in

Expected results:
no perl packages (except perhaps the one that holds libperl) are pulled in

Comment 1 Karsten Hopp 2014-12-17 10:24:19 UTC
I can't fix this in vim. It needs perl-libs, but that is the package that has all the dependencies on other perl packages:

# rpm -qa perl*
#
# yum install perl-libs
.....
Install  1 Package (+29 Dependent packages)

I'll change component to perl for comments from the perl maintainers but I'm afraid you'll have to use vim-minimal to avoid these dependencies.

Comment 2 Petr Ĺ abata 2014-12-18 13:20:36 UTC
It'd be helpful if you posted the list of these dependencies.  My guess is these are dual-life perl core modules, i.e. modules sub-packaged from perl or updates to them from separate packages.  These are integral parts of the perl distribution and often depend on each other.  We've been sub-packaging more and more of them in the past months so that could be why the list of dependencies appears to be quite long now.  Although it's the same content that was shipped with the single `perl' package in the past.

What's interesting, however, is if and why libperl.so needs the whole perl distribution.  I would guess the library should work on its own, hmm.  Perhaps the MODULE_COMPAT dependency could be dropped...

Comment 3 Petr Pisar 2015-01-02 09:38:29 UTC
The reason why vim-enhanced pulls in other Perl packages besides perl-libs is that perl-libs requires perl(:MODULE_COMPAT_*) which is provided by `perl' package.

Correct fix is to move the perl(:MODULE_COMPAT_*) RPM symbol from perl to perl-libs package as the perl-libs defines the perl ABI.

However I'm not keen to do it in stable Fedora release because could break some incorrectly packaged Perl code. (Remember there about 2600 Perl packages.)

Comment 4 Simo Sorce 2015-01-05 21:52:26 UTC
Petr,
can you start doing that in rawhide now so we can asses if it causes issues, and if so starting fixing them there ?