Description:
-DWITH_SSL option is hardcoded in debian/rules, so package rebuild has failed because of embedded build host path.
Here is the last result of debuild.
--
Wrong option or path for WITH_SSL=/export/home/pb2/build/sb_0-36131509-1569568392.28/dep2.
Make sure you have specified a supported SSL version.
Valid options are :
system (use the OS openssl library),
yes (synonym for system),
</path/to/custom/openssl/installation>
CMake Error at cmake/ssl.cmake:66 (MESSAGE):
Please install the appropriate openssl developer package.
Call Stack (most recent call first):
cmake/ssl.cmake:265 (FATAL_SSL_NOT_FOUND_ERROR)
CMakeLists.txt:573 (MYSQL_CHECK_SSL)
-- Configuring incomplete, errors occurred!
This is caused by the following line:
override_dh_auto_configure:
@echo "RULES.$@"
mkdir debug && cd debug && \
cmake .. \
-DWITH_BOOST=/usr/global/share -DWITH_GMOCK=/usr/global/share \
-DBUILD_CONFIG=mysql_release \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=Debug \
-DINSTALL_DOCDIR=share/mysql/docs \
-DINSTALL_DOCREADMEDIR=share/mysql \
-DINSTALL_INCLUDEDIR=include/mysql \
-DINSTALL_INFODIR=share/mysql/docs \
-DINSTALL_LIBDIR=lib/$(DEB_HOST_MULTIARCH) \
-DINSTALL_MANDIR=share/man \
-DINSTALL_MYSQLSHAREDIR=share/mysql \
-DINSTALL_MYSQLTESTDIR=lib/mysql-test \
-DINSTALL_PLUGINDIR=lib/mysql/plugin \
-DINSTALL_SBINDIR=sbin \
-DINSTALL_SUPPORTFILESDIR=share/mysql \
-DSYSCONFDIR=/etc/mysql \
-DMYSQL_UNIX_ADDR=/var/run/mysqld/mysqld.sock \
-DWITH_SSL=/export/home/pb2/build/sb_0-36131509-1569568392.28/dep2 \
-DWITH_INNODB_MEMCACHED=1 \
-DWITH_MECAB=system \
-DWITH_NUMA=ON \
-DCOMPILATION_COMMENT="MySQL Community Server (GPL)" \
-DINSTALL_LAYOUT=DEB \
-DDEB_PRODUCT=community \
How to repeat:
$ apt source mysql-community-server
$ cd mysql-community-5.7.28
$ vi debian/rules (Enable -DDOWNLOAD_BOOST=1)
$ debuild
Suggested fix:
Just remove -DWITH_SSL=/export/home/pb2/build/sb_0-36131509-1569568392.28/dep2 or fix to appropriate path.
Description: -DWITH_SSL option is hardcoded in debian/rules, so package rebuild has failed because of embedded build host path. Here is the last result of debuild. -- Wrong option or path for WITH_SSL=/export/home/pb2/build/sb_0-36131509-1569568392.28/dep2. Make sure you have specified a supported SSL version. Valid options are : system (use the OS openssl library), yes (synonym for system), </path/to/custom/openssl/installation> CMake Error at cmake/ssl.cmake:66 (MESSAGE): Please install the appropriate openssl developer package. Call Stack (most recent call first): cmake/ssl.cmake:265 (FATAL_SSL_NOT_FOUND_ERROR) CMakeLists.txt:573 (MYSQL_CHECK_SSL) -- Configuring incomplete, errors occurred! This is caused by the following line: override_dh_auto_configure: @echo "RULES.$@" mkdir debug && cd debug && \ cmake .. \ -DWITH_BOOST=/usr/global/share -DWITH_GMOCK=/usr/global/share \ -DBUILD_CONFIG=mysql_release \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_BUILD_TYPE=Debug \ -DINSTALL_DOCDIR=share/mysql/docs \ -DINSTALL_DOCREADMEDIR=share/mysql \ -DINSTALL_INCLUDEDIR=include/mysql \ -DINSTALL_INFODIR=share/mysql/docs \ -DINSTALL_LIBDIR=lib/$(DEB_HOST_MULTIARCH) \ -DINSTALL_MANDIR=share/man \ -DINSTALL_MYSQLSHAREDIR=share/mysql \ -DINSTALL_MYSQLTESTDIR=lib/mysql-test \ -DINSTALL_PLUGINDIR=lib/mysql/plugin \ -DINSTALL_SBINDIR=sbin \ -DINSTALL_SUPPORTFILESDIR=share/mysql \ -DSYSCONFDIR=/etc/mysql \ -DMYSQL_UNIX_ADDR=/var/run/mysqld/mysqld.sock \ -DWITH_SSL=/export/home/pb2/build/sb_0-36131509-1569568392.28/dep2 \ -DWITH_INNODB_MEMCACHED=1 \ -DWITH_MECAB=system \ -DWITH_NUMA=ON \ -DCOMPILATION_COMMENT="MySQL Community Server (GPL)" \ -DINSTALL_LAYOUT=DEB \ -DDEB_PRODUCT=community \ How to repeat: $ apt source mysql-community-server $ cd mysql-community-5.7.28 $ vi debian/rules (Enable -DDOWNLOAD_BOOST=1) $ debuild Suggested fix: Just remove -DWITH_SSL=/export/home/pb2/build/sb_0-36131509-1569568392.28/dep2 or fix to appropriate path.