Bug#961529: mlpost: wrong path to mlpost.cma
Package: mlpost
Version: 0.8.2-2
Severity: grave
Justification: renders package unusable
Dear Maintainer,
On a simple file `foo.ml` containing only `open Mlpost`, the command
`mlpost foo.ml` fails with the error `Unbound module Mlpost`. After
inspecting with `mlpost -v foo.ml`, the path to the mlpost libraries is
wrong:
```
/usr/bin/ocamlc.opt -w -58 -o /tmp/mlpost50d0a2 unix.cma -I
/usr/lib/ocaml/cairo bigarray.cma cairo.cma -I /usr/lib/ocaml/bitstring
bitstring.cma -I
/build/mlpost-eSoQWE/mlpost-0.8.2/debian/tmp/usr/lib/ocaml/mlpost
mlpost.cma -I
/build/mlpost-eSoQWE/mlpost-0.8.2/debian/tmp/usr/lib/ocaml/mlpost
mlpost_desc_options.cma mlpost_options.cma foo.ml
```
-- System Information:
Debian Release: bullseye/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 5.5.0-1-amd64 (SMP w/4 CPU cores)
Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), LANGUAGE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages mlpost depends on:
ii context 2020.03.10.20200331-1
ii libc6 2.30-4
ii libmlpost-ocaml-dev 0.8.2-2
ii texlive-latex-base 2020.20200417-1
ii texlive-latex-recommended 2020.20200417-1
ii texlive-metapost 2020.20200417-1
Versions of packages mlpost recommends:
ii libmlpost-ocaml-doc 0.8.2-2
ii xpdf 3.04-13
Versions of packages mlpost suggests:
ii ghostscript 9.52~dfsg-1
ii imagemagick 8:6.9.10.23+dfsg-2.1+b2
ii imagemagick-6.q16 [imagemagick] 8:6.9.10.23+dfsg-2.1+b2
ii ocaml-findlib 1.8.1-1+b1
-- no debconf information
Reply to: