luan / vimfiles

The Vim Configuration. Uses vim-plug to manage plugins.
172 stars 58 forks source link

fresh install of vim does not work on Ubuntu #78

Closed jtarchie closed 7 years ago

jtarchie commented 7 years ago

@luan let's talk...

pivotal@kenosha ~ $ uname -a
Linux kenosha 4.4.0-45-generic #66-Ubuntu SMP Wed Oct 19 14:12:37 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
pivotal@kenosha ~ $ rm -rf ~/.vim*
pivotal@kenosha ~ $ 
pivotal@kenosha ~ $ vim --version
VIM - Vi IMproved 7.4 (2013 Aug 10, compiled Oct 12 2016 09:33:34)
Included patches: 1-658
Compiled by pivotal@kenosha
Huge version with GTK2-GNOME GUI.  Features included (+) or not (-):
+acl             +farsi           +mouse_netterm   +syntax
+arabic          +file_in_path    +mouse_sgr       +tag_binary
+autocmd         +find_in_path    -mouse_sysmouse  +tag_old_static
+balloon_eval    +float           +mouse_urxvt     -tag_any_white
+browse          +folding         +mouse_xterm     -tcl
++builtin_terms  -footer          +multi_byte      +terminfo
+byte_offset     +fork()          +multi_lang      +termresponse
+cindent         +gettext         -mzscheme        +textobjects
+clientserver    -hangul_input    +netbeans_intg   +title
+clipboard       +iconv           +path_extra      +toolbar
+cmdline_compl   +insert_expand   -perl            +user_commands
+cmdline_hist    +jumplist        +persistent_undo +vertsplit
+cmdline_info    +keymap          +postscript      +virtualedit
+comments        +langmap         +printer         +visual
+conceal         +libcall         +profile         +visualextra
+cryptv          +linebreak       -python          +viminfo
+cscope          +lispindent      -python3         +vreplace
+cursorbind      +listcmds        +quickfix        +wildignore
+cursorshape     +localmap        +reltime         +wildmenu
+dialog_con_gui  -lua             +rightleft       +windows
+diff            +menu            -ruby            +writebackup
+digraphs        +mksession       +scrollbind      +X11
+dnd             +modify_fname    +signs           -xfontset
-ebcdic          +mouse           +smartindent     +xim
+emacs_tags      +mouseshape      -sniff           +xsmp_interact
+eval            +mouse_dec       +startuptime     +xterm_clipboard
+ex_extra        -mouse_gpm       +statusline      -xterm_save
+extra_search    -mouse_jsbterm   -sun_workshop    +xpm
   system vimrc file: "$VIM/vimrc"
     user vimrc file: "$HOME/.vimrc"
 2nd user vimrc file: "~/.vim/vimrc"
      user exrc file: "$HOME/.exrc"
  system gvimrc file: "$VIM/gvimrc"
    user gvimrc file: "$HOME/.gvimrc"
2nd user gvimrc file: "~/.vim/gvimrc"
    system menu file: "$VIMRUNTIME/menu.vim"
  fall-back for $VIM: "/usr/local/share/vim"
