unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: Gabriel Hondet <gabrielhondet@gmail.com>
To: 34620@debbugs.gnu.org
Subject: bug#34620: opam fails
Date: Fri, 22 Feb 2019 21:56:21 +0100	[thread overview]
Message-ID: <87ef7z1r0q.fsf@gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 1277 bytes --]

Hi,

When I try to use opam, it fails:

$ opam install menhir

#=== ERROR while compiling ocaml-system.4.07.1 ================================#
# context     2.0.1 | linux/x86_64 |  | https://opam.ocaml.org#34f81c06
# path        ~/.opam/default/.opam-switch/build/ocaml-system.4.07.1
# command     ~/.opam/opam-init/hooks/sandbox.sh build ocaml gen_ocaml_config.ml
# exit-code   1
# env-file    ~/.opam/log/ocaml-system-12254-60459a.env
# output-file ~/.opam/log/ocaml-system-12254-60459a.out
### output ###
# bwrap: execvp ocaml: No such file or directory

and if I do (in fish)
$ set -x OPAM_USER_PATH_RO /home/gabriel/.guix-profile/bin/

then I obtain the error:

$ opam install menhir

#=== ERROR while compiling ocaml-system.4.07.1 ================================#
# context     2.0.1 | linux/x86_64 |  | https://opam.ocaml.org#34f81c06
# path        ~/.opam/default/.opam-switch/build/ocaml-system.4.07.1
# command     ~/.opam/opam-init/hooks/sandbox.sh build ocaml gen_ocaml_config.ml
# exit-code   1
# env-file    ~/.opam/log/ocaml-system-13887-6cc03f.env
# output-file ~/.opam/log/ocaml-system-13887-6cc03f.out
### output ###
# bwrap: Can't mkdir parents for /home/gabriel/.guix-profile/bin/: No such file or directory

Any idea on how to fix this?

Thanks,
Gabriel

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]

             reply	other threads:[~2019-02-22 20:58 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-02-22 20:56 Gabriel Hondet [this message]
2019-02-22 21:41 ` bug#34620: opam fails Julien Lepiller
     [not found] ` <handler.34620.B.155086902325807.ack@debbugs.gnu.org>
2019-02-23 16:58   ` bug#34620: Acknowledgement (opam fails) Gabriel Hondet
2019-02-24  7:43     ` Gabriel Hondet
2019-02-24 10:15       ` Julien Lepiller
2023-10-11  8:58 ` bug#34620: 'opam install menhir' fails Simon Tournier

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87ef7z1r0q.fsf@gmail.com \
    --to=gabrielhondet@gmail.com \
    --cc=34620@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).