Skip to content

Instantly share code, notes, and snippets.

@hcarty
Created June 21, 2019 15:00
Show Gist options
  • Save hcarty/cf9cdde677c02750f3141f65455a6305 to your computer and use it in GitHub Desktop.
Save hcarty/cf9cdde677c02750f3141f65455a6305 to your computer and use it in GitHub Desktop.
esy error
$ esy
info esy 0.6.0 (using esy.json)
info checking https://github.com/ocaml/opam-repository for updates...
info checking https://github.com/esy-ocaml/esy-opam-override for updates...
info resolving esy packages: done
esy: internal error, uncaught exception:
(Failure
"inconsistent state: found a package not in the cudf version map @opam/mysql@link:../upstream/ocaml-mysql")
Raised at file "pervasives.ml", line 32, characters 17-33
Called from file "esy-solve/Universe.re", line 638, characters 22-189
Called from file "list.ml", line 82, characters 20-23
Called from file "list.ml", line 82, characters 20-23
Called from file "esy-solve/Universe.re", line 669, characters 6-52
Called from file "list.ml", line 100, characters 12-15
Called from file "map.ml", line 291, characters 20-25
Called from file "map.ml", line 291, characters 10-18
Called from file "esy-solve/Universe.re", line 692, characters 2-107
Called from file "esy-solve/Solver.re", line 635, characters 4-59
Called from file "esy-solve/Solver.re", line 1027, characters 6-228
Called from file "src/core/lwt.ml", line 1866, characters 23-26
Re-raised at file "src/core/lwt.ml", line 2998, characters 20-29
Called from file "src/unix/lwt_main.ml", line 26, characters 8-18
Called from file "esy-lib/Cli.re", line 263, characters 9-28
Called from file "cmdliner_term.ml", line 25, characters 19-24
Called from file "cmdliner.ml", line 25, characters 27-34
Called from file "cmdliner.ml", line 116, characters 32-39
{
"name": "esy test",
"dependencies": {
"@opam/mysql": "*"
},
"resolutions": {
"@opam/mysql": "link:../upstream/ocaml-mysql"
}
}
{
"name": "esy-mariadb-connector-c",
"version": "3.1.0000",
"description": "Mirror of mariadb-connector-c",
"license": "MIT",
"esy": {
"build": [
["bash", "-c", "#{os == 'windows' ? './esy/configure-windows.sh' : './esy/configure.sh'}"],
["./esy/build.sh"]
],
"buildsInSource": "_build"
},
"dependencies": {
"esy-cmake": "^0.3.2"
},
"devDependencies": {
"esy-cmake": "^0.3.2"
}
}
{
"source": "./mysql.opam",
"override": {
"buildsInSource": "unsafe",
"dependencies": {
"mariadb-connector-c": "*"
},
"resolutions": {
"mariadb-connector-c": "link:../mariadb-connector-c"
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment