FS#18432 - [vim] package broken; requires ruby>=1.9, not specified in PKGBUILD

Attached to Project: Arch Linux
Opened by Sauron (kvasthval) - Monday, 22 February 2010, 21:38 GMT
Last edited by Ionut Biru (wonder) - Monday, 22 February 2010, 21:56 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To No-one
Architecture All
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:
Vim fails to run unless Ruby >=1.9 is installed:
vim: error while loading shared libraries: libruby.so.1.9: cannot open shared object file: No such file or directory

However, Ruby is not defined as a dependency in the PKGBUILD of extra/vim.
This means that Vim is non-functional for everyone who hasn't explicitly installed Ruby.

Affected versions:
extra/vim 7.2.368-2 (latest version on my mirror, ftp.gigabit.nu).

Happens with both i686 and x86_64 - tested on two different boxes.

Steps to reproduce:
1. Install 'vim' using Pacman.
2. Make sure you don't have the package 'ruby' installed (it's not defined as a dependency of Vim, but could be required by something else).
3. Vim refuses to start, and spits out the following error message: "error while loading shared libraries: libruby.so.1.9".

Possible fix:
I'm not that much into the packaging guidelines, but as I see it, adding 'ruby>=1.9' to depends() in the PKGBUILD of extra/vim should do the trick. :-)
This task depends upon

Closed by  Ionut Biru (wonder)
Monday, 22 February 2010, 21:56 GMT
Reason for closing:  Duplicate
Additional comments about closing:   FS#18426 

Loading...