• Help wanted with FTBFS of guestfs-tools, virt-top, virt-v2v

    From Hilko Bengen@21:1/5 to All on Mon Mar 24 23:10:02 2025
    Hi,

    packages guestfs-tools (#1099236), virt-top (#1099294), virt-v2v
    (#1099296) fail to build from source, all with pretty much the same
    error message:

    ,----
    | Error: No implementation provided for the following modules:
    | "Dune_site__Dune_site_data" referenced from "Dune_site__Helpers "(/usr/lib/x86_64-linux-gnu/ocaml/5.3.0/dune-site/dune_site.cmxa)
    `----

    All three packages are built using ocamlfind – and the failing command
    is "ocamlfind ocamopt … " that is supposed to link an executable.

    I have narrowed down the issue to a recent upgrade of ocaml-gettext: Downgrading libocaml-gettext{,-dev} from 0.5.0-1 to 0.4.2-5 (rebuilt
    from source) in the sid build chroot make the FTBFS go away for me.

    Now, ocaml-gettext 0.5.0 introduced a dependency on ocaml-dune, but the
    error message suggests to me that something within the ocaml-dune build
    may have gone wrong.

    I am stuck, however. I clearly don't know enough about OCaml
    buildsystems to debug this further. Can anyone help me in finding the
    root cause?

    Cheers,
    -Hilko

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From =?UTF-8?Q?St=C3=A9phane_Glondu?=@21:1/5 to All on Tue Mar 25 10:50:01 2025
    Hi,

    Le 24/03/2025 à 22:36, Hilko Bengen a écrit :
    packages guestfs-tools (#1099236), virt-top (#1099294), virt-v2v
    (#1099296) fail to build from source, all with pretty much the same
    error message:

    ,----
    | Error: No implementation provided for the following modules:
    | "Dune_site__Dune_site_data" referenced from "Dune_site__Helpers "(/usr/lib/x86_64-linux-gnu/ocaml/5.3.0/dune-site/dune_site.cmxa)
    `----

    All three packages are built using ocamlfind – and the failing command
    is "ocamlfind ocamopt … " that is supposed to link an executable.

    I have narrowed down the issue to a recent upgrade of ocaml-gettext: Downgrading libocaml-gettext{,-dev} from 0.5.0-1 to 0.4.2-5 (rebuilt
    from source) in the sid build chroot make the FTBFS go away for me.

    Now, ocaml-gettext 0.5.0 introduced a dependency on ocaml-dune, but the
    error message suggests to me that something within the ocaml-dune build
    may have gone wrong.

    I am stuck, however. I clearly don't know enough about OCaml
    buildsystems to debug this further. Can anyone help me in finding the
    root cause?

    I investigated a bit and opened:

    https://github.com/ocaml/dune/issues/11565


    Cheers,

    --
    Stéphane

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Hilko Bengen@21:1/5 to All on Thu Mar 27 00:00:02 2025
    * Stéphane Glondu:

    I investigated a bit and opened:

    https://github.com/ocaml/dune/issues/11565

    Thank you. If a fix can't be found quickly, should we consider
    downgrading ocaml-gettext to 0.4.2?

    Cheers,
    -Hilko

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From =?UTF-8?Q?St=C3=A9phane_Glondu?=@21:1/5 to All on Sat Mar 29 16:00:01 2025
    Le 26/03/2025 à 23:58, Hilko Bengen a écrit :
    I investigated a bit and opened:

    https://github.com/ocaml/dune/issues/11565

    Thank you. If a fix can't be found quickly, should we consider
    downgrading ocaml-gettext to 0.4.2?

    Done in ocaml-gettext_0.5.0+really0.4.2-1.


    Cheers,

    --
    Stéphane

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)