Noticed this when doing a PkgUser install because of a conflict between Vim and CMake
The install of Vim has deployed, amongst other things pkg cmake:cmake-3.18.1> ls -l /usr/share/vim/vim82/ total 384 drwxr-xr-x 4 vim vim 4096 Nov 24 18:57 autoload -rw-r--r-- 1 vim vim 1927 Nov 24 18:57 bugreport.vim drwxr-xr-x 3 vim vim 4096 Nov 24 18:57 colors drwxr-xr-x 2 vim vim 4096 Nov 24 18:57 compiler -rw-r--r-- 1 vim vim 4454 Nov 24 18:57 defaults.vim -rw-r--r-- 1 vim vim 806 Nov 24 18:57 delmenu.vim drwxr-xr-x 2 vim vim 4096 Nov 24 18:57 doc -rw-r--r-- 1 vim vim 2126 Nov 24 18:57 evim.vim -rw-r--r-- 1 vim vim 59967 Nov 24 18:57 filetype.vim -rw-r--r-- 1 vim vim 280 Nov 24 18:57 ftoff.vim drwxr-xr-x 2 vim vim 12288 Nov 24 18:57 ftplugin -rw-r--r-- 1 vim vim 971 Nov 24 18:57 ftplugin.vim -rw-r--r-- 1 vim vim 337 Nov 24 18:57 ftplugof.vim -rw-r--r-- 1 vim vim 1641 Nov 24 18:57 gvimrc_example.vim drwxr-xr-x 2 vim vim 4096 Nov 24 18:57 indent -rw-r--r-- 1 vim vim 767 Nov 24 18:57 indent.vim -rw-r--r-- 1 vim vim 282 Nov 24 18:57 indoff.vim ... ls -l /usr/share/vim/vim82/indent/cmake.vim -rw-r--r-- 1 vim vim 2683 Nov 24 18:57 /usr/share/vim/vim82/indent/cmake.vim The install of Cmake however, looks to place files at -- Installing: /usr/share/vim/vimfiles/indent CMake Error at Auxiliary/cmake_install.cmake:46 (file): file INSTALL cannot make directory "/usr/share/vim/vimfiles/indent": No such file or directory. and would also try to install all of these -- Installing: /usr/share/vim/vimfiles/indent -- Installing: /usr/share/vim/vimfiles/indent/cmake.vim -- Installing: /usr/share/vim/vimfiles/syntax -- Installing: /usr/share/vim/vimfiles/syntax/cmake.vim -- Installing: /usr/share/emacs/site-lisp/cmake-mode.el -- Installing: /usr/share/aclocal/cmake.m4 -- Installing: /usr/share/bash-completion/completions/cmake -- Installing: /usr/share/bash-completion/completions/cpack -- Installing: /usr/share/bash-completion/completions/ctest where you'll note the paths for the Vim-related files doesn't match that of the Vim deployment. FWIW pkg cmake:cmake-3.18.1> diff /usr/share/vim/vimfiles/indent/cmake.vim /usr/share/vim/vim82/indent/cmake.vim 6c6 < " Last Change: 2017 Aug 30 --- > " Last Change: 2017 Sep 24 17,19d16 < let s:keepcpo= &cpo < set cpo&vim < 26a24,25 > let s:keepcpo= &cpo > set cpo&vim Which of the two Cmake indent files will get precendence, and might there be a case for installing Cmake's, and other package;s Vim-related files, over the top of the ones deployed by Vim. Kevin -- http://lists.linuxfromscratch.org/listinfo/blfs-dev FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page