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.41k stars 130 forks source link

Build dependency problems #2753

Open smimram opened 1 year ago

smimram commented 1 year ago

While making a fresh install of liquidsoap with opam I had build problems. I think that the issue is the folllowing: liquidsoap depdends on liquidsoap-lang but the build dependencies are only correctly stated for liquidsoap, making the build fail sometimes since the dependencies of liquidsoap are installed concurrently with liquidsoap-lang, which needs those.

Also, I am surprised that this did not show up in our CI: in the minimal build, we should pin the packages but not install them beforehand in order to make sure that we don't have such problems.

toots commented 1 year ago

Ha good point. We need to build this packages in isolation indeed.

toots commented 1 year ago

Ok I see now. opam build is not tested for the main branch. The reasoning is that our dependencies move along with it and are not always release (typically metadata right now). Once we cut the rolling-release-v2.2.x we should add separate build for all the different opam packages.