akabe / slap

BLAS and LAPACK binding in OCaml with type-based static size checking for matrix operations
http://akabe.github.io/slap/
GNU Lesser General Public License v2.1
88 stars 4 forks source link

Slap 2.0.2 fails to build with Lacaml 8.0.4 #2

Closed mindbound closed 8 years ago

mindbound commented 8 years ago

Build log:

The following actions will be performed:
  ∗  install slap 2.0.2

=-=- Gathering sources =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
[slap] Archive in cache

=-=- Processing actions -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
[ERROR] The compilation of slap failed at "ocaml setup.ml -build".
Processing  1/1: [slap: ocamlfind remove]
#=== ERROR while installing slap.2.0.2 ========================================#
# opam-version 1.2.2
# os           linux
# command      ocaml setup.ml -build
# path         /home/mindbound/.opam/system/build/slap.2.0.2
# compiler     system (4.02.3)
# exit-code    1
# env-file     /home/mindbound/.opam/system/build/slap.2.0.2/slap-25598-e7966f.env
# stdout-file  /home/mindbound/.opam/system/build/slap.2.0.2/slap-25598-e7966f.out
# stderr-file  /home/mindbound/.opam/system/build/slap.2.0.2/slap-25598-e7966f.err
### stdout ###
# Error: This expression has type
# [...]
#          ?ofsx:int ->
#          ?incx:int ->
#          Lacaml_float32.vec ->
#          ?ofsy:int -> ?incy:int -> Lacaml_float32.vec -> unit
#        is not compatible with type
#          ?z:I.vec ->
#          ?ofsx:int ->
#          ?incx:int -> I.vec -> ?ofsy:int -> ?incy:int -> I.vec -> 'a 
# Command exited with code 2.
### stderr ###
# E: Failure("Command ''/usr/bin/ocamlbuild' lib/libslap_stubs.a lib/dllslap_stubs.so lib/slap.cma lib/slap.cmxa lib/slap.a lib/slap.cmxs lib/slap_top.cma lib/slap_top.cmxa lib/slap_top.a lib/slap_top.cmxs ppx/slap_ppx.cma ppx/slap_ppx.cmxa ppx/slap_ppx.a ppx/slap_ppx.cmxs ppx/ppx_slap.native -tag debug' terminated with error code 10")

=-=- Error report -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
The following actions failed
  ∗  install slap 2.0.2
No changes have been performed
akabe commented 8 years ago

Thanks. I will release a fixed version of SLAP on OPAM soon.