GNU bug report logs - #72173
[PATCH] gnu: chicken: Update to 5.4.0.

Previous Next

Package: guix-patches;

Reported by: ashish.is <at> lostca.se

Date: Thu, 18 Jul 2024 09:01:01 UTC

Severity: important

Tags: security

Done: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>

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 72173 in the body.
You can then email your comments to 72173 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#72173; Package guix-patches. (Thu, 18 Jul 2024 09:01:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to ashish.is <at> lostca.se:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Thu, 18 Jul 2024 09:01:02 GMT) Full text and rfc822 format available.

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

From: ashish.is <at> lostca.se
To: guix-patches <at> gnu.org
Cc: Ashish SHUKLA <ashish.is <at> lostca.se>
Subject: [PATCH] gnu: chicken: Update to 5.4.0.
Date: Thu, 18 Jul 2024 10:59:38 +0200
From: Ashish SHUKLA <ashish.is <at> lostca.se>

* gnu/packages/chicken.scm (chicken): Update to 5.4.0.

Change-Id: I448bdc25a5cb11e55c7ebb9d9e0cf1876ca958d8
---
 gnu/packages/chicken.scm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/chicken.scm b/gnu/packages/chicken.scm
index 8f5e8ce98d..d48a0c89c0 100644
--- a/gnu/packages/chicken.scm
+++ b/gnu/packages/chicken.scm
@@ -33,14 +33,14 @@ (define-module (gnu packages chicken)
 (define-public chicken
   (package
     (name "chicken")
-    (version "5.3.0")
+    (version "5.4.0")
     (source (origin
               (method url-fetch)
               (uri (string-append "https://code.call-cc.org/releases/"
                                   version "/chicken-" version ".tar.gz"))
               (sha256
                (base32
-                "0xhdvcdwlv9vbhxh7k0fzd32ybhc7fn83y9fj48dhzp1z7c9kbf3"))))
+                "0pzcrnzkjw2sa44vy59wbygvlc3nva8zisprkdnvyrqi3jk4lp9w"))))
     (build-system gnu-build-system)
     (arguments
      `(#:modules ((guix build gnu-build-system)

base-commit: ee7e5e00bf2b9257e67d785b37efddb008c5da37
-- 
2.45.2





Severity set to 'important' from 'normal' Request was from Ashish SHUKLA <ashish.is <at> lostca.se> to control <at> debbugs.gnu.org. (Thu, 18 Jul 2024 09:19:01 GMT) Full text and rfc822 format available.

Added tag(s) security. Request was from Ashish SHUKLA <ashish.is <at> lostca.se> to control <at> debbugs.gnu.org. (Thu, 18 Jul 2024 09:19:02 GMT) Full text and rfc822 format available.

Reply sent to jgart <jgart <at> dismail.de>:
You have taken responsibility. (Fri, 19 Jul 2024 21:49:01 GMT) Full text and rfc822 format available.

Notification sent to ashish.is <at> lostca.se:
bug acknowledged by developer. (Fri, 19 Jul 2024 21:49:02 GMT) Full text and rfc822 format available.

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

From: jgart <jgart <at> dismail.de>
To: 72173-done <at> debbugs.gnu.org
Cc: Ashish SHUKLA <ashish.is <at> lostca.se>
Subject: Re: [PATCH] gnu: chicken: Update to 5.4.0.
Date: Fri, 19 Jul 2024 16:47:49 -0500
Applied, thanks!
-- 
all the best,
jgart




Information forwarded to guix-patches <at> gnu.org:
bug#72173; Package guix-patches. (Sat, 20 Jul 2024 13:54:01 GMT) Full text and rfc822 format available.

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

From: Ludovic Courtès <ludo <at> gnu.org>
To: ashish.is <at> lostca.se, jgart <jgart <at> dismail.de>
Cc: 72173 <at> debbugs.gnu.org
Subject: Re: [bug#72173] [PATCH] gnu: chicken: Update to 5.4.0.
Date: Sat, 20 Jul 2024 15:53:09 +0200
Hey jgart & Ashish,

ashish.is <at> lostca.se skribis:

> From: Ashish SHUKLA <ashish.is <at> lostca.se>
>
> * gnu/packages/chicken.scm (chicken): Update to 5.4.0.
>
> Change-Id: I448bdc25a5cb11e55c7ebb9d9e0cf1876ca958d8

This caused a number of Chicken packages to fail to build:

  https://ci.guix.gnu.org/eval/1498240?status=newly-failed

In particular, ‘chicken-compile-file’ fails to build with:

--8<---------------cut here---------------start------------->8---
starting phase `build'

Error: extension or version not found: "compile-file"
fetching compile-file
TCP connect timeout
TCP connect timeout
error: in phase 'build': uncaught exception:
%exception #<&invoke-error program: "chicken-install" arguments: ("-cached" "-no-install" "compile-file") exit-status: 70 term-signal: #f stop-signal: #f> 
phase `build' failed after 0.0 seconds
--8<---------------cut here---------------end--------------->8---

(From <https://ci.guix.gnu.org/build/5185638/details>.)

Could you take a look?

Thanks,
Ludo’.




Information forwarded to guix-patches <at> gnu.org:
bug#72173; Package guix-patches. (Sat, 20 Jul 2024 15:45:01 GMT) Full text and rfc822 format available.

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

From: "jgart" <jgart <at> dismail.de>
To: "Ludovic Courtès" <ludo <at> gnu.org>, ashish.is <at> lostca.se
Cc: 72173 <at> debbugs.gnu.org
Subject: Re: [bug#72173] [PATCH] gnu: chicken: Update to 5.4.0.
Date: Sat, 20 Jul 2024 15:43:57 +0000
July 20, 2024 at 8:53 AM, "Ludovic Courtès" <ludo <at> gnu.org> wrote:

Hi Ludo,

Sorry, I forgot to check the dependent chicken packages 🙃🦆

I will revert this commit immediately on Monday when I get back.

I don't think I'll have time to look into the chicken package failures this weekend or next week.

ashish, could you send a v2 with the dependent chicken packages passing in order for this to be merged properly by Monday?

all the best,

jgart




Information forwarded to guix-patches <at> gnu.org:
bug#72173; Package guix-patches. (Mon, 22 Jul 2024 16:05:02 GMT) Full text and rfc822 format available.

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

From: jgart <jgart <at> dismail.de>
To: 72173 <at> debbugs.gnu.org
Cc: Ludovic Courtès <ludo <at> gnu.org>, jgart <jgart <at> dismail.de>,
 Ashish SHUKLA <ashish.is <at> lostca.se>
Subject: Re: [PATCH] gnu: chicken: Update to 5.4.0.
Date: Mon, 22 Jul 2024 11:04:18 -0500
Hi all,

I've reverted this commit for now.

Hi ashish,

Feel free to send a v2 including the build passing dependents.

If you'd like to me to review it again please Cc me.
-- 
all the best,
jgart




Information forwarded to guix-patches <at> gnu.org:
bug#72173; Package guix-patches. (Mon, 22 Jul 2024 21:10:01 GMT) Full text and rfc822 format available.

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

From: Ashish <ashish.is <at> lostca.se>
To: jgart <jgart <at> dismail.de>
Cc: Ludovic Courtès <ludo <at> gnu.org>, 72173 <at> debbugs.gnu.org
Subject: Re: [PATCH] gnu: chicken: Update to 5.4.0.
Date: Mon, 22 Jul 2024 21:08:51 +0000
[Message part 1 (text/plain, inline)]
On Mon, Jul 22, 2024 at 11:04:18AM -0500, jgart wrote:
> 
> Hi all,
> 
> I've reverted this commit for now.
> 
> Hi ashish,
> 
> Feel free to send a v2 including the build passing dependents.
> 
> If you'd like to me to review it again please Cc me.
> -- 
> all the best,
> jgart

Sorry about the lack of proper testing, and lack of timely follow up on 
my part. I'll work on a fix sometime this week, and will get back to 
you.

Apologies again.

-- 
Ashish SHUKLA | GPG: F682 CDCC 39DC 0FEA E116  20B6 C746 CFA9 E74F A4B0

"If I destroy you, what business is it of yours ?" (Dark Forest, Liu Cixin)
[signature.asc (application/pgp-signature, inline)]

Information forwarded to guix-patches <at> gnu.org:
bug#72173; Package guix-patches. (Mon, 22 Jul 2024 21:35:02 GMT) Full text and rfc822 format available.

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

From: "jgart" <jgart <at> dismail.de>
To: "Ashish" <ashish.is <at> lostca.se>
Cc: Ludovic Courtès <ludo <at> gnu.org>, 72173 <at> debbugs.gnu.org
Subject: Re: [PATCH] gnu: chicken: Update to 5.4.0.
Date: Mon, 22 Jul 2024 21:34:44 +0000
> Sorry about the lack of proper testing, and lack of timely follow up on 
> 
> my part. I'll work on a fix sometime this week, and will get back to 
> 
> you.
> 
> Apologies again.

No worries and thanks for contributing.

Keep us posted on the new version. 

I can review and test again once ready.

all best,

jgart




Did not alter fixed versions and reopened. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Thu, 25 Jul 2024 07:55:02 GMT) Full text and rfc822 format available.

Removed tag(s) patch. Request was from Ludovic Courtès <ludo <at> gnu.org> to control <at> debbugs.gnu.org. (Thu, 25 Jul 2024 07:55:02 GMT) Full text and rfc822 format available.

Information forwarded to guix-patches <at> gnu.org:
bug#72173; Package guix-patches. (Thu, 25 Jul 2024 17:45:02 GMT) Full text and rfc822 format available.

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

From: ashish.is <at> lostca.se
To: 72173 <at> debbugs.gnu.org
Cc: Ashish SHUKLA <ashish.is <at> lostca.se>
Subject: [PATCH v2 0/2] gnu: chicken: Update to 5.4.0.
Date: Thu, 25 Jul 2024 17:41:13 +0000
From: Ashish SHUKLA <ashish.is <at> lostca.se>

In this revision, I have updated the chicken-build-system. These
changes are based off the work in nixpkgs[0].

All of the failed dependents seem to build fine.

References:
[0] https://github.com/NixOS/nixpkgs/blob/master/pkgs/development/compilers/chicken/5/eggDerivation.nix

Ashish SHUKLA (2):
  gnu: chicken: Update to 5.4.0.
  guix: chicken-build-system: Update for 5.4.0.

 gnu/packages/chicken.scm            |  4 ++--
 guix/build/chicken-build-system.scm | 11 ++++++-----
 2 files changed, 8 insertions(+), 7 deletions(-)


base-commit: 03062c7a9fd74d625639e1a325e9cb58d1cd74e3
-- 
2.45.2





Information forwarded to guix-patches <at> gnu.org:
bug#72173; Package guix-patches. (Thu, 25 Jul 2024 17:46:02 GMT) Full text and rfc822 format available.

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

From: ashish.is <at> lostca.se
To: 72173 <at> debbugs.gnu.org
Cc: Ashish SHUKLA <ashish.is <at> lostca.se>
Subject: [PATCH v2 1/2] gnu: chicken: Update to 5.4.0.
Date: Thu, 25 Jul 2024 17:41:14 +0000
From: Ashish SHUKLA <ashish.is <at> lostca.se>

* gnu/packages/chicken.scm (chicken): Update to 5.4.0.

Change-Id: I448bdc25a5cb11e55c7ebb9d9e0cf1876ca958d8
---
 gnu/packages/chicken.scm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/chicken.scm b/gnu/packages/chicken.scm
index 8f5e8ce98d..d48a0c89c0 100644
--- a/gnu/packages/chicken.scm
+++ b/gnu/packages/chicken.scm
@@ -33,14 +33,14 @@ (define-module (gnu packages chicken)
 (define-public chicken
   (package
     (name "chicken")
-    (version "5.3.0")
+    (version "5.4.0")
     (source (origin
               (method url-fetch)
               (uri (string-append "https://code.call-cc.org/releases/"
                                   version "/chicken-" version ".tar.gz"))
               (sha256
                (base32
-                "0xhdvcdwlv9vbhxh7k0fzd32ybhc7fn83y9fj48dhzp1z7c9kbf3"))))
+                "0pzcrnzkjw2sa44vy59wbygvlc3nva8zisprkdnvyrqi3jk4lp9w"))))
     (build-system gnu-build-system)
     (arguments
      `(#:modules ((guix build gnu-build-system)
-- 
2.45.2





Information forwarded to guix-patches <at> gnu.org:
bug#72173; Package guix-patches. (Thu, 25 Jul 2024 17:46:02 GMT) Full text and rfc822 format available.

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

From: ashish.is <at> lostca.se
To: 72173 <at> debbugs.gnu.org
Cc: Ashish SHUKLA <ashish.is <at> lostca.se>
Subject: [PATCH v2 2/2] guix: chicken-build-system: Update for 5.4.0.
Date: Thu, 25 Jul 2024 17:41:15 +0000
From: Ashish SHUKLA <ashish.is <at> lostca.se>

* guix/build/chicken-build-system (build): chdir to the directory containing
  sources, and let chicken-install process the current directory.
  (install): Switch to define as we do not need any keys.
  (check): Remove unused egg-name from the arguments.

Change-Id: I4adf5e2378deab6e3f3b3c128c3cc75ce43f0e8a
---
 guix/build/chicken-build-system.scm | 11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)

diff --git a/guix/build/chicken-build-system.scm b/guix/build/chicken-build-system.scm
index 8f9f59cc25..fd5a33fd22 100644
--- a/guix/build/chicken-build-system.scm
+++ b/guix/build/chicken-build-system.scm
@@ -93,13 +93,14 @@ (define* (unpack #:key source egg-name unpack-path #:allow-other-keys)
 
 (define* (build #:key egg-name #:allow-other-keys)
   "Build the Chicken egg named by EGG-NAME"
-  (invoke "chicken-install" "-cached" "-no-install" egg-name))
+  (chdir egg-name)
+  (invoke "chicken-install" "-cached" "-no-install"))
 
-(define* (install #:key egg-name #:allow-other-keys)
+(define (install . _)
   "Install the already built egg named by EGG-NAME"
-  (invoke "chicken-install" "-cached" egg-name))
+  (invoke "chicken-install" "-cached"))
 
-(define* (check #:key egg-name tests? #:allow-other-keys)
+(define* (check #:key tests? #:allow-other-keys)
   "Build and run tests for the Chicken egg EGG-NAME"
   ;; there is no "-test-only" option, but we've already run install
   ;; so this just runs tests.
@@ -109,7 +110,7 @@ (define* (check #:key egg-name tests? #:allow-other-keys)
                          ":"
                          (getenv "CHICKEN_REPOSITORY_PATH")))
   (when tests?
-    (invoke "chicken-install" "-cached" "-test" "-no-install" egg-name)))
+    (invoke "chicken-install" "-cached" "-test" "-no-install")))
 
 (define* (stamp-egg-version #:key egg-name name #:allow-other-keys)
   "Check if EGG-NAME.egg contains version information and add some if not."
-- 
2.45.2





Information forwarded to guix-patches <at> gnu.org:
bug#72173; Package guix-patches. (Thu, 25 Jul 2024 20:50:01 GMT) Full text and rfc822 format available.

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

From: jgart <jgart <at> dismail.de>
To: 72173 <at> debbugs.gnu.org
Cc: Ludovic Courtès <ludo <at> gnu.org>, jgart <jgart <at> dismail.de>,
 Ashish <ashish.is <at> lostca.se>, Debbugs Internal Request <help-debbugs <at> gnu.org>
Subject: Re: [PATCH] gnu: chicken: Update to 5.4.0.
Date: Thu, 25 Jul 2024 15:48:58 -0500
Hi,

Thanks for the v2. I can't apply this patch series with mumi am.

Can you share the method that you used to send it?

Thanks,

jgart




Information forwarded to guix-patches <at> gnu.org:
bug#72173; Package guix-patches. (Fri, 26 Jul 2024 08:36:01 GMT) Full text and rfc822 format available.

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

From: Ashish <ashish.is <at> lostca.se>
To: jgart <jgart <at> dismail.de>
Cc: Ludovic Courtès <ludo <at> gnu.org>, 72173 <at> debbugs.gnu.org,
 Debbugs Internal Request <help-debbugs <at> gnu.org>
Subject: Re: [PATCH] gnu: chicken: Update to 5.4.0.
Date: Fri, 26 Jul 2024 08:35:16 +0000
[Message part 1 (text/plain, inline)]
On Thu, Jul 25, 2024 at 03:48:58PM -0500, jgart wrote:
> 
> Hi,
> 
> Thanks for the v2. I can't apply this patch series with mumi am.
> 
> Can you share the method that you used to send it?

Sure.

git send-email -2 -v2 \
  --in-reply-to=a2cc7b416a4a87e086dd432c889b2f96270cbccb <at> dismail.de \
  --to=72173 <at> debbugs.gnu.org --cover-letter --annotate \
  --base=origin/master

origin/master was 03062c7a9fd74d625639e1a325e9cb58d1cd74e3

Thanks!
-- 
Ashish SHUKLA | GPG: F682 CDCC 39DC 0FEA E116  20B6 C746 CFA9 E74F A4B0

"If I destroy you, what business is it of yours ?" (Dark Forest, Liu Cixin)
[signature.asc (application/pgp-signature, inline)]

Information forwarded to guix-patches <at> gnu.org:
bug#72173; Package guix-patches. (Fri, 26 Jul 2024 08:46:02 GMT) Full text and rfc822 format available.

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

From: Ashish <ashish.is <at> lostca.se>
To: jgart <jgart <at> dismail.de>
Cc: Ludovic Courtès <ludo <at> gnu.org>, 72173 <at> debbugs.gnu.org,
 Debbugs Internal Request <help-debbugs <at> gnu.org>
Subject: Re: [PATCH] gnu: chicken: Update to 5.4.0.
Date: Fri, 26 Jul 2024 08:44:20 +0000
[Message part 1 (text/plain, inline)]
On Fri, Jul 26, 2024 at 08:35:21AM +0000, Ashish wrote:
> On Thu, Jul 25, 2024 at 03:48:58PM -0500, jgart wrote:
> > 
> > Hi,
> > 
> > Thanks for the v2. I can't apply this patch series with mumi am.
> > 
> > Can you share the method that you used to send it?
> 
> Sure.
> 
> git send-email -2 -v2 \
>   --in-reply-to=a2cc7b416a4a87e086dd432c889b2f96270cbccb <at> dismail.de \
>   --to=72173 <at> debbugs.gnu.org --cover-letter --annotate \
>   --base=origin/master
> 
> origin/master was 03062c7a9fd74d625639e1a325e9cb58d1cd74e3
> 
> Thanks!
> -- 
> Ashish SHUKLA | GPG: F682 CDCC 39DC 0FEA E116  20B6 C746 CFA9 E74F A4B0
> 
> "If I destroy you, what business is it of yours ?" (Dark Forest, Liu Cixin)

❯ git rev-parse HEAD                                                                                                                                                                          
efc26826400762207cde9f23802cfe75a737963c                                                                                                                                                      

❯ git checkout -b testing-pr-72173                                                                                                                                                            
Switched to a new branch 'testing-pr-72173'                                                                                                                                                   

❯ curl -sL https://issues.guix.gnu.org/issue/72173/raw/{12..13} | git am
Applying: gnu: chicken: Update to 5.4.0.
Applying: guix: chicken-build-system: Update for 5.4.0.


Please note that the URLs above are not quite what are reflected in the 
web UI, so my guess something in the upstream mumi DB is messed up.

e.g. https://issues.guix.gnu.org/issue/72173/raw/13 is associated with 
your reply in the web UI, but if you download it, it's the one that 
contains the message containing the patch.

My guess is this is why mumi is getting confused.

HTH
-- 
Ashish SHUKLA | GPG: F682 CDCC 39DC 0FEA E116  20B6 C746 CFA9 E74F A4B0

"If I destroy you, what business is it of yours ?" (Dark Forest, Liu Cixin)
[signature.asc (application/pgp-signature, inline)]

Reply sent to Maxim Cournoyer <maxim.cournoyer <at> gmail.com>:
You have taken responsibility. (Tue, 12 Nov 2024 12:13:02 GMT) Full text and rfc822 format available.

Notification sent to ashish.is <at> lostca.se:
bug acknowledged by developer. (Tue, 12 Nov 2024 12:13:03 GMT) Full text and rfc822 format available.

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

From: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
To: ashish.is <at> lostca.se
Cc: Jorge Gomez <jgart <at> dismail.de>, 72173-done <at> debbugs.gnu.org
Subject: Re: [bug#72173] [PATCH v2 0/2] gnu: chicken: Update to 5.4.0.
Date: Tue, 12 Nov 2024 21:11:26 +0900
Hi,

ashish.is <at> lostca.se writes:

> From: Ashish SHUKLA <ashish.is <at> lostca.se>
>
> In this revision, I have updated the chicken-build-system. These
> changes are based off the work in nixpkgs[0].
>
> All of the failed dependents seem to build fine.
>
> References:
> [0] https://github.com/NixOS/nixpkgs/blob/master/pkgs/development/compilers/chicken/5/eggDerivation.nix
>
> Ashish SHUKLA (2):
>   gnu: chicken: Update to 5.4.0.
>   guix: chicken-build-system: Update for 5.4.0.

Applied with 0b60708ee0.  Closing!

-- 
Thanks,
Maxim




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Tue, 10 Dec 2024 12:24:14 GMT) Full text and rfc822 format available.

This bug report was last modified 215 days ago.

Previous Next


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