FS#16840 - [vim] must depend on perl strictly

Attached to Project: Arch Linux
Opened by Mikhail Vorozhtsov (mvorozhtsov) - Sunday, 25 October 2009, 13:10 GMT
Last edited by Dan Griffiths (Ghost1227) - Friday, 12 February 2010, 20:08 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Tobias Kieslich (tobias)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 2
Private No

Details

Vim binary is linked against libperl.so:
$ ldd /usr/bin/vim | grep perl
libperl.so => /usr/lib/perl5/core_perl/CORE/libperl.so (0x00007f0bdc322000)

so perl should be moved from 'optdepends' to 'depends'.
Removing perl on my system breaks vim:
$ vim
vim: error while loading shared libraries: libperl.so: cannot open shared object file: No such file or directory
This task depends upon

Closed by  Dan Griffiths (Ghost1227)
Friday, 12 February 2010, 20:08 GMT
Reason for closing:  Fixed
Additional comments about closing:  As much as I dislike inclusion of base packages as dependencies, this is a legitimate one. removing perl breaks vim as it is currently built, and I've heard enough users discuss removal of perl that this should be made an explicit dependency
Comment by Gerardo Exequiel Pozzi (djgera) - Monday, 26 October 2009, 04:44 GMT
  • Field changed: Status (Unconfirmed → Assigned)
  • Field changed: Category ( → Packages: Extra)
  • Field changed: Architecture (All → All)
  • Field changed: Severity (High → Low)
  • Task assigned to Tobias Kieslich (tobias)
In general is a common practice not list a "base" package in deps. Removing a package that is in "base" only if know what to do. Of course this case is exceptional is listed but in optdepends.
Comment by Laszlo Papp (djszapi) - Saturday, 07 November 2009, 11:41 GMT
just for glibc(one of core packages)

grep -Rni glibc /var/abs/extra/*/PKGBUILD | grep depends | wc -l
281
Comment by Paul Mattal (paul) - Saturday, 06 February 2010, 14:49 GMT
This sounds like precisely the sort of case where adding the dependency makes sense for practical reasons. (e.g. one might reasonably expect to be able to remove perl and still use vim)

Tobias?

Loading...