klaxalk / linux-setup

Custom Linux setup nicely integrating vim+tmux+i3+urxvt+zsh+athame
MIT License
68 stars 21 forks source link

vim installation fails on Ubuntu 20.04 #111

Open spurnvoj opened 3 years ago

spurnvoj commented 3 years ago

The vim installation fails on freshly installed Ubuntu 20.04.

 vojta@vojta  ~/git/linux-setup/appconfig/vim   devel  ./install.sh
Install vim? [y/n] (default: y)
y

  mmmm           m      m      "
 #"   "  mmm   mm#mm  mm#mm  mmm    m mm    mmmm         m   m  mmmm
 "#mmm  #"  #    #      #      #    #"  #  #" "#         #   #  #" "#
     "# #""""    #      #      #    #   #  #   #         #   #  #   #
 "mmm#" "#mm"    "mm    "mm  mm#mm  #   #  "#m"#         "mm"#  ##m#"
                                            m  #                #
                                             ""                 "

          "
 m   m  mmm    mmmmm
 "m m"    #    # # #
  #m#     #    # # #
   #    mm#mm  # # #

[sudo] password for vojta:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting 'vim-rails' for glob 'vim-*'
Note, selecting 'vim-lastplace' for glob 'vim-*'
Note, selecting 'vim-gnome' for glob 'vim-*'
Note, selecting 'vim-common' for glob 'vim-*'
Note, selecting 'vim-doc' for glob 'vim-*'
Note, selecting 'vim-airline' for glob 'vim-*'
Note, selecting 'vim-editorconfig' for glob 'vim-*'
Note, selecting 'vim-vimerl-syntax' for glob 'vim-*'
Note, selecting 'vim-syntax-docker' for glob 'vim-*'
Note, selecting 'vim-gtk' for glob 'vim-*'
Note, selecting 'vim-youcompleteme' for glob 'vim-*'
Note, selecting 'vim-latexsuite' for glob 'vim-*'
Note, selecting 'vim-snipmate' for glob 'vim-*'
Note, selecting 'vim-puppet' for glob 'vim-*'
Note, selecting 'vim-lua' for glob 'vim-*'
Note, selecting 'vim-addon-mw-utils' for glob 'vim-*'
Note, selecting 'vim-erlang-syntax' for glob 'vim-*'
Note, selecting 'vim-python-jedi' for glob 'vim-*'
Note, selecting 'vim-python3' for glob 'vim-*'
Note, selecting 'vim-nox' for glob 'vim-*'
Note, selecting 'vim-voom' for glob 'vim-*'
Note, selecting 'vim-erlang' for glob 'vim-*'
Note, selecting 'vim-haproxy' for glob 'vim-*'
Note, selecting 'vim-syntax-gtk' for glob 'vim-*'
Note, selecting 'vim-julia' for glob 'vim-*'
Note, selecting 'vim-airline-themes' for glob 'vim-*'
Note, selecting 'vim-snippets' for glob 'vim-*'
Note, selecting 'vim-tcl' for glob 'vim-*'
Note, selecting 'vim-tjp' for glob 'vim-*'
Note, selecting 'vim-autopep8' for glob 'vim-*'
Note, selecting 'vim-ctrlp' for glob 'vim-*'
Note, selecting 'vim-syntastic' for glob 'vim-*'
Note, selecting 'vim-scripts' for glob 'vim-*'
Note, selecting 'vim-tabular' for glob 'vim-*'
Note, selecting 'vim-vimerl' for glob 'vim-*'
Note, selecting 'vim-fugitive' for glob 'vim-*'
Note, selecting 'vim-runtime' for glob 'vim-*'
Note, selecting 'vim-command-t' for glob 'vim-*'
Note, selecting 'vim-ruby' for glob 'vim-*'
Note, selecting 'vim-asciidoc' for glob 'vim-*'
Note, selecting 'vim-pathogen' for glob 'vim-*'
Note, selecting 'vim-gui-common' for glob 'vim-*'
Note, selecting 'vim-textobj-user' for glob 'vim-*'
Note, selecting 'vim-ultisnips' for glob 'vim-*'
Note, selecting 'vim-gocomplete' for glob 'vim-*'
Note, selecting 'vim-gtk3' for glob 'vim-*'
Note, selecting 'vim-tiny' for glob 'vim-*'
Note, selecting 'vim-addon-manager' for glob 'vim-*'
Note, selecting 'vim-python' for glob 'vim-*'
Note, selecting 'vim-tlib' for glob 'vim-*'
Note, selecting 'vim-perl' for glob 'vim-*'
Note, selecting 'vim-khuno' for glob 'vim-*'
Note, selecting 'vim-migemo' for glob 'vim-*'
Note, selecting 'vim-bitbake' for glob 'vim-*'
Note, selecting 'vim-icinga2' for glob 'vim-*'
Note, selecting 'vim-ledger' for glob 'vim-*'
Note, selecting 'vim-athena' for glob 'vim-*'
Package 'vim-gnome' is not installed, so not removed
Package 'vim-python' is not installed, so not removed
Note, selecting 'vim-vimerl' instead of 'vim-erlang'
Note, selecting 'vim-vimerl-syntax' instead of 'vim-erlang-syntax'
Package 'vim-doc' is not installed, so not removed
Package 'vim-tiny' is not installed, so not removed
Package 'vim-addon-manager' is not installed, so not removed
Package 'vim-addon-mw-utils' is not installed, so not removed
Package 'vim-airline' is not installed, so not removed
Package 'vim-airline-themes' is not installed, so not removed
Package 'vim-asciidoc' is not installed, so not removed
Package 'vim-athena' is not installed, so not removed
Package 'vim-autopep8' is not installed, so not removed
Package 'vim-bitbake' is not installed, so not removed
Package 'vim-command-t' is not installed, so not removed
Package 'vim-ctrlp' is not installed, so not removed
Package 'vim-editorconfig' is not installed, so not removed
Package 'vim-fugitive' is not installed, so not removed
Package 'vim-gocomplete' is not installed, so not removed
Package 'vim-gtk' is not installed, so not removed
Package 'vim-gtk3' is not installed, so not removed
Package 'vim-gui-common' is not installed, so not removed
Package 'vim-icinga2' is not installed, so not removed
Package 'vim-julia' is not installed, so not removed
Package 'vim-khuno' is not installed, so not removed
Package 'vim-lastplace' is not installed, so not removed
Package 'vim-latexsuite' is not installed, so not removed
Package 'vim-ledger' is not installed, so not removed
Package 'vim-migemo' is not installed, so not removed
Package 'vim-nox' is not installed, so not removed
Package 'vim-pathogen' is not installed, so not removed
Package 'vim-puppet' is not installed, so not removed
Package 'vim-python-jedi' is not installed, so not removed
Package 'vim-rails' is not installed, so not removed
Package 'vim-scripts' is not installed, so not removed
Package 'vim-snipmate' is not installed, so not removed
Package 'vim-snippets' is not installed, so not removed
Package 'vim-syntastic' is not installed, so not removed
Package 'vim-syntax-gtk' is not installed, so not removed
Package 'vim-tabular' is not installed, so not removed
Package 'vim-textobj-user' is not installed, so not removed
Package 'vim-tjp' is not installed, so not removed
Package 'vim-tlib' is not installed, so not removed
Package 'vim-ultisnips' is not installed, so not removed
Package 'vim-vimerl' is not installed, so not removed
Package 'vim-vimerl-syntax' is not installed, so not removed
Package 'vim-voom' is not installed, so not removed
Package 'vim-youcompleteme' is not installed, so not removed
Package 'vim-haproxy' is not installed, so not removed
Package 'vim-syntax-docker' is not installed, so not removed
The following packages will be REMOVED:
  vim vim-common vim-runtime
0 upgraded, 0 newly installed, 3 to remove and 0 not upgraded.
After this operation, 35.0 MB disk space will be freed.
(Reading database ... 466745 files and directories currently installed.)
Removing vim (2:8.1.2269-1ubuntu5) ...
Removing vim-common (2:8.1.2269-1ubuntu5) ...
Removing vim-runtime (2:8.1.2269-1ubuntu5) ...
Removing 'diversion of /usr/share/vim/vim81/doc/help.txt to /usr/share/vim/vim81/doc/help.txt.vim-tiny by vim-runtime'
Removing 'diversion of /usr/share/vim/vim81/doc/tags to /usr/share/vim/vim81/doc/tags.vim-tiny by vim-runtime'
Processing triggers for mime-support (3.64ubuntu1) ...
Processing triggers for hicolor-icon-theme (0.17-2) ...
Processing triggers for gnome-menus (3.36.0-1ubuntu1) ...
Processing triggers for man-db (2.9.1-1) ...
Processing triggers for desktop-file-utils (0.24-1ubuntu3) ...
Reading package lists... Done
Building dependency tree
Reading state information... Done
libatk1.0-dev is already the newest version (2.35.1-1ubuntu2).
libcairo2-dev is already the newest version (1.16.0-4ubuntu1).
libncurses5-dev is already the newest version (6.2-0ubuntu2).
libxpm-dev is already the newest version (1:3.5.12-1).
libxt-dev is already the newest version (1:1.1.5-1).
python3-dev is already the newest version (3.8.2-0ubuntu2).
clang-format is already the newest version (1:10.0-50~exp1).
libgtk2.0-dev is already the newest version (2.24.32-4ubuntu4).
libx11-dev is already the newest version (2:1.6.9-2ubuntu1.1).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Requirement already satisfied: rospkg in /usr/local/lib/python3.8/dist-packages (1.2.10)
Requirement already satisfied: distro in /usr/lib/python3/dist-packages (from rospkg) (1.4.0)
Requirement already satisfied: catkin-pkg in /usr/local/lib/python3.8/dist-packages (from rospkg) (0.4.23)
Requirement already satisfied: PyYAML in /usr/lib/python3/dist-packages (from rospkg) (5.3.1)
Requirement already satisfied: python-dateutil in /usr/lib/python3/dist-packages (from catkin-pkg->rospkg) (2.7.3)
Requirement already satisfied: pyparsing in /usr/local/lib/python3.8/dist-packages (from catkin-pkg->rospkg) (2.4.7)
Requirement already satisfied: docutils in /usr/local/lib/python3.8/dist-packages (from catkin-pkg->rospkg) (0.16)
configure: loading cache auto/config.cache
checking whether make sets $(MAKE)... (cached) yes
checking for gcc... (cached) gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... (cached) o
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking for gcc option to accept ISO C99... (cached) none needed
checking how to run the C preprocessor... (cached) gcc -E
checking for grep that handles long lines and -e... (cached) /bin/grep
checking for egrep... (cached) /bin/grep -E
checking for fgrep... (cached) /bin/grep -F
checking for library containing strerror... (cached) none required
checking for gawk... (cached) mawk
checking for strip... (cached) strip
checking for ANSI C header files... (cached) yes
checking for sys/wait.h that is POSIX.1 compatible... (cached) yes
checking for unsigned long long int... (cached) yes
checking for long long int... (cached) yes
checking if the compiler supports trailing commas... yes
checking if the compiler supports C++ comments... yes
checking --enable-fail-if-missing argument... no
checking for clang version... N/A
configure: checking for buggy tools...
checking for BeOS... no
checking for QNX... no
checking for Darwin (Mac OS X)... no
checking for AvailabilityMacros.h... (cached) no
checking --with-local-dir argument... Defaulting to /usr/local
checking --with-vim-name argument... Defaulting to vim
checking --with-ex-name argument... Defaulting to ex
checking --with-view-name argument... Defaulting to view
checking --with-global-runtime argument... no
checking --with-modified-by argument... no
checking if character set is EBCDIC... no
checking --disable-smack argument... no
checking for linux/xattr.h... (cached) yes
checking for attr/xattr.h... (cached) no
checking --disable-selinux argument... no
checking for is_selinux_enabled in -lselinux... (cached) yes
checking for selinux/selinux.h... (cached) yes
checking --with-features argument... huge
checking --with-compiledby argument... no
checking --disable-xsmp argument... no
checking --disable-xsmp-interact argument... no
checking --enable-luainterp argument... yes
checking --with-lua-prefix argument... no
checking LUA_PREFIX environment var... not set, default to /usr
checking --with-luajit... no
checking for lua... no
checking if lua.h can be found in /usr/include... no
checking if lua.h can be found in /usr/include/lua... no
checking --enable-mzschemeinterp argument... no
checking --enable-perlinterp argument... yes
checking for perl... (cached) /usr/bin/perl
checking Perl version... OK
checking if compile and link flags for Perl are sane... no: PERL DISABLED
checking --enable-pythoninterp argument... no
checking --enable-python3interp argument... yes
checking --with-python3-command argument... no
checking Python version... (cached) 3.6
checking Python is 3.0 or better... yep
checking Python's abiflags... (cached) m
checking Python's install prefix... (cached) /usr
checking Python's execution prefix... (cached) /usr
(cached) checking Python's configuration directory... (cached) /usr/lib/python3.5/config-3.5m-x86_64-linux-gnu
(cached) checking Python3's dll name... (cached)
checking if -pthread should be used... yes
checking if compile and link flags for Python 3 are sane... no: PYTHON3 DISABLED
checking --enable-tclinterp argument... no
checking --enable-rubyinterp argument... no
checking --enable-cscope argument... yes
checking --disable-netbeans argument... no
checking --disable-channel argument... no
checking for socket in -lsocket... (cached) no
checking for gethostbyname in -lnsl... (cached) yes
checking whether compiling with process communication is possible... yes
checking --enable-terminal argument... defaulting to yes
checking --enable-autoservername argument... no
checking --enable-multibyte argument... yes
checking --disable-rightleft argument... no
checking --disable-arabic argument... no
checking --enable-xim argument... defaulting to auto
checking --enable-fontset argument... no
checking for xmkmf... (cached) /usr/bin/xmkmf
checking for X... (cached) libraries , headers
checking for gethostbyname... (cached) yes
checking for connect... (cached) yes
checking for remove... (cached) yes
checking for shmat... (cached) yes
checking for IceConnectionNumber in -lICE... (cached) yes
checking if X11 header files can be found... yes
checking for _XdmcpAuthDoIt in -lXdmcp... (cached) yes
checking for IceOpenConnection in -lICE... (cached) yes
checking for XpmCreatePixmapFromData in -lXpm... (cached) yes
checking if X11 header files implicitly declare return values... no
checking size of wchar_t is 2 bytes... (cached) no
checking --enable-gui argument... GTK+ 2.x GUI support
checking for pkg-config... (cached) /usr/bin/pkg-config
checking --disable-gtktest argument... gtk test enabled
checking for GTK - version >= 2.2.0... yes; found version 2.24.32
checking version of Gdk-Pixbuf... OK.
checking for glib-compile-resources... (cached) /usr/bin/glib-compile-resources
checking glib-compile-resources... usable.
checking --disable-icon-cache-update argument... not set
checking for gtk-update-icon-cache... (cached) /usr/bin/gtk-update-icon-cache
checking --disable-desktop-database-update argument... not set
checking for update-desktop-database... (cached) /usr/bin/update-desktop-database
checking for X11/SM/SMlib.h... (cached) yes
checking for X11/xpm.h... (cached) yes
checking for X11/Sunkeysym.h... (cached) yes
checking for XIMText in X11/Xlib.h... yes
X GUI selected; xim has been enabled
checking for /proc link to executable... /proc/self/exe
checking for CYGWIN or MSYS environment... no
checking whether toupper is broken... (cached) no
checking whether __DATE__ and __TIME__ work... yes
checking whether __attribute__((unused)) is allowed... yes
checking for elf.h... (cached) yes
checking for main in -lelf... (cached) no
checking for dirent.h that defines DIR... (cached) yes
checking for library containing opendir... (cached) none required
checking for stdint.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for sys/select.h... (cached) yes
checking for sys/utsname.h... (cached) yes
checking for termcap.h... (cached) yes
checking for fcntl.h... (cached) yes
checking for sgtty.h... (cached) yes
checking for sys/ioctl.h... (cached) yes
checking for sys/time.h... (cached) yes
checking for sys/types.h... (cached) yes
checking for termio.h... (cached) yes
checking for iconv.h... (cached) yes
checking for inttypes.h... (cached) yes
checking for langinfo.h... (cached) yes
checking for math.h... (cached) yes
checking for unistd.h... (cached) yes
checking for stropts.h... (cached) yes
checking for errno.h... (cached) yes
checking for sys/resource.h... (cached) yes
checking for sys/systeminfo.h... (cached) no
checking for locale.h... (cached) yes
checking for sys/stream.h... (cached) no
checking for termios.h... (cached) yes
checking for libc.h... (cached) no
checking for sys/statfs.h... (cached) yes
checking for poll.h... (cached) yes
checking for sys/poll.h... (cached) yes
checking for pwd.h... (cached) yes
checking for utime.h... (cached) yes
checking for sys/param.h... (cached) yes
checking for sys/ptms.h... (cached) no
checking for libintl.h... (cached) yes
checking for libgen.h... (cached) yes
checking for util/debug.h... (cached) no
checking for util/msg18n.h... (cached) no
checking for frame.h... (cached) no
checking for sys/acl.h... (cached) no
checking for sys/access.h... (cached) no
checking for sys/sysinfo.h... (cached) yes
checking for wchar.h... (cached) yes
checking for wctype.h... (cached) yes
checking for sys/ptem.h... (cached) no
checking for sys/sysctl.h... (cached) yes
checking for pthread_np.h... no
checking for strings.h... (cached) yes
checking if strings.h can be included after string.h... yes
checking whether gcc needs -traditional... (cached) no
checking for an ANSI C-conforming const... (cached) yes
checking for working volatile... (cached) yes
checking for mode_t... (cached) yes
checking for off_t... (cached) yes
checking for pid_t... (cached) yes
checking for size_t... (cached) yes
checking for uid_t in sys/types.h... (cached) yes
checking for uint32_t... (cached) yes
checking whether time.h and sys/time.h may both be included... (cached) yes
checking for ino_t... (cached) yes
checking for dev_t... (cached) yes
checking whether byte ordering is bigendian... (cached) no
checking for inline... (cached) inline
checking for rlim_t... (cached) yes
checking for stack_t... (cached) yes
checking whether stack_t has an ss_base field... no
checking --with-tlib argument... empty: automatic terminal library selection
checking for tgetent in -ltinfo... (cached) yes
checking whether we talk terminfo... (cached) yes
checking what tgetent() returns for an unknown terminal... (cached) zero
checking whether termcap.h contains ospeed... yes
checking whether termcap.h contains UP, BC and PC... yes
checking whether tputs() uses outfuntype... no
checking whether sys/select.h and sys/time.h may both be included... yes
checking for /dev/ptc... no
checking for SVR4 ptys... yes
checking for ptyranges... don't know
checking default tty permissions/group... (cached) world
checking return type of signal handlers... (cached) void
checking for struct sigcontext... yes
checking getcwd implementation is broken... (cached) no
checking for fchdir... (cached) yes
checking for fchown... (cached) yes
checking for fchmod... (cached) yes
checking for fsync... (cached) yes
checking for getcwd... (cached) yes
checking for getpseudotty... (cached) no
checking for getpwent... (cached) yes
checking for getpwnam... (cached) yes
checking for getpwuid... (cached) yes
checking for getrlimit... (cached) yes
checking for gettimeofday... (cached) yes
checking for localtime_r... (cached) yes
checking for lstat... (cached) yes
checking for memset... (cached) yes
checking for mkdtemp... (cached) yes
checking for nanosleep... (cached) yes
checking for opendir... (cached) yes
checking for putenv... (cached) yes
checking for qsort... (cached) yes
checking for readlink... (cached) yes
checking for select... (cached) yes
checking for setenv... (cached) yes
checking for getpgid... (cached) yes
checking for setpgid... (cached) yes
checking for setsid... (cached) yes
checking for sigaltstack... (cached) yes
checking for sigstack... (cached) yes
checking for sigset... (cached) yes
checking for sigsetjmp... (cached) no
checking for sigaction... (cached) yes
checking for sigprocmask... (cached) yes
checking for sigvec... (cached) no
checking for strcasecmp... (cached) yes
checking for strerror... (cached) yes
checking for strftime... (cached) yes
checking for stricmp... (cached) no
checking for strncasecmp... (cached) yes
checking for strnicmp... (cached) no
checking for strpbrk... (cached) yes
checking for strptime... (cached) yes
checking for strtol... (cached) yes
checking for tgetent... (cached) yes
checking for towlower... (cached) yes
checking for towupper... (cached) yes
checking for iswupper... (cached) yes
checking for tzset... (cached) yes
checking for usleep... (cached) yes
checking for utime... (cached) yes
checking for utimes... (cached) yes
checking for mblen... (cached) yes
checking for ftruncate... (cached) yes
checking for unsetenv... (cached) yes
checking for posix_openpt... (cached) yes
checking for sys/select.h... (cached) yes
checking for sys/socket.h... (cached) yes
checking types of arguments for select... (cached) int,fd_set *,struct timeval *
checking for _LARGEFILE_SOURCE value needed for large files... (cached) no
checking for special C compiler options needed for large files... (cached) no
checking for _FILE_OFFSET_BITS value needed for large files... (cached) no
checking --enable-canberra argument... Defaulting to yes
checking for libcanberra... no; try installing libcanberra-dev
checking for st_blksize... yes
checking whether stat() ignores a trailing slash... (cached) no
checking for iconv_open()... yes
checking for nl_langinfo(CODESET)... yes
checking for strtod in -lm... (cached) yes
checking for strtod() and other floating point functions... yes
checking for isinf()... yes
checking for isnan()... yes
checking --disable-acl argument... no
checking for acl_get_file in -lposix1e... (cached) no
checking for acl_get_file in -lacl... (cached) no
checking for POSIX ACL support... no
checking for acl_get in -lsec... (cached) no
checking for Solaris ACL support... no
checking for AIX ACL support... no
checking for pango_shape_full... yes
checking --disable-gpm argument... no
checking for gpm... (cached) no
checking --disable-sysmouse argument... no
checking for sysmouse... (cached) no
checking for FD_CLOEXEC... yes
checking for rename... yes
checking for sysctl... not usable
checking for sysinfo... yes
checking for sysinfo.mem_unit... yes
checking for sysconf... yes
checking size of int... (cached) 4
checking size of long... (cached) 8
checking size of time_t... (cached) 8
checking size of off_t... (cached) 8
checking uint32_t is 32 bits... ok
checking whether memmove handles overlaps... (cached) yes
checking whether X_LOCALE needed... no
checking whether Xutf8SetWMProperties() can be used... yes
checking for _xpg4_setrunelocale in -lxpg4... (cached) no
checking how to create tags... ctags -I INIT+ --fields=+S
checking how to run man with a section nr... man -s
checking --disable-nls argument... no
checking for msgfmt... (cached) msgfmt
checking for NLS... gettext() works
checking for bind_textdomain_codeset... (cached) yes
checking for _nl_msg_cat_cntr... yes
checking if msgfmt supports --desktop... yes
checking for dlfcn.h... (cached) yes
checking for dlopen()... no
checking for dlopen() in -ldl... yes
checking for dlsym()... yes
checking for setjmp.h... (cached) yes
checking for GCC 3 or later... yes
checking whether we need -D_FORTIFY_SOURCE=1... yes
checking whether we need to force -D_FILE_OFFSET_BITS=64... no
checking linker --as-needed support... yes
configure: creating auto/config.status
config.status: creating auto/config.mk
config.status: creating auto/config.h
config.status: auto/config.h is unchanged
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/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16   -g -O2 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/arabic.o arabic.c
In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37,
                 from /usr/include/gtk-2.0/gtk/gtkwidget.h:36,
                 from beval.h:17,
                 from vim.h:1826,
                 from arabic.c:31:
/usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: ‘GTypeDebugFlags’ is deprecated [-Wdeprecated-declarations]
  236 | void            gtk_type_init   (GTypeDebugFlags    debug_flags);
      | ^~~~
In file included from /usr/include/glib-2.0/gobject/gobject.h:24,
                 from /usr/include/glib-2.0/gobject/gbinding.h:29,
                 from /usr/include/glib-2.0/glib-object.h:22,
                 from /usr/include/glib-2.0/gio/gioenums.h:28,
                 from /usr/include/glib-2.0/gio/giotypes.h:28,
                 from /usr/include/glib-2.0/gio/gio.h:26,
                 from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30,
                 from /usr/include/gtk-2.0/gdk/gdk.h:32,
                 from /usr/include/gtk-2.0/gtk/gtkwidget.h:34,
                 from beval.h:17,
                 from vim.h:1826,
                 from arabic.c:31:
/usr/include/glib-2.0/gobject/gtype.h:679:1: note: declared here
  679 | {
      | ^
In file included from /usr/include/X11/Intrinsic.h:53,
                 from gui.h:28,
                 from structs.h:105,
                 from vim.h:1830,
                 from arabic.c:31:
/usr/include/X11/Xlib.h:63:1: error: conflicting types for ‘_Xmblen’
   63 | _Xmblen(
      | ^~~~~~~
In file included from vim.h:260,
                 from arabic.c:31:
auto/osdef.h:147:12: note: previous declaration of ‘_Xmblen’ was here
  147 | extern int _Xmblen(char *, size_t);
      |            ^~~~~~~
In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31,
                 from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30,
                 from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30,
                 from /usr/include/gtk-2.0/gtk/gtk.h:126,
                 from gui.h:29,
                 from structs.h:105,
                 from vim.h:1830,
                 from arabic.c:31:
/usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: ‘GTimeVal’ is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations]
   73 |   GTimeVal last_popdown;
      |   ^~~~~~~~
In file included from /usr/include/glib-2.0/glib/galloca.h:32,
                 from /usr/include/glib-2.0/glib.h:30,
                 from /usr/include/glib-2.0/gobject/gbinding.h:28,
                 from /usr/include/glib-2.0/glib-object.h:22,
                 from /usr/include/glib-2.0/gio/gioenums.h:28,
                 from /usr/include/glib-2.0/gio/giotypes.h:28,
                 from /usr/include/glib-2.0/gio/gio.h:26,
                 from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30,
                 from /usr/include/gtk-2.0/gdk/gdk.h:32,
                 from /usr/include/gtk-2.0/gtk/gtkwidget.h:34,
                 from beval.h:17,
                 from vim.h:1826,
                 from arabic.c:31:
/usr/include/glib-2.0/glib/gtypes.h:547:8: note: declared here
  547 | struct _GTimeVal
      |        ^~~~~~~~~
make: *** [Makefile:3066: objects/arabic.o] Error 1
./install.sh: "make" command failed with exit code 2
klaxalk commented 3 years ago

Try it again on the vim_fix branch.

spurnvoj commented 3 years ago

still the same error