-
-
Notifications
You must be signed in to change notification settings - Fork 94
Closed
Description
esy version: 0.5.8
Operating System: macOS 10.14.5
Issue:
Installing too maby dependencies seems to break esy build
and yields the following error:
info esy build 0.5.8 (using package.json)
error: command failed: 'dune' 'build' '-p' 'spin' (exited with 127)
esy-build-package: exiting with errors above...
error: build failed with exit code: 1
esy: exiting due to errors above
However, running esy dune build -p spin
manually does not yield any error.
Package.json
Here's a package.json
that can reproduce the issue:
{
"name": "spin",
"version": "0.0.0",
"description": "Spin",
"esy": {
"build": "dune build -p #{self.name}",
"release": {
"releasedBinaries": [
"spin"
]
}
},
"buildDirs": {
"test": {
"require": [
"spin/lib",
"alcotest"
],
"bin": {
"test-spin.exe": "test_spin.ml"
}
},
"lib/gcloud": {
"require": [
"core",
"yojson",
"async",
"async_ssl",
"httpaf",
"httpaf-async"
]
},
"lib": {
"require": [
"core",
"spin/lib/gcloud"
]
},
"bin": {
"require": [
"spin/lib",
"core"
],
"preprocess": [
"pps",
"ppx_let"
],
"bin": {
"spin.exe": "spin.ml"
}
}
},
"scripts": {
"test": "esy b dune runtest",
"fmt": "sh -c \"ocamlformat -i $(find lib bin test -name '[^.]*.ml' -or -name '[^.]*.mli' -or -name '[^.]*.mlt')\""
},
"dependencies": {
"@opam/alcotest": "0.8.5",
"@opam/async": "v0.11.0",
"@opam/async_ssl": "v0.11.0",
"@opam/core": "v0.11.3",
"@opam/dune": "*",
"@opam/httpaf": "0.6.0",
"@opam/httpaf-async": "0.6.0",
"@opam/yojson": "1.7.0",
"ocaml": "~4.7.1004",
"pesy": "0.4.3"
},
"devDependencies": {
"@opam/merlin": "*",
"@opam/ocamlformat": "*",
"@opam/utop": "*"
},
"resolutions": {
"pesy": "esy/pesy#ba6359f25621280a8105d2ffc99d75d849c0d95a"
}
}
Metadata
Metadata
Assignees
Labels
No labels