emacs-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#68392: closed ([PATCH] scripts: pack: Set correct default value for


From: GNU bug Tracking System
Subject: bug#68392: closed ([PATCH] scripts: pack: Set correct default value for entry-point-argument.)
Date: Sat, 13 Jan 2024 14:37:01 +0000

Your message dated Sat, 13 Jan 2024 15:36:08 +0100
with message-id <87v87xgv1j.fsf@gnu.org>
and subject line Re: [bug#68392] [PATCH v2] scripts: pack: Set correct default 
value for entry-point-argument.
has caused the debbugs.gnu.org bug report #68392,
regarding [PATCH] scripts: pack: Set correct default value for 
entry-point-argument.
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs@gnu.org.)


-- 
68392: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=68392
GNU Bug Tracking System
Contact help-debbugs@gnu.org with problems
--- Begin Message --- Subject: [PATCH] scripts: pack: Set correct default value for entry-point-argument. Date: Fri, 12 Jan 2024 00:41:47 +0100
The default value of #f let to ("..." . #f) being passed further down as a
entry point.  That was not an issue for command line invocation, since there
'() was already used as a default value, but it broke docker system test with
following error:

    building 
/gnu/store/dll8jj6h5pfgf6ya9skk1g1546smwbib-docker-pack.tar.gz.drv...
    tar: Removing leading `/' from member names
    Backtrace:
               6 (primitive-load "/gnu/store/g8hqzccfvn4mkm41jqs65c27gs7?")
    In ./guix/docker.scm:
        268:6  5 (build-docker-image "/gnu/store/zi2f5dfdrhviinm6jxp3cj?" ?)
    In ice-9/ports.scm:
       433:17  4 (call-with-output-file _ _ #:binary _ #:encoding _)
        476:4  3 (_ _)
    In ./guix/docker.scm:
       270:21  2 (_)
       123:40  1 (config "1996ead589ab366473d935c4d5bd0c38b998f3b299847?" ?)
    In unknown file:
               0 (list->vector ("/gnu/store/1pvqd30qi1aigjdf7s7l8v7?" . #))

    ERROR: In procedure list->vector:
    In procedure vector: Wrong type argument in position 1: 
("/gnu/store/1pvqd30qi1aigjdf7s7l8v7wpvrrhfkj-profile/bin/guile" . #f)
    note: keeping build directory `/tmp/guix-build-docker-pack.tar.gz.drv-16'
    builder for 
`/gnu/store/dll8jj6h5pfgf6ya9skk1g1546smwbib-docker-pack.tar.gz.drv' failed 
with exit code 1
    build of /gnu/store/dll8jj6h5pfgf6ya9skk1g1546smwbib-docker-pack.tar.gz.drv 
failed
    View build log at 
'/var/log/guix/drvs/dl/l8jj6h5pfgf6ya9skk1g1546smwbib-docker-pack.tar.gz.drv.gz'.
    cannot build derivation 
`/gnu/store/dq9qk1ba0f07572m8ck3xws28x1b3rif-docker-test.drv': 1 dependencies 
couldn't be built
    guix build: error: build of 
`/gnu/store/dq9qk1ba0f07572m8ck3xws28x1b3rif-docker-test.drv' failed
    make: *** [Makefile:7044: check-system] Error 1

Breakage was introduced in 7d5168a2af3ed922c6a46985124fb73402cc8844.

* guix/scripts/pack.scm (docker-image)[entry-point-argument]: Default to '().

Change-Id: If5fc1f8bcb0981df11409636e71f2ca91b05612f
---
 guix/scripts/pack.scm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/guix/scripts/pack.scm b/guix/scripts/pack.scm
index d0acc6cfd8..3e45c34895 100644
--- a/guix/scripts/pack.scm
+++ b/guix/scripts/pack.scm
@@ -597,7 +597,7 @@ (define* (docker-image name profile
 
             (let-keywords '#$extra-options #f
                           ((image-tag #f)
-                           (entry-point-argument #f)
+                           (entry-point-argument '())
                            (max-layers #f))
 
               (build-docker-image #$output

base-commit: 5c0f77f4241c9beac0c82deae946bfdc70b49ff0
-- 
2.41.0




--- End Message ---
--- Begin Message --- Subject: Re: [bug#68392] [PATCH v2] scripts: pack: Set correct default value for entry-point-argument. Date: Sat, 13 Jan 2024 15:36:08 +0100 User-agent: Gnus/5.13 (Gnus v5.13)
> Breakage was introduced in 7d5168a2af3ed922c6a46985124fb73402cc8844.
>
> * guix/scripts/pack.scm (docker-image)[entry-point-argument]: Default to '().

Applied, thanks for fixing it.

Mathieu


--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]