From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id 6IK3GfxzDmJqjAAAgWs5BA (envelope-from ) for ; Thu, 17 Feb 2022 17:12:44 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id yNICF/xzDmI0cAEA9RJhRA (envelope-from ) for ; Thu, 17 Feb 2022 17:12:44 +0100 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 CE3F028C61 for ; Thu, 17 Feb 2022 17:12:43 +0100 (CET) Received: from localhost ([::1]:40686 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nKjOc-0002cH-VB for larch@yhetil.org; Thu, 17 Feb 2022 11:12:42 -0500 Received: from eggs.gnu.org ([209.51.188.92]:58368) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nKcpW-00047f-P2 for bug-guix@gnu.org; Thu, 17 Feb 2022 04:12:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:56208) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nKcpV-0008CO-U2 for bug-guix@gnu.org; Thu, 17 Feb 2022 04:12:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nKcpV-0001Dk-P8 for bug-guix@gnu.org; Thu, 17 Feb 2022 04:12:01 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#54037: Guix commands throws after running `sudo -i guix pull` on foreign distro. Wrong guile version used for regular user. Resent-From: Simen =?UTF-8?Q?Endsj=C3=B8?= Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Thu, 17 Feb 2022 09:12:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 54037 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 54037@debbugs.gnu.org X-Debbugs-Original-To: bug-guix@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.16450891074668 (code B ref -1); Thu, 17 Feb 2022 09:12:01 +0000 Received: (at submit) by debbugs.gnu.org; 17 Feb 2022 09:11:47 +0000 Received: from localhost ([127.0.0.1]:50105 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nKcpH-0001DD-CC for submit@debbugs.gnu.org; Thu, 17 Feb 2022 04:11:47 -0500 Received: from lists.gnu.org ([209.51.188.17]:43626) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nKcpE-0001D5-SR for submit@debbugs.gnu.org; Thu, 17 Feb 2022 04:11:45 -0500 Received: from eggs.gnu.org ([209.51.188.92]:58190) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nKcpE-00040A-BO for bug-guix@gnu.org; Thu, 17 Feb 2022 04:11:44 -0500 Received: from [2a00:1450:4864:20::136] (port=38839 helo=mail-lf1-x136.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nKcpC-0008Ad-6a for bug-guix@gnu.org; Thu, 17 Feb 2022 04:11:43 -0500 Received: by mail-lf1-x136.google.com with SMTP id p22so8707760lfu.5 for ; Thu, 17 Feb 2022 01:11:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=user-agent:from:to:subject:date:message-id:mime-version :content-transfer-encoding; bh=HASgI2jCLMutrRJI3WeczNg9FGHNOetaxKnG4iWa57o=; b=PewqFKwZUZrqjOmIlEw3EFmFa3hlcX0bnBNx8eHd962SJlde9XeDyZRgQ+dZLGJvCV Zm2euuxjOekCvTkX62rG24mKuFh4FO3iSMinrBHlMxsuZCtpEiNOHBvwIxd5CnzznRK8 EibpZ65OX9ViLyTi6sj37Ij8VnksL5v+5NvRo+SA3vSSy1jHvXmkaOt6CAueyM5/IIoI dlAu5yirL+NCATqY1SSUHXYlGvSOxVcRhfrwkWZ4FUQlce3DjcxNQPgzOZtRhAICkEHN mM9m+yB/ek/hZPwZENT1LigFxgxEPsPmTN6hm4L8+DbhMTsS/cM023HgGGFz1x4dF5R5 MndA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:user-agent:from:to:subject:date:message-id :mime-version:content-transfer-encoding; bh=HASgI2jCLMutrRJI3WeczNg9FGHNOetaxKnG4iWa57o=; b=YO3Qs0XaN8sn2ZdqTNq/eaF1frL0iJtg1OZfq6pxryN00hEGxIT3yHj66dac1TYTBI YX7ehEAbrKBzw0Bu5MLDa7fcNyB6+LOFlIoyTQQtl9bDwGHZIX/cz1ZFg2Co4qd/bzD9 4YvawBljG6gJXEp/8R+UQMLb0kRqPs7+uhWOHC6wc0sWNXec0AGUUkX3lrKCSKJI3UgG VxWsRWUqmrpjaRtxHl8L8FkLaYxupXws2gqo7Wqzj0hnxadtuFoyS/gXJVImmr+JL2pg 3F7BPxHAIsMCRZcbaMEU07+nklVkq3BtmStKl+/3x4ynxl5/14VFdoGhRudqEmkAC2Iw cmgg== X-Gm-Message-State: AOAM532+Slway9px81G0nY+kGtr4NyNVqpiqj3Ypo5tsJA9+O5+VCbPl TeK3ZWUY+WBZTYHVUvdGRghXS/pxKi8= X-Google-Smtp-Source: ABdhPJzQSdf6v7OBe60fPkcn/LCFecvsN6u9D2+m+rfI87AjIibl8Ur8LChOhChzxEFzTKh4rs6aGw== X-Received: by 2002:a05:6512:3f91:b0:43e:da3e:464b with SMTP id x17-20020a0565123f9100b0043eda3e464bmr1404538lfa.673.1645089099448; Thu, 17 Feb 2022 01:11:39 -0800 (PST) Received: from simendsjo-laptop ([84.211.91.241]) by smtp.gmail.com with ESMTPSA id g20sm1914048lja.50.2022.02.17.01.11.37 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 17 Feb 2022 01:11:38 -0800 (PST) User-agent: mu4e 1.6.10; emacs 28.0.91 From: Simen =?UTF-8?Q?Endsj=C3=B8?= Date: Thu, 17 Feb 2022 09:55:55 +0100 Message-ID: <87ley9503r.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Host-Lookup-Failed: Reverse DNS lookup failed for 2a00:1450:4864:20::136 (failed) Received-SPF: pass client-ip=2a00:1450:4864:20::136; envelope-from=simendsjo@gmail.com; helo=mail-lf1-x136.google.com X-Spam_score_int: -2 X-Spam_score: -0.3 X-Spam_bar: / X-Spam_report: (-0.3 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, PDS_HP_HELO_NORDNS=0.978, RCVD_IN_DNSWL_NONE=-0.0001, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Mailman-Approved-At: Thu, 17 Feb 2022 11:12:13 -0500 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" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1645114363; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=HASgI2jCLMutrRJI3WeczNg9FGHNOetaxKnG4iWa57o=; b=Gx0nZyLgkYcWSZOvBws+ieTlMaUc558lEum/db6sLuuMsUMsjNHCLE3EUXIK5sQHnjej5o BPHsnHCJoO0YxvhMLTrKu6ZRIuU6P5gj7Bo6YLPbjegmXu7CFOa2imb9iE3UuvOSYYltHT Zhhk7Pf9SLiY1o8xB0o+5NGKa2Ku5WU93jAdHOS0tA+Tho6dCQDw6thappktfil+28HrKe MB3cxDUaiIy8T00As5a7iFnFV9cfIO2d1eEfkpaS6nUszcD1kaaxXOWXYp6PoGzFjwHXOQ 2+9Sw63V+ba164EYY79e9zQgerr30A0w5yzQC4gTxvQjJFRNBi8g24VQqAUNfg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1645114363; a=rsa-sha256; cv=none; b=ULHJRibztOOs2rZeDKsAvPala8ZyOR7w1gorZO4Rruefg/JNF2h9+HvD5XMb0uzdRrJa3V DOC1q52tL0sOYEC4M5xZAZ03ttNYtvzDFV2cNPBXs1pmFzvz5frYpEgZ55qPiPTbncER4/ Xl4Kjxo8GvtCPUhWuhnVSxRDJ91USqjlWieOA4KUpQ8qXe0epvzg51YVZNphvV9N5ef9Rw +0qRNmhabOdkEzWIusUk7wYMrVTMMLiK3fOIuVAOmlSl2eI7+H1RxW16KvRf10vDqO/aBq 0d6rvYseoAdmyQOZTXv/tZhueq0mbZd1Ybpg8v+GH7Dx1fcEE66MTa1qCKyfSw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=PewqFKwZ; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); 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" X-Migadu-Spam-Score: -2.73 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=PewqFKwZ; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); 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" X-Migadu-Queue-Id: CE3F028C61 X-Spam-Score: -2.73 X-Migadu-Scanner: scn0.migadu.com X-TUID: AVBdwUgOOPDN Not sure if this is a bug, or if it's somehow my fault. I'm using Guix on a foreign distro, and I think I broke my system after running `$ sudo -i guix pull`. When running `$ guix pull` I get lots of warnings like the following ;;; WARNING: loading compiled file (.. snip ..) failed: ;;; In procedure load-thunk-from-memory: incompatible bytecode version And commands like `pull` and `update` throws exceptions. I've tried rebooting my system to no effect. Both roots and my `realpath $(which guix)` returns `/gnu/store/rkm49zf7gk3xj94bnscjsr3c1vaam977-guix-command`. This is a shebang script, calling `/gnu/store/549xzhnm3q810py1v0jbv0px0prd3a21-guile-wrapper/bin/guile`. The strange thing is that the wrapper script invokes a different version of guile for root and my user. Root doesn't have guile installed, while my user have guile installed. That script uses 3.0.8 for root and 3.0.7 for my user. Discussed this on IRC yesterday, and another user had a similar setup, but the script retured 3.0.8 for both users. # guix describe Generation 12 Feb 17 2022 09:50:18 (current) guix 755c7c8 repository URL: https://git.savannah.gnu.org/git/guix.git branch: master commit: 755c7c80825c150b5a8b38072bcfb78699f2fbf2 $ guix describe # (.. lots of incompatible bytecode warnings ..) Generation 11 Feb 16 2022 19:06:25 (current) guix 373c77b repository URL: https://git.savannah.gnu.org/git/guix.git branch: master commit: 373c77bf22ad69bdb303742ff5e18ec47de20d4f guix-gaming-games 43aa8af repository URL: https://gitlab.com/guix-gaming-channels/games.git branch: master commit: 43aa8af5f2bfbf4400fc46925909da56d4094cb7 flat ece373b repository URL: https://github.com/flatwhatson/guix-channel.git branch: master commit: ece373bcd1e00ef746fb7b104e56ab610cc4af2a nonguix 35533c7 repository URL: https://gitlab.com/nonguix/nonguix branch: master commit: 35533c763a81365e14d0b58ad262e8f88c82872c $ guix pull # (.. lots of incompatible bytecode warnings ..) Backtrace: 19 (_ # =E2= =80=A6) 18 (_ # =E2= =80=A6) In ice-9/eval.scm: 191:27 17 (_ #(#(# #)= =E2=80=A6)) 196:35 16 (_ #(#(#(# =E2=80=A6) #)= #)) 298:34 15 (_ #(#(#(#) =E2=80=A6= ) =E2=80=A6)) In ice-9/boot-9.scm: 2835:4 14 (save-module-excursion _) 152:2 13 (with-fluid* _ _ _) In unknown file: 12 (primitive-load "/gnu/store/8zwkzd3a3m5s8baqbcqq4wac5p6=E2= =80=A6") In ice-9/eval.scm: 626:19 11 (_ #) 293:34 10 (_ #) 293:34 9 (_ #(#(#) "gu=E2=80=A6= " =E2=80=A6)) 619:8 8 (_ #(#(#(#) =E2=80= =A6) #)) 626:19 7 (_ #(#(#(#) =E2=80=A6)= #)) 293:34 6 (_ #(#(#(# =E2= =80=A6) =E2=80=A6) =E2=80=A6)) In ice-9/boot-9.scm: 1747:15 5 (with-exception-handler # =E2=80=A6) In ice-9/eval.scm: 619:8 4 (_ #(#(#(# #)) #)) 626:19 3 (_ #(#(#(# #)) #)) In unknown file: 2 (load-compiled/vm "/home/simendsjo/.config/guix/current=E2=80= =A6") In ice-9/boot-9.scm: 1685:16 1 (raise-exception _ #:continuable? _) 1685:16 0 (raise-exception _ #:continuable? _) ice-9/boot-9.scm:1685:16: In procedure raise-exception: In procedure load-thunk-from-memory: incompatible bytecode version $ guix package -u guile # (.. lots of incompatible bytecode warnings ..) Backtrace: In ice-9/boot-9.scm: 152:2 19 (with-fluid* _ _ _) 152:2 18 (with-fluid* _ _ _) 152:2 17 (with-fluid* _ _ _) 724:2 16 (call-with-prompt _ _ #) 152:2 15 (with-fluid* _ _ _) 142:2 14 (dynamic-wind # =E2=80=A6) In ice-9/eval.scm: 293:34 13 (_ #(#(#(#(#(# =E2=80= =A6)) =E2=80=A6) =E2=80=A6) =E2=80=A6)) 619:8 12 (_ #(#(#(#= ) =E2=80=A6) =E2=80=A6)) 626:19 11 (_ #(#(#(#) = =E2=80=A6) =E2=80=A6)) In srfi/srfi-1.scm: 460:18 10 (fold # =E2=80=A6) In ice-9/eval.scm: 293:34 9 (_ #(#(#(#(#(#(#(#(#(#(#(=E2=80=A6) =E2=80=A6) =E2=80=A6) =E2= =80=A6) =E2=80=A6) =E2=80=A6) =E2=80=A6) =E2=80=A6) =E2=80=A6) =E2=80=A6) = =E2=80=A6)) 293:34 8 (_ #(#(#) "gu=E2=80=A6= " =E2=80=A6)) 619:8 7 (_ #(#(#(#) =E2=80= =A6) #)) 626:19 6 (_ #(#(#(#) =E2=80=A6)= #)) 293:34 5 (_ #(#(#(# =E2= =80=A6) =E2=80=A6) =E2=80=A6)) In ice-9/boot-9.scm: 1747:15 4 (with-exception-handler # =E2=80=A6) In ice-9/eval.scm: 619:8 3 (_ #(#(#(# #)) #)) 626:19 2 (_ #(#(#(# #)) #)) In unknown file: 1 (load-compiled/vm "/home/simendsjo/.config/guix/current=E2=80= =A6") In ice-9/boot-9.scm: 1685:16 0 (raise-exception _ #:continuable? _) ice-9/boot-9.scm:1685:16: In procedure raise-exception: In procedure load-thunk-from-memory: incompatible bytecode version