Project

General

Profile

Actions

Bug #10364

open

Ubuntu19: ERROR while compiling astraver-translator.v20.0

Added by Denis Efremov almost 4 years ago. Updated almost 4 years ago.

Status:
New
Priority:
Normal
Start date:
06/02/2020
Due date:
% Done:

0%

Estimated time:
Detected in build:
git
Platform:
Published in build:

Description

System: Ubuntu 19

Error:

#=== ERROR while compiling astraver-translator.v20.0 ==========================#
# context     2.0.4 | linux/x86_64 | ocaml-base-compiler.4.10.0 | git+https://forge.ispras.ru/git/astraver.opam-repository.git
# path        ~/.opam/4.10.0/.opam-switch/build/astraver-translator.v20.0
# command     ~/.opam/4.10.0/.opam-switch/build/astraver-translator.v20.0/./touch.sh
# exit-code   127
# env-file    ~/.opam/log/astraver-translator-21105-60459a.env
# output-file ~/.opam/log/astraver-translator-21105-60459a.out

Steps to reproduce:

$ sudo apt install opam
$ opam init -c 4.10.0 --disable-sandboxing
$ eval $(opam env)
$ opam repo add ispras https://forge.ispras.ru/git/astraver.opam-repository.git
$ opam update
$ opam install depext
$ opam depext --install astraver

Workaround: don't use --disable-sandboxing during installation.


Files

Actions #1

Updated by Denis Efremov almost 4 years ago

Hotfix. Add these lines to .opam/config file. It enables sandboxing:

wrap-build-commands:
  ["%{hooks}%/sandbox.sh" "build"] {os = "linux" | os = "macos"}
wrap-install-commands:
  ["%{hooks}%/sandbox.sh" "install"] {os = "linux" | os = "macos"}
wrap-remove-commands:
  ["%{hooks}%/sandbox.sh" "remove"] {os = "linux" | os = "macos"}

Actions

Also available in: Atom PDF