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

Latest master branch doesn't build against 4.05.0 #50

Closed
hcarty opened this issue Nov 29, 2017 · 0 comments
Closed

Latest master branch doesn't build against 4.05.0 #50

hcarty opened this issue Nov 29, 2017 · 0 comments

Comments

@hcarty
Copy link
Contributor

hcarty commented Nov 29, 2017

Tested under Ubuntu 16.04 64bit with OCaml 4.05.0 installed with opam after pinning with --dev-repo:

#=== ERROR while installing ocamlformat.v0.2 ==================================#
# opam-version 1.2.2        
# os           linux        
# command      make
# path         /home/hcarty/.opam/4.05.0/build/ocamlformat.v0.2
# compiler     4.05.0
# exit-code    2
# env-file     /home/hcarty/.opam/4.05.0/build/ocamlformat.v0.2/ocamlformat-76215-a71bb4.env
# stdout-file  /home/hcarty/.opam/4.05.0/build/ocamlformat.v0.2/ocamlformat-76215-a71bb4.out
# stderr-file  /home/hcarty/.opam/4.05.0/build/ocamlformat.v0.2/ocamlformat-76215-a71bb4.err
### stdout ###
# sed -e "s|@OPAM_SWITCH[@]|$(opam switch show)|g" src/jbuild-workspace.in > src/jbuild-workspace
# patching file src/Version.ml
# jbuilder build --root=src -j 4 ocamlformat.exe
# Makefile:35: recipe for target 'exe' failed
### stderr ###
# Entering directory '/home/hcarty/.opam/4.05.0/build/ocamlformat.v0.2/src'
# [...]
#     ocamlopt Ast.{cmx,o} [opt]
#     ocamlopt Translation_unit.{cmx,o} [dbg] (exit 2)
# (cd _build/dbg && /home/hcarty/.opam/4.05.0/bin/ocamlopt.opt -w +a-4-6-9-40-41-42-44-45-48@50 -strict-formats -strict-sequence -principal -short-paths -bin-annot -keep-docs -unboxed-types -open Import -g -opaque -w -a -I /home/hcarty/.opam/4.05.0/lib/base -I /home/hcarty/.opam/4.05.0/lib/base/caml -I /home/hcarty/.opam/4.05.0/lib/base/shadow_stdlib -I /home/hcarty/.opam/4.05.0/lib/bytes -I /home/hcarty/.opam/4.05.0/lib/cmdliner -I /home/hcarty/.opam/4.05.0/lib/ocaml -I /home/hcarty/.opam/4.05.0/lib/ocaml-migrate-parsetree -I /home/hcarty/.opam/4.05.0/lib/ocaml/compiler-libs -I /home/hcarty/.opam/4.05.0/lib/ocamlformat_support -I /home/hcarty/.opam/4.05.0/lib/result -I /home/hcarty/.opam/4.05.0/lib/sexplib/0 -I /home/hcarty/.opam/4.05.0/lib/stdio -I import -no-alias-deps -I . -o Translation_unit.cmx -c -impl Translation_unit.ml)
# File "Translation_unit.ml", line 133, characters 4-19:
# Error: The constructor Warnings.Errors expects 1 argument(s),
#        but is applied here to 0 argument(s)
# 
# Waiting for 1 job to finish.
# make: *** [exe] Error 1
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

1 participant