Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#7817 - gvim-7.1.86-1: missing files in /usr/share/vim/syntax

Attached to Project: Arch Linux
Opened by Jens (defcon) - Tuesday, 14 August 2007, 18:25 GMT
Last edited by Tobias Kieslich (tobias) - Tuesday, 21 August 2007, 21:05 GMT
Task Type Bug Report
Category Packages: Current
Status Closed
Assigned To Tobias Kieslich (tobias)
Architecture i686
Severity High
Priority Normal
Reported Version 2007.08 Don't Panic
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

After update vim the folder /usr/share/vim/syntax is empty
There is no syntax.vim

(g)vim7.1.86

ls -l /usr/share/vim/syntax/
insgesamt 4
-rw-r--r-- 1 root root 1928 12. Aug 22:21 promela.vim

thats all.
This task depends upon

Closed by  Tobias Kieslich (tobias)
Tuesday, 21 August 2007, 21:05 GMT
Reason for closing:  Fixed
Additional comments about closing:  fixed by adding double quotes though the deps were resolved fine for me be4
Comment by Dan McGee (toofishes) - Tuesday, 14 August 2007, 19:52 GMT
$ ls /usr/share/vim/syntax/
2html.vim edif.vim maxima.vim sicad.vim
CVSAnnotate.vim eiffel.vim mel.vim sieve.vim
README.txt elf.vim messages.vim simula.vim
SVKAnnotate.vim elinks.vim mf.vim sinda.vim
SVNAnnotate.vim elmfilt.vim mgl.vim sindacmp.vim
a2ps.vim erlang.vim mgp.vim sindaout.vim
......

Seems to be fine for me.

$ pacman -Qi vim
Name : vim
Version : 7.1.68-1
Comment by Roman Kyrylych (Romashka) - Wednesday, 15 August 2007, 13:30 GMT
[root@server ~]# pacman -Si gvim | grep Depends
Depends On : vi>=${pkgver} perl python ruby acl libxt gtk2

depends=('vi>=${pkgver}' in gvim PKGBUILD should be changed to
depends=("vi>=${pkgver}"
;-)
Comment by Dan McGee (toofishes) - Wednesday, 15 August 2007, 13:55 GMT
Roman's issue fixed in CVS.
Comment by Roman Kyrylych (Romashka) - Wednesday, 15 August 2007, 15:09 GMT
That's not just cosmethic issue - that is the reason of empty /usr/share/vim/syntax in Jens' case.
I guess he installed gvim but not vim, so gvim did not pull vi dependency and hence no /usr/share/vim is available at all.
IMHO gvim-7.1.86-2 should be released.
Comment by Tobias Kieslich (tobias) - Wednesday, 15 August 2007, 16:55 GMT
after uninstalling vi (with Rc option) and reinstalling just gvim or just vim, either of the procedures pull in vi properly. So I can't really confirm the issue nor that the double quotes are the solution. Dan, do the double quotes matter for pacmans behavior?
Comment by Roman Kyrylych (Romashka) - Wednesday, 15 August 2007, 17:13 GMT
Hmmm... Ignore my previuos comment. I was wrong. Pacman actually pulls vi correctly. (I guess '7.1.86' is >= '${pkgver}' :D)

About single vs. double quotes - it does matter for makepkg.
Here is part of /var/lib/pacman/current/gvim-7.1.68-1/depends:
%DEPENDS%
vi>=${pkgver}
perl
python

and part of .PKGINFO from gvim package tarball:
depend = vi>=${pkgver}
depend = perl
depend = python

With double quotes there will be vi>=7.1.86
Comment by Tobias Kieslich (tobias) - Wednesday, 15 August 2007, 17:18 GMT
Okay, my bad, not the fittest this morning ...
I rebuild them anyway because of the pathces, I still think it was not the issue since pacman -S gvim pulled in vi properly

Loading...