From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:bcc0::]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id KIxDJt90ZWDbfwEAgWs5BA (envelope-from ) for ; Thu, 01 Apr 2021 09:23:11 +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 yHUaIN90ZWDiFwAAbx9fmQ (envelope-from ) for ; Thu, 01 Apr 2021 07:23:11 +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 E4681B02D for ; Thu, 1 Apr 2021 09:23:10 +0200 (CEST) Received: from localhost ([::1]:36748 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lRrfa-0003D2-57 for larch@yhetil.org; Thu, 01 Apr 2021 03:23:10 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:52218) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lRrfR-0003Co-2O for help-guix@gnu.org; Thu, 01 Apr 2021 03:23:01 -0400 Received: from flashner.co.il ([178.62.234.194]:46318) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lRrfP-00014X-1v for help-guix@gnu.org; Thu, 01 Apr 2021 03:23:00 -0400 Received: from localhost (unknown [31.210.177.71]) by flashner.co.il (Postfix) with ESMTPSA id 2A70D40332; Thu, 1 Apr 2021 07:22:57 +0000 (UTC) Date: Thu, 1 Apr 2021 10:22:25 +0300 From: Efraim Flashner To: =?utf-8?B?SsOpcsOpbXk=?= Korwin-Zmijowski Subject: Re: Advice about guile-spec package definition Message-ID: References: <5b3fcfc965a4b8fe9cc87a362aad6e5ab63d3420.camel@korwin-zmijowski.fr> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="c7VkKO9oqB5uaoaR" Content-Disposition: inline In-Reply-To: <5b3fcfc965a4b8fe9cc87a362aad6e5ab63d3420.camel@korwin-zmijowski.fr> X-PGP-Key-ID: 0x41AAE7DCCA3D8351 X-PGP-Key: https://flashner.co.il/~efraim/efraim_flashner.asc X-PGP-Fingerprint: A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 Received-SPF: pass client-ip=178.62.234.194; envelope-from=efraim@flashner.co.il; helo=flashner.co.il X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Guix Help Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: "Help-Guix" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1617261791; 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=RJhRikffWzwnC6o4oKSH+tM1xu9KBEyKsipi3n3oQIg=; b=b3TPG9vQBmnpx0dp0Lj61oZnIJ5mimKM/91wH6gjAvsH25QFnNZmbJlfA4RcEaLY9hYV/m rScjQSN61FXGwre8ESm/INyF3KpTp9j1kS9sbBjGYoFnTDYbKeaoTfwEQRraSKur9oISkv pZIeWkiIrq2SUkLmEdciCPqf+S3hJczxxX4MXLS8srefXOzHw9KvrMHLcLmPd8FJQSci1k Z6Gb32XEqlPF+25CkyDUmAABrxFbvR3FCH4zT581r5zRsoLrM8JYJNdo7Lfw5fqIwGe4xp cL3avwAQMoDQQvUzCWxvaVhlyU5HnkwhKfwmQSHj/wXKjYEhn+YEREu+JrHZ3g== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1617261791; a=rsa-sha256; cv=none; b=clZDXdbCnAJfwn2IwkObILH8KNv8MOz7MLzsMgScG7rMAP9gYbvfvf0LGSpZ2idWOCa/Av wcOcPZHm85R4wNstBHY2zwpscoVdAjRUy6ftyrinRI8NyvrizaJ8l7MrqiX9SPo9ZjyUyQ TLDqnxbWeEHQXHtegUCjRHuTbfawpjcCnW2UJ6AqBnJl7XlbZmkIEIwyQfAO5UrOJwsAid 5Ity1nE9Hhkjmexgtuts7Ci3mrrPfSrv6CRP4bG0BeMK8KIJxtymKHMr07bSce+uFoXi7X XsLxG6cq86J5KA2uvIUZgN6ZRPnBaOFIrliSNVyyryVLPMLj9Py3nn1cgSr0cw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; spf=pass (aspmx1.migadu.com: domain of help-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=help-guix-bounces@gnu.org X-Migadu-Spam-Score: -4.03 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of help-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=help-guix-bounces@gnu.org X-Migadu-Queue-Id: E4681B02D X-Spam-Score: -4.03 X-Migadu-Scanner: scn0.migadu.com X-TUID: 0uYDy9Iwc/2i --c7VkKO9oqB5uaoaR Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Mar 31, 2021 at 11:13:55PM +0200, J=C3=A9r=C3=A9my Korwin-Zmijowski= wrote: > Dear Guixters, >=20 > Hope you are doing well ! >=20 > I am working on the package definition for=20 > https://framagit.org/Jeko/guile-spec (file: guix.scm). It is a set of > macro based on SRFI-64. >=20 > The definition's inputs field is filled with guile-3.0 (or the guix > build reports an error with a stack trace I can't understand haha). >=20 > For Guix users willing to try guile-spec before installing it, I know > guix environment can help. >=20 > But=E2=80=A6 >=20 > When I use guild (with highest warning level) to compile t.scm[1] in an > environment based on this definition, it raises unknown warnings : >=20 > $ guix environment -l guix.scm -- guild compile -W3 /tmp/t.scm > warning: unknown warning type `#{3}#' > wrote `/home/jeko/.cache/guile/ccache/3.0-LE-8-4.2/tmp/t.scm.go' >=20 > When I call it outside of the environment, the warning is fine : >=20 > $ guild compile -W3 /tmp/t.scm > /tmp/t.scm:3:0: warning: unused variable `name' > wrote `/home/jeko/.cache/guile/ccache/3.0-LE-8-4.4/tmp/t.scm.go' >=20 > When I remove Guile from the definition's inputs fiels, the warning is > fine : >=20 > $ guix environment -l guix.scm -- guild compile -W3 /tmp/t.scm > /tmp/t.scm:3:0: warning: unused variable `name' > wrote `/home/jeko/.cache/guile/ccache/3.0-LE-8-4.4/tmp/t.scm.go' >=20 >=20 > [1] t.scm doesn't use guile-spec macro to narrow the context > $ cat /tmp/t.scm=20 > (use-modules (srfi srfi-64)) > (test-begin "group") > (test-assert "test" #t) > (test-end) >=20 >=20 > How can I make it to work ? Maybe I misuse something here=E2=80=A6 Let me= know > ! >=20 The difference could be the version of guile. What's the output of 'guile --version' and 'guix environment -l guix.scm -- guile --version'? --=20 Efraim Flashner =D7=90=D7=A4=D7=A8=D7=99=D7=9D = =D7=A4=D7=9C=D7=A9=D7=A0=D7=A8 GPG key =3D A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 Confidentiality cannot be guaranteed on emails sent or received unencrypted --c7VkKO9oqB5uaoaR Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEoov0DD5VE3JmLRT3Qarn3Mo9g1EFAmBldLAACgkQQarn3Mo9 g1EXwBAAoHLdYqkp/v/+ibU0/PzOZ805KBd/Z4ecz2f7H5D0pTAthBoH2fiDkZZF nTNwWdKPvwwAwkdqD7480EQOZyKAG1n1Ss0Ntew0bvC48HPPASIplm8Boe2iH72p u9xlovQGQptttJDmIA6LvF3WmoWqefquMq6zwTUdjrKml7yrOXZypuys4Cqfu0Er CCIgAxnT07Cl12L3toRDBr9lvL5tF9pvhkBYE9fG1vnIigDxMcLN+bUsDUrYaoZ4 pi6zg4JS47u/oOVcbik7j+GW86XbrIGiZtRZawM3uDDvKynPu4sW7XHz1Sm8gVuH Os4mgDPutD4VqmE5t7JDyqr/wAfxUcid4C4cVzI7xz7RnwKolT73cMiG0LVI21Ug hGcLnyg7JQHXFbcXfRkVCk4D3bG337et6pewBJCqU6G6PMdFjlopClpDvcKCG3MQ W4cN5jvg/Ejk4Hu7T+M8eWrgdJWEEktfMyRYk34iWpx05Sq6t5Qtdpod1H3N1kjt H/eKbaWdfUIEc+6ObqVb8Zngg/2O5bQkktXsGGuHShRv4YL5+QATNru1ooF+e7YX I5agG3yNDfEQKBobcbcHpOrg132FpOz4piu0sCdX3lm9H/UPrpXjD3LHxKVEbBwQ 9buNRG8ugeybd8I3lLpZ9iFC1V25jrpqK59H7pxbIo7hQFiQ80Q= =tQXo -----END PGP SIGNATURE----- --c7VkKO9oqB5uaoaR--