Package: guix;
Reported by: Gabriel Hondet <gabrielhondet <at> gmail.com>
Date: Fri, 22 Feb 2019 20:58:01 UTC
Severity: normal
View this message in rfc822 format
From: Simon Tournier <zimon.toutoune <at> gmail.com> To: Gabriel Hondet <gabrielhondet <at> gmail.com> Cc: 34620 <at> debbugs.gnu.org Subject: bug#34620: 'opam install menhir' fails Date: Wed, 11 Oct 2023 10:58:21 +0200
Hi, Digging some old bugs about OCaml, I hit #34620: https://issues.guix.gnu.org/issue/34620 On Fri, 22 Feb 2019 at 21:56, Gabriel Hondet <gabrielhondet <at> gmail.com> wrote: > $ 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 Today, using Guix 6113e05, I get: --8<---------------cut here---------------start------------->8--- $ which opam /home/simon/.config/guix/profiles/compiler/compiler/bin/opam $ opam install menhir The following actions will be performed: ↻ recompile ocamlfind 1.9.5 [upstream or system changes] ↻ recompile dune 3.6.1 [upstream or system changes] ∗ install menhirSdk 20230608 [required by menhir] ∗ install menhirLib 20230608 [required by menhir] ↻ recompile csexp 1.5.1 [uses dune] ↻ recompile cppo 1.6.9 [uses dune] ∗ install menhir 20230608 ↻ recompile merlin-lib 4.7-414 [uses dune] ↻ recompile yojson 2.0.2 [uses dune] ↻ recompile dot-merlin-reader 4.6 [upstream or system changes] ↻ recompile merlin 4.7-414 [uses dot-merlin-reader, dune] ===== ∗ 3 ↻ 8 ===== Do you want to continue? [Y/n] Y Y <><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><> ⬇ retrieved cppo.1.6.9 (cached) ⬇ retrieved csexp.1.5.1 (cached) ⬇ retrieved dot-merlin-reader.4.6 (cached) ⬇ retrieved dune.3.6.1 (cached) ⬇ retrieved menhir.20230608 (https://opam.ocaml.org/cache) ⬇ retrieved merlin.4.7-414 (cached) ⬇ retrieved merlin-lib.4.7-414 (cached) ⬇ retrieved ocamlfind.1.9.5 (cached) ⬇ retrieved yojson.2.0.2 (cached) ⬇ retrieved menhirLib.20230608 (https://opam.ocaml.org/cache) [ERROR] The compilation of ocamlfind.1.9.5 failed at "make all". ⬇ retrieved menhirSdk.20230608 (https://opam.ocaml.org/cache) #=== ERROR while compiling ocamlfind.1.9.5 ====================================# # context 2.1.3 | linux/x86_64 | ocaml.4.14.0 | https://opam.ocaml.org#368128df # path ~/.opam/default/.opam-switch/build/ocamlfind.1.9.5 # command ~/.opam/opam-init/hooks/sandbox.sh build make all # exit-code 2 # env-file ~/.opam/log/ocamlfind-218324-578149.env # output-file ~/.opam/log/ocamlfind-218324-578149.out ### output ### # [...] # File "frontend.ml", line 859, characters 10-39: # 859 | Fl_package_base.package_users predicates1 packages1 # ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ # Warning 6 [labels-omitted]: label preds was omitted in the application of this function. # ocamlc -I +compiler-libs -o ocamlfind -g findlib.cma unix.cma \ # -I +unix -I +dynlink ocaml_args.cmo frontend.cmo # File "_none_", line 1: # Error: Error while linking /gnu/store/9pa7j2sdlzsvbxczbn1xmnycxaddzz0c-ocaml-5.0.0/lib/ocaml/unix/unix.cma(Unix): # The external function `caml_unix_waitpid' is not available # make[1]: *** [Makefile:53: ocamlfind] Error 2 # make[1]: Leaving directory '/home/simon/.opam/default/.opam-switch/build/ocamlfind.1.9.5/src/findlib' # make: *** [Makefile:14: all] Error 2 <><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><> ┌─ The following actions failed │ λ build ocamlfind 1.9.5 └─ ╶─ No changes have been performed # Run eval $(opam env) to update the current shell environment --8<---------------cut here---------------end--------------->8--- Well, I think it is another kind of bug than the reported one. Closing? Cheers, simon
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.