From unknown Tue Jun 17 01:26:47 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#45045 <45045@debbugs.gnu.org> To: bug#45045 <45045@debbugs.gnu.org> Subject: Status: substitute fails if discovery is enabled Reply-To: bug#45045 <45045@debbugs.gnu.org> Date: Tue, 17 Jun 2025 08:26:47 +0000 retitle 45045 substitute fails if discovery is enabled reassign 45045 guix submitter 45045 Maxime Devos severity 45045 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Fri Dec 04 17:25:37 2020 Received: (at submit) by debbugs.gnu.org; 4 Dec 2020 22:25:37 +0000 Received: from localhost ([127.0.0.1]:46075 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1klJWD-0006ow-11 for submit@debbugs.gnu.org; Fri, 04 Dec 2020 17:25:37 -0500 Received: from lists.gnu.org ([209.51.188.17]:47186) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1klJWA-0006og-Bl for submit@debbugs.gnu.org; Fri, 04 Dec 2020 17:25:35 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:43410) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1klJW8-0001zf-IX for bug-guix@gnu.org; Fri, 04 Dec 2020 17:25:34 -0500 Received: from rhcavuit03.kulnet.kuleuven.be ([134.58.240.136]:58707) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1klJW2-0007WC-6y for bug-guix@gnu.org; Fri, 04 Dec 2020 17:25:32 -0500 X-KULeuven-Envelope-From: maxime.devos@student.kuleuven.be X-Spam-Status: not spam, SpamAssassin (not cached, score=-51, required 5, autolearn=disabled, ALL_TRUSTED -1.00, LOCAL_SMTPS -50.00) X-KULeuven-Scanned: Found to be clean X-KULeuven-ID: 5956412032F.AAAAF X-KULeuven-Information: Katholieke Universiteit Leuven Received: from icts-p-smtps-1.cc.kuleuven.be (icts-p-smtps-1e.kulnet.kuleuven.be [134.58.240.33]) by rhcavuit03.kulnet.kuleuven.be (Postfix) with ESMTP id 5956412032F for ; Fri, 4 Dec 2020 23:24:55 +0100 (CET) Received: from butterfly.local (178-119-10-153.access.telenet.be [178.119.10.153]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by icts-p-smtps-1.cc.kuleuven.be (Postfix) with ESMTPSA id 359F840B2 for ; Fri, 4 Dec 2020 23:24:55 +0100 (CET) Message-ID: <49435153f085b12c0ee2665c8d83ca93f878c4a9.camel@student.kuleuven.be> Subject: substitute fails if discovery is enabled X-Kuleuven: This mail passed the K.U.Leuven mailcluster From: Maxime Devos To: bug-guix@gnu.org Date: Fri, 04 Dec 2020 23:24:43 +0100 Content-Type: multipart/signed; micalg="pgp-sha256"; protocol="application/pgp-signature"; boundary="=-W5N0cwrg+XlAlNwakPuh" User-Agent: Evolution 3.34.2 MIME-Version: 1.0 Received-SPF: pass client-ip=134.58.240.136; envelope-from=maxime.devos@student.kuleuven.be; helo=rhcavuit03.kulnet.kuleuven.be X-Spam_score_int: -41 X-Spam_score: -4.2 X-Spam_bar: ---- X-Spam_report: (-4.2 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.6 (-) 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.6 (--) --=-W5N0cwrg+XlAlNwakPuh Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi, Discovery of substitute servers on the local network doesn't seem to work properly, see output of `sudo guix system reconfigure config.scm --save-provenance` at end of e-mail. Disabling substitutes (e.g. `guix build hello --no- substitutes`) seems to work-around the issue.=20 Some network details: there are no substitute servers on the local network (except the local computer). Greetings, Maxime --- Appendices Guix version: guix (GNU Guix) c2352335ca3ccbfee5b1581a832e38bc9a15c4f9 My service defintion: (services (append (list (service mate-desktop-service-type) (service cups-service-type=20 (cups-configuration (web-interface? #t) (extensions (list cups-filters escpr hplip-minimal brlaser)))) (service zram-device-service-type (zram-device-configuration)) (service sane-service-type) (set-xorg-configuration (xorg-configuration (keyboard-layout keyboard-layout))) (bluetooth-service) (service tlp-service-type) (service guix-publish-service-type (guix-publish-configuration (port 8080) (host "0.0.0.0") (compression '(("lzip" 7)))))) (modify-services %desktop-services (network-manager-service-type c =3D> (network- manager-configuration (vpn-plugins (list network-manager-openconnect)))) (guix-service-type c =3D> (guix-configuration (inherit c) (discover? #t)))))) Output of `sudo guix system reconfigure config.scm --save-provenance`: substitute: In ice-9/boot-9.scm: substitute: 1736:10 16 (with-exception-handler _ _ #:unwind? _ # _) substitute: In unknown file: substitute: 15 (apply-smob/0 #) substitute: In ice-9/boot-9.scm: substitute: 718:2 14 (call-with-prompt _ _ #) substitute: In ice-9/eval.scm: substitute: 619:8 13 (_ #(#(#))) substitute: In guix/ui.scm: substitute: 2101:2 12 (run-guix-command substitute "--query") substitute: In ice-9/boot-9.scm: substitute: 1731:15 11 (with-exception-handler # =E2=80=A6) substitute: 3297:17 10 (resolve-interface (guix scripts substitute) #:select _ =E2=80=A6) substitute: In ice-9/threads.scm: substitute: 390:8 9 (_ _) substitute: In ice-9/boot-9.scm: substitute: 3223:13 8 (_) substitute: In ice-9/threads.scm: substitute: 390:8 7 (_ _) substitute: In ice-9/boot-9.scm: substitute: 3507:20 6 (_) substitute: 2806:4 5 (save-module-excursion _) substitute: 3527:26 4 (_) substitute: In unknown file: substitute: 3 (primitive-load-path "guix/scripts/substitute" #) substitute: In guix/scripts/substitute.scm: substitute: 1107:33 2 (_) substitute: In guix/scripts/discover.scm: substitute: 98:26 1 (read-substitute-urls #:file _) substitute: In unknown file: substitute: 0 (open-file "/var/guix/discover/publish" "r0") substitute:=20 substitute: ERROR: In procedure open-file: substitute: In procedure open-file: No such file or directory: "/var/guix/discover/publish" guix environment: error: `/gnu/store/qvsmk5hcx5fchl1whd0jzvrfvzbkky5d- guix-1.2.0-3.35a32fe/bin/guix substitute' died unexpectedly --=-W5N0cwrg+XlAlNwakPuh Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- iJcEABYIAD8WIQTB8z7iDFKP233XAR9J4+4iGRcl7gUCX8q3KyEcbWF4aW1lLmRl dm9zQHN0dWRlbnQua3VsZXV2ZW4uYmUACgkQSePuIhkXJe6a4gD/fQHSJZFVU7uy A49gmyDDweRwoAIxZgMiiI+bNRJ7iRgA/idQQ7+XKJg28I4pIB2OLHFLj7xDSVLB Q0qYvekbM+wJ =ylI9 -----END PGP SIGNATURE----- --=-W5N0cwrg+XlAlNwakPuh-- From debbugs-submit-bounces@debbugs.gnu.org Sat Dec 05 05:21:45 2020 Received: (at 45045-done) by debbugs.gnu.org; 5 Dec 2020 10:21:45 +0000 Received: from localhost ([127.0.0.1]:46603 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1klUhF-0000qG-Kw for submit@debbugs.gnu.org; Sat, 05 Dec 2020 05:21:45 -0500 Received: from eggs.gnu.org ([209.51.188.92]:51092) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1klUhE-0000q3-6K for 45045-done@debbugs.gnu.org; Sat, 05 Dec 2020 05:21:44 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]:43645) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1klUh6-0007ba-9u; Sat, 05 Dec 2020 05:21:36 -0500 Received: from [2a01:e0a:19b:d9a0:ddee:981b:f440:2088] (port=38256 helo=cervin) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1klUh5-00074h-Q9; Sat, 05 Dec 2020 05:21:36 -0500 From: Mathieu Othacehe To: Maxime Devos Subject: Re: bug#45045: substitute fails if discovery is enabled References: <49435153f085b12c0ee2665c8d83ca93f878c4a9.camel@student.kuleuven.be> Date: Sat, 05 Dec 2020 11:21:34 +0100 Message-ID: <87zh2s5z9t.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 45045-done Cc: 45045-done@debbugs.gnu.org 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: -3.3 (---) Hello Maxime, > Discovery of substitute servers on the local network doesn't seem to > work properly, see output of > `sudo guix system reconfigure config.scm --save-provenance` > at end of e-mail. Disabling substitutes (e.g. `guix build hello --no- > substitutes`) seems to work-around the issue. Thanks for the complete bug report. This is fixed with c952a9312a94bb236495ec654bf184685cf9fe79. Note that you will need to run "guix pull" before reconfiguring. Mathieu From unknown Tue Jun 17 01:26:47 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sat, 02 Jan 2021 12:24:05 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator