From owner-dev-commits-ports-main@freebsd.org Thu Sep 23 14:19:16 2021 Return-Path: Delivered-To: dev-commits-ports-main@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 2D9306A8188; Thu, 23 Sep 2021 14:19:16 +0000 (UTC) (envelope-from pkubaj@anongoth.pl) Received: from mail.anongoth.pl (mail.anongoth.pl [46.248.190.61]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X448 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "anongoth.pl", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4HFcjb6vNJz4lJp; Thu, 23 Sep 2021 14:19:15 +0000 (UTC) (envelope-from pkubaj@anongoth.pl) Received: from anongoth.pl (unknown [192.168.1.15]) (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) (Authenticated sender: pkubaj@anongoth.pl) by mail.anongoth.pl (Postfix) with ESMTPSA id 31CDDD4F27; Thu, 23 Sep 2021 16:19:13 +0200 (CEST) Date: Thu, 23 Sep 2021 16:19:11 +0200 From: Piotr Kubaj To: Piotr Kubaj Cc: ports-committers@freebsd.org, dev-commits-ports-all@freebsd.org, dev-commits-ports-main@freebsd.org Subject: Re: git: 9dcc929303fc - main - net/openmpi: fix packaging on armv* Message-ID: References: <202109231415.18NEFpUi025258@gitrepo.freebsd.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="b83r75XF2IyLwpnm" Content-Disposition: inline In-Reply-To: <202109231415.18NEFpUi025258@gitrepo.freebsd.org> X-Rspamd-Queue-Id: 4HFcjb6vNJz4lJp X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[] X-BeenThere: dev-commits-ports-main@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Commits to the main branch of the FreeBSD ports repository List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 Sep 2021 14:19:16 -0000 --b83r75XF2IyLwpnm Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Oops, I didn't paste the actual code, but it's: #if !defined(__i386__) && !defined(__x86_64__) && !defined(__PPC__) && !def= ined(__aarch64__) #error "platform not supported" #endif On 21-09-23 14:15:51, Piotr Kubaj wrote: > The branch main has been updated by pkubaj: >=20 > URL: https://cgit.FreeBSD.org/ports/commit/?id=3D9dcc929303fc7716cd583062= 88d8b848b1909f38 >=20 > commit 9dcc929303fc7716cd58306288d8b848b1909f38 > Author: Piotr Kubaj > AuthorDate: 2021-09-23 14:09:23 +0000 > Commit: Piotr Kubaj > CommitDate: 2021-09-23 14:09:23 +0000 >=20 > net/openmpi: fix packaging on armv* > =20 > From opal/mca/patcher/overwrite/configure.m4: > --- > net/openmpi/Makefile | 8 ++++++-- > net/openmpi/pkg-plist | 4 ++-- > 2 files changed, 8 insertions(+), 4 deletions(-) >=20 > diff --git a/net/openmpi/Makefile b/net/openmpi/Makefile > index 1f29c891273b..ec9cac64cece 100644 > --- a/net/openmpi/Makefile > +++ b/net/openmpi/Makefile > @@ -9,8 +9,6 @@ COMMENT=3D High Performance Message Passing Library > LICENSE=3D BSD3CLAUSE > LICENSE_FILE=3D ${WRKSRC}/LICENSE > =20 > -BROKEN_armv6=3D fails to package: pkg-static: mca_patcher_overwrite.la:= No such file or directory > -BROKEN_armv7=3D fails to package: pkg-static: mca_patcher_overwrite.la:= No such file or directory > BROKEN_sparc64=3D fails to compile on sparc64 > =20 > LIB_DEPENDS=3D libhwloc.so.15:devel/hwloc2 \ > @@ -110,6 +108,12 @@ SLURM_PLIST_FILES=3D ${MPIDIR}/lib/openmpi/mca_ess_s= lurm.la \ > FCFLAGS+=3D -fallow-argument-mismatch > .endif > =20 > +.if ${ARCH} !=3D aarch64 && ${ARCH} !=3D amd64 && ${ARCH} !=3D i386 && != ${ARCH:Mpowerpc*} > +PLIST_SUB+=3D NO_MCA_PATCHER_OVERWRITE=3D"@comment " > +.else > +PLIST_SUB+=3D NO_MCA_PATCHER_OVERWRITE=3D"" > +.endif > + > post-patch: > @${REINPLACE_CMD} -e 's|$$(libdir)/pkgconfig|${LOCALBASE}/libdata/pkgco= nfig|g' \ > ${WRKSRC}/ompi/tools/wrappers/Makefile.am \ > diff --git a/net/openmpi/pkg-plist b/net/openmpi/pkg-plist > index c8449700be76..d8259b4f3b9f 100644 > --- a/net/openmpi/pkg-plist > +++ b/net/openmpi/pkg-plist > @@ -237,8 +237,8 @@ libdata/pkgconfig/pmix.pc > %%MPIDIR%%/lib/openmpi/mca_osc_rdma.so > %%MPIDIR%%/lib/openmpi/mca_osc_sm.la > %%MPIDIR%%/lib/openmpi/mca_osc_sm.so > -%%MPIDIR%%/lib/openmpi/mca_patcher_overwrite.la > -%%MPIDIR%%/lib/openmpi/mca_patcher_overwrite.so > +%%NO_MCA_PATCHER_OVERWRITE%%%%MPIDIR%%/lib/openmpi/mca_patcher_overwrite= =2Ela > +%%NO_MCA_PATCHER_OVERWRITE%%%%MPIDIR%%/lib/openmpi/mca_patcher_overwrite= =2Eso > %%MPIDIR%%/lib/openmpi/mca_plm_isolated.la > %%MPIDIR%%/lib/openmpi/mca_plm_isolated.so > %%MPIDIR%%/lib/openmpi/mca_plm_rsh.la --b83r75XF2IyLwpnm Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEycyIeNkkgohzsoorelmbhSCDnJ0FAmFMjN8ACgkQelmbhSCD nJ1xlBAAsJbGNTEM9U+XProzKx5KR4HReMcNU1Up9JyUoHMEARYE4Zg/8Z2vNmpy tW9lfWlOpUQy0/oHVeTRKBLFOQRtdTbr8tas7bDcjhthjRZwGFTAmk2QUyg43bKU Eoln9yB9ren105AZL8rlcfU3WHnKjWzO10BEh5CXDzPdqGa+uBY7qe3UhKnrLgHL JrqeBDE+ZO7Ek+u6Arib7Y+LxRRzdNtetRKDi3NSK9TgMywjApwxyC1Sm5IJKGA3 xXui/BsVOFMh7VxqweOn6uOXb3c85w9javniBENzEssdsFmC86gpC9rbs+AFl544 wYEpq/F4YwyjHGii5ryEm3mI4pbYXHpqNckYfMx6jT2a+EoAkX0ja+s1CY8KZYCF u1S3JImiwL1qDwJtWubnrSP74E6QBH/dQHzKF7D/bTz7Foy86cEfLTJBvqiXAZYH GfKOXbAjjzIx6ptf6imaAufp9XNHL5Al/awksMbveEogUYnvHqSKmD6NnBc6ZkGh PJVaXOcGwCSbOZvTyOD90Q86GAYW9RB37V5cuJJ6VrdcEzrUc2QOFI9T7QNuOvpo XfofH+OOTf1QIFD4nMi4ep9JxBi66kPameUKaYzkYTmE26dBCtDjFgvPPDjPuasi HXOHAoRzPpGnTKG8puwDg4TWO2HfYciENJU8CZAFew0VXiwFSgc= =OmKq -----END PGP SIGNATURE----- --b83r75XF2IyLwpnm--