From owner-svn-ports-all@freebsd.org Mon May 27 09:37:54 2019 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A31D915BE605; Mon, 27 May 2019 09:37:54 +0000 (UTC) (envelope-from tobik@freebsd.org) Received: from out4-smtp.messagingengine.com (out4-smtp.messagingengine.com [66.111.4.28]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 3A4EE8C1F7; Mon, 27 May 2019 09:37:54 +0000 (UTC) (envelope-from tobik@freebsd.org) Received: from compute7.internal (compute7.nyi.internal [10.202.2.47]) by mailout.nyi.internal (Postfix) with ESMTP id 15BD7220AB; Mon, 27 May 2019 05:37:48 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute7.internal (MEProxy); Mon, 27 May 2019 05:37:48 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=RjT+BD vV//C8rK2+/YI54wrK2AS/pZXBDwlZhRp6fRw=; b=Lk1pprKIzrBxCmDjeISnQs XlsXkdQIQ12Q4CJYHsWHE6KvxmTQZGZU8isthvc3GAc7HFVC6CJ20oc5CgNbHJ5B cECJIl2PdMUrxr4bMNxmF49h69zYwsOG4WYZfbaaw8ZfA8PBCgD6TIFKL7qDruD9 DG/U1mi+KBkIXR9ZVKjVEpYZvMCVUC1a5TNtMxirlS0Jdr4E8OoRolV/fzgAqB1m 7DHaH64NkDCsFTOZXgXwoehnU9MiA60fe+17kJh+UbL+tFH0r3JSkpuLFChB6nnl FIY3dMeB03ZKy6c4RMHzjkMXETCm8ESPS5fI57H3c4zevuINZJD9NpCFAxvRLZMg == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduuddruddvvddgudekucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepfffhvffukfhfgggtuggjfgesghdtreertderudenucfhrhhomhepvfhosghi rghsucfmohhrthhkrghmphcuoehtohgsihhksehfrhgvvggsshgurdhorhhgqeenucfkph epleehrdeltddrvddtvddrfeeinecurfgrrhgrmhepmhgrihhlfhhrohhmpehtohgsihhk sehfrhgvvggsshgurdhorhhgnecuvehluhhsthgvrhfuihiivgeptd X-ME-Proxy: Received: from urd.tobik.me (ip5f5aca24.dynamic.kabel-deutschland.de [95.90.202.36]) by mail.messagingengine.com (Postfix) with ESMTPA id DB197380085; Mon, 27 May 2019 05:37:46 -0400 (EDT) Date: Mon, 27 May 2019 11:37:44 +0200 From: Tobias Kortkamp To: Yuri Cc: =?iso-8859-1?Q?Ren=E9?= Ladan , ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: Re: svn commit: r502756 - head/math/cminpack Message-ID: <20190527093744.GA6518@urd.tobik.me> References: <201905270010.x4R0AxdH047274@repo.freebsd.org> <8206336d-a8c3-24ee-9c87-b82f17f2b7d4@freebsd.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="k1lZvvs/B4yU6o8G" Content-Disposition: inline In-Reply-To: <8206336d-a8c3-24ee-9c87-b82f17f2b7d4@freebsd.org> User-Agent: Mutt/1.11.4 (2019-03-13) X-Rspamd-Queue-Id: 3A4EE8C1F7 X-Spamd-Bar: ------ Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-6.98 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; REPLY(-4.00)[]; NEURAL_HAM_SHORT(-0.98)[-0.977,0] X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 May 2019 09:37:55 -0000 --k1lZvvs/B4yU6o8G Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, May 27, 2019 at 02:24:24AM -0700, Yuri wrote: > On 2019-05-27 00:51, Ren=E9 Ladan wrote: > > > > > > =A0 math/cminpack: Fix build by adding USES=3Dlocalbase > > > > =A0 It couldn't find cblas.h on my system without this. > > > > Does it build with poudriere without the fix? It was not known to be=20 > > broken. >=20 >=20 > It builds in poudriere, but fails on some other systems with a lot of=20 > packages installed. Hi Yuri, outside of Poudriere it still fails to build on 13.0/amd64 for me even with USES=3Dlocalbase: =3D=3D=3D> Building for cminpack-1.3.6 [1/100] /usr/local/libexec/ccache/cc -DUSE_CBLAS -O2 -pipe -fstack-protec= tor-strong -isystem /usr/local/include -fno-strict-aliasing -O2 -pipe -fst= ack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -fP= IC -MD -MT CMakeFiles/cminpack.dir/chkder.c.o -MF CMakeFiles/cminpack.dir/c= hkder.c.o.d -o CMakeFiles/cminpack.dir/chkder.c.o -c /construction/home/t= obias/ports/head/math/cminpack/work/cminpack-1.3.6/chkder.c FAILED: CMakeFiles/cminpack.dir/chkder.c.o /usr/local/libexec/ccache/cc -DUSE_CBLAS -O2 -pipe -fstack-protector-stro= ng -isystem /usr/local/include -fno-strict-aliasing -O2 -pipe -fstack-prot= ector-strong -isystem /usr/local/include -fno-strict-aliasing -fPIC -MD -= MT CMakeFiles/cminpack.dir/chkder.c.o -MF CMakeFiles/cminpack.dir/chkder.c.= o.d -o CMakeFiles/cminpack.dir/chkder.c.o -c /construction/home/tobias/po= rts/head/math/cminpack/work/cminpack-1.3.6/chkder.c In file included from /construction/home/tobias/ports/head/math/cminpack/wo= rk/cminpack-1.3.6/chkder.c:3: /construction/home/tobias/ports/head/math/cminpack/work/cminpack-1.3.6/cmin= packP.h:17:10: fatal error: 'cblas.h' file not found #include ^~~~~~~~~ 1 error generated. [2/100] /usr/local/libexec/ccache/cc -DUSE_CBLAS -O2 -pipe -fstack-protec= tor-strong -isystem /usr/local/include -fno-strict-aliasing -O2 -pipe -fst= ack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -fP= IC -MD -MT CMakeFiles/cminpack.dir/enorm.c.o -MF CMakeFiles/cminpack.dir/en= orm.c.o.d -o CMakeFiles/cminpack.dir/enorm.c.o -c /construction/home/tobi= as/ports/head/math/cminpack/work/cminpack-1.3.6/enorm.c FAILED: CMakeFiles/cminpack.dir/enorm.c.o /usr/local/libexec/ccache/cc -DUSE_CBLAS -O2 -pipe -fstack-protector-stro= ng -isystem /usr/local/include -fno-strict-aliasing -O2 -pipe -fstack-prot= ector-strong -isystem /usr/local/include -fno-strict-aliasing -fPIC -MD -= MT CMakeFiles/cminpack.dir/enorm.c.o -MF CMakeFiles/cminpack.dir/enorm.c.o.= d -o CMakeFiles/cminpack.dir/enorm.c.o -c /construction/home/tobias/ports= /head/math/cminpack/work/cminpack-1.3.6/enorm.c In file included from /construction/home/tobias/ports/head/math/cminpack/wo= rk/cminpack-1.3.6/enorm.c:3: /construction/home/tobias/ports/head/math/cminpack/work/cminpack-1.3.6/cmin= packP.h:17:10: fatal error: 'cblas.h' file not found #include ^~~~~~~~~ 1 error generated. ninja: build stopped: subcommand failed. =3D=3D=3D> Compilation failed unexpectedly. Try to set MAKE_JOBS_UNSAFE=3Dyes and rebuild before reporting the failure = to the maintainer. *** Error code 1 I think the real problem here is that the port is missing CMAKE_OFF=3D USE_BLAS to build as intended in dirty environments. Index: Makefile =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=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- Makefile (revision 502778) +++ Makefile (working copy) @@ -10,11 +10,13 @@ =20 LICENSE_FILE=3D ${WRKSRC}/CopyrightMINPACK.txt =20 -USES=3D cmake localbase +USES=3D cmake =20 USE_GITHUB=3D yes GH_ACCOUNT=3D devernay =20 +CMAKE_OFF=3D USE_BLAS + OPTIONS_DEFINE=3D EXAMPLES =20 post-install-EXAMPLES-on: --k1lZvvs/B4yU6o8G Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQGTBAEBCgB9FiEElXvTEJc6ePgdQuobpPCftzzFH2EFAlzrr+VfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDk1 N0JEMzEwOTczQTc4RjgxRDQyRUExQkE0RjA5RkI3M0NDNTFGNjEACgkQpPCftzzF H2GD3Qf/ca/dXfdyUwiX4WZkNSTcuABxjBa//go3RyC+f2EjZn5Qvqieuv3t3s9v IXpd3QIzQqVQGmTTAI+PoVq2Y8f/q31ZrzpV+7xrJ6bX+7hZVYd2YGzvB0umB8vV wxU4jjj/iBg3M/Fsy/4hA/212txt7Gfs73cojU7cn1h0PokAa37UmL7/UWMNYn6T yVFp3SljM5hVvGuY2aIa3eSY78pGcJPL/Q7BfM9jilrdmc9+uFZDypUR5h96IVK/ jYTNhVjNfkW6Kd6CtDZhTxIaYBgbzj0TyFvEPMxR8EItcb4NFnieic5x8stvtbAU eWHztKsGa+Rkah5XeZRjcZgTGmZLMA== =d/2P -----END PGP SIGNATURE----- --k1lZvvs/B4yU6o8G--