FS#74952 - vimdoc.hook error

Attached to Project: Community Packages
Opened by Moabit (Moabit) - Saturday, 04 June 2022, 00:21 GMT
Last edited by Toolybird (Toolybird) - Monday, 18 July 2022, 06:02 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description: I've tried installing several vim plugins, e.g. vim-ctrlp, vim-tagbar from the official repos, vim-vimtex, vim-delimitmate-git, vim-csv from the AUR. In all cases, vimdoc.hook produced an error.

Additional info:
* package version(s): all `vim-*` plugins tested.
* config and/or log files etc.: N/A
* link to forum post: https://bbs.archlinux.org/viewtopic.php?pid=2039339

Steps to reproduce:
```
$ sudo pacman -S vim-ctrlp
...
:: Processing package changes...
(1/1) installing vim-ctrlp [################################################] 100%
Optional dependencies for vim-ctrlp
ctags: for searching tags [installed]
:: Running post-transaction hooks...
(1/2) Arming ConditionNeedsUpdate...
(2/2) Updating Vim help tags...
error: command failed to execute correctly
```

More information:
I looked at the hook file at `/usr/share/libalpm/hooks/vimdoc.hook`, and ran the command manually.

sudo bash -c '/usr/bin/vim -es --cmd ":helptags /usr/share/vim/vimfiles/doc" --cmd ":q"'

but this did not produce an error.
This task depends upon

Closed by  Toolybird (Toolybird)
Monday, 18 July 2022, 06:02 GMT
Reason for closing:  Works for me
Comment by Toolybird (Toolybird) - Monday, 18 July 2022, 06:02 GMT
This works for me so there be must be something "unique" about your system. Probably best to take it back to the support forum to see if anyone can help debug it.

Loading...