Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dockerfile fails to build #12

Closed
copy opened this issue Jun 28, 2021 · 1 comment
Closed

Dockerfile fails to build #12

copy opened this issue Jun 28, 2021 · 1 comment

Comments

@copy
Copy link

copy commented Jun 28, 2021

With the following error, which is ocaml-ppx/ocaml-migrate-parsetree#89:

#=== ERROR while compiling ocaml-migrate-parsetree.2.2.0 ======================#
# context              2.0.8 | linux/x86_64 | ocaml-variants.4.12.0+domains+effects | file:///home/opam/opam-repository
# path                 ~/.opam/4.12/.opam-switch/build/ocaml-migrate-parsetree.2.2.0
# command              ~/.opam/4.12/bin/dune build -p ocaml-migrate-parsetree -j 47
# exit-code            1
# env-file             ~/.opam/log/ocaml-migrate-parsetree-7-7681ba.env
# output-file          ~/.opam/log/ocaml-migrate-parsetree-7-7681ba.out
### output ###
#       ocamlc src/.migrate_parsetree.objs/byte/migrate_parsetree__Ast_412.{cmi,cmo,cmt} (exit 2)
# (cd _build/default && /home/opam/.opam/4.12/bin/ocamlc.opt -w -40 -g -bin-annot -I src/.migrate_parsetree.objs/byte -I /home/opam/.opam/4.12/lib/ocaml/compiler-libs -no-alias-deps -open Migrate_parsetree__ -o src/.migrate_parsetree.objs/byte/migrate_parsetree__Ast_412.cmo -c -impl src/ast_412.pp.ml)
# File "src/ast_412.ml", lines 244-299, characters 2-44:
# Error: This variant or record definition does not match that of type
#          Parsetree.pattern_desc
#        Constructors number 17 have different names, Ppat_effect and Ppat_extension.
@talex5
Copy link
Collaborator

talex5 commented Sep 9, 2021

I think this is fixed now. At least, it builds on my machine and in CI. If it doesn't work for you, try pulling a newer version of the base image.

@talex5 talex5 closed this as completed Sep 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants