From nobody Wed Mar 20 23:35:06 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 4V0Q1j3cG7z5FDmD for ; Wed, 20 Mar 2024 23:35:21 +0000 (UTC) (envelope-from jussi.korkala@icloud.com) Received: from qs51p00im-qukt01080101.me.com (qs51p00im-qukt01080101.me.com [17.57.155.18]) (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 did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4V0Q1j1NnBz4qVL for ; Wed, 20 Mar 2024 23:35:20 +0000 (UTC) (envelope-from jussi.korkala@icloud.com) Authentication-Results: mx1.freebsd.org; none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=icloud.com; s=1a1hai; t=1710977720; bh=IcnA+TQsEPMeIT1s+xlhufURCm0/8ue/zITW5eWlrZ8=; h=Content-Type:From:Mime-Version:Subject:Date:Message-Id:To; b=W4d8I1glFjbENV8tjIGJD9usQKrHa6tHu2DQ+pn9t9Kd6J9xqc3tcU5VHOvEru3ft E/VDxe3K/OdhmidEwRxeYXoxAnT8wpFELNrys9ll3n5r75mpKTH2d+Hk1Meb9uSF6+ uw4jtXpIZmPsgI/4P6bQymqFRbR4iiQZIhBY7rF8TJTLhiP+AgUk6o0QCVeesGUaUT 46dmvuldYxAdjpOPmNQU5zno6Aft2EziUXbZBjp27HZIZldw+6DX1cBjbBYOhXw5Ku B0sd3DSg4DgbuP+BfE5d5lJ/5siQDY00dhaTz/rjJQxIgNIKcKEUaMwqyP8eqstdhF xSRe8KNTto33g== Received: from smtpclient.apple (qs51p00im-dlb-asmtp-mailmevip.me.com [17.57.155.28]) by qs51p00im-qukt01080101.me.com (Postfix) with ESMTPSA id 5B16461801EA; Wed, 20 Mar 2024 23:35:19 +0000 (UTC) Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable From: Jussi Korkala 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 (1.0) Subject: Re: [277823 ] devel/matreshka: Build fails in package phase Date: Thu, 21 Mar 2024 01:35:06 +0200 Message-Id: <2355B4B6-C24B-4255-BEDF-892D1BDA92D4@icloud.com> References: <275d8c987d63c42682e3cff27cddb754@riseup.net> Cc: Freebsd Ports In-Reply-To: <275d8c987d63c42682e3cff27cddb754@riseup.net> To: Alastair Hogge X-Mailer: iPhone Mail (21E219) X-Proofpoint-ORIG-GUID: VlAGDxv0GCzqBsOKbnvuwvRj8fKDwwGa X-Proofpoint-GUID: VlAGDxv0GCzqBsOKbnvuwvRj8fKDwwGa X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.1011,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2024-03-20_12,2024-03-18_03,2023-05-22_02 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 bulkscore=0 mlxscore=0 adultscore=0 suspectscore=0 clxscore=1011 mlxlogscore=999 spamscore=0 phishscore=0 malwarescore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2308100000 definitions=main-2403200187 X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:714, ipnet:17.57.155.0/24, country:US] X-Rspamd-Queue-Id: 4V0Q1j1NnBz4qVL Is the compiler intentionally padded with crap like GCC? Best regards, Jussi Korkala > On 21. Mar 2024, at 1.25, Alastair Hogge wrote: >=20 > =EF=BB=BFHello, >=20 > Regarding the mentioned Port, and Problem Report[1], Matreshka currently > installs shared libraries with the compiler version hard-coded in the > filename, example: >=20 > lib/matreshka/xml/libmatreshka-xml-12.2.so.20.0 >=20 > 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: >=20 >> PLIST_SUB=3DGNAT_VERSION=3D ${_GNAT_VERSION} >> [...] >> _GNAT_VERSION=3D 12.3 >=20 > 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... >=20 > Summary: > How can I get the version number of the tool chain used to compile a > Port? >=20 > 1: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D277823 >=20 > Thanks, > Alastair >=20