onivim / oni2

Native, lightweight modal code editor
https://v2.onivim.io
MIT License
7.78k stars 274 forks source link

building with libvim fails on Arch linux #334

Closed tcoopman closed 5 years ago

tcoopman commented 5 years ago

I just saw that libvim was merged into master and wanted to try it, but building fails.

esy                                                                                                                                                                                                                                                       7.7s  Thu 20 Jun 2019 03:32:29 PM CEST
info esy 0.5.8 (using package.json)
info building libvim@8.10869.9@d41d8cd9
info building @opam/menhir@opam:20190613@ea48c81c
info building @opam/cppo@opam:1.6.6@25eb99ce
info building @opam/result@opam:1.4@7add0d71
info building @opam/result@opam:1.4@7add0d71: done
info building @opam/ocaml-compiler-libs@opam:v0.12.0@8482f7f7
info building @opam/cppo@opam:1.6.6@25eb99ce: done
info building @opam/ocaml-migrate-parsetree@opam:1.3.1@266527bd
info building @opam/ocaml-compiler-libs@opam:v0.12.0@8482f7f7: done
info building @opam/topkg@opam:1.0.0@61f4ccf9
info building @opam/topkg@opam:1.0.0@61f4ccf9: done
info building @opam/yojson@opam:1.5.0@890db858
info building @opam/ocaml-migrate-parsetree@opam:1.3.1@266527bd: done
info building @opam/lwt@opam:4.2.1@c1888ec9
info building @opam/yojson@opam:1.5.0@890db858: done
info building @opam/merlin-extend@opam:0.3@0af73a50
info building @opam/merlin-extend@opam:0.3@0af73a50: done
info building @opam/cmdliner@opam:1.0.2@8ab0598a
info building @opam/cmdliner@opam:1.0.2@8ab0598a: done
info building @opam/astring@opam:0.8.3@4e5e17d5
info building @opam/lwt@opam:4.2.1@c1888ec9: done
info building @opam/gg@opam:0.9.3@063e5657
info building @opam/astring@opam:0.8.3@4e5e17d5: done
info building @opam/react@opam:1.2.1@0e11855f
info building @opam/react@opam:1.2.1@0e11855f: done
info building @opam/ppxlib@opam:0.8.0@1f9d5700
info building @opam/gg@opam:0.9.3@063e5657: done
info building @opam/ppx_tools_versioned@opam:5.2.2@34409c89
info building @opam/ppx_tools_versioned@opam:5.2.2@34409c89: done
info building @opam/ppxfind@opam:1.3@a7b3cc46
info building @opam/ppxfind@opam:1.3@a7b3cc46: done
info building @opam/merlin@opam:3.2.2@829ee6dd
info building @opam/ppxlib@opam:0.8.0@1f9d5700: done
info building @opam/js_of_ocaml-compiler@github:ocsigen/js_of_ocaml:js_of_ocaml-compiler.opam#db257ce@d41d8cd9
info building @opam/menhir@opam:20190613@ea48c81c: done
info building @opam/uutf@opam:1.0.2@4440868f
info building @opam/uutf@opam:1.0.2@4440868f: done
info building @opam/lwt_log@opam:1.1.0@72575e04
info building @opam/lwt_log@opam:1.1.0@72575e04: done
info building @opam/fpath@opam:0.7.2@45477b93
info building @opam/lwt_react@opam:1.1.2@2d73ee34
info building @opam/lwt_react@opam:1.1.2@2d73ee34: done
info building @opam/zed@opam:1.6@004ea65e
info building @opam/fpath@opam:0.7.2@45477b93: done
info building @opam/color@opam:0.2.0@8ef09171
info building @opam/merlin@opam:3.2.2@829ee6dd: done
info building @opam/lwt_ppx@opam:1.2.2@946c5ba2
info building @opam/color@opam:0.2.0@8ef09171: done
info building @opam/ppx_deriving@opam:4.3@5cbca322
info building @opam/js_of_ocaml-compiler@github:ocsigen/js_of_ocaml:js_of_ocaml-compiler.opam#db257ce@d41d8cd9: done
info building @opam/ppx_let@opam:v0.11.0@059b0142
info building @opam/zed@opam:1.6@004ea65e: done
info building @esy-ocaml/reason@3.4.0@d41d8cd9
info building @opam/ppx_let@opam:v0.11.0@059b0142: done
info building @opam/tyxml@opam:4.3.0@15e44054
info building @opam/lwt_ppx@opam:1.2.2@946c5ba2: done
info building @opam/js_of_ocaml@github:ocsigen/js_of_ocaml:js_of_ocaml.opam#db257ce@d41d8cd9
info building @opam/ppx_deriving@opam:4.3@5cbca322: done
info building @opam/lambda-term@opam:1.13@40726c0a
info building @opam/tyxml@opam:4.3.0@15e44054: done
info building @opam/ppx_deriving_yojson@opam:3.3@80aab5d8
info building @opam/lambda-term@opam:1.13@40726c0a: done
info building @opam/printbox@opam:0.2@31968522
info building @opam/printbox@opam:0.2@31968522: done
info building @opam/ppx_deriving_yojson@opam:3.3@80aab5d8: done
info building @esy-ocaml/reason@3.4.0@d41d8cd9: done
info building @brisk/brisk-reconciler@github:briskml/brisk-reconciler#dd933fc@d41d8cd9
info building @reason-native/console@0.0.3@d41d8cd9
info building refmterr@3.1.10@d41d8cd9
info building @reason-native/console@0.0.3@d41d8cd9: done
info building @reason-native/pastel@0.1.0@d41d8cd9
info building @brisk/brisk-reconciler@github:briskml/brisk-reconciler#dd933fc@d41d8cd9: done
info building refmterr@3.1.10@d41d8cd9: done
info building isolinear@2.0.0@d41d8cd9
info building flex@1.2.2@d41d8cd9
info building @reason-native/pastel@0.1.0@d41d8cd9: done
info building rebez@github:jchavarri/rebez#46cbc183@d41d8cd9
info building isolinear@2.0.0@d41d8cd9: done
info building @reason-native/file-context-printer@0.0.3@d41d8cd9
info building @reason-native/file-context-printer@0.0.3@d41d8cd9: done
info building reperf@1.4.0@d41d8cd9
info building reperf@1.4.0@d41d8cd9: done
info building rebez@github:jchavarri/rebez#46cbc183@d41d8cd9: done
info building @opam/js_of_ocaml@github:ocsigen/js_of_ocaml:js_of_ocaml.opam#db257ce@d41d8cd9: done
info building @opam/js_of_ocaml-ppx@opam:3.4.0@68bbd041
info building @opam/ptime@opam:0.8.5@0051d642
info building @opam/js_of_ocaml-ppx@opam:3.4.0@68bbd041: done
info building @opam/js_of_ocaml-lwt@opam:3.4.0@8207cd9d
info building @opam/ptime@opam:0.8.5@0051d642: done
info building @opam/junit@opam:2.0.1@c25e35a7
info building @opam/junit@opam:2.0.1@c25e35a7: done
info building @reason-native/rely@1.3.1@d41d8cd9
info building @reason-native/rely@1.3.1@d41d8cd9: done
info building rench@1.7.1@d41d8cd9
info building reasonFuzz@github:CrossR/reasonFuzz#63d4056@d41d8cd9
info building rench@1.7.1@d41d8cd9: done
info building reason-jsonrpc@1.0.1@d41d8cd9
info building reason-jsonrpc@1.0.1@d41d8cd9: done
info building @opam/js_of_ocaml-lwt@opam:3.4.0@8207cd9d: done
info building rejest@1.3.0@d41d8cd9
info building rejest@1.3.0@d41d8cd9: done
info building reason-gl-matrix@0.9.9304@d41d8cd9
info building reasonFuzz@github:CrossR/reasonFuzz#63d4056@d41d8cd9: done
info building reason-gl-matrix@0.9.9304@d41d8cd9: done
info building reason-glfw@3.2.1024@d41d8cd9
info building flex@1.2.2@d41d8cd9: done
info building reason-glfw@3.2.1024@d41d8cd9: done
info building reason-fontkit@2.4.1@d41d8cd9
error: build failed with exit code: 1
  build log:
    # esy-build-package: building: libvim@8.10869.9
    # esy-build-package: pwd: /home/thomas/.esy/3___________________________________________________________________/b/libvim-8.10869.9-bb9963fe
    # esy-build-package: running: 'bash' '-c' 'build/build-posix.sh'
    configure: creating cache auto/config.cache
    checking whether make sets $(MAKE)... yes
    checking for gcc... 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... o
    checking whether we are using the GNU C compiler... yes
    checking whether gcc accepts -g... yes
    checking for gcc option to accept ISO C89... none needed
    checking for gcc option to accept ISO C99... none needed
    checking how to run the C preprocessor... gcc -E
    checking for grep that handles long lines and -e... /usr/bin/grep
    checking for egrep... /usr/bin/grep -E
    checking for fgrep... /usr/bin/grep -F
    checking for library containing strerror... none required
    checking for gawk... gawk
    checking for strip... strip
    checking for ANSI C header files... yes
    checking for sys/wait.h that is POSIX.1 compatible... yes
    checking for unsigned long long int... yes
    checking for long long int... 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...
    - sh is     'GNU bash, version 5.0.7(1)-release (x86_64-pc-linux-gnu)
    Copyright (C) 2019 Free Software Foundation, Inc.
    License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>

    This is free software; you are free to change and redistribute it.
    There is NO WARRANTY, to the extent permitted by law.' - probably OK.
    checking for BeOS... no
    checking for QNX... no
    checking for Darwin (Mac OS X)... no
    checking AvailabilityMacros.h usability... no
    checking AvailabilityMacros.h presence... no
    checking for AvailabilityMacros.h... 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 linux/xattr.h usability... yes
    checking linux/xattr.h presence... yes
    checking for linux/xattr.h... yes
    checking attr/xattr.h usability... no
    checking attr/xattr.h presence... no
    checking for attr/xattr.h... no
    checking --disable-selinux argument... no
    checking for is_selinux_enabled in -lselinux... no
    checking --with-features argument... Defaulting to huge
    checking --with-compiledby argument... no
    checking --disable-xsmp argument... no
    checking --disable-xsmp-interact argument... no
    checking --enable-luainterp argument... no
    checking --enable-mzschemeinterp argument... no
    checking --enable-perlinterp argument... no
    checking --enable-pythoninterp argument... no
    checking --enable-python3interp argument... no
    checking --enable-tclinterp argument... no
    checking --enable-rubyinterp argument... no
    checking --enable-cscope argument... no
    checking --disable-netbeans argument... no
    checking --disable-channel argument... no
    checking for socket in -lsocket... no
    checking for gethostbyname in -lnsl... 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-hangulinput argument... no
    checking --enable-xim argument... defaulting to auto
    checking --enable-fontset argument... no
    checking for xmkmf... no
    checking for X... libraries , headers 
    checking for gethostbyname... yes
    checking for connect... yes
    checking for remove... yes
    checking for shmat... yes
    checking for IceConnectionNumber in -lICE... yes
    checking if X11 header files can be found... yes
    checking for _XdmcpAuthDoIt in -lXdmcp... yes
    checking for IceOpenConnection in -lICE... yes
    checking for XpmCreatePixmapFromData in -lXpm... yes
    checking if X11 header files implicitly declare return values... no
    checking size of wchar_t is 2 bytes... no
    checking --enable-gui argument... yes/auto - automatic GUI support
    checking whether or not to look for GTK+ 2... yes
    checking whether or not to look for GNOME... no
    checking whether or not to look for Motif... yes
    checking whether or not to look for Athena... yes
    checking whether or not to look for neXtaw... yes
    checking whether or not to look for Carbon... yes
    checking --disable-gtktest argument... gtk test enabled
    checking for pkg-config... /usr/bin/pkg-config
    checking for GTK - version >= 2.2.0... yes; found version 2.24.32
    checking version of Gdk-Pixbuf... OK.
    checking for glib-compile-resources... /usr/bin/glib-compile-resources
    checking glib-compile-resources... usable.
    checking --disable-icon-cache-update argument... not set
    checking for gtk-update-icon-cache... /usr/bin/gtk-update-icon-cache
    checking --disable-desktop-database-update argument... not set
    checking for update-desktop-database... /usr/bin/update-desktop-database
    checking X11/SM/SMlib.h usability... yes
    checking X11/SM/SMlib.h presence... yes
    checking for X11/SM/SMlib.h... yes
    checking X11/xpm.h usability... yes
    checking X11/xpm.h presence... yes
    checking for X11/xpm.h... yes
    checking X11/Sunkeysym.h usability... yes
    checking X11/Sunkeysym.h presence... yes
    checking for X11/Sunkeysym.h... 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... no
    checking whether __DATE__ and __TIME__ work... yes
    checking whether __attribute__((unused)) is allowed... yes
    checking elf.h usability... yes
    checking elf.h presence... yes
    checking for elf.h... yes
    checking for main in -lelf... yes
    checking for dirent.h that defines DIR... yes
    checking for library containing opendir... none required
    checking stdint.h usability... yes
    checking stdint.h presence... yes
    checking for stdint.h... yes
    checking stdlib.h usability... yes
    checking stdlib.h presence... yes
    checking for stdlib.h... yes
    checking string.h usability... yes
    checking string.h presence... yes
    checking for string.h... yes
    checking sys/select.h usability... yes
    checking sys/select.h presence... yes
    checking for sys/select.h... yes
    checking sys/utsname.h usability... yes
    checking sys/utsname.h presence... yes
    checking for sys/utsname.h... yes
    checking termcap.h usability... yes
    checking termcap.h presence... yes
    checking for termcap.h... yes
    checking fcntl.h usability... yes
    checking fcntl.h presence... yes
    checking for fcntl.h... yes
    checking sgtty.h usability... yes
    checking sgtty.h presence... yes
    checking for sgtty.h... yes
    checking sys/ioctl.h usability... yes
    checking sys/ioctl.h presence... yes
    checking for sys/ioctl.h... yes
    checking sys/time.h usability... yes
    checking sys/time.h presence... yes
    checking for sys/time.h... yes
    checking sys/types.h usability... yes
    checking sys/types.h presence... yes
    checking for sys/types.h... yes
    checking termio.h usability... yes
    checking termio.h presence... yes
    checking for termio.h... yes
    checking iconv.h usability... yes
    checking iconv.h presence... yes
    checking for iconv.h... yes
    checking inttypes.h usability... yes
    checking inttypes.h presence... yes
    checking for inttypes.h... yes
    checking langinfo.h usability... yes
    checking langinfo.h presence... yes
    checking for langinfo.h... yes
    checking math.h usability... yes
    checking math.h presence... yes
    checking for math.h... yes
    checking unistd.h usability... yes
    checking unistd.h presence... yes
    checking for unistd.h... yes
    checking stropts.h usability... yes
    checking stropts.h presence... yes
    checking for stropts.h... yes
    checking errno.h usability... yes
    checking errno.h presence... yes
    checking for errno.h... yes
    checking sys/resource.h usability... yes
    checking sys/resource.h presence... yes
    checking for sys/resource.h... yes
    checking sys/systeminfo.h usability... no
    checking sys/systeminfo.h presence... no
    checking for sys/systeminfo.h... no
    checking locale.h usability... yes
    checking locale.h presence... yes
    checking for locale.h... yes
    checking sys/stream.h usability... no
    checking sys/stream.h presence... no
    checking for sys/stream.h... no
    checking termios.h usability... yes
    checking termios.h presence... yes
    checking for termios.h... yes
    checking libc.h usability... no
    checking libc.h presence... no
    checking for libc.h... no
    checking sys/statfs.h usability... yes
    checking sys/statfs.h presence... yes
    checking for sys/statfs.h... yes
    checking poll.h usability... yes
    checking poll.h presence... yes
    checking for poll.h... yes
    checking sys/poll.h usability... yes
    checking sys/poll.h presence... yes
    checking for sys/poll.h... yes
    checking pwd.h usability... yes
    checking pwd.h presence... yes
    checking for pwd.h... yes
    checking utime.h usability... yes
    checking utime.h presence... yes
    checking for utime.h... yes
    checking sys/param.h usability... yes
    checking sys/param.h presence... yes
    checking for sys/param.h... yes
    checking sys/ptms.h usability... no
    checking sys/ptms.h presence... no
    checking for sys/ptms.h... no
    checking libintl.h usability... yes
    checking libintl.h presence... yes
    checking for libintl.h... yes
    checking libgen.h usability... yes
    checking libgen.h presence... yes
    checking for libgen.h... yes
    checking util/debug.h usability... no
    checking util/debug.h presence... no
    checking for util/debug.h... no
    checking util/msg18n.h usability... no
    checking util/msg18n.h presence... no
    checking for util/msg18n.h... no
    checking frame.h usability... no
    checking frame.h presence... no
    checking for frame.h... no
    checking sys/acl.h usability... yes
    checking sys/acl.h presence... yes
    checking for sys/acl.h... yes
    checking sys/access.h usability... no
    checking sys/access.h presence... no
    checking for sys/access.h... no
    checking sys/sysinfo.h usability... yes
    checking sys/sysinfo.h presence... yes
    checking for sys/sysinfo.h... yes
    checking wchar.h usability... yes
    checking wchar.h presence... yes
    checking for wchar.h... yes
    checking wctype.h usability... yes
    checking wctype.h presence... yes
    checking for wctype.h... yes
    checking for sys/ptem.h... no
    checking for sys/sysctl.h... yes
    checking for pthread_np.h... no
    checking strings.h usability... yes
    checking strings.h presence... yes
    checking for strings.h... yes
    checking if strings.h can be included after string.h... yes
    checking whether gcc needs -traditional... no
    checking for an ANSI C-conforming const... yes
    checking for working volatile... yes
    checking for mode_t... yes
    checking for off_t... yes
    checking for pid_t... yes
    checking for size_t... yes
    checking for uid_t in sys/types.h... yes
    checking for uint32_t... yes
    checking whether time.h and sys/time.h may both be included... yes
    checking for ino_t... yes
    checking for dev_t... yes
    checking whether byte ordering is bigendian... no
    checking for inline... inline
    checking for rlim_t... yes
    checking for stack_t... 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... yes
    checking whether we talk terminfo... yes
    checking what tgetent() returns for an unknown terminal... 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... can't determine - assume ptys are world accessible
    world
    checking return type of signal handlers... void
    checking for struct sigcontext... yes
    checking getcwd implementation is broken... no
    checking for fchdir... yes
    checking for fchown... yes
    checking for fchmod... yes
    checking for fsync... yes
    checking for getcwd... yes
    checking for getpseudotty... no
    checking for getpwent... yes
    checking for getpwnam... yes
    checking for getpwuid... yes
    checking for getrlimit... yes
    checking for gettimeofday... yes
    checking for localtime_r... yes
    checking for lstat... yes
    checking for memset... yes
    checking for mkdtemp... yes
    checking for nanosleep... yes
    checking for opendir... yes
    checking for putenv... yes
    checking for qsort... yes
    checking for readlink... yes
    checking for select... yes
    checking for setenv... yes
    checking for getpgid... yes
    checking for setpgid... yes
    checking for setsid... yes
    checking for sigaltstack... yes
    checking for sigstack... yes
    checking for sigset... yes
    checking for sigsetjmp... no
    checking for sigaction... yes
    checking for sigprocmask... yes
    checking for sigvec... no
    checking for strcasecmp... yes
    checking for strerror... yes
    checking for strftime... yes
    checking for stricmp... no
    checking for strncasecmp... yes
    checking for strnicmp... no
    checking for strpbrk... yes
    checking for strtol... yes
    checking for tgetent... yes
    checking for towlower... yes
    checking for towupper... yes
    checking for iswupper... yes
    checking for usleep... yes
    checking for utime... yes
    checking for utimes... yes
    checking for mblen... yes
    checking for ftruncate... yes
    checking for unsetenv... yes
    checking for posix_openpt... yes
    checking for sys/select.h... (cached) yes
    checking sys/socket.h usability... yes
    checking sys/socket.h presence... yes
    checking for sys/socket.h... yes
    checking types of arguments for select... int,fd_set *,struct timeval *
    checking for _LARGEFILE_SOURCE value needed for large files... no
    checking for special C compiler options needed for large files... no
    checking for _FILE_OFFSET_BITS value needed for large files... no
    checking for st_blksize... yes
    checking whether stat() ignores a trailing slash... no
    checking for iconv_open()... yes
    checking for nl_langinfo(CODESET)... yes
    checking for strtod in -lm... 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... no
    checking for acl_get_file in -lacl... yes
    checking for fgetxattr in -lattr... yes
    checking for POSIX ACL support... yes
    checking for acl_get in -lsec... 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... yes
    checking --disable-sysmouse argument... no
    checking for sysmouse... 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... 4
    checking size of long... 8
    checking size of time_t... 8
    checking size of off_t... 8
    checking uint32_t is 32 bits... ok
    checking whether memmove handles overlaps... yes
    checking whether X_LOCALE needed... no
    checking whether Xutf8SetWMProperties() can be used... yes
    checking for _xpg4_setrunelocale in -lxpg4... no
    checking how to create tags... ctags
    checking how to run man with a section nr... man -s
    checking --disable-nls argument... no
    checking for msgfmt... msgfmt
    checking for NLS... gettext() works
    checking for bind_textdomain_codeset... yes
    checking for _nl_msg_cat_cntr... yes
    checking if msgfmt supports --desktop... yes
    checking dlfcn.h usability... yes
    checking dlfcn.h presence... yes
    checking for dlfcn.h... yes
    checking for dlopen()... no
    checking for dlopen() in -ldl... yes
    checking for dlsym()... yes
    checking setjmp.h usability... yes
    checking setjmp.h presence... yes
    checking for setjmp.h... 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: updating cache auto/config.cache
    configure: creating auto/config.status
    config.status: creating auto/config.mk
    config.status: creating auto/config.h
    /bin/sh install-sh -c -d objects
    touch objects/.dirstamp
    CC="gcc -Iproto -DHAVE_CONFIG_H       " srcdir=. sh ./osdef.sh
    gcc -c -I. -Iproto -DHAVE_CONFIG_H     -fPIC -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/arabic.o arabic.c
    In file included from /usr/include/bits/libc-header-start.h:33,
                     from /usr/include/limits.h:26,
                     from /usr/lib/gcc/x86_64-pc-linux-gnu/9.1.0/include-fixed/limits.h:194,
                     from /usr/lib/gcc/x86_64-pc-linux-gnu/9.1.0/include-fixed/syslimits.h:7,
                     from /usr/lib/gcc/x86_64-pc-linux-gnu/9.1.0/include-fixed/limits.h:34,
                     from vim.h:40,
                     from arabic.c:31:
    /usr/include/features.h:382:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp]
      382 | #  warning _FORTIFY_SOURCE requires compiling with optimization (-O)
          |    ^~~~~~~
    gcc -c -I. -Iproto -DHAVE_CONFIG_H     -fPIC -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/autocmd.o autocmd.c
    In file included from /usr/include/bits/libc-header-start.h:33,
                     from /usr/include/limits.h:26,
                     from /usr/lib/gcc/x86_64-pc-linux-gnu/9.1.0/include-fixed/limits.h:194,
                     from /usr/lib/gcc/x86_64-pc-linux-gnu/9.1.0/include-fixed/syslimits.h:7,
                     from /usr/lib/gcc/x86_64-pc-linux-gnu/9.1.0/include-fixed/limits.h:34,
                     from vim.h:40,
                     from autocmd.c:14:
    /usr/include/features.h:382:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp]
      382 | #  warning _FORTIFY_SOURCE requires compiling with optimization (-O)
          |    ^~~~~~~
    gcc -c -I. -Iproto -DHAVE_CONFIG_H     -fPIC -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/buffer.o buffer.c
    In file included from /usr/include/bits/libc-header-start.h:33,
                     from /usr/include/limits.h:26,
                     from /usr/lib/gcc/x86_64-pc-linux-gnu/9.1.0/include-fixed/limits.h:194,
                     from /usr/lib/gcc/x86_64-pc-linux-gnu/9.1.0/include-fixed/syslimits.h:7,
                     from /usr/lib/gcc/x86_64-pc-linux-gnu/9.1.0/include-fixed/limits.h:34,
                     from vim.h:40,
                     from buffer.c:28:
    /usr/include/features.h:382:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp]
      382 | #  warning _FORTIFY_SOURCE requires compiling with optimization (-O)
          |    ^~~~~~~
    gcc -c -I. -Iproto -DHAVE_CONFIG_H     -fPIC -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/change.o change.c
    In file included from /usr/include/bits/libc-header-start.h:33,
                     from /usr/include/limits.h:26,
                     from /usr/lib/gcc/x86_64-pc-linux-gnu/9.1.0/include-fixed/limits.h:194,
                     from /usr/lib/gcc/x86_64-pc-linux-gnu/9.1.0/include-fixed/syslimits.h:7,
                     from /usr/lib/gcc/x86_64-pc-linux-gnu/9.1.0/include-fixed/limits.h:34,
                     from vim.h:40,
                     from change.c:14:
    /usr/include/features.h:382:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp]
      382 | #  warning _FORTIFY_SOURCE requires compiling with optimization (-O)
          |    ^~~~~~~
    gcc -c -I. -Iproto -DHAVE_CONFIG_H     -fPIC -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/blob.o blob.c
    In file included from /usr/include/bits/libc-header-start.h:33,
                     from /usr/include/limits.h:26,
                     from /usr/lib/gcc/x86_64-pc-linux-gnu/9.1.0/include-fixed/limits.h:194,
                     from /usr/lib/gcc/x86_64-pc-linux-gnu/9.1.0/include-fixed/syslimits.h:7,
                     from /usr/lib/gcc/x86_64-pc-linux-gnu/9.1.0/include-fixed/limits.h:34,
                     from vim.h:40,
                     from blob.c:14:
    /usr/include/features.h:382:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp]
      382 | #  warning _FORTIFY_SOURCE requires compiling with optimization (-O)
          |    ^~~~~~~
    gcc -c -I. -Iproto -DHAVE_CONFIG_H     -fPIC -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/debugger.o debugger.c
    In file included from /usr/include/bits/libc-header-start.h:33,
                     from /usr/include/limits.h:26,
                     from /usr/lib/gcc/x86_64-pc-linux-gnu/9.1.0/include-fixed/limits.h:194,
                     from /usr/lib/gcc/x86_64-pc-linux-gnu/9.1.0/include-fixed/syslimits.h:7,
                     from /usr/lib/gcc/x86_64-pc-linux-gnu/9.1.0/include-fixed/limits.h:34,
                     from vim.h:40,
                     from debugger.c:14:
    /usr/include/features.h:382:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp]
      382 | #  warning _FORTIFY_SOURCE requires compiling with optimization (-O)
          |    ^~~~~~~
    gcc -c -I. -Iproto -DHAVE_CONFIG_H     -fPIC -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/dict.o dict.c
    In file included from /usr/include/bits/libc-header-start.h:33,
                     from /usr/include/limits.h:26,
                     from /usr/lib/gcc/x86_64-pc-linux-gnu/9.1.0/include-fixed/limits.h:194,
                     from /usr/lib/gcc/x86_64-pc-linux-gnu/9.1.0/include-fixed/syslimits.h:7,
                     from /usr/lib/gcc/x86_64-pc-linux-gnu/9.1.0/include-fixed/limits.h:34,
                     from vim.h:40,
                     from dict.c:14:
    /usr/include/features.h:382:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp]
      382 | #  warning _FORTIFY_SOURCE requires compiling with optimization (-O)
          |    ^~~~~~~
    gcc -c -I. -Iproto -DHAVE_CONFIG_H     -fPIC -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/diff.o diff.c
    In file included from /usr/include/bits/libc-header-start.h:33,
                     from /usr/include/limits.h:26,
                     from /usr/lib/gcc/x86_64-pc-linux-gnu/9.1.0/include-fixed/limits.h:194,
                     from /usr/lib/gcc/x86_64-pc-linux-gnu/9.1.0/include-fixed/syslimits.h:7,
                     from /usr/lib/gcc/x86_64-pc-linux-gnu/9.1.0/include-fixed/limits.h:34,
                     from vim.h:40,
                     from diff.c:19:
    /usr/include/features.h:382:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp]
      382 | #  warning _FORTIFY_SOURCE requires compiling with optimization (-O)
          |    ^~~~~~~
    gcc -c -I. -Iproto -DHAVE_CONFIG_H     -fPIC -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/digraph.o digraph.c
    In file included from /usr/include/bits/libc-header-start.h:33,
                     from /usr/include/limits.h:26,
                     from /usr/lib/gcc/x86_64-pc-linux-gnu/9.1.0/include-fixed/limits.h:194,
                     from /usr/lib/gcc/x86_64-pc-linux-gnu/9.1.0/include-fixed/syslimits.h:7,
                     from /usr/lib/gcc/x86_64-pc-linux-gnu/9.1.0/include-fixed/limits.h:34,
                     from vim.h:40,
                     from digraph.c:14:
    /usr/include/features.h:382:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp]
      382 | #  warning _FORTIFY_SOURCE requires compiling with optimization (-O)
          |    ^~~~~~~
    gcc -c -I. -Iproto -DHAVE_CONFIG_H     -fPIC -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/edit.o edit.c
    In file included from /usr/include/bits/libc-header-start.h:33,
                     from /usr/include/limits.h:26,
                     from /usr/lib/gcc/x86_64-pc-linux-gnu/9.1.0/include-fixed/limits.h:194,
                     from /usr/lib/gcc/x86_64-pc-linux-gnu/9.1.0/include-fixed/syslimits.h:7,
                     from /usr/lib/gcc/x86_64-pc-linux-gnu/9.1.0/include-fixed/limits.h:34,
                     from vim.h:40,
                     from edit.c:14:
    /usr/include/features.h:382:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp]
      382 | #  warning _FORTIFY_SOURCE requires compiling with optimization (-O)
          |    ^~~~~~~
    gcc -c -I. -Iproto -DHAVE_CONFIG_H     -fPIC -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/eval.o eval.c
    In file included from /usr/include/bits/libc-header-start.h:33,
                     from /usr/include/limits.h:26,
                     from /usr/lib/gcc/x86_64-pc-linux-gnu/9.1.0/include-fixed/limits.h:194,
                     from /usr/lib/gcc/x86_64-pc-linux-gnu/9.1.0/include-fixed/syslimits.h:7,
                     from /usr/lib/gcc/x86_64-pc-linux-gnu/9.1.0/include-fixed/limits.h:34,
                     from vim.h:40,
                     from eval.c:15:
    /usr/include/features.h:382:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp]
      382 | #  warning _FORTIFY_SOURCE requires compiling with optimization (-O)
          |    ^~~~~~~
    gcc -c -I. -Iproto -DHAVE_CONFIG_H     -fPIC -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/evalfunc.o evalfunc.c
    In file included from /usr/include/bits/libc-header-start.h:33,
                     from /usr/include/limits.h:26,
                     from /usr/lib/gcc/x86_64-pc-linux-gnu/9.1.0/include-fixed/limits.h:194,
                     from /usr/lib/gcc/x86_64-pc-linux-gnu/9.1.0/include-fixed/syslimits.h:7,
                     from /usr/lib/gcc/x86_64-pc-linux-gnu/9.1.0/include-fixed/limits.h:34,
                     from vim.h:40,
                     from evalfunc.c:15:
    /usr/include/features.h:382:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp]
      382 | #  warning _FORTIFY_SOURCE requires compiling with optimization (-O)
          |    ^~~~~~~
    gcc -c -I. -Iproto -DHAVE_CONFIG_H     -fPIC -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/ex_cmds.o ex_cmds.c
    In file included from /usr/include/bits/libc-header-start.h:33,
                     from /usr/include/limits.h:26,
                     from /usr/lib/gcc/x86_64-pc-linux-gnu/9.1.0/include-fixed/limits.h:194,
                     from /usr/lib/gcc/x86_64-pc-linux-gnu/9.1.0/include-fixed/syslimits.h:7,
                     from /usr/lib/gcc/x86_64-pc-linux-gnu/9.1.0/include-fixed/limits.h:34,
                     from vim.h:40,
                     from ex_cmds.c:14:
    /usr/include/features.h:382:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp]
      382 | #  warning _FORTIFY_SOURCE requires compiling with optimization (-O)
          |    ^~~~~~~
    gcc -c -I. -Iproto -DHAVE_CONFIG_H     -fPIC -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/ex_cmds2.o ex_cmds2.c
    In file included from /usr/include/bits/libc-header-start.h:33,
                     from /usr/include/limits.h:26,
                     from /usr/lib/gcc/x86_64-pc-linux-gnu/9.1.0/include-fixed/limits.h:194,
                     from /usr/lib/gcc/x86_64-pc-linux-gnu/9.1.0/include-fixed/syslimits.h:7,
                     from /usr/lib/gcc/x86_64-pc-linux-gnu/9.1.0/include-fixed/limits.h:34,
                     from vim.h:40,
                     from ex_cmds2.c:14:
    /usr/include/features.h:382:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp]
      382 | #  warning _FORTIFY_SOURCE requires compiling with optimization (-O)
          |    ^~~~~~~
    gcc -c -I. -Iproto -DHAVE_CONFIG_H     -fPIC -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/ex_docmd.o ex_docmd.c
    In file included from /usr/include/bits/libc-header-start.h:33,
                     from /usr/include/limits.h:26,
                     from /usr/lib/gcc/x86_64-pc-linux-gnu/9.1.0/include-fixed/limits.h:194,
                     from /usr/lib/gcc/x86_64-pc-linux-gnu/9.1.0/include-fixed/syslimits.h:7,
                     from /usr/lib/gcc/x86_64-pc-linux-gnu/9.1.0/include-fixed/limits.h:34,
                     from vim.h:40,
                     from ex_docmd.c:14:
    /usr/include/features.h:382:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp]
      382 | #  warning _FORTIFY_SOURCE requires compiling with optimization (-O)
          |    ^~~~~~~
    gcc -c -I. -Iproto -DHAVE_CONFIG_H     -fPIC -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/ex_eval.o ex_eval.c
    In file included from /usr/include/bits/libc-header-start.h:33,
                     from /usr/include/limits.h:26,
                     from /usr/lib/gcc/x86_64-pc-linux-gnu/9.1.0/include-fixed/limits.h:194,
                     from /usr/lib/gcc/x86_64-pc-linux-gnu/9.1.0/include-fixed/syslimits.h:7,
                     from /usr/lib/gcc/x86_64-pc-linux-gnu/9.1.0/include-fixed/limits.h:34,
                     from vim.h:40,
                     from ex_eval.c:14:
    /usr/include/features.h:382:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp]
      382 | #  warning _FORTIFY_SOURCE requires compiling with optimization (-O)
          |    ^~~~~~~
    gcc -c -I. -Iproto -DHAVE_CONFIG_H     -fPIC -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/ex_getln.o ex_getln.c
    In file included from /usr/include/bits/libc-header-start.h:33,
                     from /usr/include/limits.h:26,
                     from /usr/lib/gcc/x86_64-pc-linux-gnu/9.1.0/include-fixed/limits.h:194,
                     from /usr/lib/gcc/x86_64-pc-linux-gnu/9.1.0/include-fixed/syslimits.h:7,
                     from /usr/lib/gcc/x86_64-pc-linux-gnu/9.1.0/include-fixed/limits.h:34,
                     from vim.h:40,
                     from ex_getln.c:14:
    /usr/include/features.h:382:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp]
      382 | #  warning _FORTIFY_SOURCE requires compiling with optimization (-O)
          |    ^~~~~~~
    gcc -c -I. -Iproto -DHAVE_CONFIG_H     -fPIC -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/fileio.o fileio.c
    In file included from /usr/include/bits/libc-header-start.h:33,
                     from /usr/include/limits.h:26,
                     from /usr/lib/gcc/x86_64-pc-linux-gnu/9.1.0/include-fixed/limits.h:194,
                     from /usr/lib/gcc/x86_64-pc-linux-gnu/9.1.0/include-fixed/syslimits.h:7,
                     from /usr/lib/gcc/x86_64-pc-linux-gnu/9.1.0/include-fixed/limits.h:34,
                     from vim.h:40,
                     from fileio.c:14:
    /usr/include/features.h:382:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp]
      382 | #  warning _FORTIFY_SOURCE requires compiling with optimization (-O)
          |    ^~~~~~~
    gcc -c -I. -Iproto -DHAVE_CONFIG_H     -fPIC -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/findfile.o findfile.c
    In file included from /usr/include/bits/libc-header-start.h:33,
                     from /usr/include/limits.h:26,
                     from /usr/lib/gcc/x86_64-pc-linux-gnu/9.1.0/include-fixed/limits.h:194,
                     from /usr/lib/gcc/x86_64-pc-linux-gnu/9.1.0/include-fixed/syslimits.h:7,
                     from /usr/lib/gcc/x86_64-pc-linux-gnu/9.1.0/include-fixed/limits.h:34,
                     from vim.h:40,
                     from findfile.c:14:
    /usr/include/features.h:382:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp]
      382 | #  warning _FORTIFY_SOURCE requires compiling with optimization (-O)
          |    ^~~~~~~
    gcc -c -I. -Iproto -DHAVE_CONFIG_H     -fPIC -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/fold.o fold.c
    In file included from /usr/include/bits/libc-header-start.h:33,
                     from /usr/include/limits.h:26,
                     from /usr/lib/gcc/x86_64-pc-linux-gnu/9.1.0/include-fixed/limits.h:194,
                     from /usr/lib/gcc/x86_64-pc-linux-gnu/9.1.0/include-fixed/syslimits.h:7,
                     from /usr/lib/gcc/x86_64-pc-linux-gnu/9.1.0/include-fixed/limits.h:34,
                     from vim.h:40,
                     from fold.c:15:
    /usr/include/features.h:382:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp]
      382 | #  warning _FORTIFY_SOURCE requires compiling with optimization (-O)
          |    ^~~~~~~
    gcc -c -I. -Iproto -DHAVE_CONFIG_H     -fPIC -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/getchar.o getchar.c
    In file included from /usr/include/bits/libc-header-start.h:33,
                     from /usr/include/limits.h:26,
                     from /usr/lib/gcc/x86_64-pc-linux-gnu/9.1.0/include-fixed/limits.h:194,
                     from /usr/lib/gcc/x86_64-pc-linux-gnu/9.1.0/include-fixed/syslimits.h:7,
                     from /usr/lib/gcc/x86_64-pc-linux-gnu/9.1.0/include-fixed/limits.h:34,
                     from vim.h:40,
                     from getchar.c:19:
    /usr/include/features.h:382:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp]
      382 | #  warning _FORTIFY_SOURCE requires compiling with optimization (-O)
          |    ^~~~~~~
    gcc -c -I. -Iproto -DHAVE_CONFIG_H     -fPIC -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/hashtab.o hashtab.c
    In file included from /usr/include/bits/libc-header-start.h:33,
                     from /usr/include/limits.h:26,
                     from /usr/lib/gcc/x86_64-pc-linux-gnu/9.1.0/include-fixed/limits.h:194,
                     from /usr/lib/gcc/x86_64-pc-linux-gnu/9.1.0/include-fixed/syslimits.h:7,
                     from /usr/lib/gcc/x86_64-pc-linux-gnu/9.1.0/include-fixed/limits.h:34,
                     from vim.h:40,
                     from hashtab.c:30:
    /usr/include/features.h:382:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp]
      382 | #  warning _FORTIFY_SOURCE requires compiling with optimization (-O)
          |    ^~~~~~~
    gcc -c -I. -Iproto -DHAVE_CONFIG_H     -fPIC -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/indent.o indent.c
    In file included from /usr/include/bits/libc-header-start.h:33,
                     from /usr/include/limits.h:26,
                     from /usr/lib/gcc/x86_64-pc-linux-gnu/9.1.0/include-fixed/limits.h:194,
                     from /usr/lib/gcc/x86_64-pc-linux-gnu/9.1.0/include-fixed/syslimits.h:7,
                     from /usr/lib/gcc/x86_64-pc-linux-gnu/9.1.0/include-fixed/limits.h:34,
                     from vim.h:40,
                     from indent.c:14:
    /usr/include/features.h:382:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp]
      382 | #  warning _FORTIFY_SOURCE requires compiling with optimization (-O)
          |    ^~~~~~~
    gcc -c -I. -Iproto -DHAVE_CONFIG_H     -fPIC -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/insexpand.o insexpand.c
    In file included from /usr/include/bits/libc-header-start.h:33,
                     from /usr/include/limits.h:26,
                     from /usr/lib/gcc/x86_64-pc-linux-gnu/9.1.0/include-fixed/limits.h:194,
                     from /usr/lib/gcc/x86_64-pc-linux-gnu/9.1.0/include-fixed/syslimits.h:7,
                     from /usr/lib/gcc/x86_64-pc-linux-gnu/9.1.0/include-fixed/limits.h:34,
                     from vim.h:40,
                     from insexpand.c:14:
    /usr/include/features.h:382:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp]
      382 | #  warning _FORTIFY_SOURCE requires compiling with optimization (-O)
          |    ^~~~~~~
    gcc -c -I. -Iproto -DHAVE_CONFIG_H     -fPIC -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/libvim.o libvim.c
    In file included from /usr/include/bits/libc-header-start.h:33,
                     from /usr/include/limits.h:26,
                     from /usr/lib/gcc/x86_64-pc-linux-gnu/9.1.0/include-fixed/limits.h:194,
                     from /usr/lib/gcc/x86_64-pc-linux-gnu/9.1.0/include-fixed/syslimits.h:7,
                     from /usr/lib/gcc/x86_64-pc-linux-gnu/9.1.0/include-fixed/limits.h:34,
                     from vim.h:40,
                     from libvim.c:12:
    /usr/include/features.h:382:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp]
      382 | #  warning _FORTIFY_SOURCE requires compiling with optimization (-O)
          |    ^~~~~~~
    libvim.c: In function 'vimCommandLineGetCompletions':
    libvim.c:63:68: warning: passing argument 5 of 'expand_cmdline' from incompatible pointer type [-Wincompatible-pointer-types]
       63 |   expand_cmdline(ccline.xpc, ccline.cmdbuff, ccline.cmdpos, count, completions);
          |                                                                    ^~~~~~~~~~~
          |                                                                    |
          |                                                                    char ***
    In file included from proto.h:68,
                     from vim.h:1971,
                     from libvim.c:12:
    proto/ex_getln.pro:39:83: note: expected 'char_u ***' {aka 'unsigned char ***'} but argument is of type 'char ***'
       39 | int expand_cmdline(expand_T *xp, char_u *str, int col, int *matchcount, char_u ***matches);
          |                                                                         ~~~~~~~~~~^~~~~~~
    gcc -c -I. -Iproto -DHAVE_CONFIG_H     -fPIC -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/list.o list.c
    In file included from /usr/include/bits/libc-header-start.h:33,
                     from /usr/include/limits.h:26,
                     from /usr/lib/gcc/x86_64-pc-linux-gnu/9.1.0/include-fixed/limits.h:194,
                     from /usr/lib/gcc/x86_64-pc-linux-gnu/9.1.0/include-fixed/syslimits.h:7,
                     from /usr/lib/gcc/x86_64-pc-linux-gnu/9.1.0/include-fixed/limits.h:34,
                     from vim.h:40,
                     from list.c:14:
    /usr/include/features.h:382:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp]
      382 | #  warning _FORTIFY_SOURCE requires compiling with optimization (-O)
          |    ^~~~~~~
    gcc -c -I. -Iproto -DHAVE_CONFIG_H     -fPIC -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/mark.o mark.c
    In file included from /usr/include/bits/libc-header-start.h:33,
                     from /usr/include/limits.h:26,
                     from /usr/lib/gcc/x86_64-pc-linux-gnu/9.1.0/include-fixed/limits.h:194,
                     from /usr/lib/gcc/x86_64-pc-linux-gnu/9.1.0/include-fixed/syslimits.h:7,
                     from /usr/lib/gcc/x86_64-pc-linux-gnu/9.1.0/include-fixed/limits.h:34,
                     from vim.h:40,
                     from mark.c:14:
    /usr/include/features.h:382:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp]
      382 | #  warning _FORTIFY_SOURCE requires compiling with optimization (-O)
          |    ^~~~~~~
    gcc -c -I. -Iproto -DHAVE_CONFIG_H     -fPIC -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/memline.o memline.c
    In file included from /usr/include/bits/libc-header-start.h:33,
                     from /usr/include/limits.h:26,
                     from /usr/lib/gcc/x86_64-pc-linux-gnu/9.1.0/include-fixed/limits.h:194,
                     from /usr/lib/gcc/x86_64-pc-linux-gnu/9.1.0/include-fixed/syslimits.h:7,
                     from /usr/lib/gcc/x86_64-pc-linux-gnu/9.1.0/include-fixed/limits.h:34,
                     from vim.h:40,
                     from memline.c:45:
    /usr/include/features.h:382:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp]
      382 | #  warning _FORTIFY_SOURCE requires compiling with optimization (-O)
          |    ^~~~~~~
    gcc -c -I. -Iproto -DHAVE_CONFIG_H     -fPIC -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/misc1.o misc1.c
    In file included from /usr/include/bits/libc-header-start.h:33,
                     from /usr/include/limits.h:26,
                     from /usr/lib/gcc/x86_64-pc-linux-gnu/9.1.0/include-fixed/limits.h:194,
                     from /usr/lib/gcc/x86_64-pc-linux-gnu/9.1.0/include-fixed/syslimits.h:7,
                     from /usr/lib/gcc/x86_64-pc-linux-gnu/9.1.0/include-fixed/limits.h:34,
                     from vim.h:40,
                     from misc1.c:14:
    /usr/include/features.h:382:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp]
      382 | #  warning _FORTIFY_SOURCE requires compiling with optimization (-O)
          |    ^~~~~~~
    gcc -c -I. -Iproto -DHAVE_CONFIG_H     -fPIC -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/misc2.o misc2.c
    In file included from /usr/include/bits/libc-header-start.h:33,
                     from /usr/include/limits.h:26,
                     from /usr/lib/gcc/x86_64-pc-linux-gnu/9.1.0/include-fixed/limits.h:194,
                     from /usr/lib/gcc/x86_64-pc-linux-gnu/9.1.0/include-fixed/syslimits.h:7,
                     from /usr/lib/gcc/x86_64-pc-linux-gnu/9.1.0/include-fixed/limits.h:34,
                     from vim.h:40,
                     from misc2.c:13:
    /usr/include/features.h:382:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp]
      382 | #  warning _FORTIFY_SOURCE requires compiling with optimization (-O)
          |    ^~~~~~~
    gcc -c -I. -Iproto -DHAVE_CONFIG_H     -fPIC -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/move.o move.c
    In file included from /usr/include/bits/libc-header-start.h:33,
                     from /usr/include/limits.h:26,
                     from /usr/lib/gcc/x86_64-pc-linux-gnu/9.1.0/include-fixed/limits.h:194,
                     from /usr/lib/gcc/x86_64-pc-linux-gnu/9.1.0/include-fixed/syslimits.h:7,
                     from /usr/lib/gcc/x86_64-pc-linux-gnu/9.1.0/include-fixed/limits.h:34,
                     from vim.h:40,
                     from move.c:20:
    /usr/include/features.h:382:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp]
      382 | #  warning _FORTIFY_SOURCE requires compiling with optimization (-O)
          |    ^~~~~~~
    gcc -c -I. -Iproto -DHAVE_CONFIG_H     -fPIC -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/mbyte.o mbyte.c
    In file included from /usr/include/bits/libc-header-start.h:33,
                     from /usr/include/limits.h:26,
                     from /usr/lib/gcc/x86_64-pc-linux-gnu/9.1.0/include-fixed/limits.h:194,
                     from /usr/lib/gcc/x86_64-pc-linux-gnu/9.1.0/include-fixed/syslimits.h:7,
                     from /usr/lib/gcc/x86_64-pc-linux-gnu/9.1.0/include-fixed/limits.h:34,
                     from vim.h:40,
                     from mbyte.c:80:
    /usr/include/features.h:382:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp]
      382 | #  warning _FORTIFY_SOURCE requires compiling with optimization (-O)
          |    ^~~~~~~
    mbyte.c: In function 'im_set_active':
    mbyte.c:5893:14: error: 'input_style' undeclared (first use in this function)
     5893 |     else if (input_style & XIMPreeditPosition)
          |              ^~~~~~~~~~~
    mbyte.c:5893:14: note: each undeclared identifier is reported only once for each function it appears in
    mbyte.c: In function 'xim_set_preedit':
    mbyte.c:5987:9: error: 'input_style' undeclared (first use in this function)
     5987 |     if (input_style & XIMPreeditPosition)
          |         ^~~~~~~~~~~
    mbyte.c:5989:6: error: 'xim_fg_color' undeclared (first use in this function); did you mean 'term_fg_color'?
     5989 |  if (xim_fg_color == INVALCOLOR)
          |      ^~~~~~~~~~~~
          |      term_fg_color
    mbyte.c:5991:21: error: 'gui' undeclared (first use in this function)
     5991 |      xim_fg_color = gui.def_norm_pixel;
          |                     ^~~
    mbyte.c:5992:6: error: 'xim_bg_color' undeclared (first use in this function); did you mean 'term_bg_color'?
     5992 |      xim_bg_color = gui.def_back_pixel;
          |      ^~~~~~~~~~~~
          |      term_bg_color
    mbyte.c:5994:16: warning: implicit declaration of function 'TEXT_X' [-Wimplicit-function-declaration]
     5994 |  over_spot.x = TEXT_X(gui.col);
          |                ^~~~~~
    mbyte.c:5995:16: warning: implicit declaration of function 'TEXT_Y' [-Wimplicit-function-declaration]
     5995 |  over_spot.y = TEXT_Y(gui.row);
          |                ^~~~~~
    mbyte.c: In function 'xim_set_status_area':
    mbyte.c:6356:9: error: 'input_style' undeclared (first use in this function)
     6356 |     if (input_style & XIMStatusArea)
          |         ^~~~~~~~~~~
    mbyte.c:6371:26: error: 'gui' undeclared (first use in this function)
     6371 |      status_area.width = gui.char_width * Columns;
          |                          ^~~
    mbyte.c:6375:27: error: 'SBAR_BOTTOM' undeclared (first use in this function)
     6375 |  if (gui.which_scrollbars[SBAR_BOTTOM])
          |                           ^~~~~~~~~~~
    mbyte.c: In function 'xim_get_status_area_height':
    mbyte.c:6435:9: error: 'status_area_enabled' undeclared (first use in this function)
     6435 |     if (status_area_enabled)
          |         ^~~~~~~~~~~~~~~~~~~
    mbyte.c:6436:9: error: 'gui' undeclared (first use in this function)
     6436 |  return gui.char_height;
          |         ^~~
    make: *** [Makefile:2912: objects/mbyte.o] Error 1
    error: command failed: 'bash' '-c' 'build/build-posix.sh' (exited with 2)
    esy-build-package: exiting with errors above...

  building libvim@8.10869.9
