From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Subject: bug#33911: SWH fallback is never reached due to an uncaught exception Date: Sun, 06 Jan 2019 11:38:20 +0100 Message-ID: <87ftu6ystf.fsf@gnu.org> References: <20181229164745.2f383663@alma-ubu> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggsout.gnu.org ([209.51.188.92]:46377 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gg5pl-0003GT-14 for bug-guix@gnu.org; Sun, 06 Jan 2019 05:39:11 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gg5pe-00051U-TT for bug-guix@gnu.org; Sun, 06 Jan 2019 05:39:07 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:44754) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gg5pe-00050b-PR for bug-guix@gnu.org; Sun, 06 Jan 2019 05:39:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gg5pe-0005bm-MK for bug-guix@gnu.org; Sun, 06 Jan 2019 05:39:02 -0500 Sender: "Debbugs-submit" Resent-To: bug-guix@gnu.org Resent-Message-ID: In-Reply-To: <20181229164745.2f383663@alma-ubu> ("=?UTF-8?Q?Bj=C3=B6rn_?= =?UTF-8?Q?H=C3=B6fling?="'s message of "Sat, 29 Dec 2018 16:47:45 +0100") List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: =?UTF-8?Q?Bj=C3=B6rn_?= =?UTF-8?Q?H=C3=B6fling?= Cc: 33911-done@debbugs.gnu.org Hi Bj=C3=B6rn, Good catch! I believe the bug was introduced by 329dabe13bf98b899b907b45565434c5140804f5. I suppose I didn=E2=80=99t see it when hacking on SWH support because I commented out the =E2=80=98git-fetch= =E2=80=99 call to test the other path. Bj=C3=B6rn H=C3=B6fling skribis: > The code is in git-download.scm, line 133: > > (or (git-fetch (getenv "git url") (getenv "git commit") > #$output > #:recursive? recursive? > #:git-command (string-append #+git "/bin/git")) > (download-nar #$output) > > ;; As a last resort, attempt to download from Software He= ritage. > ;; XXX: Currently recursive checkouts are not supported. > (and (not recursive?) > (swh-download (getenv "git url") (getenv "git commit= ") > #$output))))))) Fixed in commit 18524466bb25a1926277b1111d15fb378ff7941e. Now I get: --8<---------------cut here---------------start------------->8--- $ ./pre-inst-env guix build -S guile-bash --check building /gnu/store/7w2xsqy12lyfshgpz61z8cg3s5zjsscs-guile-bash-0.1.6-0.1ea= bc56-checkout.drv... environment variable `PATH' set to `/gnu/store/q09sy224qnxrp982z4xfaxi19721= mjx8-gzip-1.9/bin:/gnu/store/ipx79bfj2mrc8npj7s3qi3zri11jfhaw-tar-1.30/bin' Initialized empty Git repository in /gnu/store/7p7mkiqv9ah6x0x20qzpas44sdf7= jqkl-guile-bash-0.1.6-0.1eabc56-checkout/.git/ fatal: repository 'https://anonscm.debian.org/cgit/users/kaction-guest/reti= red/dev.guile-bash.git/' not found Failed to do a shallow fetch; retrying a full fetch... fatal: repository 'https://anonscm.debian.org/cgit/users/kaction-guest/reti= red/dev.guile-bash.git/' not found git-fetch: '/gnu/store/26s82xpawy0z13lfhkd7iprr2ahcbl5f-git-minimal-2.20.1/= bin/git fetch origin' failed with exit code 128 Trying content-addressed mirror at mirror.hydra.gnu.org... Downloading from http://mirror.hydra.gnu.org/guix/nar/gzip/7p7mkiqv9ah6x0x2= 0qzpas44sdf7jqkl-guile-bash-0.1.6-0.1eabc56-checkout (0.04 MiB)... 7p7mki...-guile-bash-0.1.6-0.1eabc56-checkout 37KiB 730KiB/s 00:00 [#####= #############] 100.0% /gnu/store/7p7mkiqv9ah6x0x20qzpas44sdf7jqkl-guile-bash-0.1.6-0.1eabc56-chec= kout --8<---------------cut here---------------end--------------->8--- Thanks for the heads-up! Ludo=E2=80=99.