[debian-mysql] Help with MariaDB 10.5 cross-building?

Daniel Black daniel at mariadb.org
Fri Feb 17 08:14:18 GMT 2023


As uca-dump is a build helper it appears to have been built.

The dependencies in strings/CMakeLists.txt make it look like uca-dump
is a build dep of GenUnicodeDataSource via the ADD_CUSTOM_COMMAND
dependency.

It's on reporting  "not found" error rather than a "executate format
error" where I'd normally suggest the cross compilation appears to be
built without CMAKE_CROSS_COMPILING_EMULATOR
set.


On Fri, Feb 17, 2023 at 2:07 PM Otto Kekäläinen <otto at debian.org> wrote:
>
> Hello Helmut!
>
> Thanks for previously helping with MariaDB packaging and cross-building!
>
> Could you help investigate why MariaDB cross-builds[1] fail on this?
>
>
> /usr/bin/i686-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'
> [  2%] 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'
> [  2%] 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
>
>
> [1] http://crossqa.debian.net/src/mariadb



More information about the pkg-mysql-maint mailing list