GNU bug report logs - #76270
[PATCH 0/2] Add sage.

Previous Next

Package: guix-patches;

Reported by: Andreas Enge <andreas <at> enge.fr>

Date: Thu, 13 Feb 2025 15:19:02 UTC

Severity: normal

Tags: patch

Done: Andreas Enge <andreas <at> enge.fr>

Bug is archived. No further changes may be made.

Full log


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

From: Andreas Enge <andreas <at> enge.fr>
To: Guillaume Le Vaillant <glv <at> posteo.net>
Cc: Nicolas Goaziou <mail <at> nicolasgoaziou.fr>, vicvbcun <guix <at> ikherbers.com>,
 Sharlatan Hellseher <sharlatanus <at> gmail.com>, 76270 <at> debbugs.gnu.org,
 Vinicius Monego <monego <at> posteo.net>
Subject: Re: [PATCH v2 1/2] gnu: maxima: Compile with ecl instead of sbcl.
Date: Fri, 14 Feb 2025 19:59:02 +0100
Am Fri, Feb 14, 2025 at 07:30:42PM +0100 schrieb Andreas Enge:
> I use "package/inherit" in the patch, and experimentally it did not work
> when I moved the package definition into the different module sagemath.
> Is that true? In that case, I would have to use regular inheritance.

Well, that also does not work. I import the (gnu packages maths) module
in sagemath.scm, and the variable maxima can be used, but also
(define-public maxima-ecl
  (package
    (inherit maxima)
    (name "maxima-ecl")
...
leads to the error message
ice-9/eval.scm:293:34: error: maxima: unbound variable
hint: Did you forget a `use-modules' form?

Can this be worked around? Or do I need to keep maxima-ecl in the same
module as maxima (maths.scm) and mark maxima-ecl as hidden?
Or should I move both to the sagemath module?

Andreas





This bug report was last modified 149 days ago.

Previous Next


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