From nobody Wed Mar 20 23:25:24 2024 X-Original-To: freebsd-ports@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4V0PpG6flgz5FCqJ for ; Wed, 20 Mar 2024 23:25:26 +0000 (UTC) (envelope-from agh@riseup.net) Received: from mx1.riseup.net (mx1.riseup.net [198.252.153.129]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "mx1.riseup.net", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4V0PpG0dlGz4nMW for ; Wed, 20 Mar 2024 23:25:26 +0000 (UTC) (envelope-from agh@riseup.net) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=riseup.net header.s=squak header.b=TLjDkRgm; dmarc=pass (policy=none) header.from=riseup.net; spf=pass (mx1.freebsd.org: domain of agh@riseup.net designates 198.252.153.129 as permitted sender) smtp.mailfrom=agh@riseup.net Received: from fews01-sea.riseup.net (fews01-sea-pn.riseup.net [10.0.1.109]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mx1.riseup.net (Postfix) with ESMTPS id 4V0PpD4cTyzDqP4 for ; Wed, 20 Mar 2024 23:25:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=riseup.net; s=squak; t=1710977124; bh=qGt9JcOcuzXh+nxspVlNZrKzsS2aSWGC4+0zHBRUrM0=; h=Date:From:To:Subject:From; b=TLjDkRgmZEcdAVLcMumj26ScfLCHXfIV2Db4AOL64R/4FaLdcIYOPlhR9EGR0RbzT Npf89upINl5E8FtsQbX7nW5eo5aGdOJSarSUFfNvSMUksxKcVIqhB9U1VjRBsGdNto ZjgK+mEWrbS9z1z6Q7TRkhQ86RJkdR3PEJNtNP08= X-Riseup-User-ID: 3BAEF50A7DC5A2CA82DDA9FFB0F4FAE87AE877439280571E28514454CB0B2E76 Received: from [127.0.0.1] (localhost [127.0.0.1]) by fews01-sea.riseup.net (Postfix) with ESMTPSA id 4V0PpD3JLdzJsyF for ; Wed, 20 Mar 2024 23:25:24 +0000 (UTC) List-Id: Porting software to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-ports List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports@freebsd.org X-BeenThere: freebsd-ports@freebsd.org MIME-Version: 1.0 Date: Wed, 20 Mar 2024 23:25:24 +0000 From: Alastair Hogge To: Freebsd Ports Subject: [277823 ] devel/matreshka: Build fails in package phase Message-ID: <275d8c987d63c42682e3cff27cddb754@riseup.net> Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spamd-Bar: ----- X-Spamd-Result: default: False [-5.20 / 15.00]; DWL_DNSWL_LOW(-1.00)[riseup.net:dkim]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-0.998]; DMARC_POLICY_ALLOW(-0.50)[riseup.net,none]; R_SPF_ALLOW(-0.20)[+a:mx1.riseup.net]; R_DKIM_ALLOW(-0.20)[riseup.net:s=squak]; RCVD_IN_DNSWL_LOW(-0.10)[198.252.153.129:from]; MIME_GOOD(-0.10)[text/plain]; RWL_MAILSPIKE_GOOD(-0.10)[198.252.153.129:from]; DKIM_TRACE(0.00)[riseup.net:+]; RCVD_TLS_ALL(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; TO_DN_ALL(0.00)[]; FROM_HAS_DN(0.00)[]; MISSING_XM_UA(0.00)[]; ASN(0.00)[asn:16652, ipnet:198.252.153.0/24, country:US]; RCVD_COUNT_TWO(0.00)[2]; FROM_EQ_ENVFROM(0.00)[]; ARC_NA(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-ports@freebsd.org]; MID_RHS_MATCH_FROM(0.00)[]; MLMMJ_DEST(0.00)[freebsd-ports@FreeBSD.org]; RCVD_VIA_SMTP_AUTH(0.00)[]; MIME_TRACE(0.00)[0:+] X-Rspamd-Queue-Id: 4V0PpG0dlGz4nMW Hello, Regarding the mentioned Port, and Problem Report[1], Matreshka currently installs shared libraries with the compiler version hard-coded in the filename, example: lib/matreshka/xml/libmatreshka-xml-12.2.so.20.0 The 12.2 in the above corresponds to the Free Software Foundation's Ada compiler, GNAT-12. Currently I am testing the following addition to the Makefile: > PLIST_SUB=GNAT_VERSION= ${_GNAT_VERSION} > [...] > _GNAT_VERSION= 12.3 And have made the required changes to the pkg-plist, that is, replacing all occurences of "12.2" with %%GNAT_VERSION%%, however, I am left wondering if there is another way to obtain the version of GCC used, instead of volunteers hard coding the version manually in the Makefile, every time the tool chain is updated... Summary: How can I get the version number of the tool chain used to compile a Port? 1: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=277823 Thanks, Alastair