! Error: Failed to build Liquidsoap ! Error: Installation failed

Read 10176 times
I am a bit frustrated with the support since I asked for installation service over a week ago and no one ever contacted me back so if anyone from support looking at this I would really appreciate some help.

I have completed the Centova installation, however Liquidsoap has issues with build:

===== Centova Cast Installation ==========================================

Downloading installation system ...


===== Centova Cast Installation ==========================================

Downloading installation system ...
Verifying archive integrity ...
Unpacking archive ...
Beginning installation ...

Checking Centova Cast Common Files ...
Downloading Centova Cast Common Files ...

Verifying archive integrity ...
Unpacking archive ...

Installing Centova Cast Common Files ...

Installation successful

Checking Centova Cast Application Server ...
Downloading Centova Cast Application Server ...

Verifying archive integrity ...
Unpacking archive ...

Installing Centova Cast Application Server ...

Detected MySQL socket path of /var/run/mysqld/mysqld.sock from MySQL variables list
/bin/sed: can't read /usr/local/centovacast/etc/fastcgi.conf: No such file or directory
Detected time zone Europe/Berlin (debiantz).
Installation successful
Starting Centova Cast application server service...
Attempting to start app: cc-appserver

Checking Centova Cast Image Daemon ...
Downloading Centova Cast Image Daemon ...

Verifying archive integrity ...
Unpacking archive ...

Installing Centova Cast Image Daemon ...

Installation successful
Starting Centova Cast image daemon...
Attempting to start img: cc-imaged

Checking Centova Cast Web Server ...
Downloading Centova Cast Web Server ...

Verifying archive integrity ...
Unpacking archive ...

Installing Centova Cast Web Server ...

Creating self-signed SSL certificate for MYSERVERIP ...
Generating private key ...
Generating certificate ...
Generating new Diffie-Hellman group ...
Installation successful
Starting Centova Cast web service...
Attempting to start web: cc-web nginx: [emerg] bind() to 0.0.0.0:2199 failed (98: Address already in use)
nginx: [emerg] bind() to 0.0.0.0:2199 failed (98: Address already in use)
nginx: [emerg] bind() to 0.0.0.0:2199 failed (98: Address already in use)
nginx: [emerg] bind() to 0.0.0.0:2199 failed (98: Address already in use)
nginx: [emerg] bind() to 0.0.0.0:2199 failed (98: Address already in use)
nginx: [emerg] still could not bind()
- failed

Checking Centova Cast Comet Daemon ...
Downloading Centova Cast Comet Daemon ...

Verifying archive integrity ...
Unpacking archive ...

Installing Centova Cast Comet Daemon ...

Stopping Centova Cast web service ...
Attempting to stop web: cc-web (not running)
Starting Centova Cast comet daemon...
Attempting to start com: cc-comet
Starting Centova Cast web service ...
Attempting to start web: cc-web
Installation successful

Checking Centova Cast Control Daemon ...
Downloading Centova Cast Control Daemon ...

Verifying archive integrity ...
Unpacking archive ...

Installing Centova Cast Control Daemon ...

Stopping Centova Cast web service ...
Attempting to stop web: cc-web
Installation successful
Starting Centova Cast control daemon ...
Attempting to start ccd: cc-control
Restarting Centova Cast web service ...
Attempting to start web: cc-web

Checking Centova Cast FTP Server ...
Downloading Centova Cast FTP Server ...

Verifying archive integrity ...
Unpacking archive ...

Installing Centova Cast FTP Server ...

Installation successful
Starting Centova Cast FTP service...
Attempting to start ftp: cc-ftpd


===== Supplementary Software Installation ================================

Installing liquidsoap ...

Checking Centova Cast Common Files ...
Not updated, skipping


Checking Liquidsoap ...
Downloading Liquidsoap ...

Verifying archive integrity ...
Unpacking archive ...

Installing Liquidsoap ...


Installing opam and dependencies...

