From debbugs-submit-bounces@debbugs.gnu.org Thu Feb 17 04:11:47 2022 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?= To: bug-guix@gnu.org Subject: Guix commands throws after running `sudo -i guix pull` on foreign distro. Wrong guile version used for regular user. 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-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) 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