From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id FYXMKJfUEWEAtwAAgWs5BA (envelope-from ) for ; Tue, 10 Aug 2021 03:21:27 +0200 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 kF3QI5fUEWGIRAAAB5/wlQ (envelope-from ) for ; Tue, 10 Aug 2021 01:21:27 +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 1D062FD1A for ; Tue, 10 Aug 2021 03:21:27 +0200 (CEST) Received: from localhost ([::1]:51076 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mDGSK-0001Wb-4C for larch@yhetil.org; Mon, 09 Aug 2021 21:21:24 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:56272) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mDGS3-0001SX-3G for help-guix@gnu.org; Mon, 09 Aug 2021 21:21:07 -0400 Received: from mout01.posteo.de ([185.67.36.65]:42297) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mDGRy-0005zi-SV for help-guix@gnu.org; Mon, 09 Aug 2021 21:21:06 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout01.posteo.de (Postfix) with ESMTPS id 5370A240027 for ; Tue, 10 Aug 2021 03:20:59 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1628558459; bh=zoxKhAMEe+j/T+I6D7a0g4aIGZqMjEtToE5czmx9db8=; h=From:To:Subject:Date:From; b=aLAbxydwvygqJWCijdd0oVUkTpbotDW9FJoUliaRJX45wGI6EU+ZvOdwRZYSXtf0w 1j35sFz/g4YjZM9aeW7Qg6Y5aHwxnRs3LlyhTCinO84WJmQzYSRqbc2H69u4sHqRnI CHXcGvqh7oiIfcu+cH0furaEeHlchrDPViB1Nqlm1kF4bJOaJPo/R9OHVJXzd7Uoz8 pkg7uvkypimUQUE5h2dIEwGJpvmVKq3cFXkqkckweLwUxEmHudEdZGjLmcFVWEiQeV XWe4xf1zgPHgWu99wEAKQM0qbccjgHbgtob6k2cd8/WywAPILxUhWSNJ3evV0AhJt9 wVCbAwr4iyZJA== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4GkFWt2fbrz9rxG; Tue, 10 Aug 2021 03:20:57 +0200 (CEST) From: Fredrik Salomonsson To: Andy Tai , help-guix@gnu.org Subject: Re: meson needs certain version In-Reply-To: References: Date: Tue, 10 Aug 2021 01:20:56 +0000 Message-ID: <877dguumbr.fsf@d2.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=185.67.36.65; envelope-from=plattfot@posteo.net; helo=mout01.posteo.de X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=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: , 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=1628558487; 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: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=zFC7892OiGhPzfOuiIc5X6rmq4uQFs3oUj6uea9+F0A=; b=h2brfTUk+w8NeCLTSnSMMI7A+Zt5BBJGr61J8jt8jrLxlQAEzzRfy9qcvi11a32ZA8uphG o2UlyOYHkxwVa6h4R0aKXtb7jzpDL0TPj089DEd4AZBh6yqPGBTqwsGB0A73aWMPuTzsax t8BWpYzVvftL4i+79PfasRFwJKh0svP/5+zjjB5kuMPAWvHCXtW4i9SyEqAxeqX1FG32eM opG6A1qOvI1KweCXcrIYOjraNTB1vrBK1koqzPmyYlz+MIEKeKY9wL0mk6tRe+h9W1WZ1W R0/WdIB0gKqN4F8ptzcmQHZ+xJUKG50J94LTu8OcB/kQLZ1q0vvFlYCIBcoSrQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1628558487; a=rsa-sha256; cv=none; b=eD+LwdJ9jKOaTSdFAXqwpBNO91uGWSpEOIfxk7ZP0DdnIqNTZc4P+a1130IZU+7vswGIOL EWVJ7w1D2UXwfIgmo0GB3wdMMGXi8dFa64K5dYsysptzD8YPUaTYeUfnQmzaJPJS6BqPL3 zZATVT9fAJqV9ZqVxEF3m/JmCdEYA9JSeSwUJESNA8/nEG7xR5ZO7/f6DfIyaMDl13khzS glI6y2R8UdEXcjMe63EZMexaH0i3is/rUdyItqF2CI2C1RvhNYysG4mp2qFbsNQvfRVSbu taDCw9u+rGkhFAAVKMib/lsHRltP/fz25Ge63SbthlbtT42GP5UyBT6uHkUAHg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=aLAbxydw; dmarc=pass (policy=none) header.from=posteo.net; 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: -3.11 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=aLAbxydw; dmarc=pass (policy=none) header.from=posteo.net; 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: 1D062FD1A X-Spam-Score: -3.11 X-Migadu-Scanner: scn1.migadu.com X-TUID: KLuyV6Awj6hb Hi, Andy Tai writes: > Hi, I am trying to create package definition for some specific package > and it uses meson for build. When I try to guix build the package, > it fails with > > meson.build:1:0: ERROR: Meson version is 0.53.2 but project requires >=3D= 0.54 > > I find meson later than 0.53.2 in guix already, but how in package > definition to specify to use a particular meson version? Thanks > I use something like this in my guix.scm for a package that uses meson and requires a version newer than 0.53.2 ---8<----------------------------------------------------------------------= ----- (use-modules (guix build-system meson) =E2=80=A6 (gnu packages build-tools) ) (define-public foo (package =E2=80=A6 (build-system meson-build-system) (arguments `(#:meson ,meson-0.55)) =E2=80=A6 )) --->8----------------------------------------------------------------------= ----- Note that the defintion of meson-0.55 in the build-tools.scm has the comment ;; Added temporarily for packages that need it. ;; TODO: Remove when core-updates is merged. (define-public meson-0.55 =E2=80=A6 ) So it might be safer to use meson-next to avoid breakage if/when meson-0.55 gets removed. --=20 s/Fred[re]+i[ck]+/Fredrik/g