X-Loop: help-debbugs@HIDDEN
Subject: bug#33276: guix still building when substitute is available (or is guix pull not reproducible)
Resent-From: Pjotr Prins <pjotr.public12@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-guix@HIDDEN
Resent-Date: Mon, 05 Nov 2018 16:28:01 +0000
Resent-Message-ID: <handler.33276.B.154143523419073 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: report 33276
X-GNU-PR-Package: guix
X-GNU-PR-Keywords:
To: 33276 <at> debbugs.gnu.org
X-Debbugs-Original-To: bug-guix@HIDDEN
Received: via spool by submit <at> debbugs.gnu.org id=B.154143523419073
(code B ref -1); Mon, 05 Nov 2018 16:28:01 +0000
Received: (at submit) by debbugs.gnu.org; 5 Nov 2018 16:27:14 +0000
Received: from localhost ([127.0.0.1]:35496 helo=debbugs.gnu.org)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
id 1gJhia-0004xY-Se
for submit <at> debbugs.gnu.org; Mon, 05 Nov 2018 11:27:14 -0500
Received: from eggs.gnu.org ([208.118.235.92]:36227)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <pjotr2017@HIDDEN>) id 1gJhiZ-0004xL-2z
for submit <at> debbugs.gnu.org; Mon, 05 Nov 2018 11:27:11 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
(envelope-from <pjotr2017@HIDDEN>) id 1gJhiT-0000qQ-4Y
for submit <at> debbugs.gnu.org; Mon, 05 Nov 2018 11:27:06 -0500
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level:
X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=disabled
version=3.3.2
Received: from lists.gnu.org ([2001:4830:134:3::11]:41346)
by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32)
(Exim 4.71) (envelope-from <pjotr2017@HIDDEN>)
id 1gJhiS-0000pe-Vr
for submit <at> debbugs.gnu.org; Mon, 05 Nov 2018 11:27:05 -0500
Received: from eggs.gnu.org ([2001:4830:134:3::10]:45812)
by lists.gnu.org with esmtp (Exim 4.71)
(envelope-from <pjotr2017@HIDDEN>) id 1gJhiR-0004kU-PT
for bug-guix@HIDDEN; Mon, 05 Nov 2018 11:27:04 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
(envelope-from <pjotr2017@HIDDEN>) id 1gJhiM-0000a5-Cu
for bug-guix@HIDDEN; Mon, 05 Nov 2018 11:27:02 -0500
Received: from mail.thebird.nl ([94.142.245.5]:39336)
by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32)
(Exim 4.71) (envelope-from <pjotr2017@HIDDEN>)
id 1gJhiJ-0000QV-47
for bug-guix@HIDDEN; Mon, 05 Nov 2018 11:26:56 -0500
Received: by mail.thebird.nl (Postfix, from userid 1000)
id 0CB087D46; Mon, 5 Nov 2018 17:26:51 +0100 (CET)
Date: Mon, 5 Nov 2018 17:26:51 +0100
From: Pjotr Prins <pjotr.public12@HIDDEN>
Message-ID: <20181105162651.wss2ex6msdbzrwir@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: NeoMutt/20170113 (1.7.2)
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Received-From: 2001:4830:134:3::11
X-Spam-Score: -5.0 (-----)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -6.0 (------)
I have a guix-publish server and I am building the packages with the
exact same checkout of 'guix pull'. Even though the client sees the
substitutes with --dry-run it still builds them.
On build host (check version first)
penguin2:~$ ~/.config/guix/current/bin/guix --version
guix (GNU Guix) ff349415b27cc764fd7168ef35ca76c3b8b05889
Copyright (C) 2018 the Guix authors
penguin2:~$ ~/.config/guix/current/bin/guix package -i perl mosh --substitute-urls="https://berlin.guixsd.org" --fallback
building /gnu/store/ih5liw094mkjg1n4qakipfdgmrhvpj68-protobuf-3.5.1.drv...
building /gnu/store/bhrgmk0xax0yl50whb8faankknw4z254-mosh-1.3.2.drv...
The following packages will be installed:
perl 5.26.1 /gnu/store/7ifc22sh86zblnzamqimgmv06idyx69v-perl-5.26.1
mosh 1.3.2 /gnu/store/5qanifm23gqxhg2bh587dzah0mf79fp0-mosh-1.3.2
On client (check version first)
monza:~$ ~/.config/guix/current/bin/guix --version
guix (GNU Guix) ff349415b27cc764fd7168ef35ca76c3b8b05889
Copyright (C) 2018 the Guix authors
monza:~$ ~/.config/guix/current/bin/guix package -i perl mosh --substitute-urls="http://guix.genenetwork.org https://berlin.guixsd.org" --dry-run
The following packages would be installed:
perl 5.26.1 /gnu/store/6zz27h4l21b8f2mifrk9sidvib9cns2i-perl-5.26.1
mosh 1.3.2 /gnu/store/dkpkd7ajh3kvpzfdfacqg50x49i78x5y-mosh-1.3.2
Strangely the hash values differ but it still wants to fetch them. But when I do an actual install it rebuilds:
monza:~$ ~/.config/guix/current/bin/guix package -i perl mosh --substitute-urls="http://guix.genenetwork.org https://berlin.guixsd.org"
building /gnu/store/ih5liw094mkjg1n4qakipfdgmrhvpj68-protobuf-3.5.1.drv...
What is causing the difference? Should the guix pull not be identical
when it is the same checkout? Or am I missing something.
Obviously this does not work for my deployment purposes. Or at least
it is limited in use if I can't use a 'guix publish' server. Showing
the faulty substitutes is also interesting behaviour...
Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) Content-Type: text/plain; charset=utf-8 X-Loop: help-debbugs@HIDDEN From: help-debbugs@HIDDEN (GNU bug Tracking System) To: Pjotr Prins <pjotr.public12@HIDDEN> Subject: bug#33276: Acknowledgement (guix still building when substitute is available (or is guix pull not reproducible)) Message-ID: <handler.33276.B.154143523419073.ack <at> debbugs.gnu.org> References: <20181105162651.wss2ex6msdbzrwir@HIDDEN> X-Gnu-PR-Message: ack 33276 X-Gnu-PR-Package: guix Reply-To: 33276 <at> debbugs.gnu.org Date: Mon, 05 Nov 2018 16:28:02 +0000 Thank you for filing a new bug report with debbugs.gnu.org. This is an automatically generated reply to let you know your message has been received. Your message is being forwarded to the package maintainers and other interested parties for their attention; they will reply in due course. Your message has been sent to the package maintainer(s): bug-guix@HIDDEN If you wish to submit further information on this problem, please send it to 33276 <at> debbugs.gnu.org. Please do not send mail to help-debbugs@HIDDEN unless you wish to report a problem with the Bug-tracking system. --=20 33276: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D33276 GNU Bug Tracking System Contact help-debbugs@HIDDEN with problems
X-Loop: help-debbugs@HIDDEN
Subject: bug#33276: guix still building when substitute is available (or is guix pull not reproducible)
Resent-From: ludo@HIDDEN (Ludovic =?UTF-8?Q?Court=C3=A8s?=)
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-guix@HIDDEN
Resent-Date: Tue, 06 Nov 2018 14:22:01 +0000
Resent-Message-ID: <handler.33276.B33276.15415141154492 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 33276
X-GNU-PR-Package: guix
X-GNU-PR-Keywords:
To: Pjotr Prins <pjotr.public12@HIDDEN>
Cc: 33276 <at> debbugs.gnu.org
Received: via spool by 33276-submit <at> debbugs.gnu.org id=B33276.15415141154492
(code B ref 33276); Tue, 06 Nov 2018 14:22:01 +0000
Received: (at 33276) by debbugs.gnu.org; 6 Nov 2018 14:21:55 +0000
Received: from localhost ([127.0.0.1]:36188 helo=debbugs.gnu.org)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
id 1gK2Et-0001AO-01
for submit <at> debbugs.gnu.org; Tue, 06 Nov 2018 09:21:55 -0500
Received: from eggs.gnu.org ([208.118.235.92]:39953)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <ludo@HIDDEN>) id 1gK2En-00018g-J8
for 33276 <at> debbugs.gnu.org; Tue, 06 Nov 2018 09:21:53 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
(envelope-from <ludo@HIDDEN>) id 1gK2Ed-0002S6-MP
for 33276 <at> debbugs.gnu.org; Tue, 06 Nov 2018 09:21:43 -0500
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level:
X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=disabled
version=3.3.2
Received: from fencepost.gnu.org ([2001:4830:134:3::e]:53930)
by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <ludo@HIDDEN>)
id 1gK2EX-0002OK-27; Tue, 06 Nov 2018 09:21:35 -0500
Received: from [2001:660:6102:320:e120:2c8f:8909:cdfe] (port=33234 helo=ribbon)
by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256)
(Exim 4.82) (envelope-from <ludo@HIDDEN>)
id 1gK2EU-0007ji-SB; Tue, 06 Nov 2018 09:21:32 -0500
From: ludo@HIDDEN (Ludovic =?UTF-8?Q?Court=C3=A8s?=)
References: <20181105162651.wss2ex6msdbzrwir@HIDDEN>
X-URL: http://www.fdn.fr/~lcourtes/
X-Revolutionary-Date: 16 Brumaire an 227 de la =?UTF-8?Q?R=C3=A9volution?=
X-PGP-Key-ID: 0x090B11993D9AEBB5
X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc
X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5
X-OS: x86_64-pc-linux-gnu
Date: Tue, 06 Nov 2018 15:21:29 +0100
In-Reply-To: <20181105162651.wss2ex6msdbzrwir@HIDDEN> (Pjotr Prins's
message of "Mon, 5 Nov 2018 17:26:51 +0100")
Message-ID: <877ehq1e3a.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Received-From: 2001:4830:134:3::e
X-Spam-Score: -5.0 (-----)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -6.0 (------)
Hello,
Pjotr Prins <pjotr.public12@HIDDEN> skribis:
> I have a guix-publish server and I am building the packages with the
> exact same checkout of 'guix pull'. Even though the client sees the
> substitutes with --dry-run it still builds them.
>
> On build host (check version first)
>
> penguin2:~$ ~/.config/guix/current/bin/guix --version
> guix (GNU Guix) ff349415b27cc764fd7168ef35ca76c3b8b05889
>
> Copyright (C) 2018 the Guix authors
>
> penguin2:~$ ~/.config/guix/current/bin/guix package -i perl mosh --subst=
itute-urls=3D"https://berlin.guixsd.org" --fallback
>
> building /gnu/store/ih5liw094mkjg1n4qakipfdgmrhvpj68-protobuf-3.5.1.drv.=
..
> building /gnu/store/bhrgmk0xax0yl50whb8faankknw4z254-mosh-1.3.2.drv...
> The following packages will be installed:
> perl 5.26.1 /gnu/store/7ifc22sh86zblnzamqimgmv06idyx69v-perl-5.26.1
> mosh 1.3.2 /gnu/store/5qanifm23gqxhg2bh587dzah0mf79fp0-mosh-1.3.2
>
> On client (check version first)
>
> monza:~$ ~/.config/guix/current/bin/guix --version
> guix (GNU Guix) ff349415b27cc764fd7168ef35ca76c3b8b05889
>
> Copyright (C) 2018 the Guix authors
>
> monza:~$ ~/.config/guix/current/bin/guix package -i perl mosh --substitu=
te-urls=3D"http://guix.genenetwork.org https://berlin.guixsd.org" --dry-run
> The following packages would be installed:
> perl 5.26.1 /gnu/store/6zz27h4l21b8f2mifrk9sidvib9cns2i-perl-5.26.1
> mosh 1.3.2 /gnu/store/dkpkd7ajh3kvpzfdfacqg50x49i78x5y-mosh-1.3.2
>
> Strangely the hash values differ but it still wants to fetch them. But wh=
en I do an actual install it rebuilds:
When you=E2=80=99re using --dry-run, what gets displayed is the file names =
of
the ungrafted packages. That=E2=80=99s why you see different file names in=
the
first case.
As to why you=E2=80=99re not getting substitutes, it could be missing
authorization, etc. What does =E2=80=98guix publish=E2=80=99 display?
Thanks,
Ludo=E2=80=99.
X-Loop: help-debbugs@HIDDEN
Subject: bug#33276: guix still building when substitute is available (or is guix pull not reproducible)
Resent-From: Pjotr Prins <pjotr.public12@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-guix@HIDDEN
Resent-Date: Thu, 08 Nov 2018 18:31:01 +0000
Resent-Message-ID: <handler.33276.B33276.154170184418388 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 33276
X-GNU-PR-Package: guix
X-GNU-PR-Keywords:
To: Ludovic =?UTF-8?Q?Court=C3=A8s?= <ludo@HIDDEN>
Cc: 33276 <at> debbugs.gnu.org, Pjotr Prins <pjotr.public12@HIDDEN>
Received: via spool by 33276-submit <at> debbugs.gnu.org id=B33276.154170184418388
(code B ref 33276); Thu, 08 Nov 2018 18:31:01 +0000
Received: (at 33276) by debbugs.gnu.org; 8 Nov 2018 18:30:44 +0000
Received: from localhost ([127.0.0.1]:41895 helo=debbugs.gnu.org)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
id 1gKp4k-0004mU-7Z
for submit <at> debbugs.gnu.org; Thu, 08 Nov 2018 13:30:42 -0500
Received: from mail.thebird.nl ([94.142.245.5]:39582)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <pjotr2017@HIDDEN>) id 1gKp4i-0004mL-EX
for 33276 <at> debbugs.gnu.org; Thu, 08 Nov 2018 13:30:40 -0500
Received: by mail.thebird.nl (Postfix, from userid 1000)
id 37C817E14; Thu, 8 Nov 2018 19:30:39 +0100 (CET)
Date: Thu, 8 Nov 2018 19:30:39 +0100
From: Pjotr Prins <pjotr.public12@HIDDEN>
Message-ID: <20181108183039.a6drroqcswwd7rl5@HIDDEN>
References: <20181105162651.wss2ex6msdbzrwir@HIDDEN>
<877ehq1e3a.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
In-Reply-To: <877ehq1e3a.fsf@HIDDEN>
User-Agent: NeoMutt/20170113 (1.7.2)
X-Spam-Score: -0.0 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)
On Tue, Nov 06, 2018 at 03:21:29PM +0100, Ludovic Courtès wrote:
> As to why you’re not getting substitutes, it could be missing
> authorization, etc. What does ‘guix publish’ display?
Substitutes work fine for normal package install. No problem with the
setup. No, this is specific to guix pull with a commit flag.
Did you try this yourself? It is reproducible as a problem.
Could it theoretically be possible that guix pull with a specific
commit set done at different time points leads to a different build?
I.e., is the underlying build system not a variable (bootstrap and all
that)?
When I have time I'll try that guix pull twice. See what happens.
Pj.
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.