[debian-mysql] Bug#1029165: mariadb: failed to cross-compile

Otto Kekäläinen otto at debian.org
Wed Jan 18 18:26:08 GMT 2023


Source: mariadb
Version: 1:10.11.1-1
Tags: help

Hi!

I tested to cross-compile MariaDB 10.11.1-1 on
http://crossqa.debian.net/src/mariadb on multiple architectures but
they all failed with:

[  1%] Linking C executable uca-dump
cd /<<PKGBUILDDIR>>/builddir/strings && /usr/bin/cmake -E
cmake_link_script CMakeFiles/uca-dump.dir/link.txt --verbose=1
/usr/bin/x86_64-linux-gnu-gcc -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 -O2 -g -static-libgcc
-fno-omit-frame-pointer -fno-strict-aliasing  -Wno-uninitialized
-fno-omit-frame-pointer -D_FORTIFY_SOURCE=2 -DDBUG_OFF -Wall
-Wdeclaration-after-statement -Wenum-compare -Wenum-conversion -Wextra
-Wformat-security -Wmissing-braces -Wno-format-truncation
-Wno-init-self -Wno-nonnull-compare -Wno-unused-parameter -Wvla
-Wwrite-strings -Wl,-z,relro -Wl,-z,now -Wl,-z,relro,-z,now
"CMakeFiles/uca-dump.dir/uca-dump.c.o" -o uca-dump
make[4]: Leaving directory '/<<PKGBUILDDIR>>/builddir'
[  1%] Built target uca-dump
/usr/bin/make  -f
strings/CMakeFiles/GenUnicodeDataSource.dir/build.make
strings/CMakeFiles/GenUnicodeDataSource.dir/depend
make[4]: Entering directory '/<<PKGBUILDDIR>>/builddir'
cd /<<PKGBUILDDIR>>/builddir && /usr/bin/cmake -E cmake_depends "Unix
Makefiles" /<<PKGBUILDDIR>> /<<PKGBUILDDIR>>/strings
/<<PKGBUILDDIR>>/builddir /<<PKGBUILDDIR>>/builddir/strings
/<<PKGBUILDDIR>>/builddir/strings/CMakeFiles/GenUnicodeDataSource.dir/DependInfo.cmake
--color=
make[4]: Leaving directory '/<<PKGBUILDDIR>>/builddir'
/usr/bin/make  -f
strings/CMakeFiles/GenUnicodeDataSource.dir/build.make
strings/CMakeFiles/GenUnicodeDataSource.dir/build
make[4]: Entering directory '/<<PKGBUILDDIR>>/builddir'
[  1%] Generating ctype-uca1400data.h
cd /<<PKGBUILDDIR>>/builddir/strings && uca-dump --name-prefix=uca1400
--levels=3 /<<PKGBUILDDIR>>/mysql-test/std_data/unicode/allkeys1400.txt
> ctype-uca1400data.h
/bin/sh: 1: uca-dump: not found

Example: http://crossqa.debian.net/build/mariadb_1:10.11.1-1_amd64_20230117013022.log


Contributions to fix this welcome!

https://salsa.debian.org/mariadb-team/mariadb-server/-/wikis/Contributing-to-MariaDB-packaging-in-Debian



More information about the pkg-mysql-maint mailing list