From: "Ludovic Courtès" <ludo@gnu.org>
To: Josselin Poiret <dev@jpoiret.xyz>
Cc: Mathieu Othacehe <othacehe@gnu.org>,
53594@debbugs.gnu.org, "Guu,
Jin-Cheng" <jin-cheng.guu@stonybrook.edu>
Subject: bug#53594: no matching pattern #<package polkit..
Date: Sat, 14 May 2022 17:55:52 +0200 [thread overview]
Message-ID: <87a6bkf6rb.fsf@inria.fr> (raw)
In-Reply-To: <CAErjG5fe21uSsXLGFTycCGS=eMnpAyA=bEBwjJrVqQTOzhcEPw@mail.gmail.com>
Hello,
The failing code is at gexp.scm:901:23, which corresponds to this:
(mlet %store-monad ((obj (lower-object thing system
#:target
(and (not native?)
target))))
901: (return (match obj
((? derivation? drv)
(derivation-input drv (list output)))
((? store-item? item)
item)
((? self-quoting?)
;; Some inputs such as <system-binding> can lower to
;; a self-quoting object that FILTERM will filter
;; out.
#f))))
That means (lower-object polkit) returned polkit (the package object)
instead of a derivation, hence ‘match-error’.
This is normally impossible: ‘lower-object’ calls ‘package->derivation’,
which returns a derivation. But maybe something weird is happening when
‘build-derivations’ aborts to the build-handler prompt, or when the
continuation is eventually resumed; maybe the object cache gets
“poisoned” with an incorrect value during that process.
So far the only reproducer we have seems to be along the lines of: grab
the ISO, run ‘guix pull’ (if it’s the 1.3.0 ISO; if it’s a fresh ISO,
that’s not necessary), run ‘guix system init’, watch it crash.
Does anyone have a simpler reproducer?
To be continued…
Ludo’.
next prev parent reply other threads:[~2022-05-14 15:59 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-01-28 1:45 bug#53594: no matching pattern #<package polkit Guu, Jin-Cheng via Bug reports for GNU Guix
2022-02-02 17:28 ` Mathieu Othacehe
2022-02-02 17:31 ` Guu, Jin-Cheng via Bug reports for GNU Guix
2022-04-22 15:44 ` Josselin Poiret via Bug reports for GNU Guix
2022-05-11 20:15 ` Ludovic Courtès
2022-05-14 15:55 ` Ludovic Courtès [this message]
2022-11-20 21:27 ` Ludovic Courtès
2022-11-21 8:32 ` Mathieu Othacehe
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=87a6bkf6rb.fsf@inria.fr \
--to=ludo@gnu.org \
--cc=53594@debbugs.gnu.org \
--cc=dev@jpoiret.xyz \
--cc=jin-cheng.guu@stonybrook.edu \
--cc=othacehe@gnu.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 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).