Skip to content

Instantly share code, notes, and snippets.

@verbosemode
Created February 12, 2020 00:58
Show Gist options
  • Save verbosemode/7e7374309df5d6436a3400737fd8b3ad to your computer and use it in GitHub Desktop.
Save verbosemode/7e7374309df5d6436a3400737fd8b3ad to your computer and use it in GitHub Desktop.
dune-build unix domain socket exception
# Workspace root: /home/user/src/dune-usock-issue
Running[0]: /usr/bin/nproc > /tmp/dune91afe0.output 2> /dev/null
# Auto-detected concurrency: 2
# disable binary cache
Running[1]: /home/user/.opam/4.09.0/bin/ocamlc.opt -config > /tmp/duned555f5.output
# Dune context:
# { name = "default"
# ; kind = "default"
# ; profile = Dyn
# ; merlin = true
# ; for_host = None
# ; fdo_target_exe = None
# ; build_dir = "default"
# ; toplevel_path = Some External "/home/user/.opam/4.09.0/lib/toplevel"
# ; ocaml_bin = External "/home/user/.opam/4.09.0/bin"
# ; ocaml = External "/home/user/.opam/4.09.0/bin/ocaml"
# ; ocamlc = External "/home/user/.opam/4.09.0/bin/ocamlc.opt"
# ; ocamlopt = Some External "/home/user/.opam/4.09.0/bin/ocamlopt.opt"
# ; ocamldep = External "/home/user/.opam/4.09.0/bin/ocamldep.opt"
# ; ocamlmklib = External "/home/user/.opam/4.09.0/bin/ocamlmklib.opt"
# ;
# env =
# map
# { "DUNE_CONFIGURATOR" : "/home/user/.opam/4.09.0/bin/ocamlc.opt"
# ; "INSIDE_DUNE" : "1"
# ;
# "OCAMLFIND_IGNORE_DUPS_IN" :
# "/home/user/src/dune-usock-issue/_build/install/default/lib"
# ;
# "OCAMLPATH" :
# "/home/user/src/dune-usock-issue/_build/install/default/lib"
# ; "OCAML_COLOR" : "always"
# ; "OPAMCOLOR" : "always"
# }
# ; findlib_path = [ External "/home/user/.opam/4.09.0/lib" ]
# ; arch_sixtyfour = true
# ; natdynlink_supported = true
# ; supports_shared_libraries = true
# ; opam_vars = map {}
# ;
# ocaml_config =
# { version = "4.09.0"
# ; standard_library_default = "/home/user/.opam/4.09.0/lib/ocaml"
# ; standard_library = "/home/user/.opam/4.09.0/lib/ocaml"
# ; standard_runtime = "the_standard_runtime_variable_was_deleted"
# ; ccomp_type = "cc"
# ; c_compiler = "gcc"
# ; ocamlc_cflags = [ "-O2"; "-fno-strict-aliasing"; "-fwrapv"; "-fPIC" ]
# ; ocamlopt_cflags = [ "-O2"; "-fno-strict-aliasing"; "-fwrapv" ]
# ;
# bytecomp_c_compiler =
# [ "gcc"
# ; "-O2"
# ; "-fno-strict-aliasing"
# ; "-fwrapv"
# ; "-fPIC"
# ; "-D_FILE_OFFSET_BITS=64"
# ; "-D_REENTRANT"
# ]
# ; bytecomp_c_libraries = [ "-lm"; "-ldl"; "-lpthread" ]
# ;
# native_c_compiler =
# [ "gcc"
# ; "-O2"
# ; "-fno-strict-aliasing"
# ; "-fwrapv"
# ; "-D_FILE_OFFSET_BITS=64"
# ; "-D_REENTRANT"
# ]
# ; native_c_libraries = [ "-lm"; "-ldl" ]
# ; cc_profile = []
# ; architecture = "amd64"
# ; model = "default"
# ; int_size = 63
# ; word_size = 64
# ; system = "linux"
# ; asm = [ "as" ]
# ; 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 = "x86_64-pc-linux-gnu"
# ; target = "x86_64-pc-linux-gnu"
# ; profiling = false
# ; flambda = false
# ; spacetime = false
# ; safe_string = false
# ; exec_magic_number = "Caml1999X026"
# ; cmi_magic_number = "Caml1999I026"
# ; cmo_magic_number = "Caml1999O026"
# ; cma_magic_number = "Caml1999A026"
# ; cmx_magic_number = "Caml1999Y026"
# ; cmxa_magic_number = "Caml1999Z026"
# ; ast_impl_magic_number = "Caml1999M026"
# ; ast_intf_magic_number = "Caml1999N026"
# ; cmxs_magic_number = "Caml1999D026"
# ; cmt_magic_number = "Caml1999T026"
# ; natdynlink_supported = true
# ; supports_shared_libraries = true
# ; windows_unicode = false
# }
# ;
# which =
# map
# { "ocaml" : Some External "/home/user/.opam/4.09.0/bin/ocaml"
# ; "ocamlc" : Some External "/home/user/.opam/4.09.0/bin/ocamlc.opt"
# ;
# "ocamlobjinfo" :
# Some External "/home/user/.opam/4.09.0/bin/ocamlobjinfo.opt"
# }
# }
# Actual targets:
# - alias @@./default
Error: exception Sys_error("fail.sock: No such device or address")
Backtrace:
Raised by primitive operation at file "stdlib.ml", line 398, characters 28-54
Called from file "stdlib.ml" (inlined), line 406, characters 2-47
Called from file "digest.ml", line 39, characters 11-31
Called from file "src/stdune/digest.ml" (inlined), line 14, characters 13-38
Called from file "src/stdune/digest.ml", line 42, characters 13-19
Called from file "src/dune/cached_digest.ml", line 95, characters 15-45
Called from file "src/dune/cached_digest.ml" (inlined), line 131, characters 12-22
Called from file "src/dune/dep.ml", line 57, characters 42-63
Called from file "src/dune/dep.ml", line 62, characters 28-43
Called from file "src/stdune/list.ml", line 19, characters 12-15
Called from file "src/dune/dep.ml", line 133, characters 6-74
Called from file "src/dune/build_system.ml", line 1256, characters 8-56
Called from file "src/fiber/fiber.ml", line 114, characters 10-15
Re-raised at file "src/stdune/exn.ml" (inlined), line 37, characters 27-56
Called from file "src/stdune/exn_with_backtrace.ml", line 13, characters 33-71
Called from file "src/fiber/fiber.ml", line 85, characters 10-17
Re-raised at file "src/stdune/exn.ml" (inlined), line 37, characters 27-56
Called from file "src/stdune/exn_with_backtrace.ml", line 13, characters 33-71
Called from file "src/fiber/fiber.ml", line 85, characters 10-17
Re-raised at file "src/stdune/exn.ml" (inlined), line 37, characters 27-56
Called from file "src/stdune/exn_with_backtrace.ml", line 13, characters 33-71
Called from file "src/fiber/fiber.ml", line 85, characters 10-17
Re-raised at file "src/stdune/exn.ml" (inlined), line 37, characters 27-56
Called from file "src/stdune/exn_with_backtrace.ml", line 13, characters 33-71
Called from file "src/fiber/fiber.ml", line 85, characters 10-17
I must not segfault. Uncertainty is the mind-killer. Exceptions are
the little-death that brings total obliteration. I will fully express
my cases. Execution will pass over me and through me. And when it
has gone past, I will unwind the stack along its path. Where the
cases are handled there will be nothing. Only I will remain.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment