Skip to content

Failed to build js_of_ocaml-eio with ocaml.5.3.0, js_of_ocaml.6.0.1 #5

@kayceesrk

Description

@kayceesrk
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><>  🐫     
⬇ retrieved eio_js_backend.dev  (git+file:///Users/kc/repos/eio_js#main)
⬇ retrieved js_of_ocaml-eio.dev  (git+file:///Users/kc/repos/eio_js#main)                                              
⬇ retrieved eio_brr.dev  (git+file:///Users/kc/repos/eio_js#main)                  
∗ installed eio_js_backend.dev                                                                                         
∗ installed eio_brr.dev       
[ERROR] The compilation of js_of_ocaml-eio.dev failed at "dune build -p js_of_ocaml-eio -j 7 @install".
                                                                                                                       
#=== ERROR while compiling js_of_ocaml-eio.dev ================================#
# context     2.2.1 | macos/arm64 | ocaml-base-compiler.5.3.0 | pinned(git+file:///Users/kc/repos/eio_js#main#f8a49b800783ddf56c0046410c36557ff3df3386)
# path        ~/.opam/5.3.0/.opam-switch/build/js_of_ocaml-eio.dev                                              
# command     ~/.opam/opam-init/hooks/sandbox.sh build dune build -p js_of_ocaml-eio -j 7 @install             
# exit-code   1                                                                                                        
# env-file    ~/.opam/log/js_of_ocaml-eio-3828-0c0b3e.env                                                              
# output-file ~/.opam/log/js_of_ocaml-eio-3828-0c0b3e.out                                                              
### output ###                                                                                                         
# Error: The method call "x#requestAnimationFrame" has type                                                            
# [...]                                                                                                                
#          "(unit, float -> unit) Js_of_ocaml.Js.meth_callback ->                 
#          'res Js_of_ocaml.Js.meth"                                                                                   
#        Type                                                                                                          
#          "(Js_of_ocaml__.Js.number_t -> unit) Js_of_ocaml__.Js.callback" =
#            "(unit, Js_of_ocaml__.Js.number_t -> unit)
#            Js_of_ocaml.Js.meth_callback"
#        is not compatible with type
#          "(unit, float -> unit) Js_of_ocaml.Js.meth_callback"
#        Type
#          "Js_of_ocaml__.Js.number_t" = "Js_of_ocaml__.Js.number Js_of_ocaml.Js.t"
#        is not compatible with type "float"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions