GNU bug report logs - #56570
generate-documentation can't handle package fields

Previous Next

Package: guix;

Reported by: Andrew Tropin <andrew <at> trop.in>

Date: Fri, 15 Jul 2022 07:05:01 UTC

Severity: normal

To reply to this bug, email your comments to 56570 AT debbugs.gnu.org.

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

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


Report forwarded to bug-guix <at> gnu.org:
bug#56570; Package guix. (Fri, 15 Jul 2022 07:05:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Andrew Tropin <andrew <at> trop.in>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Fri, 15 Jul 2022 07:05:01 GMT) Full text and rfc822 format available.

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

From: Andrew Tropin <andrew <at> trop.in>
To: bug-guix <at> gnu.org, Xinglu Chen <public <at> yoctocell.xyz>
Cc: conses <contact <at> conses.eu>
Subject: generate-documentation can't handle package fields
Date: Fri, 15 Jul 2022 10:03:58 +0300
[Message part 1 (text/plain, inline)]
Minimal reproducer:

--8<---------------cut here---------------start------------->8---
(use-modules (gnu services configuration)
             (gnu packages mail))

(define-configuration/no-serialization home-goimapnotify-configuration
  (package
    (package go-gitlab.com-shackra-goimapnotify)
    "The @code{goimapnotify} package to use."))

(generate-documentation
 `((home-goimapnotify-configuration
    ,home-goimapnotify-configuration-fields))
 'home-goimapnotify-configuration)
--8<---------------cut here---------------end--------------->8---

Error:

--8<---------------cut here---------------start------------->8---
(generate-documentation
 `((home-goimapnotify-configuration
    ,home-goimapnotify-configuration-fields))
 'home-goimapnotify-configuration)

ice-9/boot-9.scm:1685:16: In procedure raise-exception:
In procedure symbol->string: Wrong type argument in position 1 (expecting symbol): #f


[Debugging level: 18]
--8<---------------cut here---------------end--------------->8---

I suspect that problematic code is here:
https://git.savannah.gnu.org/cgit/guix.git/tree/gnu/services/configuration.scm?h=6505f727e1824391b888dd0c2c60cf64ec66955a#n308

-- 
Best regards,
Andrew Tropin
[signature.asc (application/pgp-signature, inline)]

This bug report was last modified 2 years and 139 days ago.

Previous Next


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