@@ -43,61 +43,15 @@ Reproduction case for https://github.com/ocaml/dune/issues/12018
4343
4444 $ LIBEX= $ (realpath " $ PWD /libexample" )
4545 $ DYLD_LIBRARY_PATH= " $ LIBEX" LD_LIBRARY_PATH= " $ LIBEX" PKG_CONFIG_PATH= " $ LIBEX /pkgconfig" PKG_CONFIG_ARGN= " --define-prefix" dune exec ./ foo. exe
46- Internal error, please report upstream including the contents of _build/ log .
47- Description:
48- (" link_many: unable to find module" ,
49- { main_module_name = " Libexample__type_gen"
50- ; modules =
51- Modules
52- (Singleton
53- { source =
54- { path = [ " Foo" ]
55- ; files =
56- { impl =
57- Some
58- { path = In_build_dir " default/foo.ml"
59- ; original_path = In_build_dir " default/foo.ml"
60- ; dialect = " ocaml"
61- }
62- ; intf =
63- Some
64- { path = In_build_dir " default/foo.mli"
65- ; original_path = In_build_dir " default/foo.mli"
66- ; dialect = " ocaml"
67- }
68- }
69- }
70- ; obj_name = " dune__exe__Foo"
71- ; pp = None
72- ; visibility = " public"
73- ; kind = " impl"
74- ; install_as = None
75- })
76- })
77- Raised at Stdune__Code_error. raise in file
78- " otherlibs/stdune/src/code_error.ml" , line 10 , characters 30 -62
79- Called from Dune_rules__Exe. link_many. (fun) in file " src/dune_rules/exe.ml" ,
80- lines 312 -316, characters 12 -15
81- Called from Fiber__Scheduler. exec in file " src/fiber/src/scheduler.ml" , line
82- 76 , characters 8 -11
83- Re-raised at Stdune__Exn. raise_with_backtrace in file
84- " otherlibs/stdune/src/exn.ml" , line 38 , characters 27 -56
85- Called from Fiber__Scheduler. exec in file " src/fiber/src/scheduler.ml" , line
86- 76 , characters 8 -11
87- Re-raised at Stdune__Exn. raise_with_backtrace in file
88- " otherlibs/stdune/src/exn.ml" , line 38 , characters 27 -56
89- Called from Fiber__Scheduler. exec in file " src/fiber/src/scheduler.ml" , line
90- 76 , characters 8 -11
91- Re-raised at Stdune__Exn. raise_with_backtrace in file
92- " otherlibs/stdune/src/exn.ml" , line 38 , characters 27 -56
93- Called from Fiber__Scheduler. exec in file " src/fiber/src/scheduler.ml" , line
94- 76 , characters 8 -11
95- -> required by (" <unnamed>" , ())
96- -> required by (" load-dir" , In_build_dir " default" )
97-
98- I must not crash. Uncertainty is the mind-killer. Exceptions are the
99- little-death that brings total obliteration. I will fully express my cases.
100- Execution will pass over me and through me. And when it has gone past, I
101- will unwind the stack along its path. Where the cases are handled there will
102- be nothing . Only I will remain.
46+ File " dune" , line 3 , characters 10 -13:
47+ 3 | (modules foo)
48+ ^^ ^
49+ Error: Module Function_description is required by ctypes at dune: 13 but is
50+ missing in the modules field of the stanza.
51+ File " dune" , line 3 , characters 10 -13:
52+ 3 | (modules foo)
53+ ^^ ^
54+ Error: Module Type_description is required by ctypes at dune: 10 but is
55+ missing in the modules field of the stanza.
10356 [1 ]
57+
0 commit comments