opam-depext downloads a commandliner release and this makes the build fail when it is done in a sandbox as it is established by Opam 2. How can this be avoided?
#=== ERROR while compiling opam-depext.1.1.2 ==================================#
# context 2.0.0 | linux/x86_64 | ocaml-base-compiler.4.06.1 | git://github.com/xapi-project/xs-opam
# path ~/.opam/ocaml-base-compiler.4.06.1/.opam-switch/build/opam-depext.1.1.2
# command ~/.opam/opam-init/hooks/sandbox.sh build make
# exit-code 2
# env-file /tmp/opam-travis-12473/opam-depext-12473-a00279.env
# output-file /tmp/opam-travis-12473/opam-depext-12473-a00279.out
### output ###
# [...]
# [ -e cmdliner-0.9.8.tbz ] || \
# curl -OL http://erratique.ch/software/cmdliner/releases/cmdliner-0.9.8.tbz && ocaml ../shell/md5check.ml cmdliner-0.9.8.tbz fc67c937447cc223722f1419fa2189da || \
# { curl -OL https://opam.ocaml.org/2.0~dev/cache/md5/fc/fc67c937447cc223722f1419fa2189da && mv fc67c937447cc223722f1419fa2189da cmdliner-0.9.8.tbz && ocaml ../shell/md5check.ml cmdliner-0.9.8.tbz fc67c937447cc223722f1419fa2189da; }
# % Total % Received % Xferd Average Speed Time Time Time Current
# Dload Upload Total Spent Left Speed
# 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0curl: (6) Could not resolve host: erratique.ch
# % Total % Received % Xferd Average Speed Time Time Time Current
# Dload Upload Total Spent Left Speed
# 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0curl: (6) Could not resolve host: opam.ocaml.org
# make[1]: *** [cmdliner.download] Error 6
# make[1]: Leaving directory `/home/travis/.opam/ocaml-base-compiler.4.06.1/.opam-switch/build/opam-depext.1.1.2/src_ext'
# make: *** [all] Error 2
opam-depext
downloads a commandliner release and this makes the build fail when it is done in a sandbox as it is established by Opam 2. How can this be avoided?