[debian-mysql] Bug#1032053: mariadb: FTBFS on sh4:

Otto Kekäläinen otto at debian.org
Mon Feb 27 06:33:16 GMT 2023


Source: mariadb
Version: 1:10.11.2-1
Tags: help, ftbfs
User: debian-superh at lists.debian.org
Usertags: sh4

Several previous builds on sh4 passed on both MariaDB 10.11 and 10.6.
Recent example 1:10.11.1-4:
https://buildd.debian.org/status/fetch.php?pkg=mariadb&arch=sh4&ver=1%3A10.11.1-3&stamp=1675695708&raw=0

Most recent version 1:10.11.2-1 however fails despite several retries:
https://buildd.debian.org/status/fetch.php?pkg=mariadb&arch=sh4&ver=1%3A10.11.2-1&stamp=1677371742&raw=0

The build log looks quite different from previous runs. The latest one
is filled with errors like:

./builddir/CMakeFiles/CMakeScratch/TryCompile-vbob7S/./builddir/CMakeFiles/CMakeScratch/TryCompile-vbob7S/CheckFunctionExists.c:22:
undefined reference to `floor'
collect2: error: ld returned 1 exit status

/usr/bin/cc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=.
-specs=/usr/share/dpkg/pie-compile.specs -fstack-protector-strong
-Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2
-Wdate-time -D_FORTIFY_SOURCE=2 -pie -fPIC -fstack-protector
--param=ssp-buffer-size=4 -DCHECK_FUNCTION_EXISTS=crypt
-specs=/usr/share/dpkg/pie-link.specs -Wl,-z,relro -Wl,-z,now
-rdynamic CMakeFiles/cmTC_5d0a9.dir/CheckFunctionExists.c.o -o
cmTC_5d0a9
/usr/bin/ld: CMakeFiles/cmTC_5d0a9.dir/CheckFunctionExists.c.o: in
function `main':
./builddir/CMakeFiles/CMakeScratch/TryCompile-PjQ7gO/./builddir/CMakeFiles/CMakeScratch/TryCompile-PjQ7gO/CheckFunctionExists.c:22:
undefined reference to `crypt'
collect2: error: ld returned 1 exit sta

/<<PKGBUILDDIR>>/builddir/CMakeFiles/CMakeScratch/TryCompile-lnltIo/HAVE_IEEEFP_H.c:2:10:
fatal error: ieeefp.h: No such file or directory
    2 | #include <ieeefp.h>
      |          ^~~~~~~~~~
compilation terminated.


I also noticed the configure stage has errors like:

-- Looking for mmap64 - not found
CMake Error: Generator: execution of make failed. Make command was:
/usr/bin/gmake -f Makefile cmTC_fa600/fast &&
-- Looking for lzma_easy_encoder in /usr/lib/sh4-linux-gnu/liblzma.so
- not found
CMake Error: Generator: execution of make failed. Make command was:
/usr/bin/gmake -f Makefile cmTC_a81fc/fast &&

While comparing the build logs I noticed that a previous passing build
installed 'libmpdec3' as a build dependency. Also in successful log
configure includes passing '-- Looking for mmap64 - found'.



More information about the pkg-mysql-maint mailing list