From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mathieu Othacehe Subject: bug#26987: guix pull without guile-ssh. Date: Thu, 18 May 2017 21:53:34 +0200 Message-ID: <87lgpuuekh.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:34519) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dBRUt-0008Sl-C3 for bug-guix@gnu.org; Thu, 18 May 2017 15:54:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dBRUo-0006p3-Gl for bug-guix@gnu.org; Thu, 18 May 2017 15:54:07 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:51174) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dBRUo-0006or-CF for bug-guix@gnu.org; Thu, 18 May 2017 15:54:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dBRUo-0005GN-5R for bug-guix@gnu.org; Thu, 18 May 2017 15:54:02 -0400 Sender: "Debbugs-submit" Resent-Message-ID: Received: from eggs.gnu.org ([2001:4830:134:3::10]:34423) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dBRUU-0008ST-DR for bug-guix@gnu.org; Thu, 18 May 2017 15:53:43 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dBRUP-0006Hb-Ja for bug-guix@gnu.org; Thu, 18 May 2017 15:53:42 -0400 Received: from mail-wm0-x235.google.com ([2a00:1450:400c:c09::235]:37829) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dBRUP-0006Fv-CB for bug-guix@gnu.org; Thu, 18 May 2017 15:53:37 -0400 Received: by mail-wm0-x235.google.com with SMTP id d127so64146823wmf.0 for ; Thu, 18 May 2017 12:53:36 -0700 (PDT) Received: from cervin (85-169-37-239.rev.numericable.fr. [85.169.37.239]) by smtp.gmail.com with ESMTPSA id t30sm375498wrc.24.2017.05.18.12.53.34 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 18 May 2017 12:53:35 -0700 (PDT) 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: 26987@debbugs.gnu.org Hi, If Guile-SSH is not detected, depends-on-guile-ssh? will be called here: --8<---------------cut here---------------start------------->8--- (guix build pull) (let* ((files (remove (if (false-if-exception (resolve-interface '(ssh session))) (const #f) depends-on-guile-ssh?) (all-scheme-files out))) --8<---------------cut here---------------end--------------->8--- Thus, source-module-closure is called with a file. However, source-module-closure is expecting a module list like '((guix ...)). This result in the following error while running guix pull: --8<---------------cut here---------------start------------->8--- In ./guix/modules.scm: 118:4 0 (module-closure _ #:select? _ #:dependencies _) ./guix/modules.scm:118:4: In procedure module-closure: ./guix/modules.scm:118:4: Throw to key `match-error' with args `("match" "no matching pattern" "/gnu/store/0slxknjvjwhp31qryv42419vqwjrjifb-guix-latest/guix.scm")'. builder for `/gnu/store/lq6ga13k75ljrdnqam9jm1q92cv4g0pm-guix-latest.drv' failed with exit code 1 --8<---------------cut here---------------end--------------->8--- I'm not sure how to fix it. Thanks, Mathieu