From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id MB0IDyTmZGA4cwAAgWs5BA (envelope-from ) for ; Wed, 31 Mar 2021 23:14:12 +0200 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 8GfHCCTmZGCXbwAAbx9fmQ (envelope-from ) for ; Wed, 31 Mar 2021 21:14:12 +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 814C014841 for ; Wed, 31 Mar 2021 23:14:11 +0200 (CEST) Received: from localhost ([::1]:33484 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lRiAE-0002Px-MD for larch@yhetil.org; Wed, 31 Mar 2021 17:14:10 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:59994) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lRiA4-0002Pn-S9 for help-guix@gnu.org; Wed, 31 Mar 2021 17:14:00 -0400 Received: from relay11.mail.gandi.net ([217.70.178.231]:51107) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lRiA2-0007mX-Ol for help-guix@gnu.org; Wed, 31 Mar 2021 17:14:00 -0400 Received: from elite (unknown [83.118.200.115]) (Authenticated sender: jeremy@korwin-zmijowski.fr) by relay11.mail.gandi.net (Postfix) with ESMTPSA id CAA4C100003 for ; Wed, 31 Mar 2021 21:13:55 +0000 (UTC) Message-ID: <5b3fcfc965a4b8fe9cc87a362aad6e5ab63d3420.camel@korwin-zmijowski.fr> Subject: Advice about guile-spec package definition From: =?ISO-8859-1?Q?J=E9r=E9my?= Korwin-Zmijowski To: Guix Help Date: Wed, 31 Mar 2021 23:13:55 +0200 Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.36.4-0ubuntu1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: none client-ip=217.70.178.231; envelope-from=jeremy@korwin-zmijowski.fr; helo=relay11.mail.gandi.net X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_NONE=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: , 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=1617225251; 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: content-transfer-encoding:content-transfer-encoding:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=9oKD7/rTEVrlGPzY1s1IoDw2mtBJMGT0seKv2PMEk0U=; b=Cnvd+/QoYMFu9iQCDPg+C1U4amKOp1hkanAl8xmka0VgHIEs3dyO5SciH7tO5ltqaDtWx7 NZdrNDHNuFjxjCyRIhjQ/V2eUmficK1C5eJyhEU7XzgUUpatbKDPEiHJ9T0MVq5LUHi5xP +hNDnfvxLYchGMDeVwHB4MExUfEVqLSuMKUE7QoTYpoag3Ey7ZRpaDVNI4NELam9l3jBwf nCmXTBsnCDom1iGaxcO08r3S8YEFyGqJm8Uy29e2LRD52zf7eNcUumvvgunLanj+OM4mh7 zdzQMbtqvu8FYAehYHFGGBu6ObvnDbiyFoSBkKoIVIbnt7a6HE3CuCSZj/kzHQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1617225251; a=rsa-sha256; cv=none; b=XwJXfcN3sT78DWZqvR/mkTG2GEpna+u5qrEuBEIgDUWCB5dXyh6QD+qTrz6pOiKFv8cY/J b2CtsqkYA7Dd9KhfO315rZBbhwDQyMaAuyUrI8uRUvtVIvhiGPyAxQWuIdLhKInHSvf3M+ 0gZdXppbFRm5LLYdbvQ+KJNhVXff9TznRjIUVQTviAUluVY41GXP/FMMdBmYS/falrMSFN DykOlxD2FjTMyN0EsEiGkB/iz3iEcjL6qvYxZmmHYYzLN6M/euM8EigdW9AaANOZc8ZPbc M9vLt9AQgbkS1oImot91h+Jx2jdbyJb7Gtq4OsCtSMfjcOi2SIcH0l89uLjHkw== 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: -2.43 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: 814C014841 X-Spam-Score: -2.43 X-Migadu-Scanner: scn0.migadu.com X-TUID: ZiSWAhRDGO/M Dear Guixters, Hope you are doing well ! I am working on the package definition for https://framagit.org/Jeko/guile-spec (file: guix.scm). It is a set of macro based on SRFI-64. 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). For Guix users willing to try guile-spec before installing it, I know guix environment can help. But… When I use guild (with highest warning level) to compile t.scm[1] in an environment based on this definition, it raises unknown warnings : $ 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' When I call it outside of the environment, the warning is fine : $ 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' When I remove Guile from the definition's inputs fiels, the warning is fine : $ 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' [1] t.scm doesn't use guile-spec macro to narrow the context $ cat /tmp/t.scm (use-modules (srfi srfi-64)) (test-begin "group") (test-assert "test" #t) (test-end) How can I make it to work ? Maybe I misuse something here… Let me know ! Cheers, Jérémy