GNU bug report logs -
#55612
[PATCH 0/2] Update guile-hall to 0.4.1.
Previous Next
Reported by: Taiju HIGASHI <higashi <at> taiju.info>
Date: Tue, 24 May 2022 13:27:02 UTC
Severity: normal
Tags: patch
Done: Ricardo Wurmus <rekado <at> elephly.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 55612 in the body.
You can then email your comments to 55612 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
guix-patches <at> gnu.org
:
bug#55612
; Package
guix-patches
.
(Tue, 24 May 2022 13:27:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Taiju HIGASHI <higashi <at> taiju.info>
:
New bug report received and forwarded. Copy sent to
guix-patches <at> gnu.org
.
(Tue, 24 May 2022 13:27:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
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
Information forwarded
to
guix-patches <at> gnu.org
:
bug#55612
; Package
guix-patches
.
(Tue, 24 May 2022 13:30:02 GMT)
Full text and
rfc822 format available.
Message #8 received at 55612 <at> debbugs.gnu.org (full text, mbox):
* 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
Information forwarded
to
guix-patches <at> gnu.org
:
bug#55612
; Package
guix-patches
.
(Tue, 24 May 2022 13:30:04 GMT)
Full text and
rfc822 format available.
Message #11 received at 55612 <at> debbugs.gnu.org (full text, mbox):
* 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 <at> gmail.com>
;;; Copyright © 2022 Maxime Devos <maximedevos <at> telenet.be>
;;; Copyright © 2022 Zhu Zihao <all_but_last <at> 163.com>
+;;; Copyright © 2022 Taiju HIGASHI <higashi <at> 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
Information forwarded
to
guix-patches <at> gnu.org
:
bug#55612
; Package
guix-patches
.
(Tue, 24 May 2022 14:11:02 GMT)
Full text and
rfc822 format available.
Message #14 received at 55612 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
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.
[signature.asc (application/pgp-signature, inline)]
Information forwarded
to
guix-patches <at> gnu.org
:
bug#55612
; Package
guix-patches
.
(Tue, 24 May 2022 14:22:01 GMT)
Full text and
rfc822 format available.
Message #17 received at 55612 <at> debbugs.gnu.org (full text, mbox):
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
Information forwarded
to
guix-patches <at> gnu.org
:
bug#55612
; Package
guix-patches
.
(Tue, 24 May 2022 14:27:02 GMT)
Full text and
rfc822 format available.
Message #20 received at 55612 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
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
[signature.asc (application/pgp-signature, inline)]
Information forwarded
to
guix-patches <at> gnu.org
:
bug#55612
; Package
guix-patches
.
(Thu, 26 May 2022 01:11:01 GMT)
Full text and
rfc822 format available.
Message #23 received at 55612 <at> debbugs.gnu.org (full text, mbox):
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.
Information forwarded
to
guix-patches <at> gnu.org
:
bug#55612
; Package
guix-patches
.
(Fri, 03 Jun 2022 21:24:02 GMT)
Full text and
rfc822 format available.
Message #26 received at 55612 <at> debbugs.gnu.org (full text, mbox):
Hi,
Taiju HIGASHI <higashi <at> 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’.
Information forwarded
to
guix-patches <at> gnu.org
:
bug#55612
; Package
guix-patches
.
(Fri, 03 Jun 2022 22:26:01 GMT)
Full text and
rfc822 format available.
Message #29 received at 55612 <at> debbugs.gnu.org (full text, mbox):
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
Information forwarded
to
guix-patches <at> gnu.org
:
bug#55612
; Package
guix-patches
.
(Wed, 06 Jul 2022 08:43:01 GMT)
Full text and
rfc822 format available.
Message #32 received at 55612 <at> debbugs.gnu.org (full text, mbox):
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
Information forwarded
to
guix-patches <at> gnu.org
:
bug#55612
; Package
guix-patches
.
(Wed, 06 Jul 2022 13:48:01 GMT)
Full text and
rfc822 format available.
Message #35 received at 55612 <at> debbugs.gnu.org (full text, mbox):
* 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 <at> telenet.be>
;;; Copyright © 2022 Zhu Zihao <all_but_last <at> 163.com>
;;; Copyright © 2022 Antero Mejr <antero <at> mailbox.org>
+;;; Copyright © 2022 Taiju HIGASHI <higashi <at> 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
Information forwarded
to
guix-patches <at> gnu.org
:
bug#55612
; Package
guix-patches
.
(Wed, 06 Jul 2022 13:48:02 GMT)
Full text and
rfc822 format available.
Message #38 received at 55612 <at> debbugs.gnu.org (full text, mbox):
* 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
Information forwarded
to
guix-patches <at> gnu.org
:
bug#55612
; Package
guix-patches
.
(Wed, 06 Jul 2022 13:57:01 GMT)
Full text and
rfc822 format available.
Message #41 received at 55612 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
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.
[0001-gnu-gwl-Fix-build.patch (text/x-patch, attachment)]
[Message part 3 (text/plain, inline)]
Regards,
--
Taiju
Information forwarded
to
guix-patches <at> gnu.org
:
bug#55612
; Package
guix-patches
.
(Sat, 16 Jul 2022 11:28:02 GMT)
Full text and
rfc822 format available.
Message #44 received at 55612 <at> debbugs.gnu.org (full text, mbox):
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
Reply sent
to
Ricardo Wurmus <rekado <at> elephly.net>
:
You have taken responsibility.
(Thu, 21 Jul 2022 15:56:01 GMT)
Full text and
rfc822 format available.
Notification sent
to
Taiju HIGASHI <higashi <at> taiju.info>
:
bug acknowledged by developer.
(Thu, 21 Jul 2022 15:56:02 GMT)
Full text and
rfc822 format available.
Message #49 received at 55612-done <at> debbugs.gnu.org (full text, mbox):
Taiju HIGASHI <higashi <at> 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
Information forwarded
to
guix-patches <at> gnu.org
:
bug#55612
; Package
guix-patches
.
(Fri, 22 Jul 2022 00:06:01 GMT)
Full text and
rfc822 format available.
Message #52 received at 55612 <at> debbugs.gnu.org (full text, mbox):
> 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
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Fri, 19 Aug 2022 11:24:04 GMT)
Full text and
rfc822 format available.
This bug report was last modified 1 year and 221 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.