Bug 1673689 - vim 8.1-873 is missing autoload for matchit, using "%" key breaks with a non-existent function
Summary: vim 8.1-873 is missing autoload for matchit, using "%" key breaks with a non-...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: vim
Version: rawhide
Hardware: All
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Karsten Hopp
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-02-07 19:09 UTC by Filipe Brandenburger
Modified: 2019-02-20 13:43 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-02-20 13:43:26 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Filipe Brandenburger 2019-02-07 19:09:48 UTC
Description of problem:

With vim 8.1-873 (e.g. 2:8.1.873-1.fc30 on Rawhide, but probably also affects F29), matchit is broken.

Going to a brace or bracket and pressing "%" (to find its match) breaks with:

E117: Unknown function: matchit#Match_wrapper                                                                                                                                                                                                                                                                                             


Version-Release number of selected component (if applicable):

2:8.1.873-1.fc30


How reproducible:

Every time.


Steps to Reproduce:
1. Open a file in vim (e.g. vim.spec)
2. Navigate to a "{"
3. Press "%"


Actual results:

E117: Unknown function: matchit#Match_wrapper                                                                                                                                                                                                                                                                                             


Expected results:

Jump to matching "}"


Additional info:

This has been fixed upstream, just before patchlevel 875, with this commit:

https://github.com/vim/vim/commit/94688b8a2a1fc3d6c8e49151b9533ec1c0a6757f

Upgrading to patchlevel 875+ should fix this problem.

Comment 1 Filipe Brandenburger 2019-02-07 19:15:57 UTC
Filed a PR to address this, please take a look:
https://src.fedoraproject.org/rpms/vim/pull-request/5

It may need backporting to F29.

Cheers,
Filipe

Comment 2 Zdenek Dohnal 2019-02-08 09:47:12 UTC
Hi Filipe,

thank you for the report and the patch! I completely overlooked the URL issue - it is actually not problem for building in koji, but if someone wants to build Vim from srpm, then sources are not downloaded, so I'll cherry-pick your change.
For matchit issue, I'll just update to the latest upstream version.

Comment 3 Fedora Update System 2019-02-13 09:23:28 UTC
vim-8.1.897-1.fc29 has been submitted as an update to Fedora 29. https://bodhi.fedoraproject.org/updates/FEDORA-2019-b94edbc085

Comment 4 Fedora Update System 2019-02-14 02:34:56 UTC
vim-8.1.897-1.fc29 has been pushed to the Fedora 29 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2019-b94edbc085

Comment 5 Fedora Update System 2019-02-15 02:38:49 UTC
vim-8.1.897-1.fc29 has been pushed to the Fedora 29 stable repository. If problems still persist, please make note of it in this bug report.


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