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

Re: Circular build dependencies?



Dear Norbert,

Le 08/11/2022 à 10:47, Stéphane Glondu a écrit :
I am working on backports of unison to oldstable and stable, and
realized that it seems there is a build-dependency loop:
    ocaml-dune b-depends on libcsexp-ocaml-dev
    libcsexp-ocaml-dev b-depends on ocaml-dune
How is one supposed to kick-start the build process when there is no
version ocaml-dune available at all?

Actually, libcsexp-ocaml-dev is needed only for building libdune-ocaml-dev. It should be easy to make a build profile without the dependency on libcsexp-ocaml-dev.

I added the "pkg.ocaml-dune.nocsexp" build profile in the git repository:

https://salsa.debian.org/ocaml-team/ocaml-dune/-/commit/3ddff6fba11017b55aea08d6524c3bd8170363e7

and I tried building with and without it. Everything seems to work as expected.


Cheers,

--
Stéphane


Reply to: