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 v5 3/4] mariadb: use host-openssl from buildroot-system
Date: Thu, 17 Jan 2019 19:16:07 +0100	[thread overview]
Message-ID: <20190117181608.12644-3-ps.report@gmx.net> (raw)
In-Reply-To: <20190117181608.12644-1-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:

  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>
---
Note:
  - WITH_SSL related bug report, see [1]

Changes v4 -> v5:
  - new patch (suggested by Ryan Coe)

[1] https://jira.mariadb.org/browse/MDEV-16014
---
 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
 
 # Some helpers must be compiled for host in order to crosscompile mariadb for
 # the target. They are then included by import_executables.cmake which is
-- 
2.20.1

  parent reply	other threads:[~2019-01-17 18:16 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-01-17 18:16 [Buildroot] [PATCH v5 1/4] libopenssl: bump version to 1.1.1a Peter Seiderer
2019-01-17 18:16 ` [Buildroot] [PATCH v5 2/4] freeswitch: bump to git master 8f10ae54a18a19fc6ed938e4f662bd218ba54b5e Peter Seiderer
2019-01-17 18:16 ` Peter Seiderer [this message]
2019-01-17 19:39   ` [Buildroot] [PATCH v5 3/4] mariadb: use host-openssl from buildroot-system Ryan Coe
2019-01-17 18:16 ` [Buildroot] [PATCH v5 4/4] package/pound: Fix build with OpenSSL 1.1.x Peter Seiderer
2019-01-17 19:39 ` [Buildroot] [PATCH v5 1/4] libopenssl: bump version to 1.1.1a Ryan Coe
2019-01-17 23:28   ` Vadim Kochan
2019-01-18  0:16   ` Vadim Kochan
2019-01-18 11:27 ` Patrick Havelange
2019-01-18 11:49   ` Vadim Kochan
2019-01-18 11:48     ` Patrick Havelange
2019-01-18 15:30       ` Vadim Kochan
2019-01-18 16:01       ` Vadim Kochan
2019-01-21 10:31         ` Patrick Havelange
2019-01-21 11:32           ` Vadim Kochan
2019-01-22 11:33             ` Patrick Havelange
2019-01-23  9:38               ` Patrick Havelange

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=20190117181608.12644-3-ps.report@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