savonet / liquidsoap

Liquidsoap is a statically typed scripting general-purpose language with dedicated operators and backend for all thing media, streaming, file generation, automation, HTTP backend and more.
http://liquidsoap.info
GNU General Public License v2.0
1.4k stars 130 forks source link

Install errors after camomile upgrade -> 2.0.0 #2975

Closed Russsgithub closed 1 year ago

Russsgithub commented 1 year ago

Describe the bug I'm getting this error on update.

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
[ERROR] The compilation of liquidsoap.2.2.0 failed at "dune build -p liquidsoap -j 1 --promote-install-files=false
        @install".

#=== ERROR while compiling liquidsoap.2.2.0 ===================================#
# context     2.1.2 | linux/x86_64 | ocaml-base-compiler.4.14.0 | pinned(git+file:///home/ubuntu/liquidsoap#main#65ee9bf3)
# path        ~/.opam/4.14.0/.opam-switch/build/liquidsoap.2.2.0
# command     ~/.opam/opam-init/hooks/sandbox.sh build dune build -p liquidsoap -j 1 --promote-install-files=false @install
# exit-code   1
# env-file    ~/.opam/log/liquidsoap-195051-3ba101.env
# output-file ~/.opam/log/liquidsoap-195051-3ba101.out
### output ###
# (cd _build/default && /home/ubuntu/.opam/4.14.0/bin/ocamlopt.opt -w -40 -g -I src/core/.liquidsoap_core.objs/byte -I src/core/.liquidsoap_core.objs/native -I /home/ubuntu/.opam/4.14.0/lib/angstrom -I /home/ubuntu/.opam/4.14.0/lib/bigstringaf -I /home/ubuntu/.opam/4.14.0/lib/camlp-streams -I /home/ubuntu/.opam/4.14.0/lib/camomile -I /home/ubuntu/.opam/4.14.0/lib/camomile/lib -I /home/ubuntu/.o[...]
# File "src/core/charset.camomile.ml", line 33, characters 20-67:
# Error: Unbound module CamomileDefaultConfig__

<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
┌─ The following actions failed
│ λ build liquidsoap 2.2.0
└─ 
╶─ No changes have been performed

<><> liquidsoap.2.2.0 troubleshooting <><><><><><><><><><><><><><><><><><><><><>
=> We're sorry that your liquidsoap install failed. Check out our installation
   instructions at: https://www.liquidsoap.info/doc-2.2.0/install.html#opam
   for more information.

Install method Opam

toots commented 1 year ago

I'm on it here: https://github.com/savonet/liquidsoap/pull/2963 but there seems to be an issue with the opam mirrors, some build images radomly fail, saying camomile.2.0.0 does not exist even after refreshing their package list.

toots commented 1 year ago

Should be fixed now.