GNU bug report logs - #77831
[PATCH 0/2] Add trivial-adjust-simple-array and update cl-fast-ecs

Previous Next

Package: guix-patches;

Reported by: Simen Endsjø <contact <at> simendsjo.me>

Date: Tue, 15 Apr 2025 19:53:02 UTC

Severity: normal

Tags: patch

Done: Guillaume Le Vaillant <glv <at> posteo.net>

To reply to this bug, email your comments to 77831 AT debbugs.gnu.org.
There is no need to reopen the bug first.

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

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


Report forwarded to glv <at> posteo.net, cox.katherine.e+guix <at> gmail.com, me <at> bonfacemunyoki.com, sharlatanus <at> gmail.com, jgart <at> dismail.de, guix-patches <at> gnu.org:
bug#77831; Package guix-patches. (Tue, 15 Apr 2025 19:53:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Simen Endsjø <contact <at> simendsjo.me>:
New bug report received and forwarded. Copy sent to glv <at> posteo.net, cox.katherine.e+guix <at> gmail.com, me <at> bonfacemunyoki.com, sharlatanus <at> gmail.com, jgart <at> dismail.de, guix-patches <at> gnu.org. (Tue, 15 Apr 2025 19:53:02 GMT) Full text and rfc822 format available.

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

From: Simen Endsjø <contact <at> simendsjo.me>
To: guix-patches <at> gnu.org
Cc: Simen Endsjø <contact <at> simendsjo.me>
Subject: [PATCH 0/2] Add trivial-adjust-simple-array and update cl-fast-ecs
Date: Tue, 15 Apr 2025 21:31:58 +0200
Simen Endsjø (2):
  gnu: Add trivial-adjust-simple-array.
  gnu: cl-fast-ecs: Update to 0.7.1

 gnu/packages/lisp-xyz.scm | 51 ++++++++++++++++++++++++++++++++++++---
 1 file changed, 47 insertions(+), 4 deletions(-)


base-commit: 12a6dd40a7b88454cc8a8c930c22681fcee5b1ea
-- 
2.49.0





Information forwarded to glv <at> posteo.net, cox.katherine.e+guix <at> gmail.com, me <at> bonfacemunyoki.com, sharlatanus <at> gmail.com, jgart <at> dismail.de, guix-patches <at> gnu.org:
bug#77831; Package guix-patches. (Tue, 15 Apr 2025 20:15:02 GMT) Full text and rfc822 format available.

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

From: Simen Endsjø <contact <at> simendsjo.me>
To: 77831 <at> debbugs.gnu.org
Cc: Simen Endsjø <contact <at> simendsjo.me>
Subject: [PATCH 1/2] gnu: Add trivial-adjust-simple-array.
Date: Tue, 15 Apr 2025 22:13:36 +0200
* gnu/packages/lisp-xyz.scm (cl-trivial-adjust-simple-array, ecl-trivial-adjust-simple-array, sbcl-trivial-adjust-simple-array): New variables.
---
 gnu/packages/lisp-xyz.scm | 35 +++++++++++++++++++++++++++++++++++
 1 file changed, 35 insertions(+)

diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm
index 58e7f948ad..746902097a 100644
--- a/gnu/packages/lisp-xyz.scm
+++ b/gnu/packages/lisp-xyz.scm
@@ -46,6 +46,7 @@
 ;;; Copyright © 2024 Nik Gaffney <nik <at> fo.am>
 ;;; Copyright © 2024 Grigory Shepelev <shegeley <at> gmail.com>
 ;;; Copyright © 2025 Junker <dk <at> junkeria.club>
