Bug 1174951 - installing vim pulls in 30 perl packages
Summary: installing vim pulls in 30 perl packages
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: perl
Version: 21
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Petr Pisar
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-12-16 20:16 UTC by Simo Sorce
Modified: 2015-03-17 06:57 UTC (History)
12 users (show)

Fixed In Version: perl-5.20.2-323.fc23
Clone Of:
Environment:
Last Closed: 2015-03-17 06:57:12 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

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 ?


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