GNU bug report logs - #53342
Environmental variables for cuirass service ?

Previous Next

Package: guix;

Reported by: Nicolas Graves <ngraves <at> ngraves.fr>

Date: Tue, 18 Jan 2022 10:43:01 UTC

Severity: normal

Done: Nicolas Graves <ngraves <at> ngraves.fr>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Nicolas Graves <ngraves <at> ngraves.fr>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#53342: closed (Environmental variables for cuirass service ?)
Date: Sun, 04 Feb 2024 13:18:02 +0000
[Message part 1 (text/plain, inline)]
Your message dated Sun, 04 Feb 2024 14:17:04 +0100
with message-id <87zfwgz7vz.fsf <at> ngraves.fr>
and subject line close 53342
has caused the debbugs.gnu.org bug report #53342,
regarding Environmental variables for cuirass service ?
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
53342: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=53342
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Nicolas Graves <ngraves <at> ngraves.fr>
To: bug-guix <at> gnu.org
Subject: Environmental variables for cuirass service ?
Date: Tue, 18 Jan 2022 11:29:45 +0100
Hi,

(In short), I'm looking for a way to add environmental variables to a
cuirass register job.

I've recently setup a cuirass server to ease my contributions to guix.
While everything seems to work fine when not using the flat channel (for
emacs-pgtk), I get the following error when added to cuirass
specifications :

2022-01-18T09:59:09 error: fatal: uncaught exception 'wrong-type-arg' in 'r
estart-builds' fiber!
2022-01-18T09:59:09 error: exception arguments: ("struct-vtable" "Wrong typ
e argument in position 1 (expecting struct): ~S" (#f) (#f))
In ice-9/boot-9.scm:
  1747:15  7 (with-exception-handler #<procedure 7f778dfed030 at ic?> ?)
  1752:10  6 (with-exception-handler _ _ #:unwind? _ # _)
  1685:16  5 (raise-exception _ #:continuable? _)
  1780:13  4 (_ #<&compound-exception components: (#<&assertion-fail?>)
   2137:6  3 (_ _ . _)
  1747:15  2 (with-exception-handler #<procedure 7f778e07f2d0 at ic?> ?)
In cuirass/utils.scm:
   299:22  1 (_)
In unknown file:
           0 (make-stack #t)
ERROR: In procedure make-stack:
In procedure struct-vtable: Wrong type argument in position 1 (expecting st
ruct): #f

Some deprecated features have been used.  Set the environment
variable GUILE_WARN_DEPRECATED to "detailed" and rerun the
program to get more information.  Set it to "no" to suppress
this message.

Not very verbose. I took a look at the gnu/services/cuirass.scm file to
see if there was a way to add environment-variables, but it doesn't seem
that it's the case.

Is there another way to setup global environmental variables on the
server ? Or should I add such an option in the cuirass service
definition and commit a patch ?

Thanks in advance,
Cheers,

Nicolas Graves


[Message part 3 (message/rfc822, inline)]
From: Nicolas Graves <ngraves <at> ngraves.fr>
To: 53342-done <at> debbugs.gnu.org 
Subject: close 53342
Date: Sun, 04 Feb 2024 14:17:04 +0100
Obsolete.

-- 
Best regards,
Nicolas Graves


This bug report was last modified 1 year and 107 days ago.

Previous Next


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