Warnings hidden in log for derivation

  • Open
  • quality assurance status badge
Details
One participant
  • Felix Lechner
Owner
unassigned
Submitted by
Felix Lechner
Severity
normal
F
F
Felix Lechner wrote on 29 Apr 2023 01:50
(address . bug-guix@gnu.org)(name . Bruno Victal)(address . mirai@makinata.eu)
CAFHYt57KU-hn4_qryE5q8rKn2Z8VEzbHV_iO6OUZM703eD4+4A@mail.gmail.com
X-Debbugs-CC: mirai@makinata.eu

Hi,

I recently started seeing deprecation warnings about how serializers
in a "define-configuration" stanza were positioned relative to a
docstring. Unfortunately, the warnings disappeared from view (during
both "pull" and "deploy") when I moved the cachefilesd service to a
custom channel. [1]

The warnings were then in a derivation log, but I would not have seen
them without an unrelated error. The full log is below.

I believe warnings in such a derivation should be brought to a user's
attention with the same prominence as when they arise as part of a
system configuration. Thanks!

Kind regards
Felix


* * *

(repl-version 0 1 1)
guix repl: warning: specifying serializers after documentation is
deprecated, use (serializer (make-option-serializer (quote dir)))
instead
guix repl: warning: specifying serializers after documentation is
deprecated, use (serializer (make-option-serializer (quote tag)))
instead
guix repl: warning: specifying serializers after documentation is
deprecated, use (serializer (make-option-serializer (quote secctx)))
instead
guix repl: warning: specifying serializers after documentation is
deprecated, use (serializer (make-percentage-threshold-serializer
(quote brun))) instead
guix repl: warning: specifying serializers after documentation is
deprecated, use (serializer (make-percentage-threshold-serializer
(quote frun))) instead
guix repl: warning: specifying serializers after documentation is
deprecated, use (serializer (make-percentage-threshold-serializer
(quote bcull))) instead
guix repl: warning: specifying serializers after documentation is
deprecated, use (serializer (make-percentage-threshold-serializer
(quote fcull))) instead
guix repl: warning: specifying serializers after documentation is
deprecated, use (serializer (make-percentage-threshold-serializer
(quote bstop))) instead
guix repl: warning: specifying serializers after documentation is
deprecated, use (serializer (make-percentage-threshold-serializer
(quote fstop))) instead
guix repl: warning: specifying serializers after documentation is
deprecated, use (serializer (make-option-serializer (quote
culltable))) instead
guix repl: warning: specifying serializers after documentation is
deprecated, use (serializer (lambda (variable-symbol value) (if value
nocull
))) instead
(exception unbound-variable (value #f) (value "Unbound variable: ~S")
(value (package)) (value #f))
?
Your comment

Commenting via the web interface is currently disabled.

To comment on this conversation send an email to 63160@debbugs.gnu.org

To respond to this issue using the mumi CLI, first switch to it
mumi current 63160
Then, you may apply the latest patchset in this issue (with sign off)
mumi am -- -s
Or, compose a reply to this issue
mumi compose
Or, send patches to this issue
mumi send-email *.patch