opam 2.0.5 already installed, skipping
Reading package lists... Done
Building dependency tree
Reading state information... Done
gzip is already the newest version (1.6-5ubuntu1).
m4 is already the newest version (1.4.18-1).
make is already the newest version (4.1-9.1ubuntu1).
unzip is already the newest version (6.0-21ubuntu1).
bubblewrap is already the newest version (0.2.1-1ubuntu0.1).
bzip2 is already the newest version (1.0.6-8.1ubuntu0.2).
file is already the newest version (1:5.32-2ubuntu0.4).
g++ is already the newest version (4:7.4.0-1ubuntu2.3).
gcc is already the newest version (4:7.4.0-1ubuntu2.3).
patch is already the newest version (2.7.6-2ubuntu1.1).
tar is already the newest version (1.29b-2ubuntu0.1).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

Setting up ocaml compiler toolchain ...

[NOTE] Will configure from built-in defaults.
Checking for available remotes: rsync and local, git, mercurial, darcs. Perfect!

<><> Fetching repository information ><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised

User configuration:
  Updating ~/.profile.
[NOTE] Make sure that ~/.profile is well sourced in your ~/.bashrc.


<><> Creating initial switch (ocaml-system>=4.02.3) <><><><><><><><><><><><><><>

<><> Gathering sources ><><><><><><><><><><><><><><><><><><><><><><><><><><><><>

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
∗ installed base-bigarray.base
∗ installed base-threads.base
∗ installed base-unix.base
∗ installed ocaml-system.4.05.0
∗ installed ocaml-config.1
∗ installed ocaml.4.05.0
Done.
# Run eval $(opam env) to update the current shell environment

<><> Gathering sources ><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
[ocaml-base-compiler.4.07.1] downloaded from cache at https://opam.ocaml.org/cache

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
∗ installed base-bigarray.base
∗ installed base-threads.base
∗ installed base-unix.base
∗ installed ocaml-base-compiler.4.07.1
∗ installed ocaml-config.1
∗ installed ocaml.4.07.1
Done.
# Run eval $(opam env) to update the current shell environment

<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
[default] no changes from https://opam.ocaml.org
O caml, my caml!
The following actions will be performed:
  ∗ install opam-depext 1.1.5

<><> Gathering sources ><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
[opam-depext.1.1.5] downloaded from cache at https://opam.ocaml.org/cache

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
∗ installed opam-depext.1.1.5
Done.

Installing OS package dependencies ...

Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting 'libsamplerate0-dev' instead of 'libsamplerate-dev'
libflac-dev is already the newest version (1.3.2-1).
libmp3lame-dev is already the newest version (3.100-2).
libogg-dev is already the newest version (1.3.2-1).
libpcre3-dev is already the newest version (2:8.39-9).
libsamplerate0-dev is already the newest version (0.1.9-1).
libtag1-dev is already the newest version (1.11.1+dfsg.1-0.2build2).
libvorbis-dev is already the newest version (1.3.5-4.2).
m4 is already the newest version (1.4.18-1).
pkg-config is already the newest version (0.29.1-0ubuntu2).
ladspa-sdk is already the newest version (1.13-3ubuntu2).
libfdk-aac-dev is already the newest version (0.1.5-1).
libmagic-dev is already the newest version (1:5.32-2ubuntu0.4).
libmad0-dev is already the newest version (0.15.1b-9ubuntu18.04.1).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

Building Liquidsoap ...

The following actions will be performed:
  ∗ install conf-ladspa              1        [required by ladspa]
  ∗ install conf-m4                  1        [required by ocamlfind]
  ∗ install ocaml-secondary-compiler 4.08.1-1 [required by ocamlfind-secondary]
  ∗ install conf-pkg-config          1.3      [required by samplerate, flac, taglib]
  ∗ install ocamlfind                1.8.1    [required by taglib, mad, flac, etc.]
  ∗ install conf-libsamplerate       1        [required by samplerate]
  ∗ install conf-libpcre             1        [required by pcre]
  ∗ install conf-libflac             1        [required by flac]
  ∗ install taglib                   0.3.6
  ∗ install ogg                      0.5.2    [required by liquidsoap, flac, vorbis]
  ∗ install ocamlfind-secondary      1.8.1    [required by dune]
  ∗ install magic                    0.7.3
  ∗ install mad                      0.4.5
  ∗ install fdkaac                   0.2.1
  ∗ install base-bytes               base     [required by pcre]
  ∗ install vorbis                   0.7.1
  ∗ install flac                     0.1.4
  ∗ install dune                     2.7.1    [required by lame, cry, ladspa, samplerate]
  ∗ install mm                       0.4.1    [required by liquidsoap]
  ∗ install sexplib0                 v0.14.0  [required by base]
  ∗ install result                   1.5      [required by dune-configurator]
  ∗ install dtools                   0.4.2    [required by liquidsoap]
  ∗ install cry                      0.6.5
  ∗ install camomile                 1.0.2    [required by liquidsoap]
  ∗ install csexp                    1.3.2    [required by dune-configurator]
  ∗ install dune-configurator        2.7.1    [required by lame, ladspa, samplerate]
  ∗ install samplerate               0.1.5
  ∗ install lame                     0.3.4
  ∗ install ladspa                   0.2.0
  ∗ install base                     v0.14.0  [required by pcre]
  ∗ install pcre                     7.4.1    [required by liquidsoap]
  ∗ install duppy                    0.8.0    [required by liquidsoap]
  ∗ install liquidsoap               1.3.7
