Skip to content

Instantly share code, notes, and snippets.

@aackerman
Created August 17, 2016 00:23
Show Gist options
  • Save aackerman/eba4d0f3fa67baaf38c5bc306f0e2c35 to your computer and use it in GitHub Desktop.
Save aackerman/eba4d0f3fa67baaf38c5bc306f0e2c35 to your computer and use it in GitHub Desktop.
Flow build errors
vagrant@vagrant-ubuntu-trusty-64:/vagrant$ make test
mkdir -p _build/hack/third-party/inotify/
cp hack/third-party/inotify/inotify_stubs.c _build/hack/third-party/inotify/inotify_stubs.c
mkdir -p _build/hack/third-party/inotify/
cp hack/third-party/inotify/inotify_compat.h _build/hack/third-party/inotify/inotify_compat.h
mkdir -p _build/hack/third-party/libancillary/
cp hack/third-party/libancillary/ancillary.h _build/hack/third-party/libancillary/ancillary.h
cd _build/hack/third-party/inotify/ && ocamlopt -c inotify_stubs.c
mkdir -p _build/hack/heap/
cp hack/heap/hh_shared.c _build/hack/heap/hh_shared.c
cd _build/hack/heap/ && ocamlopt -c hh_shared.c
mkdir -p _build/hack/hhi/
cp hack/hhi/hhi_elf.c _build/hack/hhi/hhi_elf.c
cd _build/hack/hhi/ && ocamlopt -c hhi_elf.c
hhi_elf.c: In function ‘get_embedded_hhi_data’:
hhi_elf.c:116:3: warning: ‘elf_getshstrndx’ is deprecated (declared at /usr/include/libelf.h:260) [-Wdeprecated-declarations]
int stat = elf_getshstrndx(e, &shstrndx);
^
mkdir -p _build/hack/utils/
cp hack/utils/files.c _build/hack/utils/files.c
cd _build/hack/utils/ && ocamlopt -c files.c
mkdir -p _build/hack/utils/
cp hack/utils/get_build_id.c _build/hack/utils/get_build_id.c
cd _build/hack/utils/ && ocamlopt -c get_build_id.c
mkdir -p _build/hack/utils/
cp hack/utils/handle_stubs.c _build/hack/utils/handle_stubs.c
cd _build/hack/utils/ && ocamlopt -c handle_stubs.c
mkdir -p _build/hack/utils/
cp hack/utils/nproc.c _build/hack/utils/nproc.c
cd _build/hack/utils/ && ocamlopt -c nproc.c
mkdir -p _build/hack/utils/
cp hack/utils/realpath.c _build/hack/utils/realpath.c
cd _build/hack/utils/ && ocamlopt -c realpath.c
mkdir -p _build/hack/utils/
cp hack/utils/sysinfo.c _build/hack/utils/sysinfo.c
cd _build/hack/utils/ && ocamlopt -c sysinfo.c
mkdir -p _build/hack/utils/
cp hack/utils/priorities.c _build/hack/utils/priorities.c
cd _build/hack/utils/ && ocamlopt -c priorities.c
mkdir -p _build/hack/utils/
cp hack/utils/win32_support.c _build/hack/utils/win32_support.c
cd _build/hack/utils/ && ocamlopt -c win32_support.c
mkdir -p _build/hack/hhi/
cp hack/hhi/hhi_win32res_stubs.c _build/hack/hhi/hhi_win32res_stubs.c
cd _build/hack/hhi/ && ocamlopt -c hhi_win32res_stubs.c
mkdir -p _build/src/embedded/
cp src/embedded/flowlib_elf.c _build/src/embedded/flowlib_elf.c
cd _build/src/embedded/ && ocamlopt -c flowlib_elf.c
flowlib_elf.c: In function ‘get_embedded_flowlib_data’:
flowlib_elf.c:115:3: warning: ‘elf_getshstrndx’ is deprecated (declared at /usr/include/libelf.h:260) [-Wdeprecated-declarations]
int stat = elf_getshstrndx(e, &shstrndx);
^
ocaml -I scripts -w -3 unix.cma scripts/gen_build_id.ml _build/hack/utils/get_build_id.gen.c
cd _build/hack/utils/ && ocamlopt -c get_build_id.gen.c
mkdir -p bin
tar czf bin/flowlib.tar.gz -C lib .
ocamlbuild -no-links -I src/commands -I src/common -I src/dts -I src/embedded -I src/parser -I src/parsing -I src/server -I src/services/autocomplete -I src/services/inference -I src/services/port -I src/stubs -I src/typing -I hack/dfind -I hack/find -I hack/globals -I hack/heap -I hack/hhi -I hack/injection/default_injector -I hack/procs -I hack/search -I hack/socket -I hack/stubs -I hack/third-party/avl -I hack/third-party/core -I hack/utils -I hack/utils/collections -I hack/utils/disk -I hack/utils/hh_json -I hack/third-party/inotify -I hack/fsnotify_linux -lib unix -lib str -lib bigarray -lflags "hack/third-party/inotify/inotify_stubs.o hack/heap/hh_shared.o hack/hhi/hhi_elf.o hack/utils/files.o hack/utils/get_build_id.o hack/utils/handle_stubs.o hack/utils/nproc.o hack/utils/realpath.o hack/utils/sysinfo.o hack/utils/priorities.o hack/utils/win32_support.o hack/hhi/hhi_win32res_stubs.o src/embedded/flowlib_elf.o hack/utils/get_build_id.gen.o -cclib -l -cclib pthread -cclib -l -cclib elf -cclib -l -cclib rt " src/flow.native
Killed
make: *** [build-flow] Error 137
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment