GNU bug report logs -
#61665
[PATCH] gnu: python-clingo: Fix invalid G-expression input.
Previous Next
Full log
Message #8 received at 61665 <at> debbugs.gnu.org (full text, mbox):
Am Dienstag, dem 21.02.2023 um 02:00 +0100 schrieb Simon Tournier:
> * gnu/packages/maths.scm (python-clingo)[arguments]: Add 'imported-
> modules'
> and 'modules' in order to access to 'python:site-packages'.
> [version]: Explicitly reuse from the package 'clingo'.
> ---
>
> Hi,
>
> This package seems broken:
>
> --8<---------------cut here---------------start------------->8---
> $ guix time-machine --commit=e8fcf1e424 -- build python-clingo
> guix build: erreur : #<procedure version ()> : entrée G-expression
> invalide
> --8<---------------cut here---------------end--------------->8---
>
> The issue seems coming from the field 'version'. Then, commit
> 8285093cee000d6e28c040f721ddf0be18d32c42 introduces #$version which
> introduces the failure.
Thanks.
> Well, I have not found the correct G-exp syntax for #:imported-
> modules.
Quoting works fine.
>
> gnu/packages/maths.scm | 8 ++++++++
> 1 file changed, 8 insertions(+)
>
> diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm
> index 1e40be8722..67634990ae 100644
> --- a/gnu/packages/maths.scm
> +++ b/gnu/packages/maths.scm
> @@ -2703,12 +2703,20 @@ (define-public python-clingo
> (package
> (inherit clingo)
> (name "python-clingo")
> + (version (package-version clingo)) ;Fix error: invalid G-
> expression #$version
Reworded slightly and pushed (it's a hotfix and CI succeeds).
Cheers
This bug report was last modified 2 years and 149 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.