Bug 1673689

Summary: vim 8.1-873 is missing autoload for matchit, using "%" key breaks with a non-existent function
Product: [Fedora] Fedora Reporter: Filipe Brandenburger <filbranden>
Component: vimAssignee: Karsten Hopp <karsten>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: rawhideCC: gchamoul, karsten, zdohnal
Target Milestone: ---Keywords: Patch
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-02-20 13:43:26 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

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.