From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id 2Dw7MmvXVmGTEgEAgWs5BA (envelope-from ) for ; Fri, 01 Oct 2021 11:39:55 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id 2H7LLWvXVmE9fAAAbx9fmQ (envelope-from ) for ; Fri, 01 Oct 2021 09:39:55 +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 7632E3EE81 for ; Fri, 1 Oct 2021 11:39:55 +0200 (CEST) Received: from localhost ([::1]:44572 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mWF1G-0000GO-CX for larch@yhetil.org; Fri, 01 Oct 2021 05:39:54 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:38400) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mWF0O-0008RQ-4q for guix-devel@gnu.org; Fri, 01 Oct 2021 05:39:00 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:37000) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mWF0M-0003JT-4f; Fri, 01 Oct 2021 05:38:58 -0400 Received: from 2a01cb000492e90078753f5c96c7583f.ipv6.abo.wanadoo.fr ([2a01:cb00:492:e900:7875:3f5c:96c7:583f]:44066 helo=meije) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mWF0L-0002XK-Nu; Fri, 01 Oct 2021 05:38:58 -0400 From: Mathieu Othacehe To: Ludovic =?utf-8?Q?Court=C3=A8s?= Subject: Re: guix weather -m etc/sources-manifest.scm and CI? References: <87a6k39hc1.fsf@gnu.org> <86h7eb58si.fsf@gmail.com> <87tui4c2an.fsf@gnu.org> Date: Fri, 01 Oct 2021 09:38:54 +0000 In-Reply-To: <87tui4c2an.fsf@gnu.org> ("Ludovic =?utf-8?Q?Court=C3=A8s=22'?= =?utf-8?Q?s?= message of "Tue, 28 Sep 2021 14:28:16 +0200") Message-ID: <87r1d5ozip.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Guix Devel Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: "Guix-devel" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1633081195; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post; bh=a8lV7x6uAQNqPNy1kqMwQABW1l+0zqh+LDA2oxXDdxs=; b=ccqOfoUqg27356CtZEJ8M9jmG/1lUoDhtgC9ogVErmAIdaALgThrj7m15LIKTNgMpE8c3c npBqGz352GvRs4RSB01W/8jDkYsMsXHE5tpagTk85xi6/ZxjW5ruexjqF0g1OvN0P7/W9e wsv/g9/E6lImhjfHsS5Ce97E7CRrAC7FFsXRpGsBRmWpAgXbCyFovmUjjptzPl93NDdZkZ v/djcRX8Ht8/zGNzXdtmXl9iCMyd+40Ol/JJbfLj1yId76lL1Ws3r0M1owo8k0uB3BgEMV Zgg74SpxTeq1QftaKkMGcDBxIxVYqXYGXOuG7PYvr0hZ+gIuU6vU99EVQDjNBA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1633081195; a=rsa-sha256; cv=none; b=moLGULWhpiTnznuPtaRSdemyNCSKJzYjEfTTNbiXzFTfJM5BxS7hnYo3wAZvy0nWN1omEQ bbo2OlgtQj2N6lJKAgsQNu+0My3fU+BS3K8oEoR2eRI1FF3jwoEKyIOBzil1jRT6vKWDYN SpQQEHEjeiRS7wfBrUqGIfpzgG53Zqs7fnWfTO+DQfgz8wbDHuZnbdFeyvXR7btzDMwGFW Jp1FTcDVVMN0FE8lsX+/lQrrQ56DNRK3BodT0aL7MjMzu/1SzUgLgGWzPbBcz+VN2R2Q/r Q+nerG4RUbcBgVNrQARfB/67MkH0KjrUT5dUfU+JO1bH2lc8q/Jjw3kCWe7GkA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of guix-devel-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-devel-bounces@gnu.org X-Migadu-Spam-Score: -1.00 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of guix-devel-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-devel-bounces@gnu.org X-Migadu-Queue-Id: 7632E3EE81 X-Spam-Score: -1.00 X-Migadu-Scanner: scn1.migadu.com X-TUID: h1GML/atwA/b --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hey! > Mathieu, could it have to do with the fact that the manifest is within > the =E2=80=98guix=E2=80=99 channel? Using the attached little reproducer, I get a more interesting backtrace: --8<---------------cut here---------------start------------->8--- Backtrace: In ice-9/boot-9.scm: 1752:10 11 (with-exception-handler _ _ #:unwind? _ # _) In unknown file: 10 (apply-smob/0 #) In ice-9/boot-9.scm: 724:2 9 (call-with-prompt _ _ #) In ice-9/eval.scm: 619:8 8 (_ #(#(#))) In ice-9/boot-9.scm: 2835:4 7 (save-module-excursion _) 4380:12 6 (_) In gnu/ci.scm: 496:4 5 (cuirass-jobs _ _) In srfi/srfi-1.scm: 673:15 4 (append-map _ _ . _) 586:17 3 (map1 (list "x86_64-linux")) 586:17 2 (map1 (#= =E2=80=A6)) In gnu/ci.scm: 575:38 1 (_ #) In guix/packages.scm: 441:0 0 (%package-name-procedure #) guix/packages.scm:441:0: In procedure %package-name-procedure: In procedure package-name: Wrong type argument: # () 7f84f252ec00> --8<---------------cut here---------------end--------------->8--- The issue is that (gnu ci) expects manifests of packages and not manifests of origins. Hence, the "job-name" procedure that calls "package-name" on an origin fails. We could maybe generalize the manifests->packages to support packages and origins. The package-job procedure would also need some adjustment to call origin->derivation instead of package-derivation. WDYT? Thanks, Mathieu --=-=-= Content-Type: application/octet-stream Content-Disposition: attachment; filename=cuirass.scm Content-Transfer-Encoding: base64 KHVzZS1tb2R1bGVzIChnbnUpCiAgICAgICAgICAgICAoZ3VpeCkKICAgICAgICAgICAgIChnbnUg Y2kpKQoKKGRlZmluZSBzIChvcGVuLWNvbm5lY3Rpb24pKQooZGVmaW5lIGFyZ3MKICAnKChzdWJz ZXQgLiAobWFuaWZlc3RzICIvZXRjL3NvdXJjZS1tYW5pZmVzdC5zY20iKSkKICAgIChzeXN0ZW1z IC4gKGxpc3QgIng4Nl82NC1saW51eCIpKQogICAgKGNoYW5uZWxzCiAgICAgKHJlcG9zaXRvcnkK ICAgICAgKHZlcnNpb24gMCkKICAgICAgKHVybCAiL2dudS9zdG9yZS8yMmF2ODZtODdjNHg1NzRj YzIwNzBpamJkNW1jYmh6Ni1ndWl4LXNvdXJjZSIpCiAgICAgIChicmFuY2ggIm1hc3RlciIpCiAg ICAgIChjb21taXQgIjAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAiKQog ICAgICAobmFtZSBndWl4KSkpKSkKCihjdWlyYXNzLWpvYnMgcyBhcmdzKQo= --=-=-=--