Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Peter Seiderer <ps.report@gmx.net>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH v7 4/8] mariadb: use host-openssl from buildroot-system
Date: Mon, 4 Feb 2019 21:10:37 +0100	[thread overview]
Message-ID: <20190204211037.6f5df78e@gmx.net> (raw)
In-Reply-To: <874l9jykc4.fsf@dell.be.48ers.dk>

Hello Peter, Patrick,

On Mon, 04 Feb 2019 10:27:39 +0100, Peter Korsgaard <peter@korsgaard.com> wrote:

> >>>>> "Patrick" == Patrick Havelange <patrick.havelange@essensium.com> writes:  
> 
> Hi,
> 
>  > From: Peter Seiderer <ps.report@gmx.net>
>  > - change WITH_SSL for host build from bundled to system (and add
>  >   host-openssl dependency) to avoid the following configure failure:  
> 9276747defdd4f91ec21ba0930afdf6d947730b6
>  >   CMake Error at /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:137 (message):
>  >     Could NOT find GnuTLS (missing: GNUTLS_LIBRARY GNUTLS_INCLUDE_DIR)
>  >     (Required is at least version "3.3.24")
>  >   Call Stack (most recent call first):
>  >     /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:378 (_FPHSA_FAILURE_MESSAGE)
>  >     /usr/share/cmake/Modules/FindGnuTLS.cmake:54 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
>  >     libmariadb/CMakeLists.txt:298 (FIND_PACKAGE)  
> 
>  > Signed-off-by: Peter Seiderer <ps.report@gmx.net>
>  > Tested-by: Ryan Coe <bluemrp9@gmail.com>
>  > Signed-off-by: Patrick Havelange <patrick.havelange@essensium.com>  
> 
>  > ---
>  > Changes v7:
>  >   - none  
> 
>  > Changes v6:
>  >   - none
>  > ---
>  >  package/mariadb/mariadb.mk | 3 ++-
>  >  1 file changed, 2 insertions(+), 1 deletion(-)  
> 
>  > diff --git a/package/mariadb/mariadb.mk b/package/mariadb/mariadb.mk
>  > index e17649209a..e354a9137c 100644
>  > --- a/package/mariadb/mariadb.mk
>  > +++ b/package/mariadb/mariadb.mk
>  > @@ -86,7 +86,8 @@ MARIADB_CONF_OPTS += \
>  >  	-DMYSQL_DATADIR=/var/lib/mysql \
>  >  	-DMYSQL_UNIX_ADDR=$(MYSQL_SOCKET)  
>  
>  > -HOST_MARIADB_CONF_OPTS += -DWITH_SSL=OFF
>  > +HOST_MARIADB_DEPENDENCIES = host-openssl
>  > +HOST_MARIADB_CONF_OPTS += -DWITH_SSL=system  
> 
> I don't quite get this patch. What is the relation to the openssl bump?

It was related back in 2018 when suggested by Ryan Coe ([1])...

> 
> From the error message it sounds like mariadb perhaps has gnutls
> support, and it ends up falling back to that if SSL support is disabled?
> Can't we just disable that?
> 

...and pre commit 9276747defdd4f91ec21ba0930afdf6d947730b6 which disabled
ssl support for the host build (did not get it right while rebasing the
openssl bump patch series), so yes, this patch can be dropped...

Regards,
Peter
 
[1] http://lists.busybox.net/pipermail/buildroot/2018-June/223349.html
[2] https://git.buildroot.net/buildroot/commit/package/mariadb?id=9276747defdd4f91ec21ba0930afdf6d947730b6

  reply	other threads:[~2019-02-04 20:10 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-01-29  9:39 [Buildroot] [PATCH v7 1/8] package/libshout: Add support for openssl 1.1.x Patrick Havelange
2019-01-29  9:39 ` [Buildroot] [PATCH v7 2/8] package/nut: " Patrick Havelange
2019-01-29 15:43   ` Peter Korsgaard
2019-01-29  9:39 ` [Buildroot] [PATCH v7 3/8] package/pound: Fix build with OpenSSL 1.1.x Patrick Havelange
2019-01-29 15:49   ` Peter Korsgaard
2019-01-30 14:08     ` Arnout Vandecappelle
2019-02-05  1:25   ` Matthew Weber
2019-02-05  9:19     ` Patrick Havelange
2019-02-05  9:48       ` Peter Korsgaard
2019-02-05 16:01         ` [Buildroot] [External] " Matthew Weber
2019-01-29  9:39 ` [Buildroot] [PATCH v7 4/8] mariadb: use host-openssl from buildroot-system Patrick Havelange
2019-02-04  9:27   ` Peter Korsgaard
2019-02-04 20:10     ` Peter Seiderer [this message]
2019-02-04 20:22       ` Peter Korsgaard
2019-01-29  9:39 ` [Buildroot] [PATCH v7 5/8] Introduce the variable BR2_TOOLCHAIN_HAS_UCONTEXT Patrick Havelange
2019-02-04 10:03   ` Peter Korsgaard
2019-01-29  9:39 ` [Buildroot] [PATCH v7 6/8] package/thrift: bump to 0.12.0, add support for openssl 1.1.x Patrick Havelange
2019-01-29  9:39 ` [Buildroot] [PATCH v7 7/8] package/rtmpdump: Fix compilation issues with " Patrick Havelange
2019-02-04 10:06   ` Peter Korsgaard
2019-02-04 18:15     ` Arnout Vandecappelle
2019-02-04 20:11       ` Peter Korsgaard
2019-01-29  9:39 ` [Buildroot] [PATCH v7 8/8] libopenssl: bump version to 1.1.1a Patrick Havelange
2019-02-04 20:57   ` Peter Korsgaard
2019-02-04 22:12     ` Peter Korsgaard
2019-02-04 22:43       ` Vadim Kochan
2019-01-29 15:42 ` [Buildroot] [PATCH v7 1/8] package/libshout: Add support for openssl 1.1.x Peter Korsgaard

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20190204211037.6f5df78e@gmx.net \
    --to=ps.report@gmx.net \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox