From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:8:6d80::]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id ndEbCsK2XGD7FgAAgWs5BA (envelope-from ) for ; Thu, 25 Mar 2021 17:13:54 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id iMHFBMK2XGD+KwAAB5/wlQ (envelope-from ) for ; Thu, 25 Mar 2021 16:13:54 +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 655AA232D0 for ; Thu, 25 Mar 2021 17:13:52 +0100 (CET) Received: from localhost ([::1]:36820 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lPScJ-0000Wh-6F for larch@yhetil.org; Thu, 25 Mar 2021 12:13:51 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:50138) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lPSTm-0002Zx-SS for bug-guix@gnu.org; Thu, 25 Mar 2021 12:05:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:56033) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lPSTm-0005Tl-KF for bug-guix@gnu.org; Thu, 25 Mar 2021 12:05:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lPSTm-0003fl-Fi for bug-guix@gnu.org; Thu, 25 Mar 2021 12:05:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#47164: Cuirass specification complains about missing guix channel when a non-guix channel gets a new commit alone Resent-From: david larsson Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Thu, 25 Mar 2021 16:05:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 47164 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Mathieu Othacehe Received: via spool by 47164-submit@debbugs.gnu.org id=B47164.161668829914103 (code B ref 47164); Thu, 25 Mar 2021 16:05:02 +0000 Received: (at 47164) by debbugs.gnu.org; 25 Mar 2021 16:04:59 +0000 Received: from localhost ([127.0.0.1]:39346 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lPSTg-0003fJ-8h for submit@debbugs.gnu.org; Thu, 25 Mar 2021 12:04:59 -0400 Received: from server0.selfhosted.xyz ([217.64.149.7]:47874) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lPSTb-0003eu-2Q for 47164@debbugs.gnu.org; Thu, 25 Mar 2021 12:04:55 -0400 Received: from server0.selfhosted.xyz (localhost [127.0.0.1]) by server0.selfhosted.xyz (Postfix) with ESMTP id 8B9481CA51DF; Thu, 25 Mar 2021 17:04:38 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=selfhosted.xyz; s=dkim; t=1616688284; bh=XKanERKSBDcxD/Mj5Uc2ZX45oG9daKGZp4UlNV0Cjxc=; h=Date:From:To:Cc:Subject:In-Reply-To:References; b=t/0LuB+pra0YvtLbrPTRqw0pHRu4vc6Yfj++ozb+q2m8eAYbMsZ3Xyi0SEtMywQy7 xwDaNoWoVcmaI51l4HvoSCoVGputuaEYQTOFfO58tmmPG4jReFGHPAWO29twnWofv0 O5Z/FxDhL6tCES7WZsWgaduGbBgilddLQKU4bYXzVrsqU8XMWe3o6K6Bw8KHXyM0AG DMaQuq5RCpLYDTSbHFQvE18bJ/vXGF+YNXdzCKrxYEQs1YjJMRy0EuNGbY39RuhGYx at26bOt+/Vuq8CcoKzYAXRhALp/sZ1h0HJelS7FpEDIJj6pjO51c5JbSr3LHTOy6ki AEG7/Y+Jx5n4w== X-Fuglu-Suspect: ab9b029123f541f8a8db32fb7f77a752 X-Fuglu-Spamstatus: NO Received: from webmail.selfhosted.xyz (office.selfhosted.xyz [192.168.1.4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: mail@selfhosted.xyz) by server0.selfhosted.xyz (Postfix) with ESMTPSA; Thu, 25 Mar 2021 17:04:38 +0100 (CET) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Thu, 25 Mar 2021 17:04:38 +0100 From: david larsson In-Reply-To: <87im5f4a6w.fsf@gnu.org> References: <84ca18e0b2b187d1d19db714d2617119@selfhosted.xyz> <87im5f4a6w.fsf@gnu.org> Message-ID: <37fcb7b2e2469c93ebf03e82e9b1306b@selfhosted.xyz> X-Sender: david.larsson@selfhosted.xyz 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: 47164@debbugs.gnu.org Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1616688833; 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: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=XKanERKSBDcxD/Mj5Uc2ZX45oG9daKGZp4UlNV0Cjxc=; b=uJNWRO0ujue8CCqLH5PLa/urqVATIDJ2WzetZUQP0J+ELHfLPFO+PDTKngddrZvX95dS0X F0tWonFzhrUSmBXtGUsLfK0mmAB/8H8ETio83kapO/t3jzWqDmkQvFRTKrTrl7EuKuvAxM 62ztDO235QURfoYO3VtCR28I/ES4cyk4Bb+LPHwwI2opeOjcrv32Rnj3CvNeYRwE5fqA4L qwFmLAN10it1Q/REnz9NQj7A1THGQxDtiOjBU8KUPg8i3tllGbgnTMwy7IcXiyP2hbLMPh sXAgm8LWSjbA6knKPTv3z81oCdFH9yx/VxA+XEFBFHvkdEWj4IOomgHBn+XjTg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1616688833; a=rsa-sha256; cv=none; b=OnOLgeUKq5OR+Bf9aUZHvjdRFR4Xy6uP7Y71mmcU+NnzNxJVvve2HKUviUJDVGBm/UUEi+ M8xCKVeeyplzJzI7CxrXYp2S3F6xGvhiKnO1QHTZyVu9jAXyNidO5pHvtUOyLy14e+nb3Q iNBMDfBqwbft4saaVxzzuW32rAzK6PAK++UG3E305O0cT0W4TZ2AEPO+SwsoezMrraHV0T AYt2gOGZNwwNQ7HwRtKHi2boXyEEZnLiwCEo/guilaq5QyiNARsCgTXOR+XkrJMc6xH94O MNn14jKgL2fenUY98XHYAl5DskXrxVnoOhnuzY36/UbxvdQiJBgvFSGCJml5Kg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=selfhosted.xyz header.s=dkim header.b="t/0LuB+p"; 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-Spam-Score: -1.87 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=selfhosted.xyz header.s=dkim header.b="t/0LuB+p"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=selfhosted.xyz (policy=none); 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: 655AA232D0 X-Spam-Score: -1.87 X-Migadu-Scanner: scn0.migadu.com X-TUID: IaCG73SUQwl3 On 2021-03-25 14:47, Mathieu Othacehe wrote: > Hello David, > >> (build '(manifests . ((my-config . "manifests/user1.scm")))) > > I have changed the manifest argument format recently. This should now > be: > > --8<---------------cut here---------------start------------->8--- > (build '(manifests "manifests/user")) > --8<---------------cut here---------------end--------------->8--- > >> (channels >> (list (channel >> (name 'guix) >> (url "https://git.savannah.gnu.org/git/guix.git") >> (branch "master")) > > You should prefer using %default-guix-channel here. > >> (channel >> (name 'my-config) >> (url "file:///home/cuirass/my-guixsd-config.sh") >> ;;(url >> >> "https://github.com/methuselah-0/my-guixsd-config.sh.git") > > The problem is that this repository is not really a channel. When > Cuirass tries to build this channel, it tries to build all the scheme > file as if they were module definitions and fails. > > This works for me: > > --8<---------------cut here---------------start------------->8--- > (list > (specification > (name "my-pkgs") > (build '(manifests "manifests/user")) > (channels > (list %default-guix-channel > (channel > (name 'my-config) > (url "https://gitlab.com/mothacehe/test-channel.git")) > (channel > (name 'my-guix-packages) > (url > "https://github.com/methuselah-0/my-guix-packages.git")))))) > --8<---------------cut here---------------end--------------->8--- > > where test-channel is a dummy channel repository that contains your > manifest file. I removed the .scm extension so that Cuirass does not > try to build it, but I this is not an acceptable solution in the long > term. > > We would need to find a way to tell Cuirass not to build this channel > or > something like that. > > Thanks, > > Mathieu Hi, Thanks. I forked ur test-channel and updated my specs accordingly and it only works the first evaluation, until I push a new commit to the config channel, then Im getting this: Backtrace: In ice-9/boot-9.scm: 1736:10 15 (with-exception-handler _ _ #:unwind? _ # _) In unknown file: 14 (apply-smob/0 #) In ice-9/boot-9.scm: 718:2 13 (call-with-prompt _ _ #) In ice-9/eval.scm: 619:8 12 (_ #(#(#))) In cuirass/ui.scm: 104:10 11 (run-cuirass-command _ . _) In ice-9/boot-9.scm: 152:2 10 (with-fluid* _ _ _) 152:2 9 (with-fluid* _ _ _) In ice-9/eval.scm: 293:34 8 (_ #(#(#(#(#(#(#(# ?)) ?) ?) ?) ?) ?)) In ice-9/boot-9.scm: 1736:10 7 (with-exception-handler _ _ #:unwind? _ # _) In guix/store.scm: 636:37 6 (thunk) In ice-9/eval.scm: 159:9 5 (_ #(#(# ?) ?)) 196:35 4 (_ #(#(# ?) ?)) In guix/channels.scm: 911:32 3 (channel-instances->derivation _) 871:36 2 (channel-instances->manifest (#< cha?>)) 759:6 1 (channel-instance-derivations (#< ch?>)) In ice-9/boot-9.scm: 1669:16 0 (raise-exception _ #:continuable? _) ice-9/boot-9.scm:1669:16: In procedure raise-exception: ERROR: 1. &message: "'guix' channel is lacking" 2. &fix-hint: "Make sure your list of channels\ncontains one channel named @code{guix} providing the core of Guix." 3. &error-location: #< file: "guix/channels.scm" line: 557 column: 18> Best regards, David