[debian-mysql] Bug#971824:

Otto Kekäläinen otto at debian.org
Thu Oct 8 07:12:00 BST 2020


Source: mariadb-10.5
Version: 1:10.5.5-3~exp1
Severity: important
Tags: upstream
Justification: fails to build from source (but built successfully in the past)
User: debian-superh at lists.debian.org
Usertags: sh4

The MariaDB Server package was building fine on sh4 in version
1:10.5.5-2. However the next upload of 1:10.5.5-3~exp1 regressed it.

See https://buildd.debian.org/status/logs.php?pkg=mariadb-10.5&arch=sh4

Diff of build log configuration step that most likely shows the root cause:

@@ -60,7 +60,7 @@
 -- Looking for io_queue_init in aio - found
 -- Could NOT find Git (missing: GIT_EXECUTABLE)
 -- MariaDB 10.5.5
+-- Packaging as: mariadb-3~exp2-10.5.5-Linux-sh4
--- Packaging as: mariadb-2-10.5.5-Linux-sh4
 -- Performing Test HAVE_VISIBILITY_HIDDEN
 -- Performing Test HAVE_VISIBILITY_HIDDEN - Success
 -- Performing Test have_C__fno_omit_frame_pointer
@@ -124,10 +124,12 @@
 -- Looking for pthread.h - found
 -- Performing Test CMAKE_HAVE_LIBC_PTHREAD
 -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed
+-- Check if compiler accepts -pthread
+-- Check if compiler accepts -pthread - yes
--- Looking for pthread_create in pthreads
--- Looking for pthread_create in pthreads - not found
--- Looking for pthread_create in pthread
--- Looking for pthread_create in pthread - found
 -- Found Threads: TRUE
+CMake Warning (dev) at configure.cmake:156 (OPTION):
-CMake Warning (dev) at configure.cmake:155 (OPTION):
   Policy CMP0077 is not set: option() honors normal variables.  Run "cmake
   --help-policy CMP0077" for policy details.  Use the cmake_policy command to
   set the policy and suppress this warning.
@@ -325,8 +327,7 @@
 -- Looking for fchmod
 -- Looking for fchmod - found
 -- Looking for fcntl
-CMake Error: Generator: execution of make failed. Make command was:
/usr/bin/gmake cmTC_9d153/fast &&
+-- Looking for fcntl - not found
--- Looking for fcntl - found
 -- Looking for fdatasync
 -- Looking for fdatasync - found
 -- Looking for fdatasync
@@ -584,8 +585,7 @@
 -- Performing Test HAVE_SOCKET_SIZE_T_AS_socklen_t
 -- Performing Test HAVE_SOCKET_SIZE_T_AS_socklen_t - Success
 -- Performing Test HAVE_PTHREAD_YIELD_ZERO_ARG
-CMake Error: Generator: execution of make failed. Make command was:
/usr/bin/gmake cmTC_1a393/fast &&
+-- Performing Test HAVE_PTHREAD_YIELD_ZERO_ARG - Failed
--- Performing Test HAVE_PTHREAD_YIELD_ZERO_ARG - Success
 -- Checking stack direction : -1
 -- Performing Test SIGNAL_RETURN_TYPE_IS_VOID
 -- Performing Test SIGNAL_RETURN_TYPE_IS_VOID - Success
@@ -609,10 +609,12 @@
 -- Performing Test HAVE_CXX_NEW - Success
 -- Performing Test HAVE_SOLARIS_STYLE_GETHOST
 -- Performing Test HAVE_SOLARIS_STYLE_GETHOST - Failed
+-- Performing Test HAVE_GCC_C11_ATOMICS_WITH_LIBATOMIC
+-- Performing Test HAVE_GCC_C11_ATOMICS_WITH_LIBATOMIC - Success
--- Performing Test HAVE_ATOMIC_ADD_FETCH
--- Performing Test HAVE_ATOMIC_ADD_FETCH - Failed
--- Performing Test HAVE_ATOMIC_ADD_FETCH_WITH_LIBATOMIC
--- Performing Test HAVE_ATOMIC_ADD_FETCH_WITH_LIBATOMIC - Success
 -- Performing Test HAVE_GCC_C11_ATOMICS_WITHOUT_LIBATOMIC
+-- Performing Test HAVE_GCC_C11_ATOMICS_WITHOUT_LIBATOMIC - Failed
--- Performing Test HAVE_GCC_C11_ATOMICS_WITHOUT_LIBATOMIC - Success
 -- Looking for include files valgrind/memcheck.h, valgrind/valgrind.h
 -- Looking for include files valgrind/memcheck.h, valgrind/valgrind.h
- not found
 -- Looking for netinet/in6.h


Changes in the upload that regressed:

https://salsa.debian.org/mariadb-team/mariadb-10.5/-/compare/681999a8a682f7492e1a7334d83c10f294a8cd7d...7d991a84cb898e84d70eaa9ceed1a80b86230f1a

All other builds are OK, only this sh4 has a small issue and we are
very close to have MariaDB 10.5 compile on 100% of the official and
unofficial Debian platforms, which is very cool!

Please advise what you suggest should be done.

Merge requests at https://salsa.debian.org/mariadb-team/mariadb-10.5
are also very welcome.



More information about the pkg-mysql-maint mailing list