From debbugs-submit-bounces@debbugs.gnu.org Sat May 14 11:56:03 2022 Received: (at 53594) by debbugs.gnu.org; 14 May 2022 15:56:03 +0000 Received: from localhost ([127.0.0.1]:47341 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1npu7f-0005Ho-1o for submit@debbugs.gnu.org; Sat, 14 May 2022 11:56:03 -0400 Received: from eggs.gnu.org ([209.51.188.92]:59024) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1npu7c-0005HB-TQ for 53594@debbugs.gnu.org; Sat, 14 May 2022 11:56:01 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:56326) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1npu7W-0004MH-T7; Sat, 14 May 2022 11:55:55 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:Date:References:Subject:To:From: in-reply-to; bh=xm/VxNv7DPUa/crOhqtfwLuIpuURp5/T0bx4tpq56lE=; b=IwWFao8kFL9ay IQ6NDGpOXrMi25rY/brYrX5uRnkai2Ogtm1ZgZQkbI2xqiRPHbs1SHmTkKBJj20/GGzcU4SfbYEQa qJ0/QnAlNNEvy+OGal+zgijJVscn1nzUB+PhlB1YUBtTLHtDVFMMHA5qXli1PQrLd04HnZPUKyvLo kXwAoextSmwk+3j4QbuHI7PNmaW4wU3RTKJc3lit6y6mojrIoxpRMjbIY4CF6Jrt4eIap95wKK4J9 3EEH1kKYz4k6PJMloh0W6UErPmiIQEG5s4AFpe5jsjSg2zXZrws22uJl93/66Rqz5MJ420sXJtsQN 6zBqDQI7qMs/B17MWjToQ==; Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=49344 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1npu7V-0001IQ-Vy; Sat, 14 May 2022 11:55:54 -0400 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Josselin Poiret Subject: Re: bug#53594: no matching pattern # <874k5hch4d.fsf@gnu.org> <87k0bh3yy8.fsf@jpoiret.xyz> <87sfpfn7uv.fsf@gnu.org> Date: Sat, 14 May 2022 17:55:52 +0200 Message-ID: <87a6bkf6rb.fsf@inria.fr> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 53594 Cc: Mathieu Othacehe , 53594@debbugs.gnu.org, "Guu, Jin-Cheng" X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) 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 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 =E2=80=98match-error=E2=80=99. This is normally impossible: =E2=80=98lower-object=E2=80=99 calls =E2=80=98= package->derivation=E2=80=99, which returns a derivation. But maybe something weird is happening when =E2=80=98build-derivations=E2=80=99 aborts to the build-handler prompt, or = when the continuation is eventually resumed; maybe the object cache gets =E2=80=9Cpoisoned=E2=80=9D 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 =E2=80=98guix pull=E2=80=99 (if it=E2=80=99s the 1.3.0 ISO; if= it=E2=80=99s a fresh ISO, that=E2=80=99s not necessary), run =E2=80=98guix system init=E2=80=99, watc= h it crash. Does anyone have a simpler reproducer? To be continued=E2=80=A6 Ludo=E2=80=99.