regression on -current with mariadb-10.5.9
by nobodino from LinuxQuestions.org on (#5G4SQ)
mariadb doesn't build anymore on -current, here are the errors:
------------------------
-- Looking for include file linux/limits.h - found
-- Looking for include file signal.h
-- Looking for include file signal.h - found
-- Check size of socklen_t
-- Check size of socklen_t - failed
-- Looking for floor
-- Looking for floor - not found
-- Looking for pthread_getspecific
-- Looking for pthread_getspecific - not found
-- Looking for pthread_getspecific in pthread
-- Looking for pthread_getspecific in pthread - found
-- Looking for gethostbyname_r
-- Looking for gethostbyname_r - found
-- Looking for setsockopt
-- Looking for setsockopt - found
-- TLS library/version: OpenSSL 1.1.1k
-- SYSTEM_LIBS dl;m;pthread;pthread;dl;m;/usr/lib64/libssl.so;/usr/lib64/libcrypto.so
-- Found GSSAPI: -L/usr/lib64 -Wl,--enable-new-dtags -Wl,-rpath -Wl,/usr/lib64 -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err
-- SYSTEM processor: x86_64
CMake Error at libmariadb/cmake/ConnectorName.cmake:30 (ENDMACRO):
Flow control statements are not properly nested.
Call Stack (most recent call first):
libmariadb/CMakeLists.txt:423 (INCLUDE)
-- Configuring incomplete, errors occurred!
See also "/tmp/mariadb-10.5.9/build/CMakeFiles/CMakeOutput.log".
See also "/tmp/mariadb-10.5.9/build/CMakeFiles/CMakeError.log".
----------------------------
need to add the following sed line to mariadb.SlackBuild form BLFS:
sed -i 's/END()/ENDIF()/' libmariadb/cmake/ConnectorName.cmake


------------------------
-- Looking for include file linux/limits.h - found
-- Looking for include file signal.h
-- Looking for include file signal.h - found
-- Check size of socklen_t
-- Check size of socklen_t - failed
-- Looking for floor
-- Looking for floor - not found
-- Looking for pthread_getspecific
-- Looking for pthread_getspecific - not found
-- Looking for pthread_getspecific in pthread
-- Looking for pthread_getspecific in pthread - found
-- Looking for gethostbyname_r
-- Looking for gethostbyname_r - found
-- Looking for setsockopt
-- Looking for setsockopt - found
-- TLS library/version: OpenSSL 1.1.1k
-- SYSTEM_LIBS dl;m;pthread;pthread;dl;m;/usr/lib64/libssl.so;/usr/lib64/libcrypto.so
-- Found GSSAPI: -L/usr/lib64 -Wl,--enable-new-dtags -Wl,-rpath -Wl,/usr/lib64 -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err
-- SYSTEM processor: x86_64
CMake Error at libmariadb/cmake/ConnectorName.cmake:30 (ENDMACRO):
Flow control statements are not properly nested.
Call Stack (most recent call first):
libmariadb/CMakeLists.txt:423 (INCLUDE)
-- Configuring incomplete, errors occurred!
See also "/tmp/mariadb-10.5.9/build/CMakeFiles/CMakeOutput.log".
See also "/tmp/mariadb-10.5.9/build/CMakeFiles/CMakeError.log".
----------------------------
need to add the following sed line to mariadb.SlackBuild form BLFS:
sed -i 's/END()/ENDIF()/' libmariadb/cmake/ConnectorName.cmake