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 6Ns0G1hKoF+FCQAA0tVLHw (envelope-from ) for ; Mon, 02 Nov 2020 18:05:12 +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 sEYaF1hKoF9LJQAAB5/wlQ (envelope-from ) for ; Mon, 02 Nov 2020 18:05:12 +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 007489402B0 for ; Mon, 2 Nov 2020 18:05:11 +0000 (UTC) Received: from localhost ([::1]:59750 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kZeCc-0004f3-RV for larch@yhetil.org; Mon, 02 Nov 2020 13:05:10 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:37750) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kZeCU-0004eX-Gs for bug-guix@gnu.org; Mon, 02 Nov 2020 13:05:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:59204) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kZeCU-0004sF-77 for bug-guix@gnu.org; Mon, 02 Nov 2020 13:05:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kZeCU-0002sq-1e for bug-guix@gnu.org; Mon, 02 Nov 2020 13:05:02 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#44370: Cuirass fails building (some) packages from a custom-packages input Resent-From: Mathieu Othacehe Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Mon, 02 Nov 2020 18:05:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 44370 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Received: via spool by 44370-submit@debbugs.gnu.org id=B44370.160434028211055 (code B ref 44370); Mon, 02 Nov 2020 18:05:02 +0000 Received: (at 44370) by debbugs.gnu.org; 2 Nov 2020 18:04:42 +0000 Received: from localhost ([127.0.0.1]:42517 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kZeC9-0002sF-Pp for submit@debbugs.gnu.org; Mon, 02 Nov 2020 13:04:42 -0500 Received: from eggs.gnu.org ([209.51.188.92]:37524) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kZeC9-0002s4-9A for 44370@debbugs.gnu.org; Mon, 02 Nov 2020 13:04:41 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]:51862) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kZeC2-0004nz-4i; Mon, 02 Nov 2020 13:04:34 -0500 Received: from [2a01:e0a:19b:d9a0:18fc:abbb:ba3a:b87e] (port=35326 helo=cervin) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1kZeBz-0001PU-Ph; Mon, 02 Nov 2020 13:04:33 -0500 From: Mathieu Othacehe References: <99cf041293e49704766bccccb01881c1@selfhosted.xyz> <87eelclupf.fsf@gnu.org> <878sbjisl9.fsf@gnu.org> Date: Mon, 02 Nov 2020 19:04:30 +0100 In-Reply-To: <878sbjisl9.fsf@gnu.org> ("Ludovic =?UTF-8?Q?Court=C3=A8s?="'s message of "Mon, 02 Nov 2020 18:20:02 +0100") Message-ID: <87y2jjab4h.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -3.3 (---) X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: david larsson , 44370@debbugs.gnu.org Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Scanner: ns3122888.ip-94-23-21.eu Authentication-Results: aspmx1.migadu.com; dkim=none; 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-Spam-Score: -1.51 X-TUID: oyDNXYTWvgGp Hey Ludo, > Now, in Guix proper, the =E2=80=98license=E2=80=99 field should always be= either a > or a list of records. The original code would > =E2=80=9Cenforce=E2=80=9D that (by failing hard if a package doesn=E2=80= =99t follow the rule > :-)), which I think is good. You are right, missed that. > Now, why is David=E2=80=99s use case influenced by the way (gnu ci) handl= es > licenses? David has some custom packages with the license set to "#f", causing the following backtrace: --8<---------------cut here---------------start------------->8--- guix/inferior.scm:247:2: ERROR: 1. &inferior-exception: arguments: (quit 1) inferior: #< pid: pipe socket: # close: # version: (0 1 1)=20 packages: #> table: #>> stack: ((#f ("ice-9/boot-9.scm" 1763 13)) (raise-exception ("ice-9/boot-9.scm" 1666 16)) (raise-exception ("ice-9/boot-9.scm" 16= 68=20 16)) (map1 ("srfi/srfi-1.scm" 585 17)) (map1 ("srfi/srfi-1.scm" 585 29)) (m= ap1 ("srfi/srfi-1.scm" 585 29)) (map1 ("srfi/srfi-1.scm" 585 29)) (map1 ("srfi/srfi-1.scm" 585 29)) (map1 ("srfi/srfi-1.scm" 585 29)) (map1 ("srfi/srfi-1.scm" 585 29)) (map1 ("srfi/srfi-1.scm" 585 29)) (map1 ("srfi/srfi-1.scm" 585 29)) (#f ("gnu/ci.scm" 552 38)) (map1 ("srfi/srfi-1.scm" 585 17)) (append-map ("srfi/srfi-1.scm" 672 15))=20 (hydra-jobs ("gnu/ci.scm" 516 4)) (#f ("ice-9/eval.scm" 158 9)) (#f ("ice-9/eval.scm" 158 9)) (with-exception-handler ("ice-9/boot-9.scm"=20 1735 10)) (call-with-prompt ("ice-9/boot-9.scm" 717 2)) (dynamic-wind ("ice-9/boot-9.scm" 141 2)) (#f (#f #f #f)) (#f ("guix/repl.scm" 92 21))=20 (with-exception-handler ("ice-9/boot-9.scm" 1735 10)) (with-exception-handl= er ("ice-9/boot-9.scm" 1730 15)) (#f ("guix/repl.scm" 119 7))) --8<---------------cut here---------------end--------------->8--- As the alist fields such as "description", "long-description", "license", "home-page", "maintainers" are ignored by Cuirass anyway, what would you think of removing them? This should allow custom packages to be built by Cuirass even if they are not fully defined. Thanks, Mathieu