Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

E432: Tags file not sorted... #953

Closed
JezuzStardust opened this issue Oct 10, 2019 · 8 comments
Closed

E432: Tags file not sorted... #953

JezuzStardust opened this issue Oct 10, 2019 · 8 comments

Comments

@JezuzStardust
Copy link

Describe the bug
Installing Macvim from HEAD and using trying to open the manual causes the following error:

E432: Tags file not sorted: /usr/local/Cellar/macvim/HEAD-dc07a14/MacVim.app/Contents/Resources/vim/runtime/doc/tags

I also get the same error for all my plugins at the same time. Also, when navigating the help pages the error appears for each new help file that is opened.

To Reproduce
Detailed steps to reproduce the behavior:

  1. Run brew uninstall macvim && brew install macvim --HEAD
  2. Type :h<enter> and the error appears on the bottom of the window.
  3. Press <enter> to continue and click on any link (or use <CTRL-]> and the error appears again (but with reference to other help files).
  4. Describe the error

Expected behavior
No error message.

Environment (please complete the following information):

  • Vim version 8.1.2102
  • OS: macOS 10.15 (Catalina)
  • Terminal: GUI
@JezuzStardust JezuzStardust changed the title E432> Tags file not sorted... E432: Tags file not sorted... Oct 10, 2019
@eirnym
Copy link
Contributor

eirnym commented Oct 10, 2019

@JezuzStardust Thank you for an issue. It's intended behavior. I have quite a few of the same as well since MacVim build 157 (vim patch level 8.1.1722) was out as I use official GitHub build.

The error is shown because vim was compiled with tag_binary feature and tagbsearch option enabled by default by vim runtime. The option default was changed in the upstream.

I suggest to update all the plugins and check if any of these errors remain and, if any, create issues to respective plugin repositories to actually fix the issue.

On the other hand you ... can turn off the tagbsearch option and somebody else will do the same as above.

I personally prefer the first option.

@JezuzStardust
Copy link
Author

JezuzStardust commented Oct 10, 2019

@eirnym I agree and I will create issues for the relevant plugins.

However, the strange thing is that this error seems to also occur for vim's own manual files. Shouldn't that have been fixed upstreams in vim itself then? (I might be stupid, but aren't vim/runtime/doc/tags, Vim's own tags for its manual pages)?

@eirnym
Copy link
Contributor

eirnym commented Oct 10, 2019

It's better if you'd compile vim from upstream and check if their file has an error. (don't forget to compile with tag_binary and make sure that you've enabled tagbsearch option). If there's no error, then the problem is somewhere in this repo and should be fixed.

@JezuzStardust
Copy link
Author

The problem is upstreams:

vim/vim#5039

@JezuzStardust
Copy link
Author

JezuzStardust commented Oct 16, 2019

@eirnym , I am a bit new here and I am not sure how things work. However, it seems like there is now a fix in the latest commit on Master on Vim/Vim. Should I reopen this to make sure that that commit is pulled into macvim or will that happen automatically later when this is updated? I.e. is macvim built on the latest master of vim or does it have its own branch?

@eirnym
Copy link
Contributor

eirnym commented Oct 16, 2019

Periodically changes from upstream are manually merged to MacVim, and it may happen that exactly these changes won't be included into the nearest release (which was already out).

@ychin
Copy link
Member

ychin commented Oct 17, 2019

I'm still in the middle of releasing snapshot-158. Since this bug seems like a relatively annoying issue for Catalina, I will just make a new release for it with the latest changes and skipping snapshot-158 and go to snapshot-159. (Not going to rebase and re-tag the commits since last time I did that it screwed up Homebrew)

ychin added a commit that referenced this issue Oct 17, 2019
Vim patch 8.1.2168

Features:

- Can now use autocommand to detect an OS appearance change (dark vs
  light mode). See `:help OSAppearanceChanged`. #766

Fixes:

- Fix text being clipped in macOS Catalina. #905
- Fix "E432: Tags file not sorted" issue in macOS Catalina. #953. (Vim
  8.1.2152)

Targets macOS 10.8+

Script interfaces have compatibility with these versions:

- Lua 5.3
- Perl 5.18
- Python2 2.7
- Python3 3.7
- Ruby 2.6
@eirnym
Copy link
Contributor

eirnym commented Oct 17, 2019

@ychin you can disable the default tagbsearch as a workaround and release 158.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants