From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:306:2d92::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id uPmEFBF7JmUnPQAA9RJhRA:P1 (envelope-from ) for ; Wed, 11 Oct 2023 12:38:09 +0200 Received: from aspmx1.migadu.com ([2001:41d0:306:2d92::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id uPmEFBF7JmUnPQAA9RJhRA (envelope-from ) for ; Wed, 11 Oct 2023 12:38:09 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id E96E9321F1 for ; Wed, 11 Oct 2023 12:38:08 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=aoUgSPA3; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1697020689; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=Nc8EfkExi4ulWYpLEACrUBCaL/ZTM0wUnoZj2P4w/z4=; b=LyqZYl3IZYxX1ERnUYnPXdk4FaSDhHN859k/myHgtoBc8nIqgPWtgFE9J9f9ynz1V8NW0E qoJ9GMnvn5bmOHRRJL+EonDjkCdCo5atp8CyqLTcSh/A+TBipTTIhIZ+gbo+FOS2AZqsJM 5sDsNMdWWtt63aTuGQcO0jZh8ytP7l6/7Q+cwXk8Cf6Iz3R3bYYrgakU00aTxKYREncfhp suslVyGJTvuIin0bKxNRVP0+AskJoa6H9OZ0UqFDVP5StlEicDCUaEdyHBs96lPlNqeAJ1 qL+ky9Fjeb3tLea/owgCYeprGYkBxE/Q8K+W0Ve+1J4eRuexeU4X711ZkLkDAw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=aoUgSPA3; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none) ARC-Seal: i=1; s=key1; d=yhetil.org; t=1697020689; a=rsa-sha256; cv=none; b=bRBFTKcg1qBQUax32R0dXiO3JaNtHLm33an6s1LXeFl3ydB/F2qWYNlAF6vt9BLtDtedLP uj07Ekw9jQenfOIOBaWNKsRP9p+2D8S88cMM2cq4WPVPrUxb6Z+38Svb5kOeQd2vZCKCU5 HKm+MvyrPgG7uhnHFGUmKoYf6n486D4v8ap1UDZK/PwyWGIJfUxryI+M1x0OKPOo0R5Tnr TiIK8Kkj5lcJnVDlxcEQ1cB3a51qQF6kDdWBFMwwt9Myq0M86LQ4BIMWxeguDHZsXLgAXR QSOTMvPwuFgQvgEHw0okmn32rGWW+Vu5TFoB8Xd6lNb+x7VUvKO/qqJIbbQLVg== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qqWb0-0004cK-Sa; Wed, 11 Oct 2023 06:37:42 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qqWay-0004ST-It for bug-guix@gnu.org; Wed, 11 Oct 2023 06:37:41 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qqWay-0006DW-9i for bug-guix@gnu.org; Wed, 11 Oct 2023 06:37:40 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qqWbJ-0000Tq-Lt for bug-guix@gnu.org; Wed, 11 Oct 2023 06:38:01 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#34620: 'opam install menhir' fails Resent-From: Simon Tournier Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Wed, 11 Oct 2023 10:38:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 34620 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Gabriel Hondet Cc: 34620@debbugs.gnu.org Received: via spool by 34620-submit@debbugs.gnu.org id=B34620.16970206781816 (code B ref 34620); Wed, 11 Oct 2023 10:38:01 +0000 Received: (at 34620) by debbugs.gnu.org; 11 Oct 2023 10:37:58 +0000 Received: from localhost ([127.0.0.1]:37599 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qqWbG-0000TD-46 for submit@debbugs.gnu.org; Wed, 11 Oct 2023 06:37:58 -0400 Received: from mail-wm1-x335.google.com ([2a00:1450:4864:20::335]:39043) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qqWbA-0000SO-Df for 34620@debbugs.gnu.org; Wed, 11 Oct 2023 06:37:54 -0400 Received: by mail-wm1-x335.google.com with SMTP id 5b1f17b1804b1-406532c49dcso17105455e9.0 for <34620@debbugs.gnu.org>; Wed, 11 Oct 2023 03:37:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1697020645; x=1697625445; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:user-agent:message-id :in-reply-to:date:references:subject:cc:to:from:from:to:cc:subject :date:message-id:reply-to; bh=Nc8EfkExi4ulWYpLEACrUBCaL/ZTM0wUnoZj2P4w/z4=; b=aoUgSPA3DPYYRkyqUCdhwvjeBEpM75V4T6rHuxtDGNzluoMmlY8gV8Hp95Tc2L3R/T fDBp/F5+0EZ//W+XHUY/hUvIAzdK69OKwLVVERyNmsTrU1Di+2B4alxIjS9LckvSJ7oe XlgLPggJGBFsXMNvCT+H4MBTVM1EhHI4ijUWrgPCoLMit2y8W34uY+WVtqQOwQeeUdg6 jNp3FdN8LUTxlAJt06VHKWlUMBfy7ruRPGbrIt2z6GhuA/lfaBhsIbwUQ2cwQReVZF7Q EridCVVj2nIDLfFWjl4jw5t1k+2QmsyIrE6BvmxzmrB2Gg9FPj4SZ1KE9A1yCJgHL88y t77g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1697020645; x=1697625445; h=content-transfer-encoding:mime-version:user-agent:message-id :in-reply-to:date:references:subject:cc:to:from:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=Nc8EfkExi4ulWYpLEACrUBCaL/ZTM0wUnoZj2P4w/z4=; b=Zko6TYOlAj8dqX77MTna3s4gJwPrNDm3tJLL88oaETBciZ9R3E6qDBEq+DeKJ9NxAd gNAAj9xY7WvGXsgMZFz7Ht/g40WqSUD6gZSnUdX7dgRRkQ3ypUQucqUyOMTgelLWA/1V WoYZYRhCHimEmVTwOnvXiInqvVzdJgu8xrgrX6s4wpZzPh66xnTnYZ5EwJLujZOQSnx6 SWNa7qFZUaSfvdG/G9Rrwdg6AfFurEeW3kX2+oPMgXT6FwOPER4bLci1yLZiFYLBiO+9 bZYfdkhqzyJCbmzcy25Pxs7cSCmmqz+K5RRXkZ3qqNgqWgE5FZAD9gS++mK9jn2HIW3v G3iQ== X-Gm-Message-State: AOJu0YyvkzyW5/4qW/szEH11muVANCTosjAy4xxGnaPeRKAzTLTkJY6y 1NmjqJgtg3PI4RrWUGgLU8q29DMHWy4= X-Google-Smtp-Source: AGHT+IFkNC7B/8lJdYjs22On+x8IWNrOBRJ95FhyJo4VVHddYP89Xn2QJw5QTfxOaBW9FA2OzHBEEw== X-Received: by 2002:a05:600c:3511:b0:405:4280:341d with SMTP id h17-20020a05600c351100b004054280341dmr18226545wmq.4.1697020644960; Wed, 11 Oct 2023 03:37:24 -0700 (PDT) Received: from lili ([2a01:e0a:59b:9120:65d2:2476:f637:db1e]) by smtp.gmail.com with ESMTPSA id g23-20020a7bc4d7000000b004055858e7d8sm18712421wmk.7.2023.10.11.03.37.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 11 Oct 2023 03:37:24 -0700 (PDT) From: Simon Tournier References: <87ef7z1r0q.fsf@gmail.com> Date: Wed, 11 Oct 2023 10:58:21 +0200 In-Reply-To: <87ef7z1r0q.fsf@gmail.com> (Gabriel Hondet's message of "Fri, 22 Feb 2019 21:56:21 +0100") Message-ID: <86pm1llemq.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: bug-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: 2.82 X-Spam-Score: 2.82 X-Migadu-Queue-Id: E96E9321F1 X-Migadu-Scanner: mx2.migadu.com X-TUID: bV2mfsJ6Tfk0 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 wrot= e: > $ opam install menhir > > #=3D=3D=3D ERROR while compiling ocaml-system.4.07.1 =3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D# > # 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_co= nfig.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 > > #=3D=3D=3D ERROR while compiling ocaml-system.4.07.1 =3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D# > # 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_co= nfig.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 suc= h 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: =E2=86=BB recompile ocamlfind 1.9.5 [upstream or system change= s] =E2=86=BB recompile dune 3.6.1 [upstream or system change= s] =E2=88=97 install menhirSdk 20230608 [required by menhir] =E2=88=97 install menhirLib 20230608 [required by menhir] =E2=86=BB recompile csexp 1.5.1 [uses dune] =E2=86=BB recompile cppo 1.6.9 [uses dune] =E2=88=97 install menhir 20230608 =E2=86=BB recompile merlin-lib 4.7-414 [uses dune] =E2=86=BB recompile yojson 2.0.2 [uses dune] =E2=86=BB recompile dot-merlin-reader 4.6 [upstream or system change= s] =E2=86=BB recompile merlin 4.7-414 [uses dot-merlin-reader, d= une] =3D=3D=3D=3D=3D =E2=88=97 3 =E2=86=BB 8 =3D=3D=3D=3D=3D Do you want to continue? [Y/n] Y Y <><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><= ><><> =E2=AC=87 retrieved cppo.1.6.9 (cached) =E2=AC=87 retrieved csexp.1.5.1 (cached) =E2=AC=87 retrieved dot-merlin-reader.4.6 (cached) =E2=AC=87 retrieved dune.3.6.1 (cached) =E2=AC=87 retrieved menhir.20230608 (https://opam.ocaml.org/cache) =E2=AC=87 retrieved merlin.4.7-414 (cached) =E2=AC=87 retrieved merlin-lib.4.7-414 (cached) =E2=AC=87 retrieved ocamlfind.1.9.5 (cached) =E2=AC=87 retrieved yojson.2.0.2 (cached) =E2=AC=87 retrieved menhirLib.20230608 (https://opam.ocaml.org/cache) [ERROR] The compilation of ocamlfind.1.9.5 failed at "make all". =E2=AC=87 retrieved menhirSdk.20230608 (https://opam.ocaml.org/cache) #=3D=3D=3D ERROR while compiling ocamlfind.1.9.5 =3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D# # 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-oc= aml-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 <><><><><><><><><><><><><><><><><><><><><><><><><><><><><= ><><> =E2=94=8C=E2=94=80 The following actions failed =E2=94=82 =CE=BB build ocamlfind 1.9.5 =E2=94=94=E2=94=80 =E2=95=B6=E2=94=80 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