+;;; Copyright © 2025 Simen Endsjø <contact <at> simendsjo.me>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -5697,6 +5698,40 @@ (define-public cl-fad
 (define-public ecl-cl-fad
   (sbcl-package->ecl-package sbcl-cl-fad))
 
+(define-public sbcl-trivial-adjust-simple-array
+  (let ((commit "393d4041410db584d49c17d9d959fca7aeb76dfc"))
+    (package
+      (name "sbcl-trivial-adjust-simple-array")
+      ;; It's currently at 0.0.1, but so is the other commits
+      (version "develop")
+      (source
+       (origin
+         (method git-fetch)
+         (uri (git-reference
+               (url "https://gitlab.com/lockie/trivial-adjust-simple-array")
+               (commit commit)))
+         (file-name (git-file-name name commit))
+         (sha256
+          (base32 "1mxsng80x3m4cf65vfd1q5fx9nlzqckfc7axwvf9fh156rdhhr3p"))))
+      (build-system asdf-build-system/sbcl)
+      (arguments
+       (list
+        #:asd-systems ''("trivial-adjust-simple-array")))
+      (native-inputs
+       (list sbcl sbcl-parachute
+             sbcl-alexandria))
+      (inputs (list))
+      (home-page "https://gitlab.com/lockie/trivial-adjust-simple-array")
+      (synopsis "A tiny utility to change array size ensuring it is simple.")
+      (description "A tiny utility to change array size ensuring it is simple.")
+      (license license:expat))))
+
+(define-public cl-trivial-adjust-simple-array
+  (sbcl-package->cl-source-package sbcl-trivial-adjust-simple-array))
+
+(define-public ecl-trivial-adjust-simple-array
+  (sbcl-package->ecl-package sbcl-trivial-adjust-simple-array))
+
 (define-public sbcl-cl-fast-ecs
   (package
     (name "sbcl-cl-fast-ecs")
-- 
2.49.0





Information forwarded to glv <at> posteo.net, cox.katherine.e+guix <at> gmail.com, me <at> bonfacemunyoki.com, sharlatanus <at> gmail.com, jgart <at> dismail.de, guix-patches <at> gnu.org:
bug#77831; Package guix-patches. (Tue, 15 Apr 2025 20:15:03 GMT) Full text and rfc822 format available.

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

From: Simen Endsjø <contact <at> simendsjo.me>
To: 77831 <at> debbugs.gnu.org
Cc: Simen Endsjø <contact <at> simendsjo.me>
Subject: [PATCH 2/2] gnu: cl-fast-ecs: Update to 0.7.1
Date: Tue, 15 Apr 2025 22:13:37 +0200
* gnu/packages/lisp-xyz.scm (sbcl-cl-fast-ecs): Update to 0.7.1.
---
 gnu/packages/lisp-xyz.scm | 16 ++++++++++++----
 1 file changed, 12 insertions(+), 4 deletions(-)

diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm
index 746902097a..7214d83dd4 100644
--- a/gnu/packages/lisp-xyz.scm
+++ b/gnu/packages/lisp-xyz.scm
@@ -5735,7 +5735,7 @@ (define-public ecl-trivial-adjust-simple-array
 (define-public sbcl-cl-fast-ecs
   (package
     (name "sbcl-cl-fast-ecs")
-    (version "0.2.2")
+    (version "0.7.1")
     (source
      (origin
        (method git-fetch)
@@ -5744,12 +5744,20 @@ (define-public sbcl-cl-fast-ecs
              (commit version)))
        (file-name (git-file-name "cl-fast-ecs" version))
        (sha256
-        (base32 "00nw5nwzcz8x1x1lycmjik8pcqzxrl896j0xjjl33rjljsmj45sx"))))
+        (base32 "068xc4ncxc9crg8b9x4abv1l8biq89d2fxm1i4m3jrbfx4adiqr5"))))
     (build-system asdf-build-system/sbcl)
+    (arguments
+     (list
+      #:asd-systems ''("cl-fast-ecs")))
     (native-inputs
-     (list sbcl-chlorophyll sbcl-cl-mock sbcl-parachute))
+     (list graphviz
+           sbcl-parachute
+           sbcl-cl-mock))
     (inputs
-     (list sbcl-alexandria sbcl-trivial-garbage))
+     (list sbcl-alexandria
+           sbcl-closer-mop
+           sbcl-global-vars
+           sbcl-trivial-adjust-simple-array))
     (home-page "https://lockie.gitlab.io/cl-fast-ecs/")
     (synopsis "Blazingly fast Entity-Component-System microframework")
     (description
-- 
2.49.0





Reply sent to Guillaume Le Vaillant <glv <at> posteo.net>:
You have taken responsibility. (Thu, 17 Apr 2025 08:28:02 GMT) Full text and rfc822 format available.

Notification sent to Simen Endsjø <contact <at> simendsjo.me>:
bug acknowledged by developer. (Thu, 17 Apr 2025 08:28:02 GMT) Full text and rfc822 format available.

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

From: Guillaume Le Vaillant <glv <at> posteo.net>
To: Simen Endsjø <contact <at> simendsjo.me>
Cc: 77831-done <at> debbugs.gnu.org
Subject: Re: [bug#77831] [PATCH 0/2] Add trivial-adjust-simple-array and
 update cl-fast-ecs
Date: Thu, 17 Apr 2025 08:27:07 +0000
[Message part 1 (text/plain, inline)]
Patches applied as 604cd06e357ee31d7c7be922d9f615b60fe99db9 and
following with a few modifications (package moved at the right place in
the file, a few simplifications and fixes).
Thanks.
[signature.asc (application/pgp-signature, inline)]

Information forwarded to guix-patches <at> gnu.org:
bug#77831; Package guix-patches. (Sat, 19 Apr 2025 13:41:03 GMT) Full text and rfc822 format available.

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

From: Simen Endsjø <contact <at> simendsjo.me>
To: Guillaume Le Vaillant <glv <at> posteo.net>
Cc: 77831-done <at> debbugs.gnu.org
Subject: Re: [bug#77831] [PATCH 0/2] Add trivial-adjust-simple-array and
 update cl-fast-ecs
Date: Sat, 19 Apr 2025 15:39:56 +0200
[Message part 1 (text/plain, inline)]
Guillaume Le Vaillant <glv <at> posteo.net> writes:

> Patches applied as 604cd06e357ee31d7c7be922d9f615b60fe99db9 and
> following with a few modifications (package moved at the right place in
> the file, a few simplifications and fixes).
> Thanks.

Thanks, but I'm unable to reproduce the ecl-cl-fast-ecs issue manually,
could it be an issue with guix somehow?

Without your patch, the build fails for me too.

$ guix build -e '(begin (use-modules (guix build-system asdf) (gnu packages lisp-xyz)) (sbcl-package->ecl-package sbcl-cl-fast-ecs))'

But if I try to build manually, calling dot does not trigger any
problems.

$ guix shell ecl -D ecl-cl-fast-ecs --pure

[env]$ ecs

(asdf:load-asd (merge-pathnames "cl-fast-ecs.asd"))
(asdf:load-system "cl-fast-ecs")
(asdf:load-system "cl-fast-ecs/tests")
(asdf:test-system "cl-fast-ecs")
[signature.asc (application/pgp-signature, inline)]

This bug report was last modified 26 days ago.

Previous Next


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