GNU bug report logs - #31942
[PATCH] pack: Fix guix pack -f docker.

Previous Next

Package: guix-patches;

Reported by: Christopher Baines <mail <at> cbaines.net>

Date: Fri, 22 Jun 2018 21:47:01 UTC

Severity: normal

Tags: patch

Done: Christopher Baines <mail <at> cbaines.net>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 31942 in the body.
You can then email your comments to 31942 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#31942; Package guix-patches. (Fri, 22 Jun 2018 21:47:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Christopher Baines <mail <at> cbaines.net>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Fri, 22 Jun 2018 21:47:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Christopher Baines <mail <at> cbaines.net>
To: guix-patches <at> gnu.org
Subject: [PATCH] pack: Fix guix pack -f docker.
Date: Fri, 22 Jun 2018 22:46:37 +0100
Without this change, running guix pack fails as (guix sets) is missing when
compiling (guix build store-copy).

* guix/scripts/pack.scm (docker-image): Move (guix build store-copy) to within
the source-module-closure call.
---
 guix/scripts/pack.scm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/guix/scripts/pack.scm b/guix/scripts/pack.scm
index ed876b259..443d199be 100644
--- a/guix/scripts/pack.scm
+++ b/guix/scripts/pack.scm
@@ -364,9 +364,9 @@ the image."
   (define build
     ;; Guile-JSON is required by (guix docker).
     (with-extensions (list json)
-      (with-imported-modules `(,@(source-module-closure '((guix docker))
+      (with-imported-modules `(,@(source-module-closure '((guix docker)
+                                                          (guix build store-copy))
                                                         #:select? not-config?)
-                               (guix build store-copy)
                                ((guix config) => ,config))
         #~(begin
             (use-modules (guix docker) (srfi srfi-19) (guix build store-copy))
-- 
2.17.1





Information forwarded to guix-patches <at> gnu.org:
bug#31942; Package guix-patches. (Sat, 23 Jun 2018 22:01:01 GMT) Full text and rfc822 format available.

Message #8 received at 31942 <at> debbugs.gnu.org (full text, mbox):

From: ludo <at> gnu.org (Ludovic Courtès)
To: Christopher Baines <mail <at> cbaines.net>
Cc: 31942 <at> debbugs.gnu.org
Subject: Re: [bug#31942] [PATCH] pack: Fix guix pack -f docker.
Date: Sun, 24 Jun 2018 00:00:03 +0200
Hi Chris!

Christopher Baines <mail <at> cbaines.net> skribis:

> Without this change, running guix pack fails as (guix sets) is missing when
> compiling (guix build store-copy).
>
> * guix/scripts/pack.scm (docker-image): Move (guix build store-copy) to within
> the source-module-closure call.

Good catch, got for it!

Thanks,
Ludo’.




Reply sent to Christopher Baines <mail <at> cbaines.net>:
You have taken responsibility. (Sun, 24 Jun 2018 08:27:02 GMT) Full text and rfc822 format available.

Notification sent to Christopher Baines <mail <at> cbaines.net>:
bug acknowledged by developer. (Sun, 24 Jun 2018 08:27:02 GMT) Full text and rfc822 format available.

Message #13 received at 31942-done <at> debbugs.gnu.org (full text, mbox):

From: Christopher Baines <mail <at> cbaines.net>
To: Ludovic Courtès <ludo <at> gnu.org>
Cc: 31942-done <at> debbugs.gnu.org
Subject: Re: [bug#31942] [PATCH] pack: Fix guix pack -f docker.
Date: Sun, 24 Jun 2018 09:26:06 +0100
[Message part 1 (text/plain, inline)]
Ludovic Courtès <ludo <at> gnu.org> writes:

> Hi Chris!
>
> Christopher Baines <mail <at> cbaines.net> skribis:
>
>> Without this change, running guix pack fails as (guix sets) is missing when
>> compiling (guix build store-copy).
>>
>> * guix/scripts/pack.scm (docker-image): Move (guix build store-copy) to within
>> the source-module-closure call.
>
> Good catch, got for it!

Great, I've pushed this now.

Note that the squashfs format looks to be similarly broken, but not
quite as simple to fix.
[signature.asc (application/pgp-signature, inline)]

Information forwarded to guix-patches <at> gnu.org:
bug#31942; Package guix-patches. (Mon, 25 Jun 2018 21:37:01 GMT) Full text and rfc822 format available.

Message #16 received at 31942-done <at> debbugs.gnu.org (full text, mbox):

From: ludo <at> gnu.org (Ludovic Courtès)
To: Christopher Baines <mail <at> cbaines.net>
Cc: 31942-done <at> debbugs.gnu.org
Subject: Re: [bug#31942] [PATCH] pack: Fix guix pack -f docker.
Date: Mon, 25 Jun 2018 23:36:45 +0200
Christopher Baines <mail <at> cbaines.net> skribis:

> Ludovic Courtès <ludo <at> gnu.org> writes:
>
>> Hi Chris!
>>
>> Christopher Baines <mail <at> cbaines.net> skribis:
>>
>>> Without this change, running guix pack fails as (guix sets) is missing when
>>> compiling (guix build store-copy).
>>>
>>> * guix/scripts/pack.scm (docker-image): Move (guix build store-copy) to within
>>> the source-module-closure call.
>>
>> Good catch, got for it!
>
> Great, I've pushed this now.
>
> Note that the squashfs format looks to be similarly broken, but not
> quite as simple to fix.

Fixed in 66e9944e078cbb9e0d618377dd6df6e639640efa.

Thanks for the heads-up!

Ludo'.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Tue, 24 Jul 2018 11:24:06 GMT) Full text and rfc822 format available.

This bug report was last modified 7 years and 23 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.