• Liquidsoap new version build failure

    From Kyle Robbertze@21:1/5 to All on Mon Oct 23 22:10:01 2023
    Hi,

    Liquidsoap has finally moved to Dune as its build system. However, I am
    getting the following error when trying to build. Does anyone know how
    to fix it?

    dh_update_autotools_config -O--buildsystem=ocaml_dune
    dh_autoreconf -O--buildsystem=ocaml_dune
    dh_ocamlinit -O--buildsystem=ocaml_dune
    dh_auto_configure -O--buildsystem=ocaml_dune
    dh_auto_build -O--buildsystem=ocaml_dune
    dune build -j 5 -p liquidsoap,liquidsoap-core,liquidsoap-lang,liquidsoap-js,liquidsoap-libs,liquidsoap-libs-extra,liquidsoap-mode,tls-liquidsoap,sdl-liquidsoap
    File "src/runtime/dune", line 4, characters 7-17:
    4 | (pps ppx_string))
    ^^^^^^^^^^

    Error: Library "ppx_string" not found.
    required by library "liquidsoap_runtime" in _build/default/src/runtime required by executable liquidsoap in src/bin/dune:2
    required by _build/default/src/bin/liquidsoap.exe
    required by _build/install/default/bin/liquidsoap
    required by %{bin:liquidsoap} at dune:17
    required by _build/default/liquidsoap.config
    required by alias install

    Cheers
    Kyle
    --

    ⢀⣴⠾⠻⢶⣦⠀
    ⣾⠁⢠⠒⠀⣿⡁ Kyle Robbertze
    ⢿⡄⠘⠷⠚⠋⠀ Debian Developer
    ⠈⠳⣄⠀⠀⠀⠀ https://wiki.debian.org/KyleRobbertze

    --- 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 Oct 24 07:40:01 2023
    Dear Kyle,

    Le 23/10/2023 à 22:01, Kyle Robbertze a écrit :
    Liquidsoap has finally moved to Dune as its build system. However, I am getting the following error when trying to build. Does anyone know how
    to fix it?

       dh_update_autotools_config -O--buildsystem=ocaml_dune
       dh_autoreconf -O--buildsystem=ocaml_dune
       dh_ocamlinit -O--buildsystem=ocaml_dune
       dh_auto_configure -O--buildsystem=ocaml_dune
       dh_auto_build -O--buildsystem=ocaml_dune
            dune build -j 5 -p liquidsoap,liquidsoap-core,liquidsoap-lang,liquidsoap-js,liquidsoap-libs,liquidsoap-libs-extra,liquidsoap-mode,tls-liquidsoap,sdl-liquidsoap
    File "src/runtime/dune", line 4, characters 7-17:
    4 |   (pps ppx_string))
               ^^^^^^^^^^
    Error: Library "ppx_string" not found.
    required by library "liquidsoap_runtime" in _build/default/src/runtime required by executable liquidsoap in src/bin/dune:2
    required by _build/default/src/bin/liquidsoap.exe
    required by _build/install/default/bin/liquidsoap
    required by %{bin:liquidsoap} at dune:17
    required by _build/default/liquidsoap.config
    required by alias install

    You need to build-depend on libppx-string-ocaml-dev (which has just been accepted!).


    Cheers,

    --
    Stéphane

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Kyle Robbertze@21:1/5 to All on Thu Nov 23 12:20:01 2023
    Hi Stéphane,

    On 2023/10/24 06:31, Stéphane Glondu wrote:
    Dear Kyle,

    Le 23/10/2023 à 22:01, Kyle Robbertze a écrit :
    Liquidsoap has finally moved to Dune as its build system. However, I
    am getting the following error when trying to build. Does anyone know
    how to fix it?

        dh_update_autotools_config -O--buildsystem=ocaml_dune
        dh_autoreconf -O--buildsystem=ocaml_dune
        dh_ocamlinit -O--buildsystem=ocaml_dune
        dh_auto_configure -O--buildsystem=ocaml_dune
        dh_auto_build -O--buildsystem=ocaml_dune
             dune build -j 5 -p
    liquidsoap,liquidsoap-core,liquidsoap-lang,liquidsoap-js,liquidsoap-libs,liquidsoap-libs-extra,liquidsoap-mode,tls-liquidsoap,sdl-liquidsoap
    File "src/runtime/dune", line 4, characters 7-17:
    4 |   (pps ppx_string))
                ^^^^^^^^^^
    Error: Library "ppx_string" not found.
    required by library "liquidsoap_runtime" in _build/default/src/runtime
    required by executable liquidsoap in src/bin/dune:2
    required by _build/default/src/bin/liquidsoap.exe
    required by _build/install/default/bin/liquidsoap
    required by %{bin:liquidsoap} at dune:17
    required by _build/default/liquidsoap.config
    required by alias install

    You need to build-depend on libppx-string-ocaml-dev (which has just been accepted!).

    Thanks! That and ocaml-metadata were the links I was missing. I'm still struggling to get it building though and it is reaching the end of my
    ocaml knowledge. The libgd-ocaml-dev package ships cmi and cmax files on
    amd64, but seems to be missing the cmx native file? The build failure is:

    File "_none_", line 1:
    Warning 58 [no-cmx-file]: no cmx file was found in path for module Gd,
    and its interface was not compiled with -opaque

    Any pointers would be greatly appreciated!

    Cheers
    Kyle
    --

    ⢀⣴⠾⠻⢶⣦⠀
    ⣾⠁⢠⠒⠀⣿⡁ Kyle Robbertze
    ⢿⡄⠘⠷⠚⠋⠀ Debian Developer
    ⠈⠳⣄⠀⠀⠀⠀ https://wiki.debian.org/KyleRobbertze

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Kyle Robbertze@21:1/5 to All on Sat Nov 25 16:30:02 2023
    On 2023/11/23 13:31, Stéphane Glondu wrote:
    Dear Kyle,

    Le 23/11/2023 à 12:13, Kyle Robbertze a écrit :
    You need to build-depend on libppx-string-ocaml-dev (which has just
    been accepted!).

    Thanks! That and ocaml-metadata were the links I was missing. I'm
    still struggling to get it building though and it is reaching the end
    of my ocaml knowledge. The libgd-ocaml-dev package ships cmi and cmax
    files on amd64, but seems to be missing the cmx native file? The build
    failure is:

    File "_none_", line 1:
    Warning 58 [no-cmx-file]: no cmx file was found in path for module Gd,
    and its interface was not compiled with -opaque

    Any pointers would be greatly appreciated!

    That would be a problem in the (Debian) gd4o package.

    It seems gd4o differs from the one in OPAM (gd package, hosted in
    savonet's github). They have the same version number, but the savonet
    version uses dune whereas the Debian version does not.

    I would update the gd4o Debian package to use savonet's upstream
    (liquidsoap is the only reverse dependency).

    Thank you! With gd4o updated, I have finally managed to build liquidsoap
    2.2.2. Once I clean up the packaging, it should be ready for upload.
    Hopefully in the next few days

    Cheers
    Kyle

    --

    ⢀⣴⠾⠻⢶⣦⠀
    ⣾⠁⢠⠒⠀⣿⡁ Kyle Robbertze
    ⢿⡄⠘⠷⠚⠋⠀ Debian Developer
    ⠈⠳⣄⠀⠀⠀⠀ https://wiki.debian.org/KyleRobbertze

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