unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: Felix Lechner via Bug reports for GNU Guix <bug-guix@gnu.org>
To: 63160@debbugs.gnu.org
Cc: Bruno Victal <mirai@makinata.eu>, mirai@makinata.eu
Subject: bug#63160: Warnings hidden in log for derivation
Date: Fri, 28 Apr 2023 16:50:22 -0700	[thread overview]
Message-ID: <CAFHYt57KU-hn4_qryE5q8rKn2Z8VEzbHV_iO6OUZM703eD4+4A@mail.gmail.com> (raw)

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

[1] https://codeberg.org/lechner/juix

* * *

(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))




                 reply	other threads:[~2023-04-28 23:52 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAFHYt57KU-hn4_qryE5q8rKn2Z8VEzbHV_iO6OUZM703eD4+4A@mail.gmail.com \
    --to=bug-guix@gnu.org \
    --cc=63160@debbugs.gnu.org \
    --cc=felix.lechner@lease-up.com \
    --cc=mirai@makinata.eu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).