-
Notifications
You must be signed in to change notification settings - Fork 470
dune (with melange) in Windows causes a crash #11645
Copy link
Copy link
Closed
Labels
melangeMelange rules and generatorMelange rules and generatorwindowsIssues that relate to Dune on Microsoft WindowsIssues that relate to Dune on Microsoft Windows
Description
It seems like dune (with melange) in Windows causes a crash.
Internal error, please report upstream including the contents of _build/log.
Description:
("Path.drop_prefix_exn",
{ t =
External
"D:\\a\\query-json\\query-json\\_opam\\lib\\melange-webapi\\Webapi"
; prefix =
External "D:\\a\\query-json\\query-json\\_opam\\lib\\melange-webapi"
})
Raised at Stdune__Code_error.raise in file
"otherlibs/stdune/src\\code_error.ml", line 10, characters 30-62
Called from Dune_rules__Melange_rules.lib_output_path in file
"src/dune_rules\\melange\\melange_rules.ml" (inlined), line [25](https://github.com/davesnx/query-json/actions/runs/14620157464/job/41017829977?pr=40#step:8:26), characters
8-48
Called from Dune_rules__Melange_rules.make_js_name in file
"src/dune_rules\\melange\\melange_rules.ml", line 35, characters 21-65
Called from Dune_rules__Melange_rules.js_targets_of_libs.(fun).of_lib.(fun)
in file "src/dune_rules\\melange\\melange_rules.ml", line 174, characters
54-84
Called from Stdlib__List.rev_map.rmap_f in file "list.ml", line 105,
characters 22-25
Called from Fiber__Core.O.(>>|).(fun) in file "vendor/fiber/src\\core.ml",
line 253, characters [36](https://github.com/davesnx/query-json/actions/runs/14620157464/job/41017829977?pr=40#step:8:37)-41
Called from Fiber__Scheduler.exec in file "vendor/fiber/src\\scheduler.ml",
line 76, characters 8-11
-> required by ("<unnamed>", ())
-> required by
("build-alias", { dir = In_build_dir "default/website"; name = "all" })
-> required by ("toplevel", ())
Not a great repro, but here's the crash: https://github.com/davesnx/query-json/actions/runs/14620157464/job/41017829977?pr=40#step:8:23
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
melangeMelange rules and generatorMelange rules and generatorwindowsIssues that relate to Dune on Microsoft WindowsIssues that relate to Dune on Microsoft Windows