Circe2 does not compile with ocaml >= 4.08.0

Bug #1844988 reported by Thorsten Ohl on 2019-09-23
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
WHIZARD
High
Thorsten Ohl

Bug Description

Lara Mason wrote:

Hi experts,

A probably very naive question- I am trying to set up Whizard on Mac OSX in the standard way (configure, make, make install) but I consistently get this error no matter what I try

119 | let a = Array2.map_file fd float64 fortran_layout true dim1 dim2 in
                    ^^^^^^^^^^^^^^^
Error: Unbound value Array2.map_file
make[2]: *** [events.cmx] Error 2
make[1]: *** [all-recursive] Error 1
make: *** [all-recursive] Error 1

Do you have any suggestions as to how to get around this?

Thanks in advance,

Lara

Thorsten Ohl (thomega) wrote :

The map_file functions have been moved from Bigarray to Unix in ocaml 4.08.0. For
inexplicable reasons, our tests missed this ...

It's straightforward to fix, but I need to work on a fix that compiles with the currently
supoorted versions before 4.06.0 as well.

Changed in whizard:
status: New → In Progress
importance: Undecided → High
assignee: nobody → Thorsten Ohl (thomega)
milestone: none → 2.8.2
Juergen Reuter (j.r.reuter) wrote :

Our tests missed this because we are only using versions 4.07 up to now. I have to say I don't like some of the new policies of the OCaml development team to delete deprecated features in one module already two minor version after the new features in another module have been introduced.

Thorsten Ohl (thomega) on 2019-09-23
Changed in whizard:
status: In Progress → Fix Committed
Changed in whizard:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Related questions