* [bug#55612] [PATCH 0/2] Update guile-hall to 0.4.1.
@ 2022-05-24 13:26 Taiju HIGASHI
2022-05-24 13:29 ` [bug#55612] [PATCH 1/2] gnu: Add guile-config-0.5 Taiju HIGASHI
` (3 more replies)
0 siblings, 4 replies; 16+ messages in thread
From: Taiju HIGASHI @ 2022-05-24 13:26 UTC (permalink / raw)
To: 55612; +Cc: Taiju HIGASHI
Hi,
Since I wanted to update guile-hall to 0.4.1, I tried to update the dependent
library guile-config to 0.5.0. However, the incompatible change of
guile-config 0.5.0 made it impossible to build gwl. Therefore, I would like to
address this by temporarily adding a variant called guile-config-0.5.
Cheers
Taiju HIGASHI (2):
gnu: Add guile-config-0.5.
gnu: guile-hall: Update to 0.4.1.
gnu/packages/guile-xyz.scm | 27 ++++++++++++++++++++++-----
1 file changed, 22 insertions(+), 5 deletions(-)
--
2.36.0
^ permalink raw reply [flat|nested] 16+ messages in thread
* [bug#55612] [PATCH 1/2] gnu: Add guile-config-0.5.
2022-05-24 13:26 [bug#55612] [PATCH 0/2] Update guile-hall to 0.4.1 Taiju HIGASHI
@ 2022-05-24 13:29 ` Taiju HIGASHI
2022-05-24 13:29 ` [bug#55612] [PATCH 2/2] gnu: guile-hall: Update to 0.4.1 Taiju HIGASHI
2022-05-24 14:10 ` [bug#55612] [PATCH 0/2] Update guile-hall " Maxime Devos
` (2 subsequent siblings)
3 siblings, 1 reply; 16+ messages in thread
From: Taiju HIGASHI @ 2022-05-24 13:29 UTC (permalink / raw)
To: 55612; +Cc: Taiju HIGASHI
* gnu/packages/guile-xyz.scm (guile-config-0.5): New variable.
---
gnu/packages/guile-xyz.scm | 16 ++++++++++++++++
1 file changed, 16 insertions(+)
diff --git a/gnu/packages/guile-xyz.scm b/gnu/packages/guile-xyz.scm
index 2c18fc138c..15b3e787be 100644
--- a/gnu/packages/guile-xyz.scm
+++ b/gnu/packages/guile-xyz.scm
@@ -41,6 +41,7 @@
;;; Copyright © 2021, 2022 Artyom V. Poptsov <poptsov.artyom@gmail.com>
;;; Copyright © 2022 Maxime Devos <maximedevos@telenet.be>
;;; Copyright © 2022 Zhu Zihao <all_but_last@163.com>
+;;; Copyright © 2022 Taiju HIGASHI <higashi@taiju.info>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -1680,6 +1681,21 @@ (define-public guile-config
"https://gitlab.com/a-sassmannshausen/guile-config")
(license license:gpl3+)))
+(define-public guile-config-0.5
+ (package
+ (inherit guile-config)
+ (name "guile-config-0.5")
+ (version "0.5.0")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://gitlab.com/a-sassmannshausen/guile-config")
+ (commit version)))
+ (file-name (git-file-name name version))
+ (sha256 (base32
+ "1xrl8bdcvvvbsrms0s3pp3d698541fv5b5kyy1z2kwli7akvdiph"))))))
+
(define-public guile2.2-config
(package
(inherit guile-config)
--
2.36.0
^ permalink raw reply related [flat|nested] 16+ messages in thread
* [bug#55612] [PATCH 2/2] gnu: guile-hall: Update to 0.4.1.
2022-05-24 13:29 ` [bug#55612] [PATCH 1/2] gnu: Add guile-config-0.5 Taiju HIGASHI
@ 2022-05-24 13:29 ` Taiju HIGASHI
0 siblings, 0 replies; 16+ messages in thread
From: Taiju HIGASHI @ 2022-05-24 13:29 UTC (permalink / raw)
To: 55612; +Cc: Taiju HIGASHI
* gnu/packages/guile-xyz.scm (guile-hall): Update to 0.4.1.
---
gnu/packages/guile-xyz.scm | 11 ++++++-----
1 file changed, 6 insertions(+), 5 deletions(-)
diff --git a/gnu/packages/guile-xyz.scm b/gnu/packages/guile-xyz.scm
index 15b3e787be..115afeeb9e 100644
--- a/gnu/packages/guile-xyz.scm
+++ b/gnu/packages/guile-xyz.scm
@@ -1706,16 +1706,17 @@ (define-public guile2.2-config
(define-public guile-hall
(package
(name "guile-hall")
- (version "0.3.1")
+ (version "0.4.1")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://gitlab.com/a-sassmannshausen/guile-hall")
(commit version)))
- (file-name "guile-hall-0.3.1-checkout")
+ (file-name (git-file-name name version))
(sha256
- (base32 "1s24nigdra6rvclvy15l2aw00c3aq9vv8qwxylzs60darbl36206"))))
+ (base32
+ "0yrrik1v1xbik5h5q7w2cxrx6gvkmcdm32dl36i7xqdq8pr8sh2d"))))
(build-system gnu-build-system)
(arguments
`(#:modules
@@ -1744,7 +1745,7 @@ (define-public guile-hall
(string-append
(assoc-ref inputs input)
path))
- ,''("guile-config"))))))
+ ,''("guile-config-0.5"))))))
(out (assoc-ref outputs "out"))
(bin (string-append out "/bin/"))
(site (uncompiled-dir out "")))
@@ -1768,7 +1769,7 @@ (define-public guile-hall
(list autoconf automake pkg-config texinfo))
(inputs (list guile-3.0))
(propagated-inputs
- (list guile-config))
+ (list guile-config-0.5))
(synopsis "Guile project tooling")
(description
"Hall is a command-line application and a set of Guile libraries that
--
2.36.0
^ permalink raw reply related [flat|nested] 16+ messages in thread
* [bug#55612] [PATCH 0/2] Update guile-hall to 0.4.1.
2022-05-24 13:26 [bug#55612] [PATCH 0/2] Update guile-hall to 0.4.1 Taiju HIGASHI
2022-05-24 13:29 ` [bug#55612] [PATCH 1/2] gnu: Add guile-config-0.5 Taiju HIGASHI
@ 2022-05-24 14:10 ` Maxime Devos
2022-05-24 14:20 ` Taiju HIGASHI
2022-07-06 8:40 ` Ricardo Wurmus
2022-07-06 13:46 ` [bug#55612] [PATCH v2 1/2] gnu: guile-config: Update to 0.5.1 Taiju HIGASHI
3 siblings, 1 reply; 16+ messages in thread
From: Maxime Devos @ 2022-05-24 14:10 UTC (permalink / raw)
To: Taiju HIGASHI, 55612
[-- Attachment #1: Type: text/plain, Size: 621 bytes --]
Taiju HIGASHI schreef op di 24-05-2022 om 22:26 [+0900]:
> Since I wanted to update guile-hall to 0.4.1, I tried to update the dependent
> library guile-config to 0.5.0. However, the incompatible change of
> guile-config 0.5.0 made it impossible to build gwl. Therefore, I would like to
> address this by temporarily adding a variant called guile-config-0.5.
Would it be feasible to make gwl compatible with 0.5.0? Otherwise, it
becomes impossible to install 'guile-hall' and the dependencies of
'gwl' in the same profile due to propagation conflicts, which can be
rather inconvenient
Greetings,
Maxime.
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 260 bytes --]
^ permalink raw reply [flat|nested] 16+ messages in thread
* [bug#55612] [PATCH 0/2] Update guile-hall to 0.4.1.
2022-05-24 14:10 ` [bug#55612] [PATCH 0/2] Update guile-hall " Maxime Devos
@ 2022-05-24 14:20 ` Taiju HIGASHI
2022-05-24 14:26 ` Maxime Devos
2022-06-03 21:23 ` Ludovic Courtès
0 siblings, 2 replies; 16+ messages in thread
From: Taiju HIGASHI @ 2022-05-24 14:20 UTC (permalink / raw)
To: Maxime Devos; +Cc: 55612
Hi Maxime,
Thanks for your reply.
I see. So separating the packages doesn't solve anything because of the
conflicts that occur?
I'll see if I can fix gwl to solve this.
Cheers
^ permalink raw reply [flat|nested] 16+ messages in thread
* [bug#55612] [PATCH 0/2] Update guile-hall to 0.4.1.
2022-05-24 14:20 ` Taiju HIGASHI
@ 2022-05-24 14:26 ` Maxime Devos
2022-05-26 1:10 ` Taiju HIGASHI
2022-06-03 21:23 ` Ludovic Courtès
1 sibling, 1 reply; 16+ messages in thread
From: Maxime Devos @ 2022-05-24 14:26 UTC (permalink / raw)
To: Taiju HIGASHI; +Cc: 55612
[-- Attachment #1: Type: text/plain, Size: 832 bytes --]
Taiju HIGASHI schreef op di 24-05-2022 om 23:20 [+0900]:
> I see. So separating the packages doesn't solve anything because of the
> conflicts that occur?
Depends on how things are used. If you install two applications (*)
'foo' and 'bar' in the same profile that use different versions of
guile-config: no problem. If you are developing both 'foo' and 'bar'
in the same session, e.g. with "guix shell -D foo -D bar", then there's
a problem because the profile can contain only a single version of
their dependency guile-config (**). Some other problematic variations
are possible too.
(*) Normally applications don't propagate anything, they just put
things in 'inputs' and use sufficient amount of wrapping to avoid
propagation.
(**) IIUC, "guix shell -D" currently silently picks one version or the
other
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 260 bytes --]
^ permalink raw reply [flat|nested] 16+ messages in thread
* [bug#55612] [PATCH 0/2] Update guile-hall to 0.4.1.
2022-05-24 14:26 ` Maxime Devos
@ 2022-05-26 1:10 ` Taiju HIGASHI
0 siblings, 0 replies; 16+ messages in thread
From: Taiju HIGASHI @ 2022-05-26 1:10 UTC (permalink / raw)
To: Maxime Devos; +Cc: 55612
Hi Maxime,
Thanks!
I did not know that installing both packages in the same profile would
not cause problems.
It doesn't seem to be a problem in my usual use cases, but it is not
desirable.
I wrote a patch for gwl to fix building errors. However, I'm not
confident that patch, because I'm not familiar with gwl much, so I ask
in the gwl-devel mailing list whether my patch not have any problems.
^ permalink raw reply [flat|nested] 16+ messages in thread
* [bug#55612] [PATCH 0/2] Update guile-hall to 0.4.1.
2022-05-24 14:20 ` Taiju HIGASHI
2022-05-24 14:26 ` Maxime Devos
@ 2022-06-03 21:23 ` Ludovic Courtès
2022-06-03 22:24 ` Taiju HIGASHI
1 sibling, 1 reply; 16+ messages in thread
From: Ludovic Courtès @ 2022-06-03 21:23 UTC (permalink / raw)
To: Taiju HIGASHI; +Cc: Maxime Devos, 55612
Hi,
Taiju HIGASHI <higashi@taiju.info> skribis:
> Thanks for your reply.
> I see. So separating the packages doesn't solve anything because of the
> conflicts that occur?
> I'll see if I can fix gwl to solve this.
Indeed, I get this:
--8<---------------cut here---------------start------------->8---
$ guix build gwl --with-latest=guile-config
guix build: warning: cannot authenticate source of 'guile-config', version 0.5.1
updating checkout of 'https://gitlab.com/a-sassmannshausen/guile-config'...
retrieved commit 6a00702d044663fef6d6d619f4aeb75417e1b10b
substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0%
substitute: updating substitutes from 'https://bordeaux.guix.gnu.org'... 100.0%
substitute: updating substitutes from 'https://guix.bordeaux.inria.fr'... 100.0%
The following derivations will be built:
/gnu/store/9xnjw36mzhshqh3x7vmwi6q45v10i7rc-gwl-0.4.0.drv
/gnu/store/0mwhz53h7whs3nahiv6d8drclqajz282-guile-config-0.5.1.drv
/gnu/store/z9vkfyxlsnh1v2v4mmbdymxwza1dwmd3-guile-config-0.5.1-checkout.drv
[…]
starting phase `build'
GEN guix/extensions/workflow.scm
mv -f "guix/extensions/workflow.scm-t" "guix/extensions/workflow.scm"
GEN gwl/config.go
ice-9/boot-9.scm:1685:16: In procedure raise-exception:
Syntax error:
gwl/config.scm:66:8: argument: extraneous field initializers (optional?) in form (argument (name (quote file)) (optional? #f) (test file-exists?) (handler identity) (example "/path/to/my-workflow.w"))
make: *** [Makefile:1574: gwl/config.go] Error 1
error: in phase 'build': uncaught exception:
%exception #<&invoke-error program: "make" arguments: ("GUILE_AUTO_COMPILE=0") exit-status: 2 term-signal: #f stop-signal: #f>
phase `build' failed after 0.3 seconds
command "make" "GUILE_AUTO_COMPILE=0" failed with status 2
builder for `/gnu/store/9xnjw36mzhshqh3x7vmwi6q45v10i7rc-gwl-0.4.0.drv' failed with exit code 1
--8<---------------cut here---------------end--------------->8---
How about one of these two options:
1. Provide both versions of guile-config, use the old one in GWL, at
the risk of preventing installation of guile-hall + gwl in the same
profile (which is probably not much of a problem in practice).
2. Patch GWL so it works with the latest guile-config.
That should unblock the situation. WDYT?
Thanks,
Ludo’.
^ permalink raw reply [flat|nested] 16+ messages in thread
* [bug#55612] [PATCH 0/2] Update guile-hall to 0.4.1.
2022-06-03 21:23 ` Ludovic Courtès
@ 2022-06-03 22:24 ` Taiju HIGASHI
0 siblings, 0 replies; 16+ messages in thread
From: Taiju HIGASHI @ 2022-06-03 22:24 UTC (permalink / raw)
To: Ludovic Courtès; +Cc: Maxime Devos, 55612
Hi Ludovic,
Thank you for the comment!
>How about one of these two options:
>
> 1. Provide both versions of guile-config, use the old one in GWL, at
> the risk of preventing installation of guile-hall + gwl in the same
> profile (which is probably not much of a problem in practice).
>
> 2. Patch GWL so it works with the latest guile-config.
>
>That should unblock the situation. WDYT?
The second option is preferable and is currently being worked on.
I have the patch reviewed for adequacy.
https://lists.gnu.org/archive/html/gwl-devel/2022-05/msg00010.html
https://lists.gnu.org/archive/html/gwl-devel/2022-06/msg00000.html
Cheers,
--
Taiju
^ permalink raw reply [flat|nested] 16+ messages in thread
* [bug#55612] [PATCH 0/2] Update guile-hall to 0.4.1.
2022-05-24 13:26 [bug#55612] [PATCH 0/2] Update guile-hall to 0.4.1 Taiju HIGASHI
2022-05-24 13:29 ` [bug#55612] [PATCH 1/2] gnu: Add guile-config-0.5 Taiju HIGASHI
2022-05-24 14:10 ` [bug#55612] [PATCH 0/2] Update guile-hall " Maxime Devos
@ 2022-07-06 8:40 ` Ricardo Wurmus
2022-07-06 13:56 ` Taiju HIGASHI
2022-07-06 13:46 ` [bug#55612] [PATCH v2 1/2] gnu: guile-config: Update to 0.5.1 Taiju HIGASHI
3 siblings, 1 reply; 16+ messages in thread
From: Ricardo Wurmus @ 2022-07-06 8:40 UTC (permalink / raw)
To: 55612
The GWL now supports guile-config 0.5.x. My apologies for the delay.
Taiju Higashi, could you please update your patch so that it updates to
guile-config 0.5.1? Once ready I can apply it. Thanks!
(The GWL should get a new release soon, but that shouldn’t block this
issue.)
--
Ricardo
^ permalink raw reply [flat|nested] 16+ messages in thread
* [bug#55612] [PATCH v2 1/2] gnu: guile-config: Update to 0.5.1.
2022-05-24 13:26 [bug#55612] [PATCH 0/2] Update guile-hall to 0.4.1 Taiju HIGASHI
` (2 preceding siblings ...)
2022-07-06 8:40 ` Ricardo Wurmus
@ 2022-07-06 13:46 ` Taiju HIGASHI
2022-07-06 13:46 ` [bug#55612] [PATCH v2 2/2] gnu: guile-hall: Update to 0.4.1 Taiju HIGASHI
3 siblings, 1 reply; 16+ messages in thread
From: Taiju HIGASHI @ 2022-07-06 13:46 UTC (permalink / raw)
To: rekado; +Cc: Taiju HIGASHI, 55612
* gnu/packages/guile-xyz.scm (guile-config): Update to 0.5.1.
---
gnu/packages/guile-xyz.scm | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/gnu/packages/guile-xyz.scm b/gnu/packages/guile-xyz.scm
index 2456509b97..3952fb6261 100644
--- a/gnu/packages/guile-xyz.scm
+++ b/gnu/packages/guile-xyz.scm
@@ -42,6 +42,7 @@
;;; Copyright © 2022 Maxime Devos <maximedevos@telenet.be>
;;; Copyright © 2022 Zhu Zihao <all_but_last@163.com>
;;; Copyright © 2022 Antero Mejr <antero@mailbox.org>
+;;; Copyright © 2022 Taiju HIGASHI <higashi@taiju.info>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -1614,7 +1615,7 @@ (define-public guile-dbd-mysql
(define-public guile-config
(package
(name "guile-config")
- (version "0.4.2")
+ (version "0.5.1")
(source
(origin
(method git-fetch)
@@ -1623,7 +1624,7 @@ (define-public guile-config
(commit version)))
(file-name (git-file-name name version))
(sha256 (base32
- "09028ylbddjdp3d67zdjz3pnsjqz6zs2bfck5rr3dfaa0qjap40n"))))
+ "0s708k6qnk9155bjrcy1f1v7lqhlpaj4mjip46sr3iw85hca92wz"))))
(build-system gnu-build-system)
(native-inputs
(list autoconf automake pkg-config texinfo))
--
2.36.1
^ permalink raw reply related [flat|nested] 16+ messages in thread
* [bug#55612] [PATCH v2 2/2] gnu: guile-hall: Update to 0.4.1.
2022-07-06 13:46 ` [bug#55612] [PATCH v2 1/2] gnu: guile-config: Update to 0.5.1 Taiju HIGASHI
@ 2022-07-06 13:46 ` Taiju HIGASHI
0 siblings, 0 replies; 16+ messages in thread
From: Taiju HIGASHI @ 2022-07-06 13:46 UTC (permalink / raw)
To: rekado; +Cc: Taiju HIGASHI, 55612
* gnu/packages/guile-xyz.scm (guile-hall): Update to 0.4.1.
---
gnu/packages/guile-xyz.scm | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/gnu/packages/guile-xyz.scm b/gnu/packages/guile-xyz.scm
index 3952fb6261..bf118537b9 100644
--- a/gnu/packages/guile-xyz.scm
+++ b/gnu/packages/guile-xyz.scm
@@ -1653,16 +1653,16 @@ (define-public guile2.2-config
(define-public guile-hall
(package
(name "guile-hall")
- (version "0.3.1")
+ (version "0.4.1")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://gitlab.com/a-sassmannshausen/guile-hall")
(commit version)))
- (file-name "guile-hall-0.3.1-checkout")
+ (file-name (git-file-name name version))
(sha256
- (base32 "1s24nigdra6rvclvy15l2aw00c3aq9vv8qwxylzs60darbl36206"))))
+ (base32 "0yrrik1v1xbik5h5q7w2cxrx6gvkmcdm32dl36i7xqdq8pr8sh2d"))))
(build-system gnu-build-system)
(arguments
`(#:modules
--
2.36.1
^ permalink raw reply related [flat|nested] 16+ messages in thread
* [bug#55612] [PATCH 0/2] Update guile-hall to 0.4.1.
2022-07-06 8:40 ` Ricardo Wurmus
@ 2022-07-06 13:56 ` Taiju HIGASHI
2022-07-16 11:27 ` Taiju HIGASHI
0 siblings, 1 reply; 16+ messages in thread
From: Taiju HIGASHI @ 2022-07-06 13:56 UTC (permalink / raw)
To: Ricardo Wurmus; +Cc: 55612
[-- Attachment #1: Type: text/plain, Size: 478 bytes --]
Hi Ricarod,
> The GWL now supports guile-config 0.5.x. My apologies for the delay.
>
> Taiju Higashi, could you please update your patch so that it updates to
> guile-config 0.5.1? Once ready I can apply it. Thanks!
>
> (The GWL should get a new release soon, but that shouldn’t block this
> issue.)
I sent the patch. However, the GWL build fails.
I also made a patch for GWL package definitions.
If there are problems with the GWL patch, please ignore this patch.
[-- Attachment #2: patch-for-gwl --]
[-- Type: text/x-patch, Size: 4586 bytes --]
From cc9ca4bfdf295affeeaba6422cbbd13e66332387 Mon Sep 17 00:00:00 2001
From: Taiju HIGASHI <higashi@taiju.info>
Date: Wed, 6 Jul 2022 22:48:59 +0900
Subject: [PATCH] gnu: gwl: Fix build.
* gnu/packages/package-management.scm (gwl): Apply patches for newer versions
of guile-config
* gnu/packages/patches/gwl-fix-build-guile-config-0.5.1.patch: Add the patch.
---
gnu/packages/package-management.scm | 5 +-
.../gwl-fix-build-guile-config-0.5.1.patch | 75 +++++++++++++++++++
2 files changed, 79 insertions(+), 1 deletion(-)
create mode 100644 gnu/packages/patches/gwl-fix-build-guile-config-0.5.1.patch
diff --git a/gnu/packages/package-management.scm b/gnu/packages/package-management.scm
index e485e34bca..3c82d847a6 100644
--- a/gnu/packages/package-management.scm
+++ b/gnu/packages/package-management.scm
@@ -21,6 +21,7 @@
;;; Copyright © 2021, 2022 Maxim Cournoyer <maxim.cournoyer@gmail.com>
;;; Copyright © 2021 John Kehayias <john.kehayias@protonmail.com>
;;; Copyright © 2022 Zhu Zihao <all_but_last@163.com>
+;;; Copyright © 2022 Taiju HIGASHI <higashi@taiju.info>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -1308,7 +1309,9 @@ (define-public gwl
(uri (string-append "mirror://gnu/gwl/gwl-" version ".tar.gz"))
(sha256
(base32
- "0sgaaq430l3dqmqqiikfb0ilxnd2cq28626y18kxx5c781qwpys9"))))
+ "0sgaaq430l3dqmqqiikfb0ilxnd2cq28626y18kxx5c781qwpys9"))
+ (patches
+ (search-patches "gwl-fix-build-guile-config-0.5.1.patch"))))
(build-system gnu-build-system)
(arguments
`(#:parallel-build? #false ; for reproducibility
diff --git a/gnu/packages/patches/gwl-fix-build-guile-config-0.5.1.patch b/gnu/packages/patches/gwl-fix-build-guile-config-0.5.1.patch
new file mode 100644
index 0000000000..496fd652e1
--- /dev/null
+++ b/gnu/packages/patches/gwl-fix-build-guile-config-0.5.1.patch
@@ -0,0 +1,75 @@
+From c0f281d2ef927686ed42f9c44828c501011a60dc Mon Sep 17 00:00:00 2001
+From: Ricardo Wurmus <rekado@elephly.net>
+Date: Tue, 5 Jul 2022 16:58:53 +0200
+Subject: Require guile-config >= 0.5.0.
+
+---
+ configure.ac | 5 +++++
+ gwl/config.scm.in | 14 +++++++++-----
+ 2 files changed, 14 insertions(+), 5 deletions(-)
+
+diff --git a/configure.ac b/configure.ac
+index a6897f4..eadc82f 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -42,6 +42,11 @@ GUILE_MODULE_REQUIRED(gcrypt hash)
+ GUILE_MODULE_REQUIRED(pfds sets)
+ GUILE_MODULE_REQUIRED(drmaa v1 high)
+ GUILE_MODULE_REQUIRED(config)
++GUILE_MODULE_CHECK(guile_config_too_old,(config api),(argument (name 'foo) (optional? 'old)),supports `optional?' field in argument definition)
++if test "x$guile_config_too_old" = "xyes"; then
++ AC_MSG_ERROR([Guile Config needs to be version 0.5.0 or higher.])
++fi
++
+ AC_PATH_PROG([DOT], [dot])
+ if test "x$DOT" = "x"; then
+ AC_MSG_ERROR(['dot' could not be found; please check your Graphviz installation.])
+diff --git a/gwl/config.scm.in b/gwl/config.scm.in
+index 20a562e..d64eca3 100644
+--- a/gwl/config.scm.in
++++ b/gwl/config.scm.in
+@@ -65,7 +65,6 @@ workflow.")
+ (list
+ (argument
+ (name 'file)
+- (optional? #false)
+ (test file-exists?)
+ (handler identity)
+ (example "/path/to/my-workflow.w"))))
+@@ -95,12 +94,19 @@ workflow.")
+ (character #\i)
+ (synopsis "Specify workflow input NAME, optionally mapped to FILE")
+ (example "NAME[=FILE]")
+- (test string?))
++ (default #false)
++ (test (match-lambda
++ (#false #true)
++ (value (string? value)))))
+ (switch
+ (name 'output)
+ (character #\o)
+ (synopsis "Set LOCATION as output for a workflow")
+- (example "LOCATION"))
++ (example "LOCATION")
++ (default #false)
++ (test (match-lambda
++ (#false #true)
++ (value (string? value)))))
+ (switch
+ (name 'engine)
+ (character #\e)
+@@ -147,11 +153,9 @@ format) of the specified workflow.")
+ (list
+ (argument
+ (name 'file)
+- (optional? #false)
+ (test file-exists?)
+ (handler identity)
+ (example "/path/to/my-workflow.w")))))
+-
+ (configuration
+ (name 'web)
+ (synopsis "Start the web interface")
+--
+cgit v1.1
+
--
2.36.1
[-- Attachment #3: Type: text/plain, Size: 19 bytes --]
Regards,
--
Taiju
^ permalink raw reply related [flat|nested] 16+ messages in thread
* [bug#55612] [PATCH 0/2] Update guile-hall to 0.4.1.
2022-07-06 13:56 ` Taiju HIGASHI
@ 2022-07-16 11:27 ` Taiju HIGASHI
2022-07-21 15:54 ` bug#55612: " Ricardo Wurmus
0 siblings, 1 reply; 16+ messages in thread
From: Taiju HIGASHI @ 2022-07-16 11:27 UTC (permalink / raw)
To: Ricardo Wurmus; +Cc: 55612
Hi Ricardo,
>> The GWL now supports guile-config 0.5.x. My apologies for the delay.
>>
>> Taiju Higashi, could you please update your patch so that it updates to
>> guile-config 0.5.1? Once ready I can apply it. Thanks!
>>
>> (The GWL should get a new release soon, but that shouldn’t block this
>> issue.)
>
> I sent the patch. However, the GWL build fails.
> I also made a patch for GWL package definitions.
> If there are problems with the GWL patch, please ignore this patch.
Is there a problem with the patch I sent you?
Please let me know if there is any work left for me to do.
Thanks,
--
Taiju
^ permalink raw reply [flat|nested] 16+ messages in thread
* bug#55612: [PATCH 0/2] Update guile-hall to 0.4.1.
2022-07-16 11:27 ` Taiju HIGASHI
@ 2022-07-21 15:54 ` Ricardo Wurmus
2022-07-22 0:05 ` [bug#55612] " Taiju HIGASHI
0 siblings, 1 reply; 16+ messages in thread
From: Ricardo Wurmus @ 2022-07-21 15:54 UTC (permalink / raw)
To: Taiju HIGASHI; +Cc: 55612-done
Taiju HIGASHI <higashi@taiju.info> writes:
> Hi Ricardo,
>
>>> The GWL now supports guile-config 0.5.x. My apologies for the delay.
>>>
>>> Taiju Higashi, could you please update your patch so that it updates to
>>> guile-config 0.5.1? Once ready I can apply it. Thanks!
>>>
>>> (The GWL should get a new release soon, but that shouldn’t block this
>>> issue.)
>>
>> I sent the patch. However, the GWL build fails.
>> I also made a patch for GWL package definitions.
>> If there are problems with the GWL patch, please ignore this patch.
>
> Is there a problem with the patch I sent you?
> Please let me know if there is any work left for me to do.
I applied your patches to update guile-config and guile-hall.
I had already fixed the problem in the GWL and made a new release
today; I then updated the gwl package.
Thanks for your patience!
--
Ricardo
^ permalink raw reply [flat|nested] 16+ messages in thread
* [bug#55612] [PATCH 0/2] Update guile-hall to 0.4.1.
2022-07-21 15:54 ` bug#55612: " Ricardo Wurmus
@ 2022-07-22 0:05 ` Taiju HIGASHI
0 siblings, 0 replies; 16+ messages in thread
From: Taiju HIGASHI @ 2022-07-22 0:05 UTC (permalink / raw)
To: Ricardo Wurmus; +Cc: 55612
> I applied your patches to update guile-config and guile-hall.
> I had already fixed the problem in the GWL and made a new release
> today; I then updated the gwl package.
Thank you!
--
Taiju
^ permalink raw reply [flat|nested] 16+ messages in thread
end of thread, other threads:[~2022-07-22 0:06 UTC | newest]
Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-05-24 13:26 [bug#55612] [PATCH 0/2] Update guile-hall to 0.4.1 Taiju HIGASHI
2022-05-24 13:29 ` [bug#55612] [PATCH 1/2] gnu: Add guile-config-0.5 Taiju HIGASHI
2022-05-24 13:29 ` [bug#55612] [PATCH 2/2] gnu: guile-hall: Update to 0.4.1 Taiju HIGASHI
2022-05-24 14:10 ` [bug#55612] [PATCH 0/2] Update guile-hall " Maxime Devos
2022-05-24 14:20 ` Taiju HIGASHI
2022-05-24 14:26 ` Maxime Devos
2022-05-26 1:10 ` Taiju HIGASHI
2022-06-03 21:23 ` Ludovic Courtès
2022-06-03 22:24 ` Taiju HIGASHI
2022-07-06 8:40 ` Ricardo Wurmus
2022-07-06 13:56 ` Taiju HIGASHI
2022-07-16 11:27 ` Taiju HIGASHI
2022-07-21 15:54 ` bug#55612: " Ricardo Wurmus
2022-07-22 0:05 ` [bug#55612] " Taiju HIGASHI
2022-07-06 13:46 ` [bug#55612] [PATCH v2 1/2] gnu: guile-config: Update to 0.5.1 Taiju HIGASHI
2022-07-06 13:46 ` [bug#55612] [PATCH v2 2/2] gnu: guile-hall: Update to 0.4.1 Taiju HIGASHI
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).