Bug 200374 - editors/vim: 3.7.729 installation fails if NLS is deactivated with missing files rview.1.gz and rvim.1.gz
Summary: editors/vim: 3.7.729 installation fails if NLS is deactivated with missing fi...
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Po-Chuan Hsieh
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-05-21 20:42 UTC by nullptr
Modified: 2015-12-11 05:52 UTC (History)
1 user (show)

See Also:
bugzilla: maintainer-feedback? (sunpoet)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description nullptr 2015-05-21 20:42:35 UTC
When installing vim with deactivated NLS the build fails with following message:

```
===>  Installing for vim-7.4.729
===>   vim-7.4.729 depends on file: /usr/local/bin/cscope - found
===>   vim-7.4.729 depends on file: /usr/local/bin/exctags - found
===>   vim-7.4.729 depends on file: /usr/local/bin/python2.7 - found
===>   vim-7.4.729 depends on file: /usr/local/bin/perl5.18.4 - found
===>  Checking if vim already installed
===>   Registering installation for vim-7.4.729
pkg-static: Unable to access file /usr/ports/editors/vim/work/stage/usr/local/man/man1/rview.1.gz: No such file or directory
pkg-static: Unable to access file /usr/ports/editors/vim/work/stage/usr/local/man/man1/rvim.1.gz: No such file or directory
*** Error code 74

Stop.
make[1]: stopped in /usr/ports/editors/vim
*** Error code 1

Stop.
make: stopped in /usr/ports/editors/vim
```

Complete configuration:
```
# This file is auto-generated by 'make config'.
# Options for vim-7.4.729
_OPTIONS_READ=vim-7.4.729
_FILE_COMPLETE_OPTIONS_LIST=CSCOPE DEFAULT_VIMRC EXUBERANT_CTAGS LUA NLS PERL PYTHON RUBY TCL XTERM_SAVE ATHENA CONSOLE GNOME GTK2 MOTIF X11
OPTIONS_FILE_SET+=CSCOPE
OPTIONS_FILE_SET+=DEFAULT_VIMRC
OPTIONS_FILE_SET+=EXUBERANT_CTAGS
OPTIONS_FILE_UNSET+=LUA
OPTIONS_FILE_UNSET+=NLS
OPTIONS_FILE_SET+=PERL
OPTIONS_FILE_SET+=PYTHON
OPTIONS_FILE_UNSET+=RUBY
OPTIONS_FILE_UNSET+=TCL
OPTIONS_FILE_UNSET+=XTERM_SAVE
OPTIONS_FILE_UNSET+=ATHENA
OPTIONS_FILE_SET+=CONSOLE
OPTIONS_FILE_UNSET+=GNOME
OPTIONS_FILE_UNSET+=GTK2
OPTIONS_FILE_UNSET+=MOTIF
OPTIONS_FILE_UNSET+=X11
```
Comment 1 Po-Chuan Hsieh freebsd_committer freebsd_triage 2015-09-24 15:45:31 UTC
I cannot reproduce that. Personally I disabled NLS in make.conf. That means each time I update vim, it should build fine with NLS disabled. I also tested your option combination in poudriere, at least editors/vim 7.4.873 builds without error.

poudriere make.conf:
editors_vim_SET=CONSOLE CSCOPE DEFAULT_VIMRC EXUBERANT_CTAGS PERL PYTHON
editors_vim_UNSET=ATHENA GNOME GTK2 LUA MOTIF NLS RUBY TCL X11 XTERM_SAVE
Comment 2 Po-Chuan Hsieh freebsd_committer freebsd_triage 2015-12-11 05:52:04 UTC
Feedback timeout. Feel free to reopen if problem persists.