esy: exiting due to errors above
bryphe commented 5 years ago

Ah, thanks for the log @tcoopman (and for trying it out!). It seems to be trying to still build some pieces of the GUI in this case - must be some #ifdefs out of order.

tcoopman commented 5 years ago

I saw you merged an new libvim version, so I tried again, different error this time:

esy build                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Sat 22 Jun 2019 09:39:05 AM CEST
info esy build 0.5.8 (using package.json)
    ocamlopt src/editor/bin/Oni2.exe (exit 2)
(cd /home/thomas/Workspace/githubclones/oni2/_esy/default/store/b/oni2-58f50a10/default && /home/thomas/.esy/3/i/ocaml-4.7.1004-a6ae015e/bin/ocamlopt.opt -w -40 -g -o src/editor/bin/Oni2.exe -I /home/thomas/.esy/3/i/brisk__s__brisk_reconciler-0a9c12de/lib/brisk-reconciler -I /home/thomas/.esy/3/i/flex-1.2.2-d57ffbe6/lib/flex -I /home/thomas/.esy/3/i/isolinear-2.0.0-857d7dbb/lib/isolinear -I /home/thomas/.esy/3/i/ocaml-4.7.1004-a6ae015e/lib/ocaml/threads -I /home/thomas/.esy/3/i/opam__s__astring-opam__c__0.8.3-f27cc80c/lib/astring -I /home/thomas/.esy/3/i/opam__s__biniou-opam__c__1.2.0-6e934323/lib/biniou -I /home/thomas/.esy/3/i/opam__s__camomile-opam__c__1.0.1-52831f94/lib/camomile -I /home/thomas/.esy/3/i/opam__s__camomile-opam__c__1.0.1-52831f94/lib/camomile/default_config -I /home/thomas/.esy/3/i/opam__s__camomile-opam__c__1.0.1-52831f94/lib/camomile/dyn -I /home/thomas/.esy/3/i/opam__s__camomile-opam__c__1.0.1-52831f94/lib/camomile/lib_default -I /home/thomas/.esy/3/i/opam__s__camomile-opam__c__1.0.1-52831f94/lib/camomile/library -I /home/thomas/.esy/3/i/opam__s__color-opam__c__0.2.0-0c648511/lib/color -I /home/thomas/.esy/3/i/opam__s__easy_format-opam__c__1.3.1-9ccad956/lib/easy-format -I /home/thomas/.esy/3/i/opam__s__fpath-opam__c__0.7.2-964ffcb3/lib/fpath -I /home/thomas/.esy/3/i/opam__s__gg-opam__c__0.9.3-ef9752b5/lib/gg -I /home/thomas/.esy/3/i/opam__s__lwt-opam__c__4.2.1-dacd8237/lib/lwt -I /home/thomas/.esy/3/i/opam__s__lwt-opam__c__4.2.1-dacd8237/lib/lwt/unix -I /home/thomas/.esy/3/i/opam__s__mmap-opam__c__1.1.0-7f09e795/lib/mmap -I /home/thomas/.esy/3/i/opam__s__ocamlfind-opam__c__1.8.0-32d00fdd/lib/bytes -I /home/thomas/.esy/3/i/opam__s__ppx__deriving-opam__c__4.3-74b794a2/lib/ppx_deriving/runtime -I /home/thomas/.esy/3/i/opam__s__ppx__deriving__yojson-opam__c__3.3-47f2d11a/lib/ppx_deriving_yojson/runtime -I /home/thomas/.esy/3/i/opam__s__react-opam__c__1.2.1-b767be8a/lib/react -I /home/thomas/.esy/3/i/opam__s__result-opam__c__1.4-54571ab5/lib/result -I /home/thomas/.esy/3/i/opam__s__seq-opam__c__base-37652505/lib/seq -I /home/thomas/.esy/3/i/opam__s__yojson-opam__c__1.5.0-0565f6b2/lib/yojson -I /home/thomas/.esy/3/i/opam__s__zed-opam__c__1.6-d57a9a44/lib/zed -I /home/thomas/.esy/3/i/reason_fontkit-2.4.1-5639f2a1/lib/fontkit -I /home/thomas/.esy/3/i/reason_gl_matrix-0.9.9304-1b8b0050/lib/reglm -I /home/thomas/.esy/3/i/reason_glfw-3.2.1024-7242872c/lib/reglfw -I /home/thomas/.esy/3/i/reason_jsonrpc-1.0.1-1f1257ad/lib/reason-jsonrpc -I /home/thomas/.esy/3/i/reason_libvim-8.10869.10001-46662032/lib/libvim -I /home/thomas/.esy/3/i/reason_native__s__console-0.0.3-ac0ba819/lib/console/lib -I /home/thomas/.esy/3/i/reasonfuzz-5978ddad/lib/Matchers -I /home/thomas/.esy/3/i/reasonfuzz-5978ddad/lib/ReasonFuzz -I /home/thomas/.esy/3/i/rebez-f7451c1b/lib/rebez/lib -I /home/thomas/.esy/3/i/rench-1.7.1-3d4d38d3/lib/Rench -I /home/thomas/.esy/3/i/revery-0.20.0-6a420429/lib/Revery -I /home/thomas/.esy/3/i/revery-0.20.0-6a420429/lib/Revery/Core -I /home/thomas/.esy/3/i/revery-0.20.0-6a420429/lib/Revery/Draw -I /home/thomas/.esy/3/i/revery-0.20.0-6a420429/lib/Revery/Geometry -I /home/thomas/.esy/3/i/revery-0.20.0-6a420429/lib/Revery/Math -I /home/thomas/.esy/3/i/revery-0.20.0-6a420429/lib/Revery/Native -I /home/thomas/.esy/3/i/revery-0.20.0-6a420429/lib/Revery/Shaders -I /home/thomas/.esy/3/i/revery-0.20.0-6a420429/lib/Revery/UI -I /home/thomas/.esy/3/i/revery-0.20.0-6a420429/lib/Revery/UI_Components -I src/editor/Core -I src/editor/Extensions -I src/editor/Model -I src/editor/Store -I src/editor/UI /home/thomas/.esy/3/i/opam__s__result-opam__c__1.4-54571ab5/lib/result/result.cmxa /home/thomas/.esy/3/i/opam__s__lwt-opam__c__4.2.1-dacd8237/lib/lwt/lwt.cmxa /home/thomas/.esy/3/i/ocaml-4.7.1004-a6ae015e/lib/ocaml/unix.cmxa /home/thomas/.esy/3/i/ocaml-4.7.1004-a6ae015e/lib/ocaml/bigarray.cmxa /home/thomas/.esy/3/i/opam__s__react-opam__c__1.2.1-b767be8a/lib/react/react.cmxa /home/thomas/.esy/3/i/opam__s__camomile-opam__c__1.0.1-52831f94/lib/camomile/default_config/camomileDefaultConfig.cmxa /home/thomas/.esy/3/i/opam__s__camomile-opam__c__1.0.1-52831f94/lib/camomile/library/camomileLibrary.cmxa /home/thomas/.esy/3/i/opam__s__camomile-opam__c__1.0.1-52831f94/lib/camomile/lib_default/camomileLibraryDefault.cmxa /home/thomas/.esy/3/i/opam__s__camomile-opam__c__1.0.1-52831f94/lib/camomile/dyn/camomileLibraryDyn.cmxa /home/thomas/.esy/3/i/opam__s__camomile-opam__c__1.0.1-52831f94/lib/camomile/camomile_yuge.cmxa /home/thomas/.esy/3/i/opam__s__zed-opam__c__1.6-d57a9a44/lib/zed/zed.cmxa /home/thomas/.esy/3/i/reason_gl_matrix-0.9.9304-1b8b0050/lib/reglm/reglm.cmxa /home/thomas/.esy/3/i/reason_glfw-3.2.1024-7242872c/lib/reglfw/reglfw.cmxa /home/thomas/.esy/3/i/opam__s__mmap-opam__c__1.1.0-7f09e795/lib/mmap/mmap.cmxa /home/thomas/.esy/3/i/ocaml-4.7.1004-a6ae015e/lib/ocaml/threads/threads.cmxa /home/thomas/.esy/3/i/opam__s__lwt-opam__c__4.2.1-dacd8237/lib/lwt/unix/lwt_unix.cmxa /home/thomas/.esy/3/i/opam__s__astring-opam__c__0.8.3-f27cc80c/lib/astring/astring.cmxa /home/thomas/.esy/3/i/opam__s__fpath-opam__c__0.7.2-964ffcb3/lib/fpath/fpath.cmxa /home/thomas/.esy/3/i/reason_native__s__console-0.0.3-ac0ba819/lib/console/lib/Console.cmxa /home/thomas/.esy/3/i/rench-1.7.1-3d4d38d3/lib/Rench/Rench.cmxa /home/thomas/.esy/3/i/ocaml-4.7.1004-a6ae015e/lib/ocaml/str.cmxa /home/thomas/.esy/3/i/opam__s__gg-opam__c__0.9.3-ef9752b5/lib/gg/gg.cmxa /home/thomas/.esy/3/i/opam__s__color-opam__c__0.2.0-0c648511/lib/color/color.cmxa /home/thomas/.esy/3/i/flex-1.2.2-d57ffbe6/lib/flex/Flex.cmxa /home/thomas/.esy/3/i/reason_fontkit-2.4.1-5639f2a1/lib/fontkit/fontkit.cmxa /home/thomas/.esy/3/i/revery-0.20.0-6a420429/lib/Revery/Core/Revery_Core.cmxa /home/thomas/.esy/3/i/brisk__s__brisk_reconciler-0a9c12de/lib/brisk-reconciler/brisk_reconciler.cmxa /home/thomas/.esy/3/i/rebez-f7451c1b/lib/rebez/lib/Rebez.cmxa /home/thomas/.esy/3/i/revery-0.20.0-6a420429/lib/Revery/Shaders/Revery_Shaders.cmxa /home/thomas/.esy/3/i/revery-0.20.0-6a420429/lib/Revery/Geometry/Revery_Geometry.cmxa /home/thomas/.esy/3/i/revery-0.20.0-6a420429/lib/Revery/Math/Revery_Math.cmxa /home/thomas/.esy/3/i/revery-0.20.0-6a420429/lib/Revery/Draw/Revery_Draw.cmxa /home/thomas/.esy/3/i/revery-0.20.0-6a420429/lib/Revery/UI/Revery_UI.cmxa /home/thomas/.esy/3/i/revery-0.20.0-6a420429/lib/Revery/UI_Components/Revery_UI_Components.cmxa /home/thomas/.esy/3/i/revery-0.20.0-6a420429/lib/Revery/Native/Revery_Native.cmxa /home/thomas/.esy/3/i/revery-0.20.0-6a420429/lib/Revery/Revery.cmxa /home/thomas/.esy/3/i/opam__s__easy_format-opam__c__1.3.1-9ccad956/lib/easy-format/easy_format.cmxa /home/thomas/.esy/3/i/opam__s__biniou-opam__c__1.2.0-6e934323/lib/biniou/biniou.cmxa /home/thomas/.esy/3/i/opam__s__yojson-opam__c__1.5.0-0565f6b2/lib/yojson/yojson.cmxa /home/thomas/.esy/3/i/opam__s__ppx__deriving-opam__c__4.3-74b794a2/lib/ppx_deriving/runtime/ppx_deriving_runtime.cmxa /home/thomas/.esy/3/i/opam__s__ppx__deriving__yojson-opam__c__3.3-47f2d11a/lib/ppx_deriving_yojson/runtime/ppx_deriving_yojson_runtime.cmxa /home/thomas/.esy/3/i/reason_libvim-8.10869.10001-46662032/lib/libvim/vim.cmxa /home/thomas/.esy/3/i/reason_jsonrpc-1.0.1-1f1257ad/lib/reason-jsonrpc/reason_jsonrpc.cmxa src/editor/Core/Oni_Core.cmxa src/editor/Extensions/Oni_Extensions.cmxa /home/thomas/.esy/3/i/isolinear-2.0.0-857d7dbb/lib/isolinear/isolinear.cmxa /home/thomas/.esy/3/i/reasonfuzz-5978ddad/lib/Matchers/Matchers.cmxa /home/thomas/.esy/3/i/reasonfuzz-5978ddad/lib/ReasonFuzz/ReasonFuzz.cmxa src/editor/Model/Oni_Model.cmxa src/editor/Store/Oni_Store.cmxa src/editor/UI/Oni_UI.cmxa src/editor/bin/.Oni2.eobjs/native/Input.cmx src/editor/bin/.Oni2.eobjs/native/PreflightChecks.cmx src/editor/bin/.Oni2.eobjs/native/Oni2.cmx)
/usr/bin/ld: /home/thomas/.esy/3/i/libvim-8.10869.10-c195537c/lib/libvim.a(os_unix.o): in function `mch_get_acl':
os_unix.c:(.text+0x1a3e): undefined reference to `acl_get_file'
/usr/bin/ld: /home/thomas/.esy/3/i/libvim-8.10869.10-c195537c/lib/libvim.a(os_unix.o): in function `mch_set_acl':
os_unix.c:(.text+0x1a74): undefined reference to `acl_set_file'
/usr/bin/ld: /home/thomas/.esy/3/i/libvim-8.10869.10-c195537c/lib/libvim.a(os_unix.o): in function `mch_free_acl':
os_unix.c:(.text+0x1a98): undefined reference to `acl_free'
collect2: error: ld returned 1 exit status
File "caml_startup", line 1:
Error: Error during linking
error: command failed: 'refmterr' 'dune' 'build' '-p' 'Oni2' '-j4' (exited with 1)
esy-build-package: exiting with errors above...
error: build failed with exit code: 1

