GNU bug report logs -
#42947
Chez Scheme libraries are broken
Previous Next
Reported by: Martin Becze <mjbecze <at> riseup.net>
Date: Thu, 20 Aug 2020 11:32:02 UTC
Severity: normal
Done: Ludovic Courtès <ludo <at> gnu.org>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
[Message part 1 (text/plain, inline)]
Your message dated Wed, 02 Sep 2020 16:36:26 +0200
with message-id <87tuwg5jpx.fsf <at> gnu.org>
and subject line Re: bug#42947: Chez Scheme libraries are broken
has caused the debbugs.gnu.org bug report #42947,
regarding Chez Scheme libraries are broken
to be marked as done.
(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)
--
42947: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=42947
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
[Message part 3 (text/plain, inline)]
Chez Scheme libraries are broken. For example `guix environment --ad-hoc
chez-scheme chez-fmt`. chez-fmt will not install (for me) because it is
dependent on chez-srfi and chez-scheme seem unable to locate it.
I think it is because CHEZSCHEMELIBDIRS is not being set. But I'm not
sure why that is happening. The chez-scheme package includes the following
```
(native-search-paths
(list (search-path-specification
(variable "CHEZSCHEMELIBDIRS")
(files (list (string-append "lib/csv" version "-site"))))))
```
Which I think should set it.
-Martin
[signature.asc (application/pgp-signature, attachment)]
[Message part 5 (message/rfc822, inline)]
Hi,
Martin Becze <mjbecze <at> riseup.net> skribis:
>> I see, but now we’re creating a directory that remains empty, and as I
>> wrote, chez-fmt is actually installed in another directory anyway:
>
> Oh yikes! Yeah so I see half of the scheme libraries are installed in
> lib/csv-site and other are installed in lib/csv<version>-site. It
> appears that there was a missing make flag for scheme-fmt and several
> others. Attached is an updated patch that fixes that.
[...]
> From 328ab304b47671dcdc03768f07484aae298ca646 Mon Sep 17 00:00:00 2001
> From: Martin Becze <mjbecze <at> riseup.net>
> Date: Thu, 20 Aug 2020 12:39:50 -0500
> Subject: [PATCH v2 1/2] gnu: chez-scheme: Fix libary directory issue.
>
> This creates the directory lib/csv<version>-site which the scheme libary packages
> expect.
>
> * gnu/packages/chez.scm (chez-scheme): Create libary directory.
> * gnu/packages/chez.scm (chez-make-flags): Add chezversion to make flags.
I’ve applied it without the ‘mkdir’. I confirm it solves the problem:
echo '(import (fmt))' | ./pre-inst-env guix environment -C --ad-hoc chez-scheme chez-fmt -- chez-scheme
Thanks!
Ludo’.
This bug report was last modified 4 years and 262 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.