From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id UzHdCjcioV+6JQAA0tVLHw (envelope-from ) for ; Tue, 03 Nov 2020 09:26:15 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id CDReBjcioV9HUwAAbx9fmQ (envelope-from ) for ; Tue, 03 Nov 2020 09:26:15 +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 B26B29402A9 for ; Tue, 3 Nov 2020 09:26:14 +0000 (UTC) Received: from localhost ([::1]:40802 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kZsZw-0004uq-A7 for larch@yhetil.org; Tue, 03 Nov 2020 04:26:12 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:33426) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kZsZo-0004ro-1L for bug-guix@gnu.org; Tue, 03 Nov 2020 04:26:04 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:60103) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kZsZm-0004id-GP for bug-guix@gnu.org; Tue, 03 Nov 2020 04:26:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kZsZm-0008Sb-Cy for bug-guix@gnu.org; Tue, 03 Nov 2020 04:26:02 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#44370: Cuirass fails building (some) packages from a custom-packages input Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Tue, 03 Nov 2020 09:26: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: Mathieu Othacehe Received: via spool by 44370-submit@debbugs.gnu.org id=B44370.160439553032486 (code B ref 44370); Tue, 03 Nov 2020 09:26:02 +0000 Received: (at 44370) by debbugs.gnu.org; 3 Nov 2020 09:25:30 +0000 Received: from localhost ([127.0.0.1]:43416 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kZsZF-0008Ru-QC for submit@debbugs.gnu.org; Tue, 03 Nov 2020 04:25:30 -0500 Received: from eggs.gnu.org ([209.51.188.92]:33152) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kZsZE-0008Rg-9k for 44370@debbugs.gnu.org; Tue, 03 Nov 2020 04:25:28 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]:40330) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kZsZ7-0004PN-8u; Tue, 03 Nov 2020 04:25:21 -0500 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=57984 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1kZsYu-00023u-KS; Tue, 03 Nov 2020 04:25:10 -0500 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <99cf041293e49704766bccccb01881c1@selfhosted.xyz> <87eelclupf.fsf@gnu.org> <878sbjisl9.fsf@gnu.org> <87y2jjab4h.fsf@gnu.org> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 13 Brumaire an 229 de la =?UTF-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Tue, 03 Nov 2020 10:25:06 +0100 In-Reply-To: <87y2jjab4h.fsf@gnu.org> (Mathieu Othacehe's message of "Mon, 02 Nov 2020 19:04:30 +0100") Message-ID: <878sbihjwt.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: cLZyoRLksmTN Hi Mathieu, Mathieu Othacehe skribis: >> Now, why is David=E2=80=99s use case influenced by the way (gnu ci) hand= les >> licenses? > > David has some custom packages with the license set to "#f", causing the > following backtrace: > > guix/inferior.scm:247:2: ERROR: > 1. &inferior-exception: > arguments: (quit 1) > inferior: #< pid: pipe socket: # 7f1b3d1dabd0> 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" = 1668=20 > 16)) (map1 ("srfi/srfi-1.scm" 585 17)) (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)) (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-han= dler > ("ice-9/boot-9.scm" 1730 15)) (#f ("guix/repl.scm" 119 7))) > > 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. Yes, I agree it would be nice to allow for that, but I think (gnu ci) is maybe not the right place. As I see it, (gnu ci) is meant to be used for the packages that live in (gnu packages =E2=80=A6). Perhaps we could provide a more generic (guix ci jobs) module that would convert packages and manifests to the alists that Cuirass expects, without imposing much policy? In fact, thinking about it, it might make sense for Cuirass to interpret its inputs as channels so that it can do the directly build channels similar to what =E2=80=98gnu-system.scm=E2=80=99 currently does. Thanks, Ludo=E2=80=99.