You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by Jens Geyer <je...@hotmail.com> on 2022/09/23 06:40:25 UTC

ocaml again

#=== ERROR while compiling ocaml-system.4.08.1 
================================#
# context              2.0.5 | linux/x86_64 |  | 
https://opam.ocaml.org#d56f92fd
# path ~/.opam/default/.opam-switch/build/ocaml-system.4.08.1
# command              ~/.opam/opam-init/hooks/sandbox.sh build ocaml 
gen_ocaml_config.ml
# exit-code            1
# env-file /tmp/opam-xxx-187/ocaml-system-187-ad6566.env
# output-file /tmp/opam-xxx-187/ocaml-system-187-ad6566.out
### output ###
# bwrap: Creating new namespace failed: Operation not permitted
<><> Error report 
<><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
+- The following actions failed
| - build ocaml-system 4.08.1
+-
+- The following changes have been performed (the rest was aborted)
| - install base-bigarray base
| - install base-threads  base
| - install base-unix     base
+-
# Run eval $(opam env) to update the current shell environment
Switch initialisation failed: clean up? ('n' will leave the switch 
partially installed) [Y/n] y
The command '/bin/sh -c apt-get install -y --no-install-recommends       
`# OCaml dependencies` ocaml       opam &&       opam init --yes && opam 
install --yes oasis' returned a non-zero code: 31
The command "if [[ `uname` == "Linux" ]]; then travis_wait 40 
build/docker/refresh.sh; fi" failed and exited with 31 during .


Re: ocaml again

Posted by Jiayu Liu <ji...@hey.com.INVALID>.
After https://github.com/apache/thrift/pull/2671 and
https://github.com/apache/thrift/pull/2678 I'm able to get the build
running again (not broken in the docker phase). If no one's blocking
this I'll merge the 2678 PR later today to unblock the travis build.

On September 23, 2022, Jens Geyer <je...@hotmail.com> wrote:
> #=== ERROR while compiling ocaml-system.4.08.1 
> ================================#
> # context 2.0.5 | linux/x86_64 | | 
> https://opam.ocaml.org#d56f92fd
> # path ~/.opam/default/.opam-switch/build/ocaml-system.4.08.1
> # command ~/.opam/opam-init/hooks/sandbox.sh build ocaml 
> gen_ocaml_config.ml
> # exit-code 1
> # env-file /tmp/opam-xxx-187/ocaml-system-187-ad6566.env
> # output-file /tmp/opam-xxx-187/ocaml-system-187-ad6566.out
> ### output ###
> # bwrap: Creating new namespace failed: Operation not permitted
> <><> Error report 
> <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
> +- The following actions failed
> | - build ocaml-system 4.08.1
> +-
> +- The following changes have been performed (the rest was aborted)
> | - install base-bigarray base
> | - install base-threads  base
> | - install base-unix     base
> +-
> # Run eval $(opam env) to update the current shell environment
> Switch initialisation failed: clean up? ('n' will leave the switch 
> partially installed) [Y/n] y
> The command '/bin/sh -c apt-get install -y --no-install-recommends 
> `# OCaml dependencies` ocaml opam && opam init --yes && opam 
> install --yes oasis' returned a non-zero code: 31
> The command "if [[ `uname` == "Linux" ]]; then travis_wait 40 
> build/docker/refresh.sh; fi" failed and exited with 31 during .