===== ∗ 33 =====

<><> Gathering sources ><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
[cry.0.6.5] downloaded from cache at https://opam.ocaml.org/cache
[csexp.1.3.2] downloaded from cache at https://opam.ocaml.org/cache
[base.v0.14.0] downloaded from cache at https://opam.ocaml.org/cache
[dtools.0.4.2] downloaded from cache at https://opam.ocaml.org/cache
[dune.2.7.1] downloaded from cache at https://opam.ocaml.org/cache
[duppy.0.8.0] downloaded from cache at https://opam.ocaml.org/cache
[fdkaac.0.2.1] downloaded from cache at https://opam.ocaml.org/cache
[dune-configurator.2.7.1] downloaded from cache at https://opam.ocaml.org/cache
[camomile.1.0.2] downloaded from cache at https://opam.ocaml.org/cache
[flac.0.1.4] downloaded from cache at https://opam.ocaml.org/cache
[ladspa.0.2.0] downloaded from cache at https://opam.ocaml.org/cache
[lame.0.3.4] downloaded from cache at https://opam.ocaml.org/cache
[magic.0.7.3] downloaded from cache at https://opam.ocaml.org/cache
[mad.0.4.5] downloaded from cache at https://opam.ocaml.org/cache
[mm.0.4.1] downloaded from cache at https://opam.ocaml.org/cache
[liquidsoap.1.3.7] downloaded from cache at https://opam.ocaml.org/cache
[ocamlfind.1.8.1] downloaded from cache at https://opam.ocaml.org/cache
[ogg.0.5.2] downloaded from cache at https://opam.ocaml.org/cache
[ocamlfind-secondary.1.8.1] downloaded from cache at https://opam.ocaml.org/cache
[pcre.7.4.1] downloaded from cache at https://opam.ocaml.org/cache
[result.1.5] downloaded from cache at https://opam.ocaml.org/cache
[samplerate.0.1.5] downloaded from cache at https://opam.ocaml.org/cache
[sexplib0.v0.14.0] downloaded from cache at https://opam.ocaml.org/cache
[taglib.0.3.6] downloaded from cache at https://opam.ocaml.org/cache
[vorbis.0.7.1] downloaded from cache at https://opam.ocaml.org/cache
[ocaml-secondary-compiler.4.08.1-1] downloaded from cache at https://opam.ocaml.org/cache

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
∗ installed conf-ladspa.1
∗ installed conf-m4.1
∗ installed conf-pkg-config.1.3
∗ installed conf-libflac.1
∗ installed conf-libpcre.1
∗ installed conf-libsamplerate.1
∗ installed ocamlfind.1.8.1
∗ installed base-bytes.base
∗ installed mad.0.4.5
∗ installed magic.0.7.3
∗ installed fdkaac.0.2.1
∗ installed ogg.0.5.2
∗ installed vorbis.0.7.1
∗ installed flac.0.1.4
∗ installed taglib.0.3.6
∗ installed mm.0.4.1
∗ installed ocaml-secondary-compiler.4.08.1-1
∗ installed ocamlfind-secondary.1.8.1
∗ installed dune.2.7.1
∗ installed result.1.5
∗ installed cry.0.6.5
∗ installed dtools.0.4.2
∗ installed sexplib0.v0.14.0
∗ installed csexp.1.3.2
∗ installed dune-configurator.2.7.1
∗ installed ladspa.0.2.0
∗ installed lame.0.3.4
∗ installed camomile.1.0.2
∗ installed base.v0.14.0
∗ installed samplerate.0.1.5
∗ installed pcre.7.4.1
∗ installed duppy.0.8.0
[ERROR] The compilation of liquidsoap failed at "/usr/local/centovacast/.opam/opam-init/hooks/sandbox.sh build make".

