[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#975894: Issues with dune 2.7.1



This does not ring any bells for me, and I see nothing in the dune changelog that would obviously be relevant.

Could you please create an issue on https://github.com/ocaml/dune/issues?
That will be seen by a more relevant set of people, so perhaps they will just know.

I myself am not very familiar with the way dune looks for installed libraries, but from looking at the code, it seems to search for them in the [findlib_path] directory, so it looks for the findlib package in [/usr/lib/findlib].

Do you have an easy way to check that that directory exists on the filesystem and what files are in it?

On Thu, 26 Nov 2020 at 11:11, Stéphane Glondu <glondu@debian.org> wrote:
Hello,

After the update to dune 2.7.1 (from 2.7.0) in Debian, many packages
started to fail to build and I don't understand why.

Let's have a look at ocp-indent, for example:

  https://bugs.debian.org/975821

It fails with errors like 'Library "findlib" not found' or 'Library
"cmdliner" not found'. However, findlib and cmdliner are installed (as
shown by e.g. "ocamlfind query findlib"). Also, the issue does not seem
to be present in opam.

All this can be easily reproduced in an up-to-date Debian unstable chroot.

Does this ring a bell?


Cheers,

--
Stéphane

Reply to: