Skip to content

Instantly share code, notes, and snippets.

@sync
Created July 29, 2019 23:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sync/27740d5f52983b979883ba961f24be77 to your computer and use it in GitHub Desktop.
Save sync/27740d5f52983b979883ba961f24be77 to your computer and use it in GitHub Desktop.
info building @opam/ocamlfind@opam:1.8.1@0e6469e7
error: build failed with exit code: 1
build log:
# esy-build-package: building: @opam/ocamlfind@opam:1.8.1
# esy-build-package: pwd: /Users/anthonymittaz/.esy/3___________________________________________________________/b/opam__s__ocamlfind-opam__c__1.8.1-29b79927
# esy-build-package: running: './configure' '-bindir' '/Users/anthonymittaz/.esy/3___________________________________________________________/s/opam__s__ocamlfind-opam__c__1.8.1-29b79927/bin' '-sitelib' '/Users/anthonymittaz/.esy/3___________________________________________________________/s/opam__s__ocamlfind-opam__c__1.8.1-29b79927/lib' '-mandir' '/Users/anthonymittaz/.esy/3___________________________________________________________/s/opam__s__ocamlfind-opam__c__1.8.1-29b79927/man' '-config' '/Users/anthonymittaz/.esy/3___________________________________________________________/s/opam__s__ocamlfind-opam__c__1.8.1-29b79927/lib/findlib.conf' '-no-custom'
Welcome to findlib version 1.8.1
Configuring core...
Checking for #remove_directory...
Testing threading model...
systhread_supported: true
Testing DLLs...
Testing whether ppxopt can be supported...
Checking for ocamlc -opaque...
Configuring libraries...
native dynlink: found
labltk: not present
ocamlbuild: not present
camlp4: not present (normal since OCaml-4.02)
compiler-libs: found
dbm: not present (normal since OCaml-4.00)
num: not present (normal since OCaml-4.06)
bytes: found, installing fake library
spacetime: found
graphics: not found
Configuration for dynlink written to site-lib-src/dynlink/META
Configuration for str written to site-lib-src/str/META
Configuration for threads written to site-lib-src/threads/META
Configuration for unix written to site-lib-src/unix/META
Configuration for stdlib written to site-lib-src/stdlib/META
Configuration for bigarray written to site-lib-src/bigarray/META
Configuration for ocamldoc written to site-lib-src/ocamldoc/META
Configuration for compiler-libs written to site-lib-src/compiler-libs/META
Configuration for bytes written to site-lib-src/bytes/META
Configuration for raw_spacetime written to site-lib-src/raw_spacetime/META
Detecting compiler arguments: (extractor built) ok
About the OCAML core installation:
Standard library: /Users/anthonymittaz/.esy/3___________________________________________________________/i/ocaml-4.7.1004-e5a2754f/lib/ocaml
Binaries: /Users/anthonymittaz/.esy/3___________________________________________________________/i/ocaml-4.7.1004-e5a2754f/bin
Manual pages: /Users/anthonymittaz/.esy/3___________________________________________________________/i/ocaml-4.7.1004-e5a2754f/man
Multi-threading type: posix
The directory of site-specific packages will be
site-lib: /Users/anthonymittaz/.esy/3___________________________________________________________/s/opam__s__ocamlfind-opam__c__1.8.1-29b79927/lib
The configuration file is written to:
findlib config file: /Users/anthonymittaz/.esy/3___________________________________________________________/s/opam__s__ocamlfind-opam__c__1.8.1-29b79927/lib/findlib.conf
Software will be installed:
Libraries: in <site-lib>/findlib
Binaries: /Users/anthonymittaz/.esy/3___________________________________________________________/s/opam__s__ocamlfind-opam__c__1.8.1-29b79927/bin
Manual pages: /Users/anthonymittaz/.esy/3___________________________________________________________/s/opam__s__ocamlfind-opam__c__1.8.1-29b79927/man
topfind script: /Users/anthonymittaz/.esy/3___________________________________________________________/i/ocaml-4.7.1004-e5a2754f/lib/ocaml
Topfind ppxopt support: yes
Toolbox: no
Link custom runtime: no
Need bytes compatibility: no
Configuration has been written to Makefile.config
You can now do 'make all', and optionally 'make opt', to build ocamlfind.
# esy-build-package: running: 'make' 'all'
for p in findlib; do ( cd src/$p; /Applications/Xcode.app/Contents/Developer/usr/bin/make all ) || exit; done
Makefile:181: depend: No such file or directory
ocamllex fl_meta.mll
22 states, 392 transitions, table size 1700 bytes
USE_CYGPATH="0"; \
export USE_CYGPATH; \
cat findlib_config.mlp | \
../../tools/patch '@CONFIGFILE@' '/Users/anthonymittaz/.esy/3___________________________________________________________/s/opam__s__ocamlfind-opam__c__1.8.1-29b79927/lib/findlib.conf' | \
../../tools/patch '@STDLIB@' '/Users/anthonymittaz/.esy/3___________________________________________________________/i/ocaml-4.7.1004-e5a2754f/lib/ocaml' | \
sed -e 's;@AUTOLINK@;true;g' \
-e 's;@SYSTEM@;macosx;g' \
>findlib_config.ml
if [ "true" = "true" ]; then \
cp topfind.ml.in topfind.ml; \
else \
sed -e '/PPXOPT_BEGIN/,/PPXOPT_END/ d' topfind.ml.in \
> topfind.ml ; \
fi
ocamldep *.ml *.mli >depend
ocamlc -I +compiler-libs -opaque -g -c findlib_config.ml
ocamlc -I +compiler-libs -opaque -g -c fl_split.ml
ocamlc -I +compiler-libs -opaque -g -c fl_metatoken.ml
ocamlc -I +compiler-libs -opaque -g -c fl_meta.ml
ocamlc -I +compiler-libs -opaque -c fl_metascanner.mli
ocamlc -I +compiler-libs -opaque -g -c fl_metascanner.ml
ocamlc -I +compiler-libs -opaque -c fl_topo.mli
ocamlc -I +compiler-libs -opaque -g -c fl_topo.ml
ocamlc -I +compiler-libs -opaque -c fl_package_base.mli
ocamlc -I +compiler-libs -opaque -g -c fl_package_base.ml
ocamlc -I +compiler-libs -opaque -c findlib.mli
ocamlc -I +compiler-libs -opaque -g -c findlib.ml
ocamlc -I +compiler-libs -opaque -g -c fl_args.ml
ocamlc -I +compiler-libs -opaque -g -c fl_lint.ml
ocamlc -I +compiler-libs -a -o findlib.cma findlib_config.cmo fl_split.cmo fl_metatoken.cmo fl_meta.cmo fl_metascanner.cmo fl_topo.cmo fl_package_base.cmo findlib.cmo fl_args.cmo fl_lint.cmo
ocamlc -I +compiler-libs -opaque -g -c ocaml_args.ml
ocamlc -I +compiler-libs -opaque -g -c frontend.ml
File "frontend.ml", line 1826, characters 16-29:
Warning 3: deprecated: Stdlib.String.create
Use Bytes.create instead.
ocamlc -I +compiler-libs -o ocamlfind -g findlib.cma unix.cma \
ocaml_args.cmo frontend.cmo
ocamlc -I +compiler-libs -opaque -c topfind.mli
ocamlc -I +compiler-libs -opaque -g -c topfind.ml
ocamlc -I +compiler-libs -a -o findlib_top.cma topfind.cmo
USE_CYGPATH="0"; \
export USE_CYGPATH; \
cat topfind_rd1.p | \
../../tools/patch '@SITELIB@' '/Users/anthonymittaz/.esy/3___________________________________________________________/s/opam__s__ocamlfind-opam__c__1.8.1-29b79927/lib' \
>topfind
ocamlc -I +compiler-libs -opaque -c fl_dynload.mli
ocamlc -I +compiler-libs -opaque -g -c fl_dynload.ml
ocamlc -I +compiler-libs -a -o findlib_dynload.cma fl_dynload.cmo
/Applications/Xcode.app/Contents/Developer/usr/bin/make all-config
USE_CYGPATH="0"; \
export USE_CYGPATH; \
cat findlib.conf.in | \
tools/patch '@SITELIB@' '/Users/anthonymittaz/.esy/3___________________________________________________________/s/opam__s__ocamlfind-opam__c__1.8.1-29b79927/lib' >findlib.conf
if ./tools/cmd_from_same_dir ocamlc; then \
echo 'ocamlc="ocamlc.opt"' >>findlib.conf; \
fi
if ./tools/cmd_from_same_dir ocamlopt; then \
echo 'ocamlopt="ocamlopt.opt"' >>findlib.conf; \
fi
if ./tools/cmd_from_same_dir ocamldep; then \
echo 'ocamldep="ocamldep.opt"' >>findlib.conf; \
fi
if ./tools/cmd_from_same_dir ocamldoc; then \
echo 'ocamldoc="ocamldoc.opt"' >>findlib.conf; \
fi
# esy-build-package: running: 'make' 'opt'
for p in findlib; do ( cd src/$p; /Applications/Xcode.app/Contents/Developer/usr/bin/make opt ) || exit; done
ocamlopt -I +compiler-libs -g -opaque -c findlib_config.ml
ocamlopt -I +compiler-libs -g -opaque -c fl_split.ml
ocamlopt -I +compiler-libs -g -opaque -c fl_metatoken.ml
ocamlopt -I +compiler-libs -g -opaque -c fl_meta.ml
ocamlopt -I +compiler-libs -g -opaque -c fl_metascanner.ml
ocamlopt -I +compiler-libs -g -opaque -c fl_topo.ml
ocamlopt -I +compiler-libs -g -opaque -c fl_package_base.ml
ocamlopt -I +compiler-libs -g -opaque -c findlib.ml
ocamlopt -I +compiler-libs -g -opaque -c fl_args.ml
ocamlopt -I +compiler-libs -g -opaque -c fl_lint.ml
ocamlopt -I +compiler-libs -g -a -o findlib.cmxa findlib_config.cmx fl_split.cmx fl_metatoken.cmx fl_meta.cmx fl_metascanner.cmx fl_topo.cmx fl_package_base.cmx findlib.cmx fl_args.cmx fl_lint.cmx
if [ 1 -gt 0 ]; then \
ocamlopt -I +compiler-libs -g -shared -o findlib.cmxs findlib_config.cmx fl_split.cmx fl_metatoken.cmx fl_meta.cmx fl_metascanner.cmx fl_topo.cmx fl_package_base.cmx findlib.cmx fl_args.cmx fl_lint.cmx; \
fi
ocamlopt -I +compiler-libs -g -opaque -c ocaml_args.ml
ocamlopt -I +compiler-libs -g -opaque -c frontend.ml
File "frontend.ml", line 1826, characters 16-29:
Warning 3: deprecated: Stdlib.String.create
Use Bytes.create instead.
ocamlopt -I +compiler-libs -g -o ocamlfind_opt findlib.cmxa unix.cmxa \
ocaml_args.cmx frontend.cmx
ocamlopt -I +compiler-libs -g -opaque -c topfind.ml
File "_none_", line 1:
Warning 58: no cmx file was found in path for module Topdirs, and its interface was not compiled with -opaque
File "_none_", line 1:
Warning 58: no cmx file was found in path for module Toploop, and its interface was not compiled with -opaque
ocamlopt -I +compiler-libs -g -a -o findlib_top.cmxa topfind.cmx
if [ 1 -gt 0 ]; then \
ocamlopt -I +compiler-libs -g -shared -o findlib_top.cmxs topfind.cmx; \
fi
ocamlopt -I +compiler-libs -g -opaque -c fl_dynload.ml
ocamlopt -I +compiler-libs -g -a -o findlib_dynload.cmxa fl_dynload.cmx
if [ 1 -gt 0 ]; then \
ocamlopt -I +compiler-libs -g -shared -o findlib_dynload.cmxs fl_dynload.cmx; \
fi
# esy-build-package: running: 'make' 'install'
mkdir -p "/Users/anthonymittaz/.esy/3___________________________________________________________/s/opam__s__ocamlfind-opam__c__1.8.1-29b79927/bin"
mkdir -p "/Users/anthonymittaz/.esy/3___________________________________________________________/s/opam__s__ocamlfind-opam__c__1.8.1-29b79927/man"
/Applications/Xcode.app/Contents/Developer/usr/bin/make install-config
mkdir -p "`dirname \"/Users/anthonymittaz/.esy/3___________________________________________________________/s/opam__s__ocamlfind-opam__c__1.8.1-29b79927/lib/findlib.conf\"`"
test -f "/Users/anthonymittaz/.esy/3___________________________________________________________/s/opam__s__ocamlfind-opam__c__1.8.1-29b79927/lib/findlib.conf" || cp findlib.conf "/Users/anthonymittaz/.esy/3___________________________________________________________/s/opam__s__ocamlfind-opam__c__1.8.1-29b79927/lib/findlib.conf"
for p in findlib; do ( cd src/$p; /Applications/Xcode.app/Contents/Developer/usr/bin/make install ); done
mkdir -p "/Users/anthonymittaz/.esy/3___________________________________________________________/s/opam__s__ocamlfind-opam__c__1.8.1-29b79927/lib/findlib"
mkdir -p "/Users/anthonymittaz/.esy/3___________________________________________________________/s/opam__s__ocamlfind-opam__c__1.8.1-29b79927/bin"
test 1 -eq 0 || cp topfind "/Users/anthonymittaz/.esy/3___________________________________________________________/i/ocaml-4.7.1004-e5a2754f/lib/ocaml"
cp: /Users/anthonymittaz/.esy/3___________________________________________________________/i/ocaml-4.7.1004-e5a2754f/lib/ocaml/topfind: Operation not permitted
make[1]: *** [install] Error 1
make: *** [install] Error 2
error: command failed: 'make' 'install' (exited with 2)
esy-build-package: exiting with errors above...
building @opam/ocamlfind@opam:1.8.1
esy: exiting due to errors above
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment