From owner-freebsd-ports@freebsd.org Mon Apr 12 12:23:19 2021 Return-Path: Delivered-To: freebsd-ports@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id E8B865CEE44 for ; Mon, 12 Apr 2021 12:23:19 +0000 (UTC) (envelope-from mat@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (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 (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4FJnvW6GHTz3wHB; Mon, 12 Apr 2021 12:23:19 +0000 (UTC) (envelope-from mat@freebsd.org) Received: from mail.j.mat.cc (owncloud.cube.mat.cc [79.143.240.228]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.mat.cc", Issuer "R3" (verified OK)) (Authenticated sender: mat/mail) by smtp.freebsd.org (Postfix) with ESMTPSA id ACD3C20C83; Mon, 12 Apr 2021 12:23:19 +0000 (UTC) (envelope-from mat@freebsd.org) Received: from aching.in.mat.cc (unknown [IPv6:2a01:678:ab:0:dc1a:2213:bfd0:b48b]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: mat@mat.cc) by mail.j.mat.cc (Postfix) with ESMTPSA id 84328942D80; Mon, 12 Apr 2021 12:23:18 +0000 (UTC) Date: Mon, 12 Apr 2021 14:23:17 +0200 From: Mathieu Arnold To: Adriaan de Groot Cc: freebsd-ports@freebsd.org, freebsd@dns.company, Neel Chauhan Subject: Re: @sample surprises (dns/knot-resolver) Message-ID: <20210412122317.u4thbktj6fa466qe@aching.in.mat.cc> References: <5642909.Zv9zXsTiuT@beastie.bionicmutton.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="uvsptysevasrvnz3" Content-Disposition: inline In-Reply-To: <5642909.Zv9zXsTiuT@beastie.bionicmutton.org> X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Apr 2021 12:23:20 -0000 --uvsptysevasrvnz3 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Apr 12, 2021 at 11:34:11AM +0200, Adriaan de Groot wrote: > As prep-work for CMake updates I locally "exp-run" all the ports that use= =20 > CMake. I use poudriere for this, with the `-t` flag to test each port. >=20 > dns/knot-resolver fails to package like that, with this error: >=20 > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > =3D=3D=3D> Building package for knot-resolver-5.3.0 > @sample with 1 single argument expect ".sample" extension > pkg-static: Fail to apply keyword 'sample' > *** Error code 1 >=20 >=20 > The same failure occurs on the build cluster. I checked the porter's hand= book=20 > and it describes 1- and 2-argument forms of @sample, but neither seemed= =20 > applicable here without digging into the port itself to rename the instal= led=20 > configuration file. What's the right approach here? >=20 > (CC'ed maintainer and last committer; I'm going to locally stop building = this=20 > one in preparation of a CMake update) The best is probably to fix the plist and use two arguments. --=20 Mathieu Arnold --uvsptysevasrvnz3 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQKTBAABCgB9FiEEVhwchfRfuV0unqO5KesJApEdfgIFAmB0O7BfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDU2 MUMxQzg1RjQ1RkI5NUQyRTlFQTNCOTI5RUIwOTAyOTExRDdFMDIACgkQKesJApEd fgIZkRAApHM6lsGtL3hVIdSCzIlco9hbFbtIUOposfi6y3qOhh8rr8Pgg4NAQF/c VHxs2yhAnVgEYGB09Da/AsyztJa0vKHP2Sj7oIVEl6peLcTnJJp2h9vKbjfyljNL JWK1I/wCc5qE6QJz6tG52RpsTXmcSohEpAhtm5RUGLf+jT5kPzqTq+JgTans7rXw +wo22DS9utQU6G84EWSulcZYn39tSHRhdZ/Dt/kIGWTlxeM9V3r7/IvFMva3Cc8V 3qncEKNr+JVr40PpIZyS186k482mhNG5UJDST4Pp6XSKATLxQVRleDMLlsrsJ05v cFDM7RmQ8hT5DeX8qCGDb/kjmRmWG/QwDvdJ/trg6cStDzAKYGbDoPJgZv0Yk2/O b0dJ4VR/jtxwSzn4FLTR1cTnaUzYa8h4GDOIfVahMqFeLNNc4M5Bu8Sswu3Wg8qR KzIuM4ZwBjzJuouxi1R1hLzCrcHB1yPu8/Lcm7LoabErLJqSjE3aoRCMjUj7fK2s PC/GsldrflCbieQnTH4KvgcRltipdDrcPHp3eWiyXZ1uk+/SckN4sK6tYM0ycrck mfiVoAD/pF/iYzoc7VgAnpLRvLJT2Y/j0PXKzh0sBdbhSwEoCpm95wQOYFuJhS5q MB9WDYF6JbQfJ2UmZOQJ7p5uANINtd0DLx20o+/TvAFkQ8AGHG0= =HbxS -----END PGP SIGNATURE----- --uvsptysevasrvnz3--