Compilation: gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -pthread -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng12 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/freetype2 -D_REENTRANT -DORBIT2=1 -pthread -I/usr/include/libgnomeui-2.0 -I/usr/include/gnome-keyring-1 -I/usr/include/libbonoboui-2.0 -I/usr/include/libxml2 -I/usr/include/libgnome-2.0 -I/usr/include/libbonobo-2.0 -I/usr/include/bonobo-activation-2.0 -I/usr/include/orbit-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/gail-1.0 -I/usr/include/libart-2.0 -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng12 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/x86_64-linux-gnu/gnome-vfs-2.0/include -I/usr/include/gconf/2 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include   -g -O2 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1      
Linking: gcc   -L/usr/local/lib -Wl,--as-needed -o vim   -lgtk-x11-2.0 -lgdk-x11-2.0 -lpangocairo-1.0 -latk-1.0 -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 -lglib-2.0 -lfontconfig -lfreetype  -lgnomeui-2 -lSM -lICE -lbonoboui-2 -lgnome-2 -lpopt -lbonobo-2 -lbonobo-activation -lORBit-2 -lgnomecanvas-2 -lart_lgpl_2 -lgtk-x11-2.0 -lgdk-x11-2.0 -lpangocairo-1.0 -latk-1.0 -lcairo -lgio-2.0 -lpangoft2-1.0 -lpango-1.0 -lfontconfig -lfreetype -lgdk_pixbuf-2.0 -lgnomevfs-2 -lgconf-2 -lgthread-2.0 -lgmodule-2.0 -lgobject-2.0 -lglib-2.0 -lSM -lICE -lXpm -lXt -lX11 -lXdmcp -lSM -lICE  -lm -ltinfo -lnsl  -lselinux -ldl          
pivotal@kenosha ~ $ curl vimfiles.luan.sh/install | FORCE=1 bash
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  5911  100  5911    0     0  88655      0 --:--:-- --:--:-- --:--:-- 89560
Detected non-interactive shell, forcing --non-interactive
vimfiles repository not yet cloned. Cloning...
Cloning into '/home/pivotal/.vim'...
remote: Counting objects: 2875, done.
remote: Total 2875 (delta 0), reused 0 (delta 0), pack-reused 2875
Receiving objects: 100% (2875/2875), 3.50 MiB | 1.54 MiB/s, done.
Resolving deltas: 100% (1789/1789), done.
Submodule 'scripts/base16-shell' (https://github.com/chriskempson/base16-shell.git) registered for path 'scripts/base16-shell'
Submodule 'scripts/shell-colors-vim-hybrid' (https://gist.github.com/0d27cb34e81af344d742.git) registered for path 'scripts/shell-colors-vim-hybrid'
Cloning into '/home/pivotal/.vim/scripts/base16-shell'...
Cloning into '/home/pivotal/.vim/scripts/shell-colors-vim-hybrid'...
Submodule path 'scripts/base16-shell': checked out '60c91eb1c33ea33d872624140c4ffa4990c8d8fb'
Submodule path 'scripts/shell-colors-vim-hybrid': checked out '5eba12c6bbaec7580a281aa2b899ae5981919e13'
INSTALL vim plugins (may take a while)...
:execute g:_plug_bang:!cd "/home/pivotal/.vim/plugged/deoplete-go/" && git submodule update --init --recursive 2>&1
:execute g:_plug_bang:!cd "/home/pivotal/.vim/plugged/vim-jsbeautify/" && git submodule update --init --recursive 2>&1
:execute g:_plug_bang:!cd "/home/pivotal/.vim/plugged/emmet-vim/" && git submodule update --init --recursive 2>&1
:execute g:_plug_bang:!make
:execute g:_plug_bang:!./install --all
Press 'D' to see the updated changes.remote/host: python3 host registered plugins ['deoplete']
remote/host: generated rplugin manifest: /home/pivotal/.local/share/nvim/rplugin.vim
DONE vim plugins
INSTALL go binaries (may take a while)...
vim-go: Updating gocode. Reinstalling github.com/nsf/gocode to folder /home/pivotal/.vim/gobin
vim-go: Updating gometalinter. Reinstalling github.com/alecthomas/gometalinter to folder /home/pivotal/.vim/gobin
vim-go: Updating goimports. Reinstalling golang.org/x/tools/cmd/goimports to folder /home/pivotal/.vim/gobin
vim-go: Updating guru. Reinstalling golang.org/x/tools/cmd/guru to folder /home/pivotal/.vim/gobin
vim-go: Updating gorename. Reinstalling golang.org/x/tools/cmd/gorename to folder /home/pivotal/.vim/gobin
vim-go: Updating golint. Reinstalling github.com/golang/lint/golint to folder /home/pivotal/.vim/gobin
vim-go: Updating godef. Reinstalling github.com/rogpeppe/godef to folder /home/pivotal/.vim/gobin
vim-go: Updating errcheck. Reinstalling github.com/kisielk/errcheck to folder /home/pivotal/.vim/gobin
vim-go: Updating gotags. Reinstalling github.com/jstemmer/gotags to folder /home/pivotal/.vim/gobin
vim-go: Updating asmfmt. Reinstalling github.com/klauspost/asmfmt/cmd/asmfmt to folder /home/pivotal/.vim/gobin
vim-go: Updating motion. Reinstalling github.com/fatih/motion to folder /home/pivotal/.vim/gobin
vim-go: Updating gogetdoc. Reinstalling github.com/zmb3/gogetdoc to folder /home/pivotal/.vim/gobin
vim-go: Updating impl. Reinstalling github.com/josharian/impl to folder /home/pivotal/.vim/gobin
vim-concourse: Updating flytags. Reinstalling github.com/luan/flytags to folder /home/pivotal/.vim/gobin
vim-bosh: Updating boshtags. Reinstalling github.com/luan/boshtags to folder /home/pivotal/.vim/gobin
bash: line 224: /home/pivotal/gobin/gometalinter: No such file or directory
DONE go binaries
luan commented 7 years ago

@jtarchie commit above should help, can you check?

jtarchie commented 7 years ago

Will check later today.

luan commented 7 years ago

@jtarchie ping

jtarchie commented 7 years ago

@luan :frowning_face:

$ curl vimfiles.luan.sh/install | bash
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  5953  100  5953    0     0  19541      0 --:--:-- --:--:-- --:--:-- 19582
Detected non-interactive shell, forcing --non-interactive
vimfiles repository not yet cloned. Cloning...
Cloning into '/home/pivotal/.vim'...
remote: Counting objects: 2884, done.
remote: Total 2884 (delta 0), reused 0 (delta 0), pack-reused 2883
Receiving objects: 100% (2884/2884), 3.50 MiB | 1.02 MiB/s, done.
Resolving deltas: 100% (1793/1793), done.
Checking connectivity... done.
Submodule 'scripts/base16-shell' (https://github.com/chriskempson/base16-shell.git) registered for path 'scripts/base16-shell'
Submodule 'scripts/shell-colors-vim-hybrid' (https://gist.github.com/0d27cb34e81af344d742.git) registered for path 'scripts/shell-colors-vim-hybrid'
Cloning into 'scripts/base16-shell'...
remote: Counting objects: 837, done.
remote: Compressing objects: 100% (86/86), done.
remote: Total 837 (delta 74), reused 0 (delta 0), pack-reused 751
Receiving objects: 100% (837/837), 525.70 KiB | 449.00 KiB/s, done.
Resolving deltas: 100% (649/649), done.
Checking connectivity... done.
Submodule path 'scripts/base16-shell': checked out '60c91eb1c33ea33d872624140c4ffa4990c8d8fb'
Cloning into 'scripts/shell-colors-vim-hybrid'...
remote: Counting objects: 9, done.
remote: Total 9 (delta 0), reused 0 (delta 0), pack-reused 9
Unpacking objects: 100% (9/9), done.
Checking connectivity... done.
Submodule path 'scripts/shell-colors-vim-hybrid': checked out '5eba12c6bbaec7580a281aa2b899ae5981919e13'
DONE vim plugins
INSTALL go binaries (may take a while)...
DONE go binaries

I don't know what is wrong with our base machine.

ljfranklin commented 7 years ago

As an additional data point, the install script worked for me on Ubuntu 16.04.

luan commented 7 years ago

@jtarchie if you git clone https://github.com/luan/vimfiles ~/.vim && ~/.vim/install do you see the same issue?