[Debian-med-packaging] Bug#968474: [Help] Re: Bug#968474: Please include ocamlvars.mk to avoid FTBFS because of dh_dwz

Stéphane Glondu glondu at debian.org
Sun Aug 16 13:42:59 BST 2020


Le 16/08/2020 à 10:33, Andreas Tille a écrit :
> I've fixed this in Git.  However, when trying to build I get:
> 
> + ocamlfind ocamlc -c -annot -w Z -package batteries -package csv -package xmlm -package gsl -package sqlite3 -package zip -package mcl -thread -I pplacer_src -I json_src -I pam_src -I tests -I common_src -I pdprune_src -I cdd_src -I tests/rppr -I tests/json -I tests/pplacer -I tests/guppy -o pplacer_src/gcat_model.cmo pplacer_src/gcat_model.ml
> File "pplacer_src/gcat_model.ml", line 439, characters 22-73:
> 439 |         (Enum.combine (Array.enum model.site_categories, Array.enum mask)
>                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> Error: This expression has type 'a * 'b
>        but an expression was expected of type
>          'weak3 Ppatteries.Enum.t = 'weak3 BatEnum.t
> Command exited with code 2.
> 
> 
> Any hint how to fix this?

I think this is due to a new version of ocaml-batteries.

The attached patch fixes that.


Cheers,

-- 
Stéphane
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pplacer.patch
Type: text/x-patch
Size: 2727 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/debian-med-packaging/attachments/20200816/ee818278/attachment.bin>


More information about the Debian-med-packaging mailing list