#=== ERROR while compiling liquidsoap.1.3.7 ===================================#
# context     2.0.5 | linux/x86_64 | ocaml-base-compiler.4.07.1 | https://opam.ocaml.org#f6cb1861
# path        ~/.opam/4.07.1/.opam-switch/build/liquidsoap.1.3.7
# command     ~/.opam/opam-init/hooks/sandbox.sh build make
# exit-code   2
# env-file    ~/.opam/log/liquidsoap-17935-ef9acb.env
# output-file ~/.opam/log/liquidsoap-17935-ef9acb.out
### output ###
# [...]
# File "operators/ladspa_op.ml", line 90, characters 8-30:
# Error: This function has type
#          Ladspa.Descriptor.t -> int -> Ladspa.Descriptor.instance
#        It is applied to too many arguments; maybe you forgot a `;'.
# ../Makefile.rules:196: recipe for target 'operators/ladspa_op.cmx' failed
# make[2]: *** [operators/ladspa_op.cmx] Error 2
# make[2]: Leaving directory '/usr/local/centovacast/.opam/4.07.1/.opam-switch/build/liquidsoap.1.3.7/src'
# ../Makefile.rules:67: recipe for target 'all-auto-ocaml-prog' failed
# make[1]: *** [all-auto-ocaml-prog] Error 2
# make[1]: Leaving directory '/usr/local/centovacast/.opam/4.07.1/.opam-switch/build/liquidsoap.1.3.7/src'
# Makefile.rules:27: recipe for target 'all-subdirs' failed
# make: *** [all-subdirs] Error 2



<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
┌─ The following actions failed
│ λ build liquidsoap 1.3.7
└─
┌─ The following changes have been performed
│ ∗ install base                     v0.14.0
│ ∗ install base-bytes               base
│ ∗ install camomile                 1.0.2
│ ∗ install conf-ladspa              1
│ ∗ install conf-libflac             1
│ ∗ install conf-libpcre             1
│ ∗ install conf-libsamplerate       1
│ ∗ install conf-m4                  1
│ ∗ install conf-pkg-config          1.3
│ ∗ install cry                      0.6.5
│ ∗ install csexp                    1.3.2
│ ∗ install dtools                   0.4.2
│ ∗ install dune                     2.7.1
│ ∗ install dune-configurator        2.7.1
│ ∗ install duppy                    0.8.0
│ ∗ install fdkaac                   0.2.1
│ ∗ install flac                     0.1.4
│ ∗ install ladspa                   0.2.0
│ ∗ install lame                     0.3.4
│ ∗ install mad                      0.4.5
│ ∗ install magic                    0.7.3
│ ∗ install mm                       0.4.1
│ ∗ install ocaml-secondary-compiler 4.08.1-1
│ ∗ install ocamlfind                1.8.1
│ ∗ install ocamlfind-secondary      1.8.1
│ ∗ install ogg                      0.5.2
│ ∗ install pcre                     7.4.1
│ ∗ install result                   1.5
│ ∗ install samplerate               0.1.5
│ ∗ install sexplib0                 v0.14.0
│ ∗ install taglib                   0.3.6
│ ∗ install vorbis                   0.7.1
└─

The former state can be restored with:
    opam switch import "/usr/local/centovacast/.opam/4.07.1/.opam-switch/backup/state-20201212024713.export"
! Error: Failed to build Liquidsoap
! Error: Installation failed
Liquidsoap installation failed
Installer exited with error, aborting
Installing icecast ...

Checking Centova Cast Common Files ...
Not updated, skipping


Checking IceCast ...
Downloading IceCast ...

Verifying archive integrity ...
Unpacking archive ...

Installing IceCast ...

Already using IceCast revision 2.4.2-0 which is the latest version;
no need to rebuild.  Use --icecast-rebuild to force rebuild.
Last Edit: December 11, 2020, 07:37:26 pm by orassr
I don't suppose you got an answer or found a fix or this at all?

Same issue here, latest Stable and Cent 7!