From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id OP5TAqr9518kawAA0tVLHw (envelope-from ) for ; Sun, 27 Dec 2020 03:21:14 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id ABDFOan951/EKgAAB5/wlQ (envelope-from ) for ; Sun, 27 Dec 2020 03:21:13 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 0BF099402A5 for ; Sun, 27 Dec 2020 03:21:12 +0000 (UTC) Received: from localhost ([::1]:41668 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ktMcH-0005ro-R6 for larch@yhetil.org; Sat, 26 Dec 2020 22:21:09 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:43488) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ktMcA-0005rf-JY for bug-guix@gnu.org; Sat, 26 Dec 2020 22:21:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:48599) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ktMcA-0000Sl-Bh for bug-guix@gnu.org; Sat, 26 Dec 2020 22:21:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ktMcA-0000HT-7J for bug-guix@gnu.org; Sat, 26 Dec 2020 22:21:02 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#45453: Error when I try to build a package using a JSON definition Resent-From: Ryan Prior Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Sun, 27 Dec 2020 03:21:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 45453 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Julien Lepiller Received: via spool by 45453-submit@debbugs.gnu.org id=B45453.1609039210991 (code B ref 45453); Sun, 27 Dec 2020 03:21:02 +0000 Received: (at 45453) by debbugs.gnu.org; 27 Dec 2020 03:20:10 +0000 Received: from localhost ([127.0.0.1]:60145 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ktMbK-0000Fv-2R for submit@debbugs.gnu.org; Sat, 26 Dec 2020 22:20:10 -0500 Received: from mail2.protonmail.ch ([185.70.40.22]:19246) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ktMbH-0000FM-BG for 45453@debbugs.gnu.org; Sat, 26 Dec 2020 22:20:08 -0500 Date: Sun, 27 Dec 2020 03:19:56 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail; t=1609039200; bh=CzEdlO5sQlRlBeW4LocrpO2eoIjAxsc8qarXhDYQjJI=; h=Date:To:From:Cc:Reply-To:Subject:In-Reply-To:References:From; b=WDJ0JQt7rCv54tVnSmU94S5YrMUXNKvAIa2+JmF7A96tD7WnYO5AJ2ovqkrdvA1mm wODTb7poKR6MBRNAuYTc7ubhDhbdjgneAIhtZzD6E0FB7KCVJpe59tUuJku+/7JFwg RPP/duhEmmIss9us/Kcf4mAxDe+IRx6Gm8+8l0js= Message-ID: <87tus8ndey.fsf@protonmail.com> In-Reply-To: <182B84CA-FA45-4184-A462-96B0C28D49BE@lepiller.eu> References: <87wnx4nkx1.fsf@protonmail.com> <182B84CA-FA45-4184-A462-96B0C28D49BE@lepiller.eu> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: 45453@debbugs.gnu.org Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" Reply-to: Ryan Prior , Ryan Prior From: Ryan Prior via Bug reports for GNU Guix X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -1.32 Authentication-Results: aspmx1.migadu.com; dkim=fail (headers rsa verify failed) header.d=protonmail.com header.s=protonmail header.b=WDJ0JQt7; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Migadu-Queue-Id: 0BF099402A5 X-Spam-Score: -1.32 X-Migadu-Scanner: scn0.migadu.com X-TUID: Vi801HlFu/As Julien Lepiller writes: > Anyway, in the log you attached, it seems the issue is with downloading t= he sources. For some reason it cannot > resolve the github.com domain. I wonder if this is just a transient netwo= rk issue on your side? Have you tried again > later? I did try it twice, some hours apart. And in the meanwhile, the package defined using Guile downloads its sources and builds just fine. > If not, it could be that the source derivation is not fixed-output. After= all, the json definition doesn't specify a hash > (it's not even an origin record). Again I'm confused by the fact that gui= x lets you specify packages with json, so I'm > not sure how that part is converted to a package object. Is that > documented? It is in the manual (Search for "JSON representation"): https://guix.gnu.org/manual/en/html_node/Invoking-guix-package.html Not clear to me whether you can provide a source hash as part of a JSON package definition. Thanks & let me know if you turn up any other clues! Ryan