Installing Liquidsoap ... (Upgrade) -> ocaml-base-compiler failed

Read 4765 times
Hello,

I've started a upgrade my "Centova Cast v3.2.12" and get a error at the installation/upgrade:

Here the output:

Code: [Select]
Checking Centova Cast Common Files ...
Not updated, skipping


Checking Centova Cast Application Server ...
Not updated, skipping


Checking Centova Cast Image Daemon ...
Not updated, skipping


Checking Centova Cast Web Server ...
Not updated, skipping


Checking Centova Cast Comet Daemon ...
Not updated, skipping


Checking Centova Cast Control Daemon ...
Not updated, skipping


Checking Centova Cast FTP Server ...
Not updated, skipping


Checking IceCast ...
Not updated, skipping


Checking ices-cc ...
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 database ... 34964 files and directories currently installed.)
Preparing to unpack .../bubblewrap_0.3.1-4~bpo9+1_amd64.deb ...
Unpacking bubblewrap (0.3.1-4~bpo9+1) over (0.3.1-4~bpo9+1) ...
Setting up bubblewrap (0.3.1-4~bpo9+1) ...
Processing triggers for man-db (2.7.0.2-5) ...
Reading package lists... Done
Building dependency tree
Reading state information... Done
g++ is already the newest version.
gcc is already the newest version.
gzip is already the newest version.
m4 is already the newest version.
make is already the newest version.
bzip2 is already the newest version.
file is already the newest version.
patch is already the newest version.
tar is already the newest version.
unzip is already the newest version.
bubblewrap is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 200 not upgraded.

Setting up ocaml compiler toolchain ...


User configuration:
  ~/.profile is already up-to-date.
[NOTE] Make sure that ~/.profile is well sourced in your ~/.bashrc.


<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from https://opam.ocaml.org
Now run 'opam upgrade' to apply any package updates.
O caml, my caml!
The following actions will be performed:
  - install ocaml-base-compiler 4.07.1 [required by ocaml]
  - install ocaml-config        1      [required by ocaml]
  - install ocaml               4.07.1 [required by opam-depext]
  - install opam-depext         1.1.3
===== 4 to install =====
Do you want to continue? [Y/n] y

<><> Gathering sources ><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
[ocaml-base-compiler.4.07.1] found in cache
[opam-depext.1.1.3] found in cache

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
[ERROR] The compilation of ocaml-base-compiler failed at "/usr/local/centovacast/.opam/opam-init/hooks/sandbox.sh build ./configure -prefix
        /usr/local/centovacast/.opam/4.07.1 -with-debug-runtime".

#=== ERROR while compiling ocaml-base-compiler.4.07.1 =========================#
# context     2.0.5 | linux/x86_64 |  | https://opam.ocaml.org#f1b6c3c1
# path        ~/.opam/4.07.1/.opam-switch/build/ocaml-base-compiler.4.07.1
# command     ~/.opam/opam-init/hooks/sandbox.sh build ./configure -prefix /usr/local/centovacast/.opam/4.07.1 -with-debug-runtime
# exit-code   1
# env-file    ~/.opam/log/ocaml-base-compiler-24669-ad8886.env
# output-file ~/.opam/log/ocaml-base-compiler-24669-ad8886.out
### output ###
# bwrap: Failed to make / slave: Permission denied



<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
+- The following actions failed
| - build ocaml-base-compiler 4.07.1
+-
- No changes have been performed

<><> ocaml-base-compiler.4.07.1 troubleshooting <><><><><><><><><><><><><><><><>
=> A failure in the middle of the build may be caused by build parallelism
      (enabled by default).
      Please file a bug report at https://github.com/ocaml/ocaml/issues
=> You can try installing again including --jobs=1
      to force a sequential build instead.
! Error: Failed to install ocaml depext
! Error: Installation failed
Liquidsoap installation failed
Installer exited with error, aborting

What can i do? It looks like a bug?

Best regards,
Jürgen
i have same problem

how to fix ?


Hello,

I've started a upgrade my "Centova Cast v3.2.12" and get a error at the installation/upgrade:

Here the output:

Code: [Select]
Checking Centova Cast Common Files ...
Not updated, skipping


Checking Centova Cast Application Server ...
Not updated, skipping


Checking Centova Cast Image Daemon ...
Not updated, skipping


Checking Centova Cast Web Server ...
Not updated, skipping


Checking Centova Cast Comet Daemon ...
Not updated, skipping


Checking Centova Cast Control Daemon ...
Not updated, skipping


Checking Centova Cast FTP Server ...
Not updated, skipping


Checking IceCast ...
Not updated, skipping


