Skip to content

Instantly share code, notes, and snippets.

@jchavarri
Created February 11, 2020 19:01
Show Gist options
  • Save jchavarri/951b32b2cab46c8fc0c0737ead638c7b to your computer and use it in GitHub Desktop.
Save jchavarri/951b32b2cab46c8fc0c0737ead638c7b to your computer and use it in GitHub Desktop.
hello-reason 4.06 error
info esy 0.6.0 (using package.json)
info checking https://github.com/ocaml/opam-repository for updates...
info checking https://github.com/esy-ocaml/esy-opam-override for updates...
info resolving esy packages: done
info solving esy constraints: done
info resolving npm packages: done
info fetching: done
info installing: done
info building @opam/uchar@opam:0.0.2@c8218eea
info building @opam/ocamlfind-secondary@opam:1.8.1@9b0e1546
info building @opam/uchar@opam:0.0.2@c8218eea: done
info building @opam/uutf@opam:1.0.2@4440868f
error: build failed with exit code: 1
build log:
# esy-build-package: building: @opam/ocamlfind-secondary@opam:1.8.1
# esy-build-package: pwd: /Users/javi/.esy/3/b/opam__s__ocamlfind_secondary-opam__c__1.8.1-bb3faeb0
# esy-build-package: running: 'substs' 'META.in'
# esy-build-package: running: 'substs' 'ocaml-secondary-compiler.conf.in'
# esy-build-package: running: './configure' '-sitelib' '/Users/javi/.esy/3____________________________________________________________________/i/opam__s__ocaml_secondary_compiler-opam__c__4.08.1-071830cd/share/ocaml-secondary-compiler/lib' '-no-camlp4'
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: disabled
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/javi/.esy/3____________________________________________________________________/i/ocaml-4.6.1000-a4275564/lib/ocaml
Binaries: /Users/javi/.esy/3____________________________________________________________________/i/ocaml-4.6.1000-a4275564/bin
Manual pages: /Users/javi/.esy/3____________________________________________________________________/i/ocaml-4.6.1000-a4275564/man
Multi-threading type: posix
The directory of site-specific packages will be
site-lib: /Users/javi/.esy/3____________________________________________________________________/i/opam__s__ocaml_secondary_compiler-opam__c__4.08.1-071830cd/share/ocaml-secondary-compiler/lib
The configuration file is written to:
findlib config file: /Users/javi/.esy/3____________________________________________________________________/i/ocaml-4.6.1000-a4275564/etc/findlib.conf
Software will be installed:
Libraries: in <site-lib>/findlib
Binaries: /Users/javi/.esy/3____________________________________________________________________/i/ocaml-4.6.1000-a4275564/bin
Manual pages: /Users/javi/.esy/3____________________________________________________________________/i/ocaml-4.6.1000-a4275564/man
topfind script: /Users/javi/.esy/3____________________________________________________________________/i/ocaml-4.6.1000-a4275564/lib/ocaml
Topfind ppxopt support: yes
Toolbox: no
Link custom runtime: yes
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' 'install-meta'
for x in `ls site-lib-src`; do if [ -f "site-lib-src/$x/META" ]; then mkdir -p "/Users/javi/.esy/3____________________________________________________________________/i/opam__s__ocaml_secondary_compiler-opam__c__4.08.1-071830cd/share/ocaml-secondary-compiler/lib/$x"; cp site-lib-src/$x/META "/Users/javi/.esy/3____________________________________________________________________/i/opam__s__ocaml_secondary_compiler-opam__c__4.08.1-071830cd/share/ocaml-secondary-compiler/lib/$x"; fi; done
mkdir: /Users/javi/.esy/3____________________________________________________________________/i/opam__s__ocaml_secondary_compiler-opam__c__4.08.1-071830cd/share/ocaml-secondary-compiler/lib/bigarray: Operation not permitted
cp: /Users/javi/.esy/3____________________________________________________________________/i/opam__s__ocaml_secondary_compiler-opam__c__4.08.1-071830cd/share/ocaml-secondary-compiler/lib/bigarray: Operation not permitted
mkdir: /Users/javi/.esy/3____________________________________________________________________/i/opam__s__ocaml_secondary_compiler-opam__c__4.08.1-071830cd/share/ocaml-secondary-compiler/lib/bytes: Operation not permitted
cp: /Users/javi/.esy/3____________________________________________________________________/i/opam__s__ocaml_secondary_compiler-opam__c__4.08.1-071830cd/share/ocaml-secondary-compiler/lib/bytes: Operation not permitted
cp: /Users/javi/.esy/3____________________________________________________________________/i/opam__s__ocaml_secondary_compiler-opam__c__4.08.1-071830cd/share/ocaml-secondary-compiler/lib/compiler-libs/META: Operation not permitted
mkdir: /Users/javi/.esy/3____________________________________________________________________/i/opam__s__ocaml_secondary_compiler-opam__c__4.08.1-071830cd/share/ocaml-secondary-compiler/lib/dynlink: Operation not permitted
cp: /Users/javi/.esy/3____________________________________________________________________/i/opam__s__ocaml_secondary_compiler-opam__c__4.08.1-071830cd/share/ocaml-secondary-compiler/lib/dynlink: Operation not permitted
cp: /Users/javi/.esy/3____________________________________________________________________/i/opam__s__ocaml_secondary_compiler-opam__c__4.08.1-071830cd/share/ocaml-secondary-compiler/lib/ocamldoc/META: Operation not permitted
mkdir: /Users/javi/.esy/3____________________________________________________________________/i/opam__s__ocaml_secondary_compiler-opam__c__4.08.1-071830cd/share/ocaml-secondary-compiler/lib/raw_spacetime: Operation not permitted
cp: /Users/javi/.esy/3____________________________________________________________________/i/opam__s__ocaml_secondary_compiler-opam__c__4.08.1-071830cd/share/ocaml-secondary-compiler/lib/raw_spacetime: Operation not permitted
mkdir: /Users/javi/.esy/3____________________________________________________________________/i/opam__s__ocaml_secondary_compiler-opam__c__4.08.1-071830cd/share/ocaml-secondary-compiler/lib/stdlib: Operation not permitted
cp: /Users/javi/.esy/3____________________________________________________________________/i/opam__s__ocaml_secondary_compiler-opam__c__4.08.1-071830cd/share/ocaml-secondary-compiler/lib/stdlib: Operation not permitted
mkdir: /Users/javi/.esy/3____________________________________________________________________/i/opam__s__ocaml_secondary_compiler-opam__c__4.08.1-071830cd/share/ocaml-secondary-compiler/lib/str: Operation not permitted
cp: /Users/javi/.esy/3____________________________________________________________________/i/opam__s__ocaml_secondary_compiler-opam__c__4.08.1-071830cd/share/ocaml-secondary-compiler/lib/str: Operation not permitted
cp: /Users/javi/.esy/3____________________________________________________________________/i/opam__s__ocaml_secondary_compiler-opam__c__4.08.1-071830cd/share/ocaml-secondary-compiler/lib/threads/META: Operation not permitted
mkdir: /Users/javi/.esy/3____________________________________________________________________/i/opam__s__ocaml_secondary_compiler-opam__c__4.08.1-071830cd/share/ocaml-secondary-compiler/lib/unix: Operation not permitted
cp: /Users/javi/.esy/3____________________________________________________________________/i/opam__s__ocaml_secondary_compiler-opam__c__4.08.1-071830cd/share/ocaml-secondary-compiler/lib/unix: Operation not permitted
make: *** [install-meta] Error 1
error: command failed: 'make' 'install-meta' (exited with 2)
esy-build-package: exiting with errors above...
building @opam/ocamlfind-secondary@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