Skip to content

Instantly share code, notes, and snippets.

@seanbreckenridge
Created September 17, 2023 22:11
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 seanbreckenridge/737c672c93302caa0c2f0a5cb5937a0a to your computer and use it in GitHub Desktop.
Save seanbreckenridge/737c672c93302caa0c2f0a5cb5937a0a to your computer and use it in GitHub Desktop.
[ /data/data/com.termux/files/usr/tmp/3mZRdb5YyY/dune | main ] $ ./dune.exe build dune.install --verbose
Warning: Unable to read directory /data/data. Will not look for root in
parent directories.
Reason: /data/data: Permission denied
To remove this warning, set your root explicitly using --root.
Shared cache: disabled
Workspace root: /data/data/com.termux/files/usr/tmp/3mZRdb5YyY/dune
Auto-detected concurrency: 8
Dune context:
{ name = "default"
; kind = "default"
; profile = Dev
; merlin = true
; for_host = None
; fdo_target_exe = None
; build_dir = In_build_dir "default"
; ocaml_bin = External "/data/data/com.termux/files/home/.opam/5.0.0/bin"
; ocaml =
Ok External "/data/data/com.termux/files/home/.opam/5.0.0/bin/ocaml"
; ocamlc =
External "/data/data/com.termux/files/home/.opam/5.0.0/bin/ocamlc.opt"
; ocamlopt =
Ok
External
"/data/data/com.termux/files/home/.opam/5.0.0/bin/ocamlopt.opt"
; ocamldep =
Ok
External
"/data/data/com.termux/files/home/.opam/5.0.0/bin/ocamldep.opt"
; ocamlmklib =
Ok
External
"/data/data/com.termux/files/home/.opam/5.0.0/bin/ocamlmklib.opt"
; installed_env =
map
{ "INSIDE_DUNE" :
"/data/data/com.termux/files/usr/tmp/3mZRdb5YyY/dune/_build/default"
; "OCAML_COLOR" : "always"
; "OPAMCOLOR" : "always"
}
; findlib_paths =
[ External "/data/data/com.termux/files/home/.opam/5.0.0/lib/ocaml"
; External "/data/data/com.termux/files/home/.opam/5.0.0/lib"
]
; ocaml_config =
{ version = "5.0.0"
; standard_library_default =
"/data/data/com.termux/files/home/.opam/5.0.0/lib/ocaml"
; standard_library =
"/data/data/com.termux/files/home/.opam/5.0.0/lib/ocaml"
; standard_runtime = "the_standard_runtime_variable_was_deleted"
; ccomp_type = "cc"
; c_compiler = "gcc"
; ocamlc_cflags =
[ "-O2"; "-fno-strict-aliasing"; "-fwrapv"; "-pthread"; "-fPIC" ]
; ocamlc_cppflags = [ "-D_FILE_OFFSET_BITS=64" ]
; ocamlopt_cflags =
[ "-O2"; "-fno-strict-aliasing"; "-fwrapv"; "-pthread"; "-fPIC" ]
; ocamlopt_cppflags = [ "-D_FILE_OFFSET_BITS=64" ]
; bytecomp_c_compiler =
[ "gcc"
; "-O2"
; "-fno-strict-aliasing"
; "-fwrapv"
; "-pthread"
; "-fPIC"
; "-D_FILE_OFFSET_BITS=64"
]
; bytecomp_c_libraries = [ "-lm"; "-lpthread" ]
; native_c_compiler =
[ "gcc"
; "-O2"
; "-fno-strict-aliasing"
; "-fwrapv"
; "-pthread"
; "-fPIC"
; "-D_FILE_OFFSET_BITS=64"
]
; native_c_libraries = [ "-lm"; "-lpthread" ]
; native_pack_linker = [ "ld"; "-r"; "-o" ]
; cc_profile = []
; architecture = "arm64"
; model = "default"
; int_size = 63
; word_size = 64
; system = "linux"
; asm = [ "gcc"; "-c" ]
; asm_cfi_supported = true
; with_frame_pointers = false
; ext_exe = ""
; ext_obj = ".o"
; ext_asm = ".s"
; ext_lib = ".a"
; ext_dll = ".so"
; os_type = "Unix"
; default_executable_name = "a.out"
; systhread_supported = true
; host = "aarch64-unknown-linux-gnu"
; target = "aarch64-unknown-linux-gnu"
; profiling = false
; flambda = false
; spacetime = false
; safe_string = true
; exec_magic_number = "Caml1999X032"
; cmi_magic_number = "Caml1999I032"
; cmo_magic_number = "Caml1999O032"
; cma_magic_number = "Caml1999A032"
; cmx_magic_number = "Caml1999Y032"
; cmxa_magic_number = "Caml1999Z032"
; ast_impl_magic_number = "Caml1999M032"
; ast_intf_magic_number = "Caml1999N032"
; cmxs_magic_number = "Caml1999D032"
; cmt_magic_number = "Caml1999T032"
; natdynlink_supported = true
; supports_shared_libraries = true
; windows_unicode = false
}
; instrument_with = []
}
Actual targets:
- _build/default/dune.install
Error: /data/data: Permission denied
-> required by
_build/default/bin/.main.eobjs/build_info__Build_info_data.ml-gen
-> required by
_build/default/bin/.main.eobjs/native/build_info__Build_info_data.cmx
-> required by _build/default/bin/main.exe
-> required by _build/install/default/bin/dune
-> required by _build/default/dune.install
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment