From mboxrd@z Thu Jan 1 00:00:00 1970 From: Maxim Cournoyer Subject: Re: Multiple substitute servers question Date: Mon, 24 Apr 2017 10:04:58 +0900 Message-ID: <87tw5epqdh.fsf@gmail.com> References: <87fugyeifc.fsf@gmail.com> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:49557) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d2SR8-0005Q2-Vy for guix-devel@gnu.org; Sun, 23 Apr 2017 21:05:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1d2SR7-0000Fk-Qo for guix-devel@gnu.org; Sun, 23 Apr 2017 21:05:06 -0400 Received: from mail-it0-x232.google.com ([2607:f8b0:4001:c0b::232]:37897) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1d2SR7-0000Fe-KF for guix-devel@gnu.org; Sun, 23 Apr 2017 21:05:05 -0400 Received: by mail-it0-x232.google.com with SMTP id e132so35761986ite.1 for ; Sun, 23 Apr 2017 18:05:05 -0700 (PDT) Received: from apteryx ([2601:647:4c00:1733:c2f8:daff:fe5d:2f2f]) by smtp.gmail.com with ESMTPSA id n74sm17511746pfa.87.2017.04.23.18.05.03 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sun, 23 Apr 2017 18:05:03 -0700 (PDT) In-Reply-To: <87fugyeifc.fsf@gmail.com> (Maxim Cournoyer's message of "Mon, 24 Apr 2017 09:52:07 +0900") List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: guix-devel --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Maxim Cournoyer writes: Correction below: > Hello Guix! > > I'm using both the default substitute server (mirrors.hydra.gnu.org) as > well as the recently added bayfront.guixsd.org[1], and today when I tried= to > issue 'guix environment guix' I got: > > > [...] > > ;;; note: source file /home/maxim/.config/guix/latest/gnu/packages/tmux.s= cm > ;;; newer than compiled /home/maxim/.config/guix/latest/gnu/package= s/tmux.go > ;;; note: source file /home/maxim/.config/guix/latest/gnu/packages/tmux.s= cm > ;;; newer than compiled /gnu/store/v83285dvjy923ikq1dddncixb6kfba0k= -guix-0.12.0-5.1162/share/guile/site/2.0/gnu/packages/tmux.go > Downloading https://bayfront.guixsd.org/nar/c64n03yy6kk66ah7x7pghpx2zc62j= 8d0-subversion-1.8.17.tar.bz2 (6.6MiB installed)... > guix substitute: error: connect: No route to host > killing process 7274 > guix environment: error: build failed: some substitutes for the outputs o= f derivation `/gnu/store/2yl7ck1dzi32jb4aiqr2hhqxx90qkfxh-subversion-1.8.17= .tar.bz2.drv' failed (usually happens due to networking issues); try `--fal= lback' to build derivation from source=20 > > > Given that issuing 'guix environment guix > --substitute-urls=3Dmirrors.hydra.gnu.org' produces something different > (but unfortunately equally broken): The substitute URI should be "https://mirrors.hydra.gnu.org". When using such URI it works without an error. My original question still holds though (why is an unresolvable substitute-url able to bring the guix command down when at least one working alternative substitute server exists? -- it should just warn about it and push through). > substitute: In unknown file: > substitute: ?: 1 [primitive-load "/gnu/store/v83285dvjy923ikq1dddncixb= 6kfba0k-guix-0.12.0-5.1162/bin/.guix-real"] > substitute: In guix/ui.scm: > substitute: 1228: 0 [run-guix-command substitute "--query"] > substitute:=20 > substitute: guix/ui.scm:1228:8: In procedure run-guix-command: > substitute: guix/ui.scm:1228:8: In procedure struct_vtable: Wrong type ar= gument in position 1 (expecting struct): #f > guix environment: error: corrupt input while restoring archive from # > Also, this error message is very cryptic; it didn't provided much that would have helped me to realize about my error (wrong URI) earlier. Maxim --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEJ9WGpPiQCFQyn/CfEmDkZILmNWIFAlj9TzoACgkQEmDkZILm NWI1ag/8CYvqV/bMIOZMUWIrrJVAl5fbpocvAlJEFdlk6L/OzFd04OUkH7tflmb+ f4AVjd9JlYo+//T7yMlrB/K88SUCMsfTrNF5Nbakvt3Wfpd/87XyNu5o0FExhQ0x wGukDAuhA06dk6vtixcTXgUbvPQA0oFqjCGOlbsN7n9jp+CWzNCI6ZjoPWfH2k7q ygNOtK4CH7QADRz49zlDkqSDHsCx9VuNYTxbqsiXh2JE12KTcYjC+EWHUeUOawBy /XTsXitq90og4ge1O/R05ZBmfh5tx1a/i60Z9P/HHBURk6p7ZaBNAzzLCuL35t1a j79h8mSR8//EjU9XKdGg1M51sFEhAge4z4PJQEQWsldrEVHrHPh9nG/DhcoZGmnJ BV3ZecW+sy/da4TfrbNc5QPY5A04t+yILvLGeGdEMxhuRHaFQhQuu/VltNZ2W5yW KXcX6cQakhvkxWy8oGrkTbKFhVf4HBef04Wz5jqCmVoHUH4IZ0OqDKbGpuEbAhws NMcV9UogQAKTvlPW6TWE11ws+2xrlN/QRbbv5jTZsu/59/qrpZvlfPr08garMmYD hNMzkkAUVDRsEcjgGgJv+CNOeatlHqJJrJ00mzygTLRa0u8jm5mxrpxKLmi+SO+A mfxZp7sHcK493hokR7seTQlyi8uUVa94dxctIfOMm4trOQpibbg= =AkNC -----END PGP SIGNATURE----- --=-=-=--