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

Andreas Tille tille at debian.org
Sun Aug 16 09:33:12 BST 2020


Control: tags -1 pending
Control: tags -1 help

On Sun, Aug 16, 2020 at 07:17:13AM +0200, Stéphane Glondu wrote:
> As a workaround, an empty dh_dwz override has been added in the
> /usr/share/ocaml/ocamlvars.mk snippet in dh-ocaml/1.1.2, which is
> included in the debian/rules of most of packages written in
> OCaml. However, it is not the case of your package. Please do so.

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?

Kind regards

      Andreas.

-- 
http://fam-tille.de



More information about the Debian-med-packaging mailing list