GNU bug report logs -
#72173
[PATCH] gnu: chicken: Update to 5.4.0.
Previous Next
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.
Full log
View this message in rfc822 format
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
This bug report was last modified 247 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.