From owner-freebsd-ports@freebsd.org Wed Sep 28 15:59:26 2016 Return-Path: Delivered-To: freebsd-ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 20E35C01286 for ; Wed, 28 Sep 2016 15:59:26 +0000 (UTC) (envelope-from mat@FreeBSD.org) Received: from prod2.absolight.net (prod2.absolight.net [79.143.243.136]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "plouf.absolight.net", Issuer "CAcert Class 3 Root" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id C96061250 for ; Wed, 28 Sep 2016 15:59:25 +0000 (UTC) (envelope-from mat@FreeBSD.org) Received: from prod2.absolight.net (localhost [127.0.0.1]) by prod2.absolight.net (Postfix) with ESMTP id E14DFBDC73; Wed, 28 Sep 2016 17:59:23 +0200 (CEST) Received: from ogg.in.absolight.net (ogg.in.absolight.net [79.143.241.239]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by prod2.absolight.net (Postfix) with ESMTPSA id B0891BDC68; Wed, 28 Sep 2016 17:59:23 +0200 (CEST) Subject: Re: mysql57 now fails to build on FreeBSD 9 with libressl To: mokhi References: <93CCFC89-B296-4A72-9017-B28F1B6B6B82@precidata.com> <3a4af60e-91cc-c39c-265a-7ee32d729804@FreeBSD.org> Cc: Cedric Berger , freebsd-ports@freebsd.org From: Mathieu Arnold Organization: Absolight / The FreeBSD Foundation Message-ID: <86f2f7a5-5001-95b0-9ec3-82afe58f82b5@FreeBSD.org> Date: Wed, 28 Sep 2016 17:59:22 +0200 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:45.0) Gecko/20100101 Thunderbird/45.3.0 MIME-Version: 1.0 In-Reply-To: Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="k3eIq2vti0ho8V9trSV8Rvx3un38ADkgL" X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Sep 2016 15:59:26 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --k3eIq2vti0ho8V9trSV8Rvx3un38ADkgL Content-Type: multipart/mixed; boundary="moLBg7ENeDhAwqA64LjPd0TWawLt01npC"; protected-headers="v1" From: Mathieu Arnold To: mokhi Cc: Cedric Berger , freebsd-ports@freebsd.org Message-ID: <86f2f7a5-5001-95b0-9ec3-82afe58f82b5@FreeBSD.org> Subject: Re: mysql57 now fails to build on FreeBSD 9 with libressl References: <93CCFC89-B296-4A72-9017-B28F1B6B6B82@precidata.com> <3a4af60e-91cc-c39c-265a-7ee32d729804@FreeBSD.org> In-Reply-To: --moLBg7ENeDhAwqA64LjPd0TWawLt01npC Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Le 28/09/2016 =C3=A0 17:51, mokhi a =C3=A9crit : > Hi. > Your change now makes building on all 9.x broken. Yes, you have to tell the ports framework to use OpenSSL from ports to be able to build it. > Actually the problem is mysql57's needed minimum version of openssl is > newer than what we have as openssl-base on 9.x > So to support building and running it on all freebsd versions we need > two branches of rules in Makefile. > For 9.x we should install openssl from ports. > For newer (>=3D 10) nothing is needed to be changed and openssl-base in= > enough (and port can be chosen by user from configs). > > The problem goes more complex to deal with when it comes to support > libressl too. > > I understand why you say it's stupid to change defaults in the > Makefile, but I just added `WITH_OPENSSL_PORT=3Dyes` to Makefile and > poudriere suggested me to change it to `DEFAULT_VERSIONS+=3Dssl=3Dopens= sl` No, poudriere told you: Using WITH_OPENSSL_PORT in make.conf is deprecated, replace it with DEFAULT_VERSIONS+=3Dssl=3Dopenssl in your make.conf There is something very important in that sentence you missed, it is the "*in your make.conf" part. > BTW, if you think there's no better way to fix building it on 9.x, we > can mark port as ignore/broken on 9.x (and notify users that they can > add such statement to their make.conf) till we find a better way. Feel free to use WITH_OPENSSL_PORT in the Makefile, it too, is a global knob, but its use in the ports Makefile is so common that it is acceptabl= e. There is a good chance this knob too is going away, and the packages for mysql 5.7 will not build on 9. --=20 Mathieu Arnold --moLBg7ENeDhAwqA64LjPd0TWawLt01npC-- --k3eIq2vti0ho8V9trSV8Rvx3un38ADkgL Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQJ8BAEBCgBmBQJX6+jaXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQzQUI2OTc4OUQyRUQxMjEwNjQ0MEJBNUIz QTQ1MTZGMzUxODNDRTQ4AAoJEDpFFvNRg85I+bYP/RbngmjVWrbiWxQHO06tgn+J Qbv52XIuqJysjEIU9uKFBxApZUm0iC0ZgAUHBC8cK4MXhF5iZItfmwi01eJX56V/ o2pNHqLNdIqicgV/GpmdK2MON5Zt01ur4sbTiBSm99dTtiZfJBwKDlwUAP6Lf4/J SF+MhZybF6QxYZmnuThbgcu/QZ3vNXktWbf4lxsPz4y7sV680iREN+WXiezatgtH 9rzO4Gi4JoVwjv9K9WsTrlBamd+0sqpDggtkmQVgH2KVZ7sXnU0G3+HokKScS6sA xaHf7nzB4RjzXuNvOYwReRtefri1DBMA3easkXE6gi0e4CLgAFuqbQFiM0YMPA4R 7qbyMrJPDEQs4bBUuj4P6KSxRjm6Bmt64owRYLxOO+Jg2ONXM8EoZHVqZdWOERZk jL409mAdaNjc+WuqNWoMYQMzxQzLDysLpkh65jitSJHt+rV80sA/HFjoUdCVefko QN3xIz6SLFcnIBhsyJlrEYMJn+Mp2idPJDnIvacScg+Mtwld9b29XVddk/b0JlER yZ7qkJIRsy6OW7Y8+TcxvLZny20HqQrHYF9JhDhTqGO6tMMciPhs60No5MsM1Zqg ypcJSmsQmjgKOH00LCyMOHbY2o+7lBG2j3Bc9m2Jt0BojcwJ8/Z4dXg+QgrWk6d3 knZbOCEPNallJKfg46dx =zKfJ -----END PGP SIGNATURE----- --k3eIq2vti0ho8V9trSV8Rvx3un38ADkgL--