all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: paren--- via Bug reports for GNU Guix <bug-guix@gnu.org>
To: 56016@debbugs.gnu.org
Subject: bug#56016: [BUG] Various confusing error messages.
Date: Thu, 16 Jun 2022 07:50:54 +0100	[thread overview]
Message-ID: <CKRCY1KT0JBE.1HXZ1XWBRA6XF@guix-aspire> (raw)

This issue aims to document error messages in Guix that need to be
improved. If you get an error message and you have no idea what it's
trying to tell you, please send it here!

~ Unbound variable while building package cache

This might be a Guile or Guix thing, not sure which. Using the recent
libpng/guix-gaming problem as an example:

---
Generating package cache for
'/gnu/store/1mzdd7rf9r34xiibcs1gpjsf7jkh6a0r-profile'...
(exception unbound-variable (value #f) (value "Unbound variable: ~S")
(value (libpng-1.2)) (value #f))
---

This error message doesn't tell you *where* the unbound variable is,
which means people may (and have! <https://issues.guix.gnu.org/56012>)
report this as a Guix issue, not a guix-gaming issue.

This error should perhaps look something like

---
Error: Unbound variable `libpng-1.2' in gaming/packages/whatever.scm
---

~ Network disconnection while downloading things

When the network disconnects during a download, Guix usually either
hangs or says something like "corrupt archive while restoring input from
socket" (I haven't been able to reproduce this, so I don't remember the
exact message).

Guix should probably poll the network and check whether it's down, then
report an error and try to reconnect for perhaps 30 seconds before
giving up.




             reply	other threads:[~2022-06-16  9:27 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-06-16  6:50 paren--- via Bug reports for GNU Guix [this message]
2022-06-16 10:33 ` bug#56016: [BUG] Various confusing error messages Josselin Poiret via Bug reports for GNU Guix
2022-06-16 14:43   ` paren--- via Bug reports for GNU Guix

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

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

  git send-email \
    --in-reply-to=CKRCY1KT0JBE.1HXZ1XWBRA6XF@guix-aspire \
    --to=bug-guix@gnu.org \
    --cc=56016@debbugs.gnu.org \
    --cc=paren@disroot.org \
    /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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.