From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id iOjYHwgjxWVBUAAAqHPOHw:P1 (envelope-from ) for ; Thu, 08 Feb 2024 19:52:56 +0100 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id iOjYHwgjxWVBUAAAqHPOHw (envelope-from ) for ; Thu, 08 Feb 2024 19:52:56 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=marekpasnikowski.pl header.s=dkim header.b=cwK8Lawn; dmarc=pass (policy=reject) header.from=marekpasnikowski.pl; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1707418376; a=rsa-sha256; cv=none; b=Jq/b43oIHnvk8ygyKEYUEq5Wfvw7wrJLS3l6ihl5suNAxNEvv/Oy3i6POlqKxGpJ4KitRZ bz4VeepJEKDCkvdPMISWvnzlKtsda/BXq7Vlh/VVP2mslSuLcHvA9nB2pxRKCn4t8gIhzz 3EuxBMA6agZazoZlJVGmWMdfjNjBAA9YWIbs59t/uyMZZMl3LBmpvyjcB9uOpx0oPeZUb8 4KhSaH7eioA6ZIkvfA94fUL/wz5XKtMbRNsgp9Pc00AmgxhrRWZ88frYpXxYPWHgvXnDde VxJRpBp7lG4op0uFB2oS3X6UFRmWLFUKgH2JFCY+9Fm3eDXrdhhK7sZZiCfvew== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=marekpasnikowski.pl header.s=dkim header.b=cwK8Lawn; dmarc=pass (policy=reject) header.from=marekpasnikowski.pl; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1707418376; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to: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:dkim-signature:autocrypt:autocrypt; bh=Nf5Erau2AYSkWUHSANNpFuEdiZnbk1QuDHzKv1B91VM=; b=DKydUcv8ZxGTZ5BIu7dK4NTvBnaaR385xqxxAf+uim6NAwR6On15yyhPPD55v3WCGk+zgL TdBLNUd673wLudl6AP5L0aX4QiwW/9HOxlj2xx7lG/d7tKYxW5X7Zh5PluO8A84YrG0qbB 4vZkH0qvhiTKe9Pzb9ETm4gtRSwyFVC8HC5gzX2tK2bAgnnM9VX9ONAHzONdSnA0saLZtp kFJLuVD5cOj+ChKIxCfKZZLtK1Kw+bVObM2e1dKj3tTaq3AzIlhRf96nbdhXEQkO+wBq4M 0oH59FrG4F4vcQmDUlJCNKfCkpGjVsThtueLHvu3YOqrEin5gaD2UdfBWWwoGw== 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 24D8522C32 for ; Thu, 8 Feb 2024 19:52:56 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rY9Va-00016K-9r; Thu, 08 Feb 2024 13:52:26 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rY9VW-00015q-Rg for help-guix@gnu.org; Thu, 08 Feb 2024 13:52:24 -0500 Received: from [81.190.248.246] (helo=marekpasnikowski.pl) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rY9VU-0005bD-Bn for help-guix@gnu.org; Thu, 08 Feb 2024 13:52:22 -0500 Received: from localhost (localhost.lan [127.0.0.1]) by localhost (OpenSMTPD) with ESMTP id 67acbbbe for ; Thu, 8 Feb 2024 18:52:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=marekpasnikowski.pl; h= from:to:subject:date:message-id:in-reply-to:references :mime-version:content-type; s=dkim; bh=W5hJgMnS0bfOX+uvJ9wVATtXh dv8TGEMCtqQfz7N7pg=; b=cwK8LawnLjMYpvhLmAPC8kQ2ZL3H1x0mYgXwallf7 ZaWoF1vuyCOHKz/Fh9+z4wc6dz1xa+cod41D/0w37uSfFpuM5NfpCe53EY1IjOBn o3Biso6SK4x2WW7atMh52K/igHx7iqc4jFsaIyRQ6vp9XrGFCx902YKJpNICeQ0z LL/HKfTkEfDO6pNIWZO2XLNaEhP56hZoIj5iKWfZK8zIYsb56tT/few6j2WVL8xB v/oExZKKoEiTLQC4CP/F7YDOLts5/R4BCrVgK7ksOoIMAPwcZXE1Rl/HozOMcRe1 1tHSjisGnWP0lU2EsJ8TC/E+wqLVlXSLMaw1AbGJYAE2A== Received: by localhost (OpenSMTPD) with ESMTPSA id fe89a967 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO) for ; Thu, 8 Feb 2024 18:52:15 +0000 (UTC) From: Marek =?utf-8?B?UGHFm25pa293c2tp?= To: help-guix@gnu.org Subject: Re: Help with channel build system and package Date: Thu, 08 Feb 2024 19:52:14 +0100 Message-ID: <3091283.mvXUDI8C0e@akashi> In-Reply-To: References: <68237c05-3c30-4d36-b733-6251f168ad9e@millwood.earth> <3587568.aeNJFYEL58@akashi> MIME-Version: 1.0 Autocrypt: addr=marek@marekpas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orq4dMDKCsqErlaD+DjaPsOIXYrT09HjEuuf+kyowrUSpZDqnBb7hspU1pEot9/b6E/9EVN1 DbW+ThU2sRD+KdvVJ9rYwG2k4Iak4CZJe1uICIMMultV42o7OCdIF5Ufi0Qhn0enZjdfjPIMZOV 3GIhRBABEBAAGJAjYEGAEIACAWIQRZDlAP450ms+YLdDttgbEgdxGJnwUCZYNtNAIbDAAKCRBtg bEgdxGJn7jbEADgK37EvVEK+7nBQR/5sB+gahxfP1zCAVlInb9ipLhbnB7WsckBaoAk9r01VDz+ jh4GZjWiYVj3rT3SfpwoYp61ciZMBGnWFrnd6Ibdd82pqAlrd6jOlZUVaFg5daQfUE/419hSiRL CBOFt0vIvHSUPfTJVrWMWgvBaztAvbuJhTARnVvg/lAzA6oZBluxvIgidM+ubRSuarE9f1QqMZN bGmd+hi/S13Gs2k9CLxrKBgVI/XzRNgvI6MA1RWtewH8J0J0h+8l/Fq3J4uYXKd2UhnfufAHjn2 YpQ1zMfDdHFVofL29eFhVbR8V2MlT2zRpcdcX40myoqmKnFra/kLZjLA45QwWmGHv4E8Uvh/BTm T06lmxz96vE5Ij+tAxwUBvMbcZC8B0c9q/FquNhdvqnVCT4lQCb8Rd8hmLe9dyjyo6w52NglAia LB6lExx0fftTPlLwyp1PgIkxawWhDTeZM749P37LY2bvHKKmjiAfO3Tydr6CF3LbLpYT3CdQqql 2l045luGSmB2iU8j0nq/v2NMCz/4CjZoK4wUEQ+3TnBnrHtmMCCKSBK3LY6fmmifFEMQUxcAe0A aJU58sMJDnBdvPD5UgtybQHsNHwfBs4WOeUoNns8yCUgXcdTQRFpdvOG8GawvvS+Zp7qmcMV+r/ /UDUeeYvAnCadFzZz2+1Ew== Content-Type: multipart/signed; boundary="nextPart12749383.O9o76ZdvQC"; micalg="pgp-sha256"; protocol="application/pgp-signature" X-Host-Lookup-Failed: Reverse DNS lookup failed for 81.190.248.246 (failed) Received-SPF: pass client-ip=81.190.248.246; envelope-from=marek@marekpasnikowski.pl; helo=marekpasnikowski.pl X-Spam_score_int: -12 X-Spam_score: -1.3 X-Spam_bar: - X-Spam_report: (-1.3 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_SORBS_DUL=0.001, RDNS_NONE=0.793, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: help-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Scanner: mx10.migadu.com X-Spam-Score: -11.83 X-Migadu-Queue-Id: 24D8522C32 X-Migadu-Spam-Score: -11.83 X-TUID: bNtKDkfO0iTo --nextPart12749383.O9o76ZdvQC Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8"; protected-headers="v1" From: Marek =?utf-8?B?UGHFm25pa293c2tp?= To: help-guix@gnu.org Subject: Re: Help with channel build system and package Date: Thu, 08 Feb 2024 19:52:14 +0100 Message-ID: <3091283.mvXUDI8C0e@akashi> In-Reply-To: MIME-Version: 1.0 08.02.2024 19:33:09 CET Jesse Millwood: > Thanks for the response Marek >=20 > On 2/8/24 12:00, Marek Pa=C5=9Bnikowski wrote: > > 08.02.2024 15:32:44 CET Jesse: > >> Thanks for taking a look Carlo! > >>=20 > >> On 2/7/24 22:37, Carlo Zancanaro wrote: > >>> Hi Jesse, > >>>=20 > >>> I know very little about what you're trying to do, but there's one th= ing > >>> that looked wrong to me: > >>>=20 > >>> On Wed, Feb 07 2024, Jesse wrote: > >>>> ... > >>>>=20 > >>>> (build-system crosstool-ng) > >>>>=20 > >>>> ... > >>>=20 > >>> This isn't a build system, right? It's just the package? I think you = may > >>> want crosstool-ng-build-system here. > >>=20 > >> However, now I get this: > >>=20 > >> guix build -v3 -L embedded-dev ct-ng-riscv64-unknown-elf > >> guix build: warning: invalid argument list > >> guix build: warning: source expression failed to match any pattern > >> error: crosstool-ng-build-system: unbound variable > >> hint: Did you forget `(use-modules (embedded-dev build-system > >> crosstool-ng))'? > >>=20 > >> guix build: error: ct-ng-riscv64-unknown-elf: unknown package > > I am just starting to understand how packaging works, but one thing that > > stands out to me is the #:sample keyword in arguments of the *riscv64* > > package definition. Where is it defined? Is the source correctly > > imported? >=20 > > My hypothesis is that guix, upon loading the module in question: > > 1. fails to parse the #:sample keyword (invalid argument list warning) > > 2. fails to parse the package definition due to the above (pattern > > failure) > > 3. fails to find the package definition due to the above (unbound > > variable) > >=20 > > This problem is educational to me, so give me the benefit of the doubt. >=20 > That's a sound hypothesis. It gives me a good idea of where to look, than= ks! >=20 > Do you know of any way to increase the verbosity of error messages or > logs to help debug where things are going awry? I always use -v 4 as argument to guix. I do not remember whether 3 or 4 is = the=20 biggest effective value. You could try with that. About the warnings of invalid argument list: comment out the argument lists= in=20 the toolchain packages (I do not remember fully the names, I do not have ac= ces=20 to the big computer right now for easy reference). See how the change effec= ts=20 the build. I learned a lot by intentionally breaking code and reading the errors. Sincerely, Marek --nextPart12749383.O9o76ZdvQC Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part. Content-Transfer-Encoding: 7Bit -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEWQ5QD+OdJrPmC3Q7bYGxIHcRiZ8FAmXFIt8ACgkQbYGxIHcR iZ8lKw//RdH9cyTpnQAjrizMjx14giDuAncAEXchCERoMW0zbi29WDdunrjPUaAJ B42A1ong3SQImNLUq+w39kniS7XJEShGZC0OyDATIs9KQjkOGhKg0ZePL5uLlNmI 7yv5qTqtwHAO4ZU1tx247TZijiTIoT1BHxOBswutqB9zvRyfIVp2Pv4oYnT3sMP+ fBw7NdLcKmf/khPcU/n6IsAq/E5MIIaxC4A493BD3P6/IrkIZ7g6/rccxPkOoKzK akRi6/Pln+JMVVqjHY6lCzJDFy+m4j0x67deQDbUfIdFlAXDkIcMl0IV0nO5F0qC 0aHwbvMo5bU5+uKiDqSlmk7n/tY7SFPUZgIzLPrB9+Vd5Mnjn/cS8/oOC0RPTrwJ bi38VpFAqSjxNGR2Uj1LnEE0oI9VWTEuXIC8QSbYZ5iYpWrTrpAWIPU87NeNDkn4 rIDOZrpC9O9PDFiJKT7dJlpuyAqul8rR+UCAEkhVLqP1UVtMCleaCKcp3Q06UDZT o/ucAE5x2ts9Ja9BDp5u4FlbNTBFUL9/6PCgBmleu+Sqm73tfdh/OR/XwRjy1L2M 3zDfI8nJGkWq/zhRyhj+xM+VRErz1nLM7RDkjB/VMgziw2jQjXkjv1dCNBJ1nxNL KVWMe9qgoUmJQnsG205eFp/8xu+Xb83R9/pd5b9r+RegRJQgGMs= =piYm -----END PGP SIGNATURE----- --nextPart12749383.O9o76ZdvQC--