From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) Subject: bug#18747: Fixed-output derivations are not substituted Date: Thu, 16 Oct 2014 17:26:03 +0200 Message-ID: <87h9z4594k.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:50276) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XemxJ-0005cN-J3 for bug-guix@gnu.org; Thu, 16 Oct 2014 11:27:13 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XemxC-0000Hz-Ec for bug-guix@gnu.org; Thu, 16 Oct 2014 11:27:09 -0400 Received: from debbugs.gnu.org ([140.186.70.43]:54539) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XemxC-0000Ht-B7 for bug-guix@gnu.org; Thu, 16 Oct 2014 11:27:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1XemxB-0001Hw-TP for bug-guix@gnu.org; Thu, 16 Oct 2014 11:27:01 -0400 Sender: "Debbugs-submit" Resent-Message-ID: Received: from eggs.gnu.org ([2001:4830:134:3::10]:50097) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XemwC-0005a2-0E for bug-guix@gnu.org; Thu, 16 Oct 2014 11:26:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Xemw7-0008Vl-KB for bug-guix@gnu.org; Thu, 16 Oct 2014 11:25:59 -0400 Received: from hera.aquilenet.fr ([2a01:474::1]:33399) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xemw7-0008Vc-Cs for bug-guix@gnu.org; Thu, 16 Oct 2014 11:25:55 -0400 Received: from localhost (localhost [127.0.0.1]) by hera.aquilenet.fr (Postfix) with ESMTP id 99B0B3DB2 for ; Thu, 16 Oct 2014 17:25:54 +0200 (CEST) Received: from hera.aquilenet.fr ([127.0.0.1]) by localhost (hera.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id O0HfUZHYaKRk for ; Thu, 16 Oct 2014 17:25:54 +0200 (CEST) Received: from pluto (pluto.bordeaux.inria.fr [193.50.110.57]) by hera.aquilenet.fr (Postfix) with ESMTPSA id 62678EFE for ; Thu, 16 Oct 2014 17:25:54 +0200 (CEST) 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-bounces+gcggb-bug-guix=m.gmane.org@gnu.org To: 18747@debbugs.gnu.org With current =E2=80=98master=E2=80=99, fixed-output derivations are not sub= stituted, even though a substitute is available: --8<---------------cut here---------------start------------->8--- $ guix build -S acct The following file will be downloaded: /gnu/store/0sszdqmiqmb4mzbgs8h2185fh7p8bfd2-acct-6.6.1.tar.gz @ build-started /gnu/store/b7c2lgbdnr5anzklxkzhjvqxl14n7cqp-acct-6.6.1.tar.= gz.drv - x86_64-linux /var/log/guix/drvs/b7//c2lgbdnr5anzklxkzhjvqxl14n7cqp= -acct-6.6.1.tar.gz.drv.bz2 starting download of `/gnu/store/0sszdqmiqmb4mzbgs8h2185fh7p8bfd2-acct-6.6.= 1.tar.gz' from `http://ftpmirror.gnu.org/acct/acct-6.6.1.tar.gz'... following redirection to `http://gnu.cardse.net/acct/acct-6.6.1.tar.gz'... http://gnu.cardse.net/.../acct-6.6.1.tar.gz 100.0% of 2802.4 KiB @ build-succeeded /gnu/store/b7c2lgbdnr5anzklxkzhjvqxl14n7cqp-acct-6.6.1.ta= r.gz.drv - /gnu/store/0sszdqmiqmb4mzbgs8h2185fh7p8bfd2-acct-6.6.1.tar.gz $ sudo cat /var/guix/substitute-binary/cache/0sszdqmiqmb4mzbgs8h2185fh7p8bf= d2 (narinfo (version 1) (cache-uri "http://hydra.gnu.org") (date 1413472751) (= value "StorePath:... $ guix build -S libwebsockets The following file will be downloaded: /gnu/store/1k4c1a6nckhm2hjpprvdrlkxx6yifclw-libwebsockets-1.3 @ build-started /gnu/store/8x0jgw0819l7aqi1k1f6i772skmwq1zq-libwebsockets-1= .3.drv - x86_64-linux /var/log/guix/drvs/8x//0jgw0819l7aqi1k1f6i772skmwq1zq= -libwebsockets-1.3.drv.bz2 Cloning into '/gnu/store/1k4c1a6nckhm2hjpprvdrlkxx6yifclw-libwebsockets-1.3= '... C-c C-c $ sudo cat /var/guix/substitute-binary/cache/1k4c1a6nckhm2hjpprvdrlkxx6yifc= lw (narinfo (version 1) (cache-uri "http://hydra.gnu.org") (date 1413466633) (= value "StorePath:... --8<---------------cut here---------------end--------------->8--- Here, =E2=80=9CThe following file will be downloaded=E2=80=9D means that a = substitute is found and will be used, as seen also in the cache. But then we find ourselves performing the derivation locally regardless. Ludo=E2=80=99.