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

DrawGrammar < 0.2.2 is not compatible with JsOfCairo 2.0 #22710

Merged
merged 1 commit into from
Dec 18, 2022

Conversation

kit-ty-kate
Copy link
Member

#=== ERROR while compiling DrawGrammar.0.2.0 ==================================#
# context              2.2.0~alpha~dev | linux/x86_64 | ocaml-base-compiler.4.03.0 | file:///home/opam/opam-repository
# path                 ~/.opam/4.03/.opam-switch/build/DrawGrammar.0.2.0
# command              ~/.opam/opam-init/hooks/sandbox.sh build sh -c cd src; ocamlbuild -use-ocamlfind -no-plugin -menhir "menhir --table" draw_grammar.native
# exit-code            10
# env-file             ~/.opam/log/DrawGrammar-8-c06d8e.env
# output-file          ~/.opam/log/DrawGrammar-8-c06d8e.out
### output ###
# ocamlfind ocamldep -package menhirLib -package cairo2 -package js_of_ocaml.ppx -package js_of_ocaml -package JsOfOCairo -package General -modules draw_grammar.ml > draw_grammar.ml.depends
# ocamlfind ocamldep -package menhirLib -package cairo2 -package js_of_ocaml.ppx -package js_of_ocaml -package JsOfOCairo -package General -modules Drawer.ml > Drawer.ml.depends
# ocamlfind ocamldep -package menhirLib -package cairo2 -package js_of_ocaml.ppx -package js_of_ocaml -package JsOfOCairo -package General -modules Grammar.mli > Grammar.mli.depends
# ocamlfind ocamlc -c -safe-string -strict-formats -strict-sequence -package menhirLib -package cairo2 -package js_of_ocaml.ppx -package js_of_ocaml -package JsOfOCairo -package General -w @A-4-44-48 -o Grammar.cmi Grammar.mli
# ocamlfind ocamldep -package menhirLib -package cairo2 -package js_of_ocaml.ppx -package js_of_ocaml -package JsOfOCairo -package General -modules Parse.ml > Parse.ml.depends
# /home/opam/.opam/4.03/bin/ocamllex.opt -q IsoEbnf_Lexer.mll
# ocamlfind ocamldep -package menhirLib -package cairo2 -package js_of_ocaml.ppx -package js_of_ocaml -package JsOfOCairo -package General -modules IsoEbnf_Lexer.ml > IsoEbnf_Lexer.ml.depends
# menhir --table --raw-depend --ocamldep 'ocamlfind ocamldep -modules' IsoEbnf_Parser.mly > IsoEbnf_Parser.mly.depends
# menhir --table --ocamlc 'ocamlfind ocamlc -safe-string -strict-formats -strict-sequence -package menhirLib -package cairo2 -package js_of_ocaml.ppx -package js_of_ocaml -package JsOfOCairo -package General -w @A-9-44' --infer IsoEbnf_Parser.mly
# ocamlfind ocamldep -package menhirLib -package cairo2 -package js_of_ocaml.ppx -package js_of_ocaml -package JsOfOCairo -package General -modules IsoEbnf_Parser.mli > IsoEbnf_Parser.mli.depends
# ocamlfind ocamlc -c -safe-string -strict-formats -strict-sequence -package menhirLib -package cairo2 -package js_of_ocaml.ppx -package js_of_ocaml -package JsOfOCairo -package General -w @A-4-44-48 -o IsoEbnf_Parser.cmi IsoEbnf_Parser.mli
# ocamlfind ocamldep -package menhirLib -package cairo2 -package js_of_ocaml.ppx -package js_of_ocaml -package JsOfOCairo -package General -modules IsoEbnf_Messages.ml > IsoEbnf_Messages.ml.depends
# /home/opam/.opam/4.03/bin/ocamllex.opt -q OCamlETexEbnf_Lexer.mll
# ocamlfind ocamldep -package menhirLib -package cairo2 -package js_of_ocaml.ppx -package js_of_ocaml -package JsOfOCairo -package General -modules OCamlETexEbnf_Lexer.ml > OCamlETexEbnf_Lexer.ml.depends
# menhir --table --raw-depend --ocamldep 'ocamlfind ocamldep -modules' OCamlETexEbnf_Parser.mly > OCamlETexEbnf_Parser.mly.depends
# menhir --table --ocamlc 'ocamlfind ocamlc -safe-string -strict-formats -strict-sequence -package menhirLib -package cairo2 -package js_of_ocaml.ppx -package js_of_ocaml -package JsOfOCairo -package General -w @A-9-44' --infer OCamlETexEbnf_Parser.mly
# ocamlfind ocamldep -package menhirLib -package cairo2 -package js_of_ocaml.ppx -package js_of_ocaml -package JsOfOCairo -package General -modules OCamlETexEbnf_Parser.mli > OCamlETexEbnf_Parser.mli.depends
# ocamlfind ocamlc -c -safe-string -strict-formats -strict-sequence -package menhirLib -package cairo2 -package js_of_ocaml.ppx -package js_of_ocaml -package JsOfOCairo -package General -w @A-4-44-48 -o OCamlETexEbnf_Parser.cmi OCamlETexEbnf_Parser.mli
# ocamlfind ocamldep -package menhirLib -package cairo2 -package js_of_ocaml.ppx -package js_of_ocaml -package JsOfOCairo -package General -modules OCamlETexEbnf_Messages.ml > OCamlETexEbnf_Messages.ml.depends
# /home/opam/.opam/4.03/bin/ocamllex.opt -q PythonEbnf_Lexer.mll
# ocamlfind ocamldep -package menhirLib -package cairo2 -package js_of_ocaml.ppx -package js_of_ocaml -package JsOfOCairo -package General -modules PythonEbnf_Lexer.ml > PythonEbnf_Lexer.ml.depends
# menhir --table --raw-depend --ocamldep 'ocamlfind ocamldep -modules' PythonEbnf_Parser.mly > PythonEbnf_Parser.mly.depends
# menhir --table --ocamlc 'ocamlfind ocamlc -safe-string -strict-formats -strict-sequence -package menhirLib -package cairo2 -package js_of_ocaml.ppx -package js_of_ocaml -package JsOfOCairo -package General -w @A-9-44' --infer PythonEbnf_Parser.mly
# ocamlfind ocamldep -package menhirLib -package cairo2 -package js_of_ocaml.ppx -package js_of_ocaml -package JsOfOCairo -package General -modules PythonEbnf_Parser.mli > PythonEbnf_Parser.mli.depends
# ocamlfind ocamlc -c -safe-string -strict-formats -strict-sequence -package menhirLib -package cairo2 -package js_of_ocaml.ppx -package js_of_ocaml -package JsOfOCairo -package General -w @A-4-44-48 -o PythonEbnf_Parser.cmi PythonEbnf_Parser.mli
# ocamlfind ocamldep -package menhirLib -package cairo2 -package js_of_ocaml.ppx -package js_of_ocaml -package JsOfOCairo -package General -modules PythonEbnf_Messages.ml > PythonEbnf_Messages.ml.depends
# ocamlfind ocamlc -c -safe-string -strict-formats -strict-sequence -package menhirLib -package cairo2 -package js_of_ocaml.ppx -package js_of_ocaml -package JsOfOCairo -package General -w @A-4-44-48 -o IsoEbnf_Lexer.cmo IsoEbnf_Lexer.ml
# ocamlfind ocamlc -c -safe-string -strict-formats -strict-sequence -package menhirLib -package cairo2 -package js_of_ocaml.ppx -package js_of_ocaml -package JsOfOCairo -package General -w @A-4-44-48 -o IsoEbnf_Messages.cmo IsoEbnf_Messages.ml
# ocamlfind ocamlc -c -safe-string -strict-formats -strict-sequence -package menhirLib -package cairo2 -package js_of_ocaml.ppx -package js_of_ocaml -package JsOfOCairo -package General -w @A-4-44-48 -o OCamlETexEbnf_Lexer.cmo OCamlETexEbnf_Lexer.ml
# ocamlfind ocamlc -c -safe-string -strict-formats -strict-sequence -package menhirLib -package cairo2 -package js_of_ocaml.ppx -package js_of_ocaml -package JsOfOCairo -package General -w @A-4-44-48 -o OCamlETexEbnf_Messages.cmo OCamlETexEbnf_Messages.ml
# ocamlfind ocamlc -c -safe-string -strict-formats -strict-sequence -package menhirLib -package cairo2 -package js_of_ocaml.ppx -package js_of_ocaml -package JsOfOCairo -package General -w @A-4-44-48 -o PythonEbnf_Lexer.cmo PythonEbnf_Lexer.ml
# ocamlfind ocamlc -c -safe-string -strict-formats -strict-sequence -package menhirLib -package cairo2 -package js_of_ocaml.ppx -package js_of_ocaml -package JsOfOCairo -package General -w @A-4-44-48 -o PythonEbnf_Messages.cmo PythonEbnf_Messages.ml
# ocamlfind ocamlc -c -safe-string -strict-formats -strict-sequence -package menhirLib -package cairo2 -package js_of_ocaml.ppx -package js_of_ocaml -package JsOfOCairo -package General -w @A-4-44-48 -o Drawer.cmo Drawer.ml
# + ocamlfind ocamlc -c -safe-string -strict-formats -strict-sequence -package menhirLib -package cairo2 -package js_of_ocaml.ppx -package js_of_ocaml -package JsOfOCairo -package General -w @A-4-44-48 -o Drawer.cmo Drawer.ml
# File "Drawer.ml", line 66, characters 25-26:
# Error: The function applied to this argument has type float -> float -> unit
# This argument cannot be applied with label ~x
# Command exited with code 2.

@kit-ty-kate kit-ty-kate merged commit 789990a into ocaml:master Dec 18, 2022
@kit-ty-kate kit-ty-kate deleted the fix-147 branch December 18, 2022 11:58
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

Successfully merging this pull request may close these issues.

1 participant