host-mariadb: add host-openssl dependency
PATCH 1/1 host-mariadb: add host-openssl dependency
On Fedora26, openssl 1.1.x is included by default. This causes build errors when building the host variant of mariadb. Adding host-openssl as a dependency fixes this issue.
--- package/mariadb/mariadb.mk | 3 +++ 1 file changed, 3 insertions(+)
package/mariadb/mariadb.mk +3 -0
@@ -22,6 +22,9 @@ MARIADB_DEPENDENCIES = \ libxml2 \ readline +HOST_MARIADB_DEPENDENCIES = \ + host-openssl + # We won't need unit tests MARIADB_CONF_OPTS += -DWITH_UNIT_TESTS=0
Signature · 1 line
2.13.3
PATCH 1/1 host-mariadb: add host-openssl dependency
Adam,
Quoted 14 lines · Adam Duskett
On Fedora26, openssl 1.1.x is included by default. This causes build errors when building the host variant of mariadb. Adding host-openssl as a dependency fixes this issue.
Signed-off-by Adam Duskett <[email protected]>--- package/mariadb/mariadb.mk | 3 +++ 1 file changed, 3 insertions(+)package/mariadb/mariadb.mk +0
-0
package/mariadb/mariadb.mk MARIADB_DEPENDENCIES = \ · line 30
Quoted 9 lines
package/mariadb/mariadb.mk +3
-0@@ -22,6 +22,9 @@ MARIADB_DEPENDENCIES = \ libxml2 \ readline +HOST_MARIADB_DEPENDENCIES = \ + host-openssl + # We won't need unit tests MARIADB_CONF_OPTS += -DWITH_UNIT_TESTS=0
PATCH 1/1 host-mariadb: add host-openssl dependency
In reply to Adam DuskettHello,
Quoted 5 lines · Adam Duskett
On Fedora26, openssl 1.1.x is included by default. This causes build errors when building the host variant of mariadb. Adding host-openssl as a dependency fixes this issue.
Signed-off-by Adam Duskett <[email protected]>
I don't think this is the correct fix. Indeed, host-mariadb builds just fine on a system where the OpenSSL headers/development files are *NOT* installed.
This means that host-mariadb does not require host-openssl, but uses OpenSSL if available. So the proper solution is to pass some option at configure time to tell host-mariadb to not attempt to use OpenSSL. Indeed, we are not really interested in having OpenSSL support in host-mariadb.
It apparently needs an SSL implementation, but has a small bundled one based on yassl. Can you try:
HOST_MARIADB_CONF_OPTS += -DWITH_SSL=bundled
and see if it fixes the problem for you ?
You can try to compare the build time of host-mariadb + host-openssl vs. host-maria-db + bundled SSL.
Best regards,
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons Embedded Linux and Kernel engineering http://free-electrons.com
PATCH 1/1 host-mariadb: add host-openssl dependency
Hello;
Quoted 13 lines · Thomas Petazzoni
Hello,
Quoted 5 lines · Adam Duskett
On Fedora26, openssl 1.1.x is included by default. This causes build errors when building the host variant of mariadb. Adding host-openssl as a dependency fixes this issue.
Signed-off-by Adam Duskett <[email protected]>I don't think this is the correct fix. Indeed, host-mariadb builds just fine on a system where the OpenSSL headers/development files are *NOT* installed.
Quoted 6 lines
This means that host-mariadb does not require host-openssl, but uses OpenSSL if available. So the proper solution is to pass some option at configure time to tell host-mariadb to not attempt to use OpenSSL. Indeed, we are not really interested in having OpenSSL support in host-mariadb.
True; what about if host-openssl is already selected?
Quoted 6 lines
It apparently needs an SSL implementation, but has a small bundled one based on yassl. Can you try:
HOST_MARIADB_CONF_OPTS+= -DWITH_SSL=bundledand see if it fixes the problem for you ?
This works and properly builds mariadb. That being said; should is there a way to check if host-openssl is already selected? Or does it not matter?
Quoted 11 lines
You can try to compare the build time of host-mariadb + host-openssl vs. host-maria-db + bundled SSL.
Best regards,
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com
PATCH 1/1 host-mariadb: add host-openssl dependency
Hello,
Quoted 8 lines · Adam Duskett
Quoted 6 lines
This means that host-mariadb does not require host-openssl, but uses OpenSSL if available. So the proper solution is to pass some option at configure time to tell host-mariadb to not attempt to use OpenSSL. Indeed, we are not really interested in having OpenSSL support in host-mariadb.
True; what about if host-openssl is already selected?
Quoted 8 lines
Quoted 6 lines
It apparently needs an SSL implementation, but has a small bundled one based on yassl. Can you try:
HOST_MARIADB_CONF_OPTS+= -DWITH_SSL=bundledand see if it fixes the problem for you ?
This works and properly builds mariadb. That being said; should is there a way to check if host-openssl is already selected? Or does it not matter?
We currently have no way to know if a host package is selected, because we don't have Config.in options for most host packages.
Best regards,
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons Embedded Linux and Kernel engineering http://free-electrons.com