[debian-mysql] Bug#793358: mysql-5.6: FTBFS on HURD: error: 'RTLD_DEFAULT' undeclared
Andreas Beckmann
anbe at debian.org
Thu Jul 23 08:34:25 UTC 2015
Package: mysql-5.6
Version: 5.6.25-3
Severity: important
mysql-5.6 FTBFS on hurd while mysql-5.5 built fine:
https://buildd.debian.org/status/fetch.php?pkg=mysql-5.6&arch=hurd-i386&ver=5.6.25-3&stamp=1437606988
[...]
make[4]: Entering directory '/«PKGBUILDDIR»/builddir'
/usr/bin/cmake -E cmake_progress_report /«PKGBUILDDIR»/builddir/CMakeFiles
[ 82%] Building C object plugin/auth/CMakeFiles/auth.dir/dialog.c.o
cd /«PKGBUILDDIR»/builddir/plugin/auth && /usr/bin/i586-gnu-gcc -DHAVE_CONFIG_H -DMYSQL_DYNAMIC_PLUGIN -D_FORTIFY_SOURCE=2 -Dauth_EXPORTS -O2 -DBIG_JOINS=1 -fno-strict-aliasing -Wall -Wextra -Wformat-security -Wvla -Wwrite-strings -Wdeclaration-after-statement -O3 -g -fabi-version=2 -fno-omit-frame-pointer -fno-strict-aliasing -DDBUG_OFF -fPIC -I/«PKGBUILDDIR»/builddir/include -I/«PKGBUILDDIR»/include -I/«PKGBUILDDIR»/sql -I/«PKGBUILDDIR»/regex -I/«PKGBUILDDIR»/extra/yassl/include -I/«PKGBUILDDIR»/extra/yassl/taocrypt/include -o CMakeFiles/auth.dir/dialog.c.o -c /«PKGBUILDDIR»/plugin/auth/dialog.c
/«PKGBUILDDIR»/plugin/auth/dialog.c: In function 'init_dialog':
/«PKGBUILDDIR»/plugin/auth/dialog.c:317:20: error: 'RTLD_DEFAULT' undeclared (first use in this function)
void *sym= dlsym(RTLD_DEFAULT, "mysql_authentication_dialog_ask");
^
/«PKGBUILDDIR»/plugin/auth/dialog.c:317:20: note: each undeclared identifier is reported only once for each function it appears in
make[4]: *** [plugin/auth/CMakeFiles/auth.dir/dialog.c.o] Error 1
make[3]: *** [plugin/auth/CMakeFiles/auth.dir/all] Error 2
make[2]: *** [all] Error 2
make[1]: *** [build-stamp] Error 2
make: *** [build-arch] Error 2
dpkg-buildpackage: error: debian/rules build-arch gave error exit status 2
plugin/auth/CMakeFiles/auth.dir/build.make:57: recipe for target 'plugin/auth/CMakeFiles/auth.dir/dialog.c.o' failed
make[4]: Leaving directory '/«PKGBUILDDIR»/builddir'
CMakeFiles/Makefile2:2097: recipe for target 'plugin/auth/CMakeFiles/auth.dir/all' failed
make[3]: Leaving directory '/«PKGBUILDDIR»/builddir'
Makefile:149: recipe for target 'all' failed
make[2]: Leaving directory '/«PKGBUILDDIR»/builddir'
debian/rules:110: recipe for target 'build-stamp' failed
make[1]: Leaving directory '/«PKGBUILDDIR»'
debian/rules:238: recipe for target 'build-arch' failed
There may be a trivial fix for this found in mariadb:
https://github.com/MariaDB/server/commit/a117030
and the corresponding mariadb upstream bug:
https://mariadb.atlassian.net/browse/MDEV-8131
It would be good to get this fixed in order not to leave
the HURD without a mysql server after the 5.5 -> 5.6 transition.
Andreas
More information about the pkg-mysql-maint
mailing list