From unknown Fri Jun 13 10:48:44 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#78126 <78126@debbugs.gnu.org> To: bug#78126 <78126@debbugs.gnu.org> Subject: Status: "guix refresh --list-updaters" fails with json-invalid Reply-To: bug#78126 <78126@debbugs.gnu.org> Date: Fri, 13 Jun 2025 17:48:44 +0000 retitle 78126 "guix refresh --list-updaters" fails with json-invalid reassign 78126 guix submitter 78126 Ricardo Wurmus severity 78126 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Tue Apr 29 03:53:46 2025 Received: (at submit) by debbugs.gnu.org; 29 Apr 2025 07:53:46 +0000 Received: from localhost ([127.0.0.1]:47659 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1u9fmj-0004XI-W4 for submit@debbugs.gnu.org; Tue, 29 Apr 2025 03:53:46 -0400 Received: from lists.gnu.org ([2001:470:142::17]:38442) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1u9fmg-0004Vk-28 for submit@debbugs.gnu.org; Tue, 29 Apr 2025 03:53:44 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1u9fmQ-0001X8-1r for bug-guix@gnu.org; Tue, 29 Apr 2025 03:53:29 -0400 Received: from sender4-of-o51.zoho.com ([136.143.188.51]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1u9fmJ-000120-GJ for bug-guix@gnu.org; Tue, 29 Apr 2025 03:53:23 -0400 ARC-Seal: i=1; a=rsa-sha256; t=1745913193; cv=none; d=zohomail.com; s=zohoarc; b=aORni0dnw0fz7gXxMkWXIkEeMGitdtZChHhToZYBfjKQsfh+ThAcZkQtwBsv4AHodKqqv9KK+Xg/RD/bq9FOiXMMYSBTEVD/tD+9qs0AFo+ZLH2nS2Hh6OLmR+jwWwwPvdvT6Phvrog7s6PBT0O19CWxUdFZobe2IuVlc0AZ3R4= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1745913193; h=Content-Type:Content-Transfer-Encoding:Date:Date:From:From:MIME-Version:Message-ID:Subject:Subject:To:To:Message-Id:Reply-To:Cc; bh=ccU5SN1uDY8CuYN0xWaFnzKlu45a7WfbFhPvCtdAz30=; b=gpEHvExkfjPX38Suo2EAVcHANMNik5D1wz9tyy35cG4Iwvuj/h3JLjHmNTHnrfdlZIneVtQ53CFj0zUFgL8Ovc/HaUEMH/eRmgb73THjNR1VOG0MsYBUcXhr/xvkmFGzGysE1xUNXKCrih7oeWHTz3G2TgSg+FDEKcZ+qOYNwZs= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass header.i=elephly.net; spf=pass smtp.mailfrom=rekado@elephly.net; dmarc=pass header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1745913193; s=zoho; d=elephly.net; i=rekado@elephly.net; h=From:From:To:To:Subject:Subject:Date:Date:Message-ID:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-Id:Reply-To:Cc; bh=ccU5SN1uDY8CuYN0xWaFnzKlu45a7WfbFhPvCtdAz30=; b=HFKET3oxasDM8+dCK6kzCL9GGtOTYp1gM9B/i53zfHZXOjslMCx0MmhPgV4gHtBG JPvF5oPovEQ14sgskj/M9NnxumpLTsoSbdm9rT/pOMe/C2gcut3ewpfTSbCqP52EC5W 3c376MrdS7unPTC+1M65CrDKxCYWL251VP9M8Smw= Received: by mx.zohomail.com with SMTPS id 1745913190587841.6687626313045; Tue, 29 Apr 2025 00:53:10 -0700 (PDT) From: Ricardo Wurmus To: bug-guix@gnu.org Subject: "guix refresh --list-updaters" fails with json-invalid User-Agent: mu4e 1.12.9; emacs 29.4 Date: Tue, 29 Apr 2025 09:53:07 +0200 Message-ID: <87tt67ieu4.fsf@elephly.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable X-ZohoMailClient: External Received-SPF: pass client-ip=136.143.188.51; envelope-from=rekado@elephly.net; helo=sender4-of-o51.zoho.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H5=0.001, RCVD_IN_MSPIKE_WL=0.001, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: submit 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: -0.0 (/) "guix refresh --list-updaters" prints information for a few=20 updaters and then crashes: --8<---------------cut here---------------start------------->8--- Available updaters: - bioconductor: Updater for Bioconductor packages (2.2%=20 coverage) - composer: Updater for Composer packages (.0% coverage) - cpan: Updater for CPAN packages (2.7% coverage) - cran: Updater for CRAN packages (5.7% coverage) - crate: Updater for crates.io packages (17.0% coverage) - egg: Updater for CHICKEN egg packages (.0% coverage) - elpa: Updater for ELPA packages (.4% coverage) - gem: Updater for RubyGem packages (1.2% coverage) - github: Updater for GitHub packages (31.0% coverage) - gnome: Updater for GNOME packages (.8% coverage) - gnu: Updater for GNU packages (.9% coverage) - gnu-ftp: Updater for GNU packages only available via FTP (.4%=20 coverage) - hackage: Updater for Hackage packages (2.4% coverage) - hexpm: Updater for hex.pm packages (.2% coverage) - kde: Updater for KDE packages (1.1% coverage) - kernel.org: Updater for packages hosted on kernel.org (.1%=20 coverage) - launchpad: Updater for Launchpad packages (.0% coverage) - minetest: Updater for Minetest packages on ContentDB (.1%=20 coverage) - opam: Updater for OPAM packages (.9% coverage) - pypi: Updater for PyPI packages (7.4% coverage) - savannah: Updater for packages hosted on savannah.gnu.org (.2%=20 coverage) - sourceforge: Updater for packages hosted on sourceforge.net=20 (1.3% coverage) Backtrace: In guix/scripts/refresh.scm: 348:29 19 (_ #< name: stackage description:=20 "Updater for Stackage LTS packages" pred: # import: # =E2=80= =A6) In unknown file: 18 (filter #=20 (# #=20 =E2=80=A6)) In guix/import/utils.scm: 134:4 17 (call-with-networking-exception-handler _) In ice-9/boot-9.scm: 1752:10 16 (with-exception-handler _ _ #:unwind? _=20 #:unwind-for-type _) In guix/import/stackage.scm: 176:25 15 (_) In guix/memoization.scm: 98:0 14 (mproc "20.26") In unknown file: 13 (_ # #=20 (this is nothing)) In guix/import/stackage.scm: 86:30 12 (_ _) In ice-9/exceptions.scm: 406:15 11 (json-fetch _ #:http-fetch _ #:timeout _ #:headers _) In ice-9/boot-9.scm: 1752:10 10 (with-exception-handler _ _ #:unwind? _=20 #:unwind-for-type _) In guix/import/json.scm: 55:19 9 (_) In json/parser.scm: 404:20 8 (json->scm _ #:null _ #:ordered _ #:concatenated _) 227:20 7 (json-read-object # null=20 #f) 209:18 6 (read-pair # null #f) 261:22 5 (json-read-array # null=20 #f) 227:20 4 (json-read-object # null=20 #f) 209:18 3 (read-pair # null #f) 40:2 2 (json-read-string #) In ice-9/boot-9.scm: 1685:16 1 (raise-exception _ #:continuable? _) 1683:16 0 (raise-exception _ #:continuable? _) ice-9/boot-9.scm:1683:16: In procedure raise-exception: Throw to key `json-invalid' with args `(#)'. --8<---------------cut here---------------end--------------->8--- --=20 Ricardo From debbugs-submit-bounces@debbugs.gnu.org Thu Jun 05 02:27:26 2025 Received: (at 78126) by debbugs.gnu.org; 5 Jun 2025 06:27:26 +0000 Received: from localhost ([127.0.0.1]:57698 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1uN44T-00031k-Kk for submit@debbugs.gnu.org; Thu, 05 Jun 2025 02:27:26 -0400 Received: from mail-ej1-x633.google.com ([2a00:1450:4864:20::633]:46423) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from ) id 1uN2qP-0003w6-3l for 78126@debbugs.gnu.org; Thu, 05 Jun 2025 01:08:50 -0400 Received: by mail-ej1-x633.google.com with SMTP id a640c23a62f3a-ad88105874aso92911766b.1 for <78126@debbugs.gnu.org>; Wed, 04 Jun 2025 22:08:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1749100123; x=1749704923; darn=debbugs.gnu.org; h=mime-version:message-id:date:user-agent:subject:cc:to:from:from:to :cc:subject:date:message-id:reply-to; bh=+ZezEZcY3HvY2WraxwO7OD/Zdb4YxsQwDKy5qo+iFWk=; b=MnkE1FC2CARkpo6qtvePujoM/wJa+FBQVyvedjVXTiqW7ryLnH3lfpBUfQp90aGAnN dHOPgiAZumi1Pddcvzv8eQEg9uDjxwwyHKxDVUECjpWRBCHJdVHzn/e+DCwznl61iCfx xPsORQcZlGBQdrfEb6J2prhpuVMYjxzhhY8WHxQsEzMFuBYPPxYq7bbhKtqiRmwbag9C LSpxw477ckiqoc9qfvsaAumqxUxsNu2n4UDli/+roLfyzBWzAYS3XnPkubNMCLun+DlJ VGLhP/K+m9rGxxNr8iQLk3nwlSHxdPNJqAlzjTouTKdSwn18+VROZrm7hrJWgpRgRt6T INSg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1749100123; x=1749704923; h=mime-version:message-id:date:user-agent:subject:cc:to:from :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=+ZezEZcY3HvY2WraxwO7OD/Zdb4YxsQwDKy5qo+iFWk=; b=Ctrc9IXqN9GThMM5TLmeYZpfpdkTcOOILNk1DZJK6b+OmKTJT99flPGSKNjXf2SdWz vOJB6bUBoIIJRTI5ziKotKt+FXCOLulI316UVOlU4B759W4y3CduRksyNSPSvPFKPQo7 +p7AD1lBH1k89125g9y+91df5JHU9LbDpl1CH1wjDO7/ZL6TodsVwzitkj/GmbqNbzRX VKsXjc9uhENvJ33kXQ3daUE4U2ZcJP664Bfez+KQR78q9rrRpzSQzZtPDY+uuNmo6n4g 6yg9HUX7Jx+Kume1mvdEm2ROblI2e4UEC0qhmDUNvCASDPG7+mZUdtOCX8raAM8SZV6x FyrQ== X-Gm-Message-State: AOJu0YwRBhwkZlVsabT7f8ReQypQ0ZOrmFZndcTID1KF0cHUn7PESqad JyQcE53gYddIJ5MUN3CQHCGZtv/rDiFJl3lRMjx5Dc4aUpmHp8NDuC7i X-Gm-Gg: ASbGnctTgnxrXQlHaFfI3CiQQFrh6jzNUFtOWd2akrZ96+89pjDfxI9Atp/qy8j7dQ0 uHbg9+gpxh9yMMSGDg0MlOcCQW8qwdoMd3KtFBnG6/JcNvkHIrx/noKnm4tXhyYznAQP2Pu4/Ij yrjeMtby2F5VyBVsBP9gxAe3tkzTcIZhE5D5nZ3Yyi1S/BVTPmWTCLcgNx2rU9tv+3mJFUeEUS6 hidbd7lIOfs01iCpt/xjNGPkDU5SzrI0vxh2tea9rDDCTKMlztubZlnMnRiM4+igosMdQ2XNu7P KC1OHg9jFnzzHWW14MJ5jS0fBQpr/FA7L2Rahr6GL7cN6Q== X-Google-Smtp-Source: AGHT+IHQPO6VhdTtlRjcmxa6KIimkgcnokfQ6V5CoSOodN+Rzu7dIwAq/NGHJJdjw7HnJzwiE1Nxaw== X-Received: by 2002:a17:907:9496:b0:ad8:8621:9268 with SMTP id a640c23a62f3a-addf9052218mr458576966b.59.1749100122384; Wed, 04 Jun 2025 22:08:42 -0700 (PDT) Received: from mantheren ([2601:1c1:8d80:1462::a31]) by smtp.gmail.com with ESMTPSA id 4fb4d7f45d1cf-6072b041183sm358481a12.44.2025.06.04.22.08.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 04 Jun 2025 22:08:41 -0700 (PDT) From: Kaelyn To: 78126@debbugs.gnu.org Subject: "guix refresh --list-updaters" fails with json-invalid User-Agent: mu4e 1.12.9; emacs 29.4 Date: Wed, 04 Jun 2025 22:08:38 -0700 Message-ID: <877c1q22sp.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 78126 X-Mailman-Approved-At: Thu, 05 Jun 2025 02:27:24 -0400 Cc: Lars-Dominik Braun 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: -1.0 (-) Hi, A message on guix-devel about guix refresh failing caught my eye today, and I decided to test the command and subsequently to bisect it. The error with "guix refresh --list-updaters" actually seems to be about a year old, and I have bisected the "json-invalid" error to commit 0bce74d458a343e61d054c4b25d6f67bd1086f3c "gnu: Upgrade to Stackage 20.26." from early June of last year. I've CC'ed Lars-Dominik Braun since he was the author of the stackage update commit. Cheers, Kaelyn From debbugs-submit-bounces@debbugs.gnu.org Fri Jun 06 04:38:55 2025 Received: (at 78126) by debbugs.gnu.org; 6 Jun 2025 08:38:55 +0000 Received: from localhost ([127.0.0.1]:41652 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1uNSbH-0003yB-7J for submit@debbugs.gnu.org; Fri, 06 Jun 2025 04:38:55 -0400 Received: from mout-p-201.mailbox.org ([2001:67c:2050:0:465::201]:54050) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1uNSbE-0003xp-OH for 78126@debbugs.gnu.org; Fri, 06 Jun 2025 04:38:53 -0400 Received: from smtp2.mailbox.org (smtp2.mailbox.org [IPv6:2001:67c:2050:b231:465::2]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-p-201.mailbox.org (Postfix) with ESMTPS id 4bDF8g4vLNz9tfY; Fri, 6 Jun 2025 10:38:43 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6xq.net; s=MBO0001; t=1749199123; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=6f0UkaYlYQ/mAIHPIVwPSY/lptBzlSakrf4OLWE2hyM=; b=zkstJVoBu6ofdS1uidbiriBLndD/P4y5UxXDlaVkDEJk1q4d47O2S6tpMq5qbTY6kiev0v bPjKtaBdQX4x5NB8px5XXTY0xjePIO8OiL77KGH+s1DTuwj2Vhx7QrLGKLMYxXAvzDSaT0 ceOcpai1wJxMtXBfibLF07g+t4lvwbMTqzPPrtLA20l2BtUYwI7+NM+M57TzeS5wowY8Ce lrIbCaBn09aL82Mx+eJ1GkmXAfsSzRPldC98ony2Rreurtp3NTZVGhuaQAHWbdHpFAuEwV LNE6jRDBjz53NUy4Vs6PQShANuP0l3TMNGdIQjA3t6tBISDLHu0q4ONHbZbs/g== Date: Fri, 6 Jun 2025 10:38:39 +0200 From: Lars-Dominik Braun To: Kaelyn Subject: Re: "guix refresh --list-updaters" fails with json-invalid Message-ID: References: <877c1q22sp.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <877c1q22sp.fsf@gmail.com> X-Rspamd-Queue-Id: 4bDF8g4vLNz9tfY X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 78126 Cc: Ricardo Wurmus , 78126@debbugs.gnu.org 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: -1.7 (-) Hi, > A message on guix-devel about guix refresh failing caught my eye today, and I decided to test the command and subsequently to bisect it. The error with "guix refresh --list-updaters" actually seems to be about a year old, and I have bisected the "json-invalid" error to commit 0bce74d458a343e61d054c4b25d6f67bd1086f3c "gnu: Upgrade to Stackage 20.26." from early June of last year. I've CC'ed Lars-Dominik Braun since he was the author of the stackage update commit. doesn’t look like a Guix issue right now (well, we could catch the exception). I reported the issue here: https://github.com/commercialhaskell/stackage/issues/7769 – not sure whether this is the correct place. Lars