esy: exiting due to errors above
bryphe commented 5 years ago

Thanks @tcoopman for the logs. Yes, getting closer at least - the original failures were fixed in the bug.

It's strange that the Ubuntu build passes... but we hit these failures (I can reproduce on a Manjaro box as well). I'd like to see if we can increase our CI coverage to additional distros of Linux. It seems that Azure CI only supports Ubuntu VMs, but it does also support Docker - so maybe we could run the build against other docker images.

tcoopman commented 5 years ago

For extra information, I'm on archlinux. It might indeed be a good thing to have extra CI coverage.

szbergeron commented 5 years ago

@bryphe if you want me to set up a jenkins instance or something I have some spare cores I could throw at the problem :p

bryphe commented 5 years ago

Thanks @szbergeron !

FYI - I started experimenting with Docker builds for the following distros:

Could use help figuring out the right set of dependencies + build steps (I'm kind of a Docker noob 😄 )

It'd be great to have build-over-build validation across these platforms (both that the build + tests pass!). I'm thinking of using Alpine to ship out of for Linux, so I can get a statically linked build.

bryphe commented 5 years ago

FYI - I was able to get reason-libvim building locally with this PR: https://github.com/onivim/reason-libvim/pull/29 (which should unblock Onivim 2) - but need to figure out the right conditional for that (it seems we only need to bundle -lacl on Arch). I also needed to run pacman -S acl to install the lib

tcoopman commented 5 years ago

Ok, I just started looking at this a bit.

  1. I have acl already installed.
  2. I tried building libvim. I get lots of warnings but the build succeeds.
  3. I tried building reason-libvim => succes
  4. I tried building oni2 => failure
  5. I added a resolution to the latest master of reason-libvim (35577b8) in oni. Same error :-(
  6. did a rm -rf of esy.lock and _esy in oni to be sure. Same error :-(

I'm a bit out of ides at this point

bryphe commented 5 years ago

FYI - I pushed up a branch here that builds on my Manjaro box (had the same issue): https://github.com/onivim/oni2/tree/build/arch-build-override

Interested to hear if it works for your or not. It picks up the ACL library when building reason-libvim via this PR: https://github.com/onivim/reason-libvim/pull/31

The problem though is that PR seems to break the Linux builds; so I had to revert it on my master. Need to figure out how to get Ubuntu building with that flag, or figure out the right condition to enable that flag.

tcoopman commented 5 years ago

This branch works for me as well. I'm not sure why it breaks the ubuntu builds though. It might be possible to detect ubuntu or archlinux with lsb_release but that seems very fragile.

> lsb_release -d
Description:    Arch Linux
woeps commented 5 years ago

I just took Oni2 for a spin, because I couldn't hold my excitement for it: I hit the same issue on Manjaro but could successfully build on your branch build/arch-build-override.

ManasJayanth commented 5 years ago

I faced the same issue on Arch just now. I think the stop gap is to ensure libacl is installed (if not use your distro's package manager). Additionally I needed the following patch (pass -lacl to flags to the compiler as it links the editor binary)

diff --git a/src/editor/bin_editor/dune b/src/editor/bin_editor/dune
index 412af05..45e489a 100644
--- a/src/editor/bin_editor/dune
+++ b/src/editor/bin_editor/dune
@@ -17,7 +17,8 @@
         Oni2.model
         Oni2.store
         Oni2.ui
-            )
+        )
+ (ocamlopt_flags -ccopt -lacl)
   (preprocess (
                pps
                lwt_ppx

Hope this helps :+1:

bryphe commented 5 years ago

Thanks @prometheansacrifice !

I actually added a similar patch for reason-libvim here: https://github.com/onivim/reason-libvim/commit/094c3e6915e051084ddfac07eae4f57733ea7b54

Unfortunately, this caused the Ubuntu builds to start failing (even though I added the libacl1-dev dependency):

-L/home/vsts/.esy/3_____________________________________________________________________/i/libvim-8.10869.10-c195537c/lib
    ocamlopt example/Example.exe (exit 2)
(cd _build/default && /home/vsts/.esy/3_____________________________________________________________________/i/ocaml-4.7.1004-a6ae015e/bin/ocamlopt.opt -w @a-4-29-40-41-42-44-45-48-58-59-60-40 -strict-sequence -strict-formats -short-paths -keep-locs -g -o example/Example.exe -I src src/vim.cmxa example/.Example.eobjs/native/Example.cmx)
/home/vsts/.esy/3_____________________________________________________________________/i/libvim-8.10869.10-c195537c/lib/libvim.a(os_unix.o): In function `mch_get_acl':
os_unix.c:(.text+0x1a4c): undefined reference to `acl_get_file'
/home/vsts/.esy/3_____________________________________________________________________/i/libvim-8.10869.10-c195537c/lib/libvim.a(os_unix.o): In function `mch_set_acl':
os_unix.c:(.text+0x1a82): undefined reference to `acl_set_file'
/home/vsts/.esy/3_____________________________________________________________________/i/libvim-8.10869.10-c195537c/lib/libvim.a(os_unix.o): In function `mch_free_acl':
os_unix.c:(.text+0x1aa6): undefined reference to `acl_free'
collect2: error: ld returned 1 exit status
File "caml_startup", line 1:
Error: Error during linking
    ocamlopt test/bin/LibvimUnitTestRunner.exe (exit 2)
(cd _build/default && /home/vsts/.esy/3_____________________________________________________________________/i/ocaml-4.7.1004-a6ae015e/bin/ocamlopt.opt -w @a-4-29-40-41-42-44-45-48-58-59-60-40 -strict-sequence -strict-formats -short-paths -keep-locs -g -o test/bin/LibvimUnitTestRunner.exe -I /home/vsts/.esy/3_____________________________________________________________________/i/opam__s__junit-opam__c__2.0.1-f248b7ab/lib/junit -I /home/vsts/.esy/3_____________________________________________________________________/i/opam__s__ocamlfind-opam__c__1.8.0-32d00fdd/lib/bytes -I /home/vsts/.esy/3_____________________________________________________________________/i/opam__s__ptime-opam__c__0.8.5-e47627da/lib/ptime -I /home/vsts/.esy/3_____________________________________________________________________/i/opam__s__ptime-opam__c__0.8.5-e47627da/lib/ptime/os -I /home/vsts/.esy/3_____________________________________________________________________/i/opam__s__re-opam__c__1.9.0-d4008fcc/lib/re -I /home/vsts/.esy/3_____________________________________________________________________/i/opam__s__result-opam__c__1.4-2c00b706/lib/result -I /home/vsts/.esy/3_____________________________________________________________________/i/opam__s__seq-opam__c__base-37652505/lib/seq -I /home/vsts/.esy/3_____________________________________________________________________/i/opam__s__tyxml-opam__c__4.3.0-e8325a79/lib/tyxml -I /home/vsts/.esy/3_____________________________________________________________________/i/opam__s__tyxml-opam__c__4.3.0-e8325a79/lib/tyxml/functor -I /home/vsts/.esy/3_____________________________________________________________________/i/opam__s__uchar-opam__c__0.0.2-a0257ecf/lib/uchar -I /home/vsts/.esy/3_____________________________________________________________________/i/opam__s__uutf-opam__c__1.0.2-02ebbbc5/lib/uutf -I /home/vsts/.esy/3_____________________________________________________________________/i/reason_native__s__file_context_printer-0.0.3-89bb2bb2/lib/file-context-printer/lib -I /home/vsts/.esy/3_____________________________________________________________________/i/reason_native__s__pastel-0.2.1-9bd5bea7/lib/pastel/lib -I /home/vsts/.esy/3_____________________________________________________________________/i/reason_native__s__rely-2.2.0-5e32e03c/lib/rely/internal -I /home/vsts/.esy/3_____________________________________________________________________/i/reason_native__s__rely-2.2.0-5e32e03c/lib/rely/lib -I src -I test /home/vsts/.esy/3_____________________________________________________________________/i/ocaml-4.7.1004-a6ae015e/lib/ocaml/str.cmxa /home/vsts/.esy/3_____________________________________________________________________/i/ocaml-4.7.1004-a6ae015e/lib/ocaml/unix.cmxa /home/vsts/.esy/3_____________________________________________________________________/i/reason_native__s__pastel-0.2.1-9bd5bea7/lib/pastel/lib/Pastel.cmxa /home/vsts/.esy/3_____________________________________________________________________/i/opam__s__re-opam__c__1.9.0-d4008fcc/lib/re/re.cmxa /home/vsts/.esy/3_____________________________________________________________________/i/reason_native__s__file_context_printer-0.0.3-89bb2bb2/lib/file-context-printer/lib/FileContextPrinter.cmxa /home/vsts/.esy/3_____________________________________________________________________/i/opam__s__uutf-opam__c__1.0.2-02ebbbc5/lib/uutf/uutf.cmxa /home/vsts/.esy/3_____________________________________________________________________/i/opam__s__tyxml-opam__c__4.3.0-e8325a79/lib/tyxml/functor/tyxml_f.cmxa /home/vsts/.esy/3_____________________________________________________________________/i/opam__s__tyxml-opam__c__4.3.0-e8325a79/lib/tyxml/tyxml.cmxa /home/vsts/.esy/3_____________________________________________________________________/i/opam__s__result-opam__c__1.4-2c00b706/lib/result/result.cmxa /home/vsts/.esy/3_____________________________________________________________________/i/opam__s__ptime-opam__c__0.8.5-e47627da/lib/ptime/ptime.cmxa /home/vsts/.esy/3_____________________________________________________________________/i/opam__s__ptime-opam__c__0.8.5-e47627da/lib/ptime/os/ptime_clock.cmxa /home/vsts/.esy/3_____________________________________________________________________/i/opam__s__junit-opam__c__2.0.1-f248b7ab/lib/junit/junit.cmxa /home/vsts/.esy/3_____________________________________________________________________/i/reason_native__s__rely-2.2.0-5e32e03c/lib/rely/internal/RelyInternal.cmxa /home/vsts/.esy/3_____________________________________________________________________/i/reason_native__s__rely-2.2.0-5e32e03c/lib/rely/lib/Rely.cmxa src/vim.cmxa test/LibvimTest.cmxa test/bin/.LibvimUnitTestRunner.eobjs/native/LibvimUnitTestRunner.cmx)
/home/vsts/.esy/3_____________________________________________________________________/i/libvim-8.10869.10-c195537c/lib/libvim.a(os_unix.o): In function `mch_get_acl':
os_unix.c:(.text+0x1a4c): undefined reference to `acl_get_file'
/home/vsts/.esy/3_____________________________________________________________________/i/libvim-8.10869.10-c195537c/lib/libvim.a(os_unix.o): In function `mch_set_acl':
os_unix.c:(.text+0x1a82): undefined reference to `acl_set_file'
/home/vsts/.esy/3_____________________________________________________________________/i/libvim-8.10869.10-c195537c/lib/libvim.a(os_unix.o): In function `mch_free_acl':
os_unix.c:(.text+0x1aa6): undefined reference to `acl_free'
collect2: error: ld returned 1 exit status
File "caml_startup", line 1:
Error: Error during linking
error: command failed: 'dune' 'build' '--root' '.' '-j4' (exited with 1)
esy-build-package: exiting with errors above...
error: build failed with exit code: 1

(https://dev.azure.com/onivim/oni2/_build/results?buildId=3004&view=logs)

CrossR commented 5 years ago

Is this still relevant/reproducible with the recent changes to the building of libvim?

szbergeron commented 5 years ago

Personally can no longer reproduce, fixes from tip of master allow building on arch with no additional fiddling.

bryphe commented 5 years ago

@CrossR - good catch - this should be fixed now with the inclusion of https://github.com/onivim/reason-libvim/pull/51 and https://github.com/onivim/reason-libvim/pull/53

lorenzo-pomili commented 5 years ago

I can't compile even with last version of code(on Debian), I get this error:

info building esy-harfbuzz@1.9.1005@d41d8cd9
info building reason-libvim@github:onivim/reason-libvim#56aa31a@d41d8cd9
error: build failed with exit code: 1
  build log:
    # esy-build-package: building: reason-libvim@github:onivim/reason-libvim#56aa31a
    # esy-build-package: pwd: /home/user_name/.esy/3______________________________________________________________________/b/reason_libvim-c1194a91
    # esy-build-package: running: 'refmterr' 'dune' 'build' '-p' 'libvim'
        discover src/c_flags.sexp,src/cxx_flags.sexp,src/flags.sexp
    -L/home/user_name/.esy/3/i/libvim-8.10869.20-f0b882d8/lib
        ocamlopt src/vim.cmxs (exit 2)
    (cd _build/default && /home/user_name/.esy/3/i/ocaml-4.7.1004-a6ae015e/bin/ocamlopt.opt -w -40 -g -shared -linkall -I src -o src/vim.cmxs src/vim.cmxa)
    /usr/bin/ld: cannot find -lacl
    collect2: error: ld returned 1 exit status
    File "caml_startup", line 1:
    Error: Error during linking
    error: command failed: 'refmterr' 'dune' 'build' '-p' 'libvim' (exited with 1)
    esy-build-package: exiting with errors above...

  building reason-libvim@github:onivim/reason-libvim#56aa31a
esy: exiting due to errors above
CrossR commented 5 years ago

Hey @lorenzo-pomili , that looks to be due to a missing libacl1-dev package. We need to add that to the install instructions since its needed for Ubuntu and similar.

lorenzo-pomili commented 5 years ago

Thank @CrossR now compilation go fordward but I have this error:

info building esy-harfbuzz@1.9.1005@d41d8cd9
info building reason-libvim@github:onivim/reason-libvim#56aa31a@d41d8cd9
info building reason-libvim@github:onivim/reason-libvim#56aa31a@d41d8cd9: done
error: build failed with exit code: 1
  build log:
    # esy-build-package: building: esy-harfbuzz@1.9.1005
    # esy-build-package: pwd: /home/user_name/.esy/3______________________________________________________________________/b/esy_harfbuzz-1.9.1005-d51f90c5
    # esy-build-package: running: './esy/prep.sh'
    # esy-build-package: running: 'bash' '-c' './esy/configure.sh'
    checking for a BSD-compatible install... /usr/bin/install -c
    checking whether build environment is sane... yes
    checking for a thread-safe mkdir -p... /bin/mkdir -p
    checking for gawk... gawk
    checking whether make sets $(MAKE)... yes
    checking whether make supports nested variables... yes
    checking whether UID '1000' is supported by ustar format... yes
    checking whether GID '1000' is supported by ustar format... yes
    checking how to create a ustar tar archive... gnutar
    checking whether make supports nested variables... (cached) yes
    checking for a sed that does not truncate output... /bin/sed
    checking whether to build with code coverage support... no
    checking for style of include used by make... GNU
    checking for gcc... 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... o
    checking whether we are using the GNU C compiler... yes
    checking whether gcc accepts -g... yes
    checking for gcc option to accept ISO C89... none needed
    checking whether gcc understands -c and -o together... yes
    checking dependency style of gcc... gcc3
    checking for ar... ar
    checking the archiver (ar) interface... ar
    checking build system type... x86_64-pc-linux-gnu
    checking host system type... x86_64-pc-linux-gnu
    checking how to print strings... printf
    checking for a sed that does not truncate output... (cached) /bin/sed
    checking for grep that handles long lines and -e... /bin/grep
    checking for egrep... /bin/grep -E
    checking for fgrep... /bin/grep -F
    checking for ld used by gcc... /usr/bin/ld
    checking if the linker (/usr/bin/ld) is GNU ld... yes
    checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
    checking the name lister (/usr/bin/nm -B) interface... BSD nm
    checking whether ln -s works... yes
    checking the maximum length of command line arguments... 1572864
    checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format... func_convert_file_noop
    checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop
    checking for /usr/bin/ld option to reload object files... -r
    checking for objdump... objdump
    checking how to recognize dependent libraries... pass_all
    checking for dlltool... no
    checking how to associate runtime and link libraries... printf %s\n
    checking for archiver @FILE support... @
    checking for strip... strip
    checking for ranlib... ranlib
    checking command to parse /usr/bin/nm -B output from gcc object... ok
    checking for sysroot... no
    checking for a working dd... /bin/dd
    checking how to truncate binary pipes... /bin/dd bs=4096 count=1
    checking for mt... mt
    checking if mt is a manifest tool... no
    checking how to run the C preprocessor... gcc -E
    checking for ANSI C header files... yes
    checking for sys/types.h... yes
    checking for sys/stat.h... yes
    checking for stdlib.h... yes
    checking for string.h... yes
    checking for memory.h... yes
    checking for strings.h... yes
    checking for inttypes.h... yes
    checking for stdint.h... yes
    checking for unistd.h... yes
    checking for dlfcn.h... yes
    checking for objdir... .libs
    checking if gcc supports -fno-rtti -fno-exceptions... no
    checking for gcc option to produce PIC... -fPIC -DPIC
    checking if gcc PIC flag -fPIC -DPIC works... yes
    checking if gcc static flag -static works... yes
    checking if gcc supports -c -o file.o... yes
    checking if gcc supports -c -o file.o... (cached) yes
    checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
    checking whether -lc should be explicitly linked in... no
    checking dynamic linker characteristics... GNU/Linux ld.so
    checking how to hardcode library paths into programs... immediate
    checking whether stripping libraries is possible... yes
    checking if libtool supports shared libraries... yes
    checking whether to build shared libraries... yes
    checking whether to build static libraries... no
    checking minix/config.h usability... no
    checking minix/config.h presence... no
    checking for minix/config.h... no
    checking whether it is safe to define __EXTENSIONS__... yes
    checking for gcc... (cached) gcc
    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 whether gcc understands -c and -o together... (cached) yes
    checking dependency style of gcc... (cached) gcc3
    checking for gcc option to accept ISO C99... none needed
    checking for g++... g++
    checking whether we are using the GNU C++ compiler... yes
    checking whether g++ accepts -g... yes
    checking dependency style of g++... gcc3
    checking how to run the C++ preprocessor... g++ -E
    checking for ld used by g++... /usr/bin/ld -m elf_x86_64
    checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes
    checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
    checking for g++ option to produce PIC... -fPIC -DPIC
    checking if g++ PIC flag -fPIC -DPIC works... yes
    checking if g++ static flag -static works... yes
    checking if g++ supports -c -o file.o... yes
    checking if g++ supports -c -o file.o... (cached) yes
    checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
    checking dynamic linker characteristics... (cached) GNU/Linux ld.so
    checking how to hardcode library paths into programs... immediate
    checking for special C compiler options needed for large files... no
    checking for _FILE_OFFSET_BITS value needed for large files... no
    checking for pkg-config... /usr/bin/pkg-config
    checking pkg-config is at least version 0.20... yes
    checking for gtk-doc... no
    configure: WARNING:
      You will not be able to create source packages with 'make dist'
      because gtk-doc >= 1.15 is not found.
    checking for gtkdoc-check... no
    checking for gtkdoc-check... no
    checking for gtkdoc-rebase... no
    checking for gtkdoc-mkpdf... no
    checking whether to build gtk-doc documentation... no
    checking for GTKDOC_DEPS... yes
    checking for atexit... yes
    checking for mprotect... yes
    checking for sysconf... yes
    checking for getpagesize... yes
    checking for mmap... yes
    checking for isatty... yes
    checking for newlocale... yes
    checking for strtod_l... yes
    checking for posix_memalign... yes
    checking for round... yes
    checking for unistd.h... (cached) yes
    checking sys/mman.h usability... yes
    checking sys/mman.h presence... yes
    checking for sys/mman.h... yes
    checking xlocale.h usability... no
    checking xlocale.h presence... no
    checking for xlocale.h... no
    checking stdbool.h usability... yes
    checking stdbool.h presence... yes
    checking for stdbool.h... yes
    checking alignment of struct{char;}... 1
    checking whether the linker accepts -Bsymbolic-functions... yes
    checking for native Win32... no
    checking whether gcc is Clang... no
    checking whether pthreads work with -pthread... yes
    checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE
    checking whether more special flags are required for pthreads... no
    checking for PTHREAD_PRIO_INHERIT... yes
    checking for GLIB... yes
    checking for CAIRO... no
    checking for FONTCONFIG... no
    checking for ICU... no
    checking for icu-config... no
    checking for ICU by using icu-config fallback... no
    checking for FREETYPE... no
    checking for Intel atomic primitives... true
    checking for Solaris atomic operations... false
    checking that generated files are newer than configure... done
    configure: creating ./config.status
    config.status: creating Makefile
    config.status: creating src/Makefile
    config.status: creating src/harfbuzz-config.cmake
    config.status: creating src/hb-ucdn/Makefile
    config.status: creating util/Makefile
    config.status: creating test/Makefile
    config.status: creating test/api/Makefile
    config.status: creating test/fuzzing/Makefile
    config.status: creating test/shaping/Makefile
    config.status: creating test/shaping/data/Makefile
    config.status: creating test/shaping/data/in-house/Makefile
    config.status: creating test/shaping/data/text-rendering-tests/Makefile
    config.status: creating test/subset/Makefile
    config.status: creating test/subset/data/Makefile
    config.status: creating docs/Makefile
    config.status: creating docs/version.xml
    config.status: creating config.h
    config.status: executing depfiles commands
    config.status: executing libtool commands
    configure:

    Build configuration:

    Unicode callbacks (you want at least one):
        Builtin (UCDN):     true
        Glib:           true
        ICU:            false

    Font callbacks (the more the merrier):
        FreeType:       false

    Tools used for command-line utilities:
        Cairo:          false
        Fontconfig:     false

    Additional shapers (the more the merrier):
        Graphite2:      false

    Platform shapers (not normally needed):
        CoreText:       false
        DirectWrite:        false
        Uniscribe:      false

    Other features:
        Documentation:      no
        GObject bindings:   false
        Introspection:      false

    # esy-build-package: running: './esy/build.sh'
    **BUILD STARTED**
    /bin/bash ./config.status --recheck
    running CONFIG_SHELL=/bin/bash /bin/bash ./configure --prefix=/home/user_name/.esy/3______________________________________________________________________/s/esy_harfbuzz-1.9.1005-d51f90c5 --no-create --no-recursion
    checking for a BSD-compatible install... /usr/bin/install -c
    checking whether build environment is sane... yes
    checking for a thread-safe mkdir -p... /bin/mkdir -p
    checking for gawk... gawk
    checking whether make sets $(MAKE)... yes
    checking whether make supports nested variables... yes
    checking whether UID '1000' is supported by ustar format... yes
    checking whether GID '1000' is supported by ustar format... yes
    checking how to create a ustar tar archive... gnutar
    checking whether make supports nested variables... (cached) yes
    checking for a sed that does not truncate output... /bin/sed
    checking whether to build with code coverage support... no
    checking for style of include used by make... GNU
    checking for gcc... 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... o
    checking whether we are using the GNU C compiler... yes
    checking whether gcc accepts -g... yes
    checking for gcc option to accept ISO C89... none needed
    checking whether gcc understands -c and -o together... yes
    checking dependency style of gcc... gcc3
    checking for ar... ar
    checking the archiver (ar) interface... ar
    checking build system type... x86_64-pc-linux-gnu
    checking host system type... x86_64-pc-linux-gnu
    checking how to print strings... printf
    checking for a sed that does not truncate output... (cached) /bin/sed
    checking for grep that handles long lines and -e... /bin/grep
    checking for egrep... /bin/grep -E
    checking for fgrep... /bin/grep -F
    checking for ld used by gcc... /usr/bin/ld
    checking if the linker (/usr/bin/ld) is GNU ld... yes
    checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
    checking the name lister (/usr/bin/nm -B) interface... BSD nm
    checking whether ln -s works... yes
    checking the maximum length of command line arguments... 1572864
    checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format... func_convert_file_noop
    checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop
    checking for /usr/bin/ld option to reload object files... -r
    checking for objdump... objdump
    checking how to recognize dependent libraries... pass_all
    checking for dlltool... no
    checking how to associate runtime and link libraries... printf %s\n
    checking for archiver @FILE support... @
    checking for strip... strip
    checking for ranlib... ranlib
    checking command to parse /usr/bin/nm -B output from gcc object... ok
    checking for sysroot... no
    checking for a working dd... /bin/dd
    checking how to truncate binary pipes... /bin/dd bs=4096 count=1
    checking for mt... mt
    checking if mt is a manifest tool... no
    checking how to run the C preprocessor... gcc -E
    checking for ANSI C header files... yes
    checking for sys/types.h... yes
    checking for sys/stat.h... yes
    checking for stdlib.h... yes
    checking for string.h... yes
    checking for memory.h... yes
    checking for strings.h... yes
    checking for inttypes.h... yes
    checking for stdint.h... yes
    checking for unistd.h... yes
    checking for dlfcn.h... yes
    checking for objdir... .libs
    checking if gcc supports -fno-rtti -fno-exceptions... no
    checking for gcc option to produce PIC... -fPIC -DPIC
    checking if gcc PIC flag -fPIC -DPIC works... yes
    checking if gcc static flag -static works... yes
    checking if gcc supports -c -o file.o... yes
    checking if gcc supports -c -o file.o... (cached) yes
    checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
    checking whether -lc should be explicitly linked in... no
    checking dynamic linker characteristics... GNU/Linux ld.so
    checking how to hardcode library paths into programs... immediate
    checking whether stripping libraries is possible... yes
    checking if libtool supports shared libraries... yes
    checking whether to build shared libraries... yes
    checking whether to build static libraries... no
    checking minix/config.h usability... no
    checking minix/config.h presence... no
    checking for minix/config.h... no
    checking whether it is safe to define __EXTENSIONS__... yes
    checking for gcc... (cached) gcc
    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 whether gcc understands -c and -o together... (cached) yes
    checking dependency style of gcc... (cached) gcc3
    checking for gcc option to accept ISO C99... none needed
    checking for g++... g++
    checking whether we are using the GNU C++ compiler... yes
    checking whether g++ accepts -g... yes
    checking dependency style of g++... gcc3
    checking how to run the C++ preprocessor... g++ -E
    checking for ld used by g++... /usr/bin/ld -m elf_x86_64
    checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes
    checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
    checking for g++ option to produce PIC... -fPIC -DPIC
    checking if g++ PIC flag -fPIC -DPIC works... yes
    checking if g++ static flag -static works... yes
    checking if g++ supports -c -o file.o... yes
    checking if g++ supports -c -o file.o... (cached) yes
    checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
    checking dynamic linker characteristics... (cached) GNU/Linux ld.so
    checking how to hardcode library paths into programs... immediate
    checking for special C compiler options needed for large files... no
    checking for _FILE_OFFSET_BITS value needed for large files... no
    checking for pkg-config... /usr/bin/pkg-config
    checking pkg-config is at least version 0.20... yes
    checking for gtk-doc... no
    configure: WARNING:
      You will not be able to create source packages with 'make dist'
      because gtk-doc >= 1.15 is not found.
    checking for gtkdoc-check... no
    checking for gtkdoc-check... no
    checking for gtkdoc-rebase... no
    checking for gtkdoc-mkpdf... no
    checking whether to build gtk-doc documentation... no
    checking for GTKDOC_DEPS... yes
    checking for atexit... yes
    checking for mprotect... yes
    checking for sysconf... yes
    checking for getpagesize... yes
    checking for mmap... yes
    checking for isatty... yes
    checking for newlocale... yes
    checking for strtod_l... yes
    checking for posix_memalign... yes
    checking for round... yes
    checking for unistd.h... (cached) yes
    checking sys/mman.h usability... yes
    checking sys/mman.h presence... yes
    checking for sys/mman.h... yes
    checking xlocale.h usability... no
    checking xlocale.h presence... no
    checking for xlocale.h... no
    checking stdbool.h usability... yes
    checking stdbool.h presence... yes
    checking for stdbool.h... yes
    checking alignment of struct{char;}... 1
    checking whether the linker accepts -Bsymbolic-functions... yes
    checking for native Win32... no
    checking whether gcc is Clang... no
    checking whether pthreads work with -pthread... yes
    checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE
    checking whether more special flags are required for pthreads... no
    checking for PTHREAD_PRIO_INHERIT... yes
    checking for GLIB... yes
    checking for CAIRO... no
    checking for FONTCONFIG... no
    checking for ICU... no
    checking for icu-config... no
    checking for ICU by using icu-config fallback... no
    checking for FREETYPE... no
    checking for Intel atomic primitives... true
    checking for Solaris atomic operations... false
    checking that generated files are newer than configure... done
    configure: creating ./config.status
    configure:

    Build configuration:

    Unicode callbacks (you want at least one):
        Builtin (UCDN):     true
        Glib:           true
        ICU:            false

    Font callbacks (the more the merrier):
        FreeType:       false

    Tools used for command-line utilities:
        Cairo:          false
        Fontconfig:     false

    Additional shapers (the more the merrier):
        Graphite2:      false

    Platform shapers (not normally needed):
        CoreText:       false
        DirectWrite:        false
        Uniscribe:      false

    Other features:
        Documentation:      no
        GObject bindings:   false
        Introspection:      false

     /bin/bash ./config.status
    config.status: creating Makefile
    config.status: creating src/Makefile
    config.status: creating src/harfbuzz-config.cmake
    config.status: creating src/hb-ucdn/Makefile
    config.status: creating util/Makefile
    config.status: creating test/Makefile
    config.status: creating test/api/Makefile
    config.status: creating test/fuzzing/Makefile
    config.status: creating test/shaping/Makefile
    config.status: creating test/shaping/data/Makefile
    config.status: creating test/shaping/data/in-house/Makefile
    config.status: creating test/shaping/data/text-rendering-tests/Makefile
    config.status: creating test/subset/Makefile
    config.status: creating test/subset/data/Makefile
    config.status: creating docs/Makefile
    config.status: creating docs/version.xml
    config.status: creating config.h
    config.status: config.h is unchanged
    config.status: executing depfiles commands
    config.status: executing libtool commands
    make  all-recursive
    make[1]: Entering directory '/home/user_name/.esy/3______________________________________________________________________/b/esy_harfbuzz-1.9.1005-d51f90c5/_build'
    Making all in src
    make[2]: Entering directory '/home/user_name/.esy/3______________________________________________________________________/b/esy_harfbuzz-1.9.1005-d51f90c5/_build/src'
      GEN      hb-version.h
      GEN      hb-ot-shape-complex-indic-machine.hh
    /home/user_name/.esy/3______________________________________________________________________/b/esy_harfbuzz-1.9.1005-d51f90c5/_build/missing: line 81: ragel: command not found
    WARNING: 'ragel' is missing on your system.
             You might have modified some files without having the proper
             tools for further handling them.  Check the 'README' file, it
             often tells you about the needed prerequisites for installing
             this package.  You may also peek at any GNU archive site, in
             case some other package contains this missing 'ragel' program.
    make[2]: *** [Makefile:3722: hb-ot-shape-complex-indic-machine.hh] Error 1
    make[2]: Leaving directory '/home/user_name/.esy/3______________________________________________________________________/b/esy_harfbuzz-1.9.1005-d51f90c5/_build/src'
    make[1]: *** [Makefile:517: all-recursive] Error 1
    make[1]: Leaving directory '/home/user_name/.esy/3______________________________________________________________________/b/esy_harfbuzz-1.9.1005-d51f90c5/_build'
    make: *** [Makefile:449: all] Error 2
    **BUILD COMPLETE**
    Making install in src
    make[1]: Entering directory '/home/user_name/.esy/3______________________________________________________________________/b/esy_harfbuzz-1.9.1005-d51f90c5/_build/src'
      GEN      hb-ot-shape-complex-indic-machine.hh
    /home/user_name/.esy/3______________________________________________________________________/b/esy_harfbuzz-1.9.1005-d51f90c5/_build/missing: line 81: ragel: command not found
    WARNING: 'ragel' is missing on your system.
             You might have modified some files without having the proper
             tools for further handling them.  Check the 'README' file, it
             often tells you about the needed prerequisites for installing
             this package.  You may also peek at any GNU archive site, in
             case some other package contains this missing 'ragel' program.
    make[1]: *** [Makefile:3722: hb-ot-shape-complex-indic-machine.hh] Error 1
    make[1]: Leaving directory '/home/user_name/.esy/3______________________________________________________________________/b/esy_harfbuzz-1.9.1005-d51f90c5/_build/src'
    make: *** [Makefile:517: install-recursive] Error 1
    error: command failed: './esy/build.sh' (exited with 2)
    esy-build-package: exiting with errors above...

  building esy-harfbuzz@1.9.1005
esy: exiting due to errors above
ManasJayanth commented 5 years ago

Looks like ragel is missing on your system. Can you try installing ragel like you did for libacl?

Sidenote: I have packaged ragel for esy too in the past.

On Tue 20 Aug, 2019, 10:54 AM lorenzo-pomili, notifications@github.com wrote:

Thank @CrossR https://github.com/CrossR now compilation go fordward but I have this error:

info building esy-harfbuzz@1.9.1005@d41d8cd9 info building reason-libvim@github:onivim/reason-libvim#56aa31a@d41d8cd9 info building reason-libvim@github:onivim/reason-libvim#56aa31a@d41d8cd9: done error: build failed with exit code: 1 build log:

esy-build-package: building: esy-harfbuzz@1.9.1005

# esy-build-package: pwd: /home/user_name/.esy/3______________________________________________________________________/b/esy_harfbuzz-1.9.1005-d51f90c5
# esy-build-package: running: './esy/prep.sh'
# esy-build-package: running: 'bash' '-c' './esy/configure.sh'
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether UID '1000' is supported by ustar format... yes
checking whether GID '1000' is supported by ustar format... yes
checking how to create a ustar tar archive... gnutar
checking whether make supports nested variables... (cached) yes
checking for a sed that does not truncate output... /bin/sed
checking whether to build with code coverage support... no
checking for style of include used by make... GNU
checking for gcc... 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... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking dependency style of gcc... gcc3
checking for ar... ar
checking the archiver (ar) interface... ar
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking how to print strings... printf
checking for a sed that does not truncate output... (cached) /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for fgrep... /bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for a working dd... /bin/dd
checking how to truncate binary pipes... /bin/dd bs=4096 count=1
checking for mt... mt
checking if mt is a manifest tool... no
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking for gcc... (cached) gcc
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 whether gcc understands -c and -o together... (cached) yes
checking dependency style of gcc... (cached) gcc3
checking for gcc option to accept ISO C99... none needed
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking how to run the C++ preprocessor... g++ -E
checking for ld used by g++... /usr/bin/ld -m elf_x86_64
checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC -DPIC
checking if g++ PIC flag -fPIC -DPIC works... yes
checking if g++ static flag -static works... yes
checking if g++ supports -c -o file.o... yes
checking if g++ supports -c -o file.o... (cached) yes
checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking dynamic linker characteristics... (cached) GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.20... yes
checking for gtk-doc... no
configure: WARNING:
  You will not be able to create source packages with 'make dist'
  because gtk-doc >= 1.15 is not found.
checking for gtkdoc-check... no
checking for gtkdoc-check... no
checking for gtkdoc-rebase... no
checking for gtkdoc-mkpdf... no
checking whether to build gtk-doc documentation... no
checking for GTKDOC_DEPS... yes
checking for atexit... yes
checking for mprotect... yes
checking for sysconf... yes
checking for getpagesize... yes
checking for mmap... yes
checking for isatty... yes
checking for newlocale... yes
checking for strtod_l... yes
checking for posix_memalign... yes
checking for round... yes
checking for unistd.h... (cached) yes
checking sys/mman.h usability... yes
checking sys/mman.h presence... yes
checking for sys/mman.h... yes
checking xlocale.h usability... no
checking xlocale.h presence... no
checking for xlocale.h... no
checking stdbool.h usability... yes
checking stdbool.h presence... yes
checking for stdbool.h... yes
checking alignment of struct{char;}... 1
checking whether the linker accepts -Bsymbolic-functions... yes
checking for native Win32... no
checking whether gcc is Clang... no
checking whether pthreads work with -pthread... yes
checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE
checking whether more special flags are required for pthreads... no
checking for PTHREAD_PRIO_INHERIT... yes
checking for GLIB... yes
checking for CAIRO... no
checking for FONTCONFIG... no
checking for ICU... no
checking for icu-config... no
checking for ICU by using icu-config fallback... no
checking for FREETYPE... no
checking for Intel atomic primitives... true
checking for Solaris atomic operations... false
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating src/harfbuzz-config.cmake
config.status: creating src/hb-ucdn/Makefile
config.status: creating util/Makefile
config.status: creating test/Makefile
config.status: creating test/api/Makefile
config.status: creating test/fuzzing/Makefile
config.status: creating test/shaping/Makefile
config.status: creating test/shaping/data/Makefile
config.status: creating test/shaping/data/in-house/Makefile
config.status: creating test/shaping/data/text-rendering-tests/Makefile
config.status: creating test/subset/Makefile
config.status: creating test/subset/data/Makefile
config.status: creating docs/Makefile
config.status: creating docs/version.xml
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands
configure:

Build configuration:

Unicode callbacks (you want at least one):
  Builtin (UCDN):     true
  Glib:           true
  ICU:            false

Font callbacks (the more the merrier):
  FreeType:       false

Tools used for command-line utilities:
  Cairo:          false
  Fontconfig:     false

Additional shapers (the more the merrier):
  Graphite2:      false

Platform shapers (not normally needed):
  CoreText:       false
  DirectWrite:        false
  Uniscribe:      false

Other features:
  Documentation:      no
  GObject bindings:   false
  Introspection:      false

# esy-build-package: running: './esy/build.sh'
**BUILD STARTED**
/bin/bash ./config.status --recheck
running CONFIG_SHELL=/bin/bash /bin/bash ./configure --prefix=/home/user_name/.esy/3______________________________________________________________________/s/esy_harfbuzz-1.9.1005-d51f90c5 --no-create --no-recursion
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether UID '1000' is supported by ustar format... yes
checking whether GID '1000' is supported by ustar format... yes
checking how to create a ustar tar archive... gnutar
checking whether make supports nested variables... (cached) yes
checking for a sed that does not truncate output... /bin/sed
checking whether to build with code coverage support... no
checking for style of include used by make... GNU
checking for gcc... 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... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking dependency style of gcc... gcc3
checking for ar... ar
checking the archiver (ar) interface... ar
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking how to print strings... printf
checking for a sed that does not truncate output... (cached) /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for fgrep... /bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for a working dd... /bin/dd
checking how to truncate binary pipes... /bin/dd bs=4096 count=1
checking for mt... mt
checking if mt is a manifest tool... no
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking for gcc... (cached) gcc
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 whether gcc understands -c and -o together... (cached) yes
checking dependency style of gcc... (cached) gcc3
checking for gcc option to accept ISO C99... none needed
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking how to run the C++ preprocessor... g++ -E
checking for ld used by g++... /usr/bin/ld -m elf_x86_64
checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC -DPIC
checking if g++ PIC flag -fPIC -DPIC works... yes
checking if g++ static flag -static works... yes
checking if g++ supports -c -o file.o... yes
checking if g++ supports -c -o file.o... (cached) yes
checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking dynamic linker characteristics... (cached) GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.20... yes
checking for gtk-doc... no
configure: WARNING:
  You will not be able to create source packages with 'make dist'
  because gtk-doc >= 1.15 is not found.
checking for gtkdoc-check... no
checking for gtkdoc-check... no
checking for gtkdoc-rebase... no
checking for gtkdoc-mkpdf... no
checking whether to build gtk-doc documentation... no
checking for GTKDOC_DEPS... yes
checking for atexit... yes
checking for mprotect... yes
checking for sysconf... yes
checking for getpagesize... yes
checking for mmap... yes
checking for isatty... yes
checking for newlocale... yes
checking for strtod_l... yes
checking for posix_memalign... yes
checking for round... yes
checking for unistd.h... (cached) yes
checking sys/mman.h usability... yes
checking sys/mman.h presence... yes
checking for sys/mman.h... yes
checking xlocale.h usability... no
checking xlocale.h presence... no
checking for xlocale.h... no
checking stdbool.h usability... yes
checking stdbool.h presence... yes
checking for stdbool.h... yes
checking alignment of struct{char;}... 1
checking whether the linker accepts -Bsymbolic-functions... yes
checking for native Win32... no
checking whether gcc is Clang... no
checking whether pthreads work with -pthread... yes
checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE
checking whether more special flags are required for pthreads... no
checking for PTHREAD_PRIO_INHERIT... yes
checking for GLIB... yes
checking for CAIRO... no
checking for FONTCONFIG... no
checking for ICU... no
checking for icu-config... no
checking for ICU by using icu-config fallback... no
checking for FREETYPE... no
checking for Intel atomic primitives... true
checking for Solaris atomic operations... false
checking that generated files are newer than configure... done
configure: creating ./config.status
configure:

Build configuration:

Unicode callbacks (you want at least one):
  Builtin (UCDN):     true
  Glib:           true
  ICU:            false

Font callbacks (the more the merrier):
  FreeType:       false

Tools used for command-line utilities:
  Cairo:          false
  Fontconfig:     false

Additional shapers (the more the merrier):
  Graphite2:      false

Platform shapers (not normally needed):
  CoreText:       false
  DirectWrite:        false
  Uniscribe:      false

Other features:
  Documentation:      no
  GObject bindings:   false
  Introspection:      false

 /bin/bash ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating src/harfbuzz-config.cmake
config.status: creating src/hb-ucdn/Makefile
config.status: creating util/Makefile
config.status: creating test/Makefile
config.status: creating test/api/Makefile
config.status: creating test/fuzzing/Makefile
config.status: creating test/shaping/Makefile
config.status: creating test/shaping/data/Makefile
config.status: creating test/shaping/data/in-house/Makefile
config.status: creating test/shaping/data/text-rendering-tests/Makefile
config.status: creating test/subset/Makefile
config.status: creating test/subset/data/Makefile
config.status: creating docs/Makefile
config.status: creating docs/version.xml
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
config.status: executing libtool commands
make  all-recursive
make[1]: Entering directory '/home/user_name/.esy/3______________________________________________________________________/b/esy_harfbuzz-1.9.1005-d51f90c5/_build'
Making all in src
make[2]: Entering directory '/home/user_name/.esy/3______________________________________________________________________/b/esy_harfbuzz-1.9.1005-d51f90c5/_build/src'
  GEN      hb-version.h
  GEN      hb-ot-shape-complex-indic-machine.hh
/home/user_name/.esy/3______________________________________________________________________/b/esy_harfbuzz-1.9.1005-d51f90c5/_build/missing: line 81: ragel: command not found
WARNING: 'ragel' is missing on your system.
         You might have modified some files without having the proper
         tools for further handling them.  Check the 'README' file, it
         often tells you about the needed prerequisites for installing
         this package.  You may also peek at any GNU archive site, in
         case some other package contains this missing 'ragel' program.
make[2]: *** [Makefile:3722: hb-ot-shape-complex-indic-machine.hh] Error 1
make[2]: Leaving directory '/home/user_name/.esy/3______________________________________________________________________/b/esy_harfbuzz-1.9.1005-d51f90c5/_build/src'
make[1]: *** [Makefile:517: all-recursive] Error 1
make[1]: Leaving directory '/home/user_name/.esy/3______________________________________________________________________/b/esy_harfbuzz-1.9.1005-d51f90c5/_build'
make: *** [Makefile:449: all] Error 2
**BUILD COMPLETE**
Making install in src
make[1]: Entering directory '/home/user_name/.esy/3______________________________________________________________________/b/esy_harfbuzz-1.9.1005-d51f90c5/_build/src'
  GEN      hb-ot-shape-complex-indic-machine.hh
/home/user_name/.esy/3______________________________________________________________________/b/esy_harfbuzz-1.9.1005-d51f90c5/_build/missing: line 81: ragel: command not found
WARNING: 'ragel' is missing on your system.
         You might have modified some files without having the proper
         tools for further handling them.  Check the 'README' file, it
         often tells you about the needed prerequisites for installing
         this package.  You may also peek at any GNU archive site, in
         case some other package contains this missing 'ragel' program.
make[1]: *** [Makefile:3722: hb-ot-shape-complex-indic-machine.hh] Error 1
make[1]: Leaving directory '/home/user_name/.esy/3______________________________________________________________________/b/esy_harfbuzz-1.9.1005-d51f90c5/_build/src'
make: *** [Makefile:517: install-recursive] Error 1
error: command failed: './esy/build.sh' (exited with 2)
esy-build-package: exiting with errors above...

building esy-harfbuzz@1.9.1005 esy: exiting due to errors above

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/onivim/oni2/issues/334?email_source=notifications&email_token=AAXUDOW6HUBNXDDOLJDQ373QFN5XVA5CNFSM4HZTES62YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD4VC5IQ#issuecomment-522858146, or mute the thread https://github.com/notifications/unsubscribe-auth/AAXUDOS457JM5MX6L23GYQ3QFN5XVANCNFSM4HZTES6Q .

lorenzo-pomili commented 5 years ago

thank @prometheansacrifice , now error is:

info building esy-harfbuzz@1.9.1005@d41d8cd9
info building esy-harfbuzz@1.9.1005@d41d8cd9: done
info building reason-fontkit@2.5.0@d41d8cd9
error: build failed with exit code: 1
  build log:
    # esy-build-package: building: reason-fontkit@2.5.0
    # esy-build-package: pwd: /home/user_name/.esy/source/i/reason_fontkit__2.5.0__009314c5
    # esy-build-package: running: 'dune' 'build' '--root' '.'
        ocamlopt src/fontkit.cmxs (exit 2)
    (cd /home/user_name/.esy/3______________________________________________________________________/b/reason_fontkit-2.5.0-4a6b67e0/default && /home/user_name/.esy/3______________________________________________________________________/i/ocaml-4.7.1004-a6ae015e/bin/ocamlopt.opt -w @a-4-29-40-41-42-44-45-48-58-59-60-40 -strict-sequence -strict-formats -short-paths -keep-locs -g -shared -linkall -I src -o src/fontkit.cmxs src/fontkit.cmxa)
    /usr/bin/ld: cannot find -lfreetype
    /usr/bin/ld: cannot find -lharfbuzz
    /usr/bin/ld: cannot find -lbz2
    /usr/bin/ld: cannot find -lpng
    collect2: error: ld returned 1 exit status
    File "caml_startup", line 1:
    Error: Error during linking
        ocamlopt bin_native/test_fontkit.exe (exit 2)
    (cd /home/user_name/.esy/3______________________________________________________________________/b/reason_fontkit-2.5.0-4a6b67e0/default && /home/user_name/.esy/3______________________________________________________________________/i/ocaml-4.7.1004-a6ae015e/bin/ocamlopt.opt -w @a-4-29-40-41-42-44-45-48-58-59-60-40 -strict-sequence -strict-formats -short-paths -keep-locs -g -o bin_native/test_fontkit.exe -I /home/user_name/.esy/3______________________________________________________________________/i/ocaml-4.7.1004-a6ae015e/lib/ocaml/threads -I /home/user_name/.esy/3______________________________________________________________________/i/opam__s__lwt-opam__c__4.2.1-5ddb195a/lib/lwt -I /home/user_name/.esy/3______________________________________________________________________/i/opam__s__lwt-opam__c__4.2.1-5ddb195a/lib/lwt/unix -I /home/user_name/.esy/3______________________________________________________________________/i/opam__s__mmap-opam__c__1.1.0-bdb1a651/lib/mmap -I /home/user_name/.esy/3______________________________________________________________________/i/opam__s__ocamlfind-opam__c__1.8.0-d2e90815/lib/bytes -I /home/user_name/.esy/3______________________________________________________________________/i/opam__s__result-opam__c__1.4-b0decc79/lib/result -I /home/user_name/.esy/3______________________________________________________________________/i/opam__s__seq-opam__c__base-37652505/lib/seq -I /home/user_name/.esy/3______________________________________________________________________/i/reason_gl_matrix-0.9.9304-386c9793/lib/reglm -I /home/user_name/.esy/3______________________________________________________________________/i/reason_glfw-3.2.1027-28bf1bfb/lib/reglfw -I src /home/user_name/.esy/3______________________________________________________________________/i/opam__s__result-opam__c__1.4-b0decc79/lib/result/result.cmxa /home/user_name/.esy/3______________________________________________________________________/i/opam__s__lwt-opam__c__4.2.1-5ddb195a/lib/lwt/lwt.cmxa /home/user_name/.esy/3______________________________________________________________________/i/ocaml-4.7.1004-a6ae015e/lib/ocaml/unix.cmxa /home/user_name/.esy/3______________________________________________________________________/i/ocaml-4.7.1004-a6ae015e/lib/ocaml/bigarray.cmxa /home/user_name/.esy/3______________________________________________________________________/i/opam__s__mmap-opam__c__1.1.0-bdb1a651/lib/mmap/mmap.cmxa /home/user_name/.esy/3______________________________________________________________________/i/ocaml-4.7.1004-a6ae015e/lib/ocaml/threads/threads.cmxa /home/user_name/.esy/3______________________________________________________________________/i/opam__s__lwt-opam__c__4.2.1-5ddb195a/lib/lwt/unix/lwt_unix.cmxa /home/user_name/.esy/3______________________________________________________________________/i/reason_gl_matrix-0.9.9304-386c9793/lib/reglm/reglm.cmxa /home/user_name/.esy/3______________________________________________________________________/i/reason_glfw-3.2.1027-28bf1bfb/lib/reglfw/reglfw.cmxa src/fontkit.cmxa bin_native/.test_fontkit.eobjs/native/test_fontkit.cmx)
    /usr/bin/ld: cannot find -lfreetype
    /usr/bin/ld: cannot find -lharfbuzz
    /usr/bin/ld: cannot find -lbz2
    /usr/bin/ld: cannot find -lpng
    collect2: error: ld returned 1 exit status
    File "caml_startup", line 1:
    Error: Error during linking
    error: command failed: 'dune' 'build' '--root' '.' (exited with 1)
    esy-build-package: exiting with errors above...

  building reason-fontkit@2.5.0
esy: exiting due to errors above
lorenzo-pomili commented 5 years ago

ok, installing: libharfbuzz-dev libfreetype6-dev libbz2-dev seem to solve this problem, after I removed ~/.esy and then redo: esy install and esy bootstrap I get:

info building esy-cmake@0.3.5@d41d8cd9
error: build failed with exit code: 1
  build log:
    # esy-build-package: building: esy-cmake@0.3.5
    # esy-build-package: pwd: /home/user_name/.esy/3______________________________________________________________________/b/esy_cmake-0.3.5-725db80a
    esy-build-package: delete directory
                       /home/user_name/.esy/3______________________________________________________________________/b/esy_cmake-0.3.5-725db80a:
                       /home/user_name/.esy/3______________________________________________________________________/b/esy_cmake-0.3.5-725db80a/_build/cmake/Bootstrap.cmk:
                       Directory not empty

  building esy-cmake@0.3.5
esy: exiting due to errors above

So I install all dependecies showed in this page: https://github.com/revery-ui/revery/wiki/Building-&-Installing and now I get:

error: build failed with exit code: 1
  build log:
    # esy-build-package: building: esy-glfw@3.2.1010
    # esy-build-package: pwd: /home/user_name/.esy/3______________________________________________________________________/b/esy_glfw-3.2.1010-3a8692df
    # esy-build-package: running: 'make' 'build-glfw' 'ROOTDIR=/home/user_name/.esy/3______________________________________________________________________/b/esy_glfw-3.2.1010-3a8692df' 'WIN32=0'
    echo Library: /home/user_name/.esy/3______________________________________________________________________/b/esy_glfw-3.2.1010-3a8692df/_build/glfw/src
    Library: /home/user_name/.esy/3______________________________________________________________________/b/esy_glfw-3.2.1010-3a8692df/_build/glfw/src
    echo Include: /home/user_name/.esy/3______________________________________________________________________/b/esy_glfw-3.2.1010-3a8692df/_build/glfw/include
    Include: /home/user_name/.esy/3______________________________________________________________________/b/esy_glfw-3.2.1010-3a8692df/_build/glfw/include
    mkdir -p /home/user_name/.esy/3______________________________________________________________________/b/esy_glfw-3.2.1010-3a8692df/_build
    git clone https://github.com/glfw/glfw /home/user_name/.esy/3______________________________________________________________________/b/esy_glfw-3.2.1010-3a8692df/_build/glfw
    Cloning into '/home/user_name/.esy/3______________________________________________________________________/b/esy_glfw-3.2.1010-3a8692df/_build/glfw'...
    error: could not lock config file /home/user_name/.esy/3______________________________________________________________________/b/esy_glfw-3.2.1010-3a8692df/_build/glfw/.git/config: No such file or directory
    fatal: could not set 'remote.origin.fetch' to '+refs/heads/*:refs/remotes/origin/*'
    make: *** [Makefile:17: /home/user_name/.esy/3______________________________________________________________________/b/esy_glfw-3.2.1010-3a8692df/_build/glfw/include/GLFW/glfw3.h] Error 128
    error: command failed: 'make' 'build-glfw' 'ROOTDIR=/home/user_name/.esy/3______________________________________________________________________/b/esy_glfw-3.2.1010-3a8692df' 'WIN32=0' (exited with 2)
    esy-build-package: exiting with errors above...

  building esy-glfw@3.2.1010
esy: exiting due to errors above

Now I'm trying to remove again ~/.esy and redo: esy install and esy bootstrap I will update this message after it (now I have to start work ^^")

EDIT: seems work with waring:

STRINGIFIED: ["/home/user_name/.nvm/versions/node/v11.11.0/bin/node","/home/user_name/Scrivania/OCaml/Reason/progetti_altrui/oni2/scripts/bootstrap.js","/home/user_name/.esy/3______________________________________________________________________/i/opam__s__camomile-opam__c__1.0.1-7b89f14e"]
Camomile path: /home/user_name/.esy/3______________________________________________________________________/i/opam__s__camomile-opam__c__1.0.1-7b89f14e/share/camomile
Writing to /home/user_name/Scrivania/OCaml/Reason/progetti_altrui/oni2/assets/configuration/setup.json...
Done!