Checking ices-cc ...
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 database ... 34964 files and directories currently installed.)
Preparing to unpack .../bubblewrap_0.3.1-4~bpo9+1_amd64.deb ...
Unpacking bubblewrap (0.3.1-4~bpo9+1) over (0.3.1-4~bpo9+1) ...
Setting up bubblewrap (0.3.1-4~bpo9+1) ...
Processing triggers for man-db (2.7.0.2-5) ...
Reading package lists... Done
Building dependency tree
Reading state information... Done
g++ is already the newest version.
gcc is already the newest version.
gzip is already the newest version.
m4 is already the newest version.
make is already the newest version.
bzip2 is already the newest version.
file is already the newest version.
patch is already the newest version.
tar is already the newest version.
unzip is already the newest version.
bubblewrap is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 200 not upgraded.

Setting up ocaml compiler toolchain ...


User configuration:
  ~/.profile is already up-to-date.
[NOTE] Make sure that ~/.profile is well sourced in your ~/.bashrc.


<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from https://opam.ocaml.org
Now run 'opam upgrade' to apply any package updates.
O caml, my caml!
The following actions will be performed:
  - install ocaml-base-compiler 4.07.1 [required by ocaml]
  - install ocaml-config        1      [required by ocaml]
  - install ocaml               4.07.1 [required by opam-depext]
  - install opam-depext         1.1.3
===== 4 to install =====
Do you want to continue? [Y/n] y

<><> Gathering sources ><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
[ocaml-base-compiler.4.07.1] found in cache
[opam-depext.1.1.3] found in cache

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
[ERROR] The compilation of ocaml-base-compiler failed at "/usr/local/centovacast/.opam/opam-init/hooks/sandbox.sh build ./configure -prefix
        /usr/local/centovacast/.opam/4.07.1 -with-debug-runtime".

#=== ERROR while compiling ocaml-base-compiler.4.07.1 =========================#
# context     2.0.5 | linux/x86_64 |  | https://opam.ocaml.org#f1b6c3c1
# path        ~/.opam/4.07.1/.opam-switch/build/ocaml-base-compiler.4.07.1
# command     ~/.opam/opam-init/hooks/sandbox.sh build ./configure -prefix /usr/local/centovacast/.opam/4.07.1 -with-debug-runtime
# exit-code   1
# env-file    ~/.opam/log/ocaml-base-compiler-24669-ad8886.env
# output-file ~/.opam/log/ocaml-base-compiler-24669-ad8886.out
### output ###
# bwrap: Failed to make / slave: Permission denied



<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
+- The following actions failed
| - build ocaml-base-compiler 4.07.1
+-
- No changes have been performed

<><> ocaml-base-compiler.4.07.1 troubleshooting <><><><><><><><><><><><><><><><>
=> A failure in the middle of the build may be caused by build parallelism
      (enabled by default).
      Please file a bug report at https://github.com/ocaml/ocaml/issues
=> You can try installing again including --jobs=1
      to force a sequential build instead.
! Error: Failed to install ocaml depext
! Error: Installation failed
Liquidsoap installation failed
Installer exited with error, aborting

What can i do? It looks like a bug?

Best regards,
Jürgen
Hello Friends:

found a way to fix the problem?
I will be grateful for its help

best regards
Hi

you solde this ?

i have same problem try install liquidsoap

[ERROR] The compilation of ocaml-base-compiler failed at "/usr/local/centovacast/.opam/opam-init/hooks/sandbox.sh build ./configure -prefix
        /usr/local/centovacast/.opam/4.07.1 -with-debug-runtime".

#=== ERROR while compiling ocaml-base-compiler.4.07.1 =========================#
# context     2.0.5 | linux/x86_64 |  | https://opam.ocaml.org#6264a9b8
# path        ~/.opam/4.07.1/.opam-switch/build/ocaml-base-compiler.4.07.1
# command     ~/.opam/opam-init/hooks/sandbox.sh build ./configure -prefix /usr/local/centovacast/.opam/4.07.1 -with-debug-runtime
# exit-code   1
# env-file    ~/.opam/log/ocaml-base-compiler-4461-c743ac.env
# output-file ~/.opam/log/ocaml-base-compiler-4461-c743ac.out
### output ###
# bwrap: Creating new namespace failed, likely because the kernel does not support user namespaces.  bwrap must be installed setuid on such systems.



<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
┌─ The following actions failed
│ λ build ocaml-base-compiler 4.07.1
└─
┌─ The following changes have been performed (the rest was aborted)
│ ∗ install base-bigarray base
│ ∗ install base-threads  base
│ ∗ install base-unix     base
└─

<><> ocaml-base-compiler.4.07.1 troubleshooting <><><><><><><><><><><><><><><><>
=> A failure in the middle of the build may be caused by build parallelism
      (enabled by default).
      Please file a bug report at https://github.com/ocaml/ocaml/issues
=> You can try installing again including --jobs=1
      to force a sequential build instead.
Switch initialisation failed: clean up? ('n' will leave the switch partially installed) [Y/n] y
! Error: Failed to install ocaml compiler toolchain
! Error: Installation failed
Liquidsoap installation failed