Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 28 Sep 2016 17:59:22 +0200
From:      Mathieu Arnold <mat@FreeBSD.org>
To:        mokhi <mokhi64@gmail.com>
Cc:        Cedric Berger <cedric@precidata.com>, freebsd-ports@freebsd.org
Subject:   Re: mysql57 now fails to build on FreeBSD 9 with libressl
Message-ID:  <86f2f7a5-5001-95b0-9ec3-82afe58f82b5@FreeBSD.org>
In-Reply-To: <CAByVWPUKQqJdhhQ7zScQELP09RbS_0zgCJYdwFGHWtRtS_A6Ug@mail.gmail.com>
References:  <93CCFC89-B296-4A72-9017-B28F1B6B6B82@precidata.com> <3a4af60e-91cc-c39c-265a-7ee32d729804@FreeBSD.org> <CAByVWPUKQqJdhhQ7zScQELP09RbS_0zgCJYdwFGHWtRtS_A6Ug@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--k3eIq2vti0ho8V9trSV8Rvx3un38ADkgL
Content-Type: multipart/mixed; boundary="moLBg7ENeDhAwqA64LjPd0TWawLt01npC";
 protected-headers="v1"
From: Mathieu Arnold <mat@FreeBSD.org>
To: mokhi <mokhi64@gmail.com>
Cc: Cedric Berger <cedric@precidata.com>, 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>
 <CAByVWPUKQqJdhhQ7zScQELP09RbS_0zgCJYdwFGHWtRtS_A6Ug@mail.gmail.com>
In-Reply-To: <CAByVWPUKQqJdhhQ7zScQELP09RbS_0zgCJYdwFGHWtRtS_A6Ug@mail.gmail.com>

--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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?86f2f7a5-5001-95b0-9ec3-82afe58f82b5>