[debian-mysql] Bug#1006531: mariadb-10.6: FTBFS on hurd-i386: undefined reference to misc functions and files
Otto Kekäläinen
otto at debian.org
Sat Feb 26 23:28:22 GMT 2022
Source: mariadb-10.6
Version: 1:10.6.7-1
Tags: confirmed, help, ftbfs
User: debian-hurd at lists.debian.org
Usertags: hurd
Builds on hurd-i386 currently fail due to unknown reasons. See log at
https://buildd.debian.org/status/fetch.php?pkg=mariadb-10.6&arch=hurd-i386&ver=1%3A10.6.7-2%7Eexp1&stamp=1645912176&raw=0
There are a lot of misc errors, but they don't make much sense to me:
CheckFunctionExists.c:17: undefined reference to `crypt'
CheckFunctionExists.c:17: undefined reference to `floor'
src.cxx:4:29: error: ‘SO_PEERID’ was not declared in this scope
src.cxx:3:1: note: ‘NULL’ is defined in header ‘<cstddef>’; did you
forget to ‘#include <cstddef>’?
src.cxx:1:10: fatal error: ucred.h: No such file or directory
src.c:2:10: fatal error: pthread_np.h: No such file or directory
Example of error in full context:
Run Build Command(s):/usr/bin/make -f Makefile cmTC_49a19/fast &&
make[2]: Entering directory
'/<<PKGBUILDDIR>>/builddir/CMakeFiles/CMakeTmp'
/usr/bin/make -f CMakeFiles/cmTC_49a19.dir/build.make
CMakeFiles/cmTC_49a19.dir/build
make[3]: Entering directory '/<<PKGBUILDDIR>>/builddir/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_49a19.dir/src.c.o
/usr/bin/cc -DHAVE_PTHREAD_GETTHREADID_NP -DPACKAGE=test
-D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE=1 -D_LARGEFILE_SOURCE
-D_LARGE_FILES -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS
-D__STDC_LIMIT_MACROS -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=.
-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 -o
CMakeFiles/cmTC_49a19.dir/src.c.o -c
/<<PKGBUILDDIR>>/builddir/CMakeFiles/CMakeTmp/src.c
/<<PKGBUILDDIR>>/builddir/CMakeFiles/CMakeTmp/src.c:2:10: fatal error:
pthread_np.h: No such file or directory
2 | #include <pthread_np.h>
| ^~~~~~~~~~~~~~
compilation terminated.
CMakeFiles/cmTC_49a19.dir/build.make:77: recipe for target
'CMakeFiles/cmTC_49a19.dir/src.c.o' failed
make[3]: *** [CMakeFiles/cmTC_49a19.dir/src.c.o] Error 1
make[3]: Leaving directory '/<<PKGBUILDDIR>>/builddir/CMakeFiles/CMakeTmp'
Makefile:127: recipe for target 'cmTC_49a19/fast' failed
make[2]: *** [cmTC_49a19/fast] Error 2
make[2]: Leaving directory '/<<PKGBUILDDIR>>/builddir/CMakeFiles/CMakeTmp'
Please help!
Build history shows that at least MariaDB 10.3 used to build back in 2020:
https://buildd.debian.org/status/logs.php?pkg=mariadb-10.3&arch=hurd-i386
This seems to be quite similar to Bug#1006528 for sh4 and Bug#1006530
for x32, so perhaps
fixing this issue could solve three archs at the same time.
More information about the pkg-mysql-maint
mailing list