Details
-
Bug
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Fixed
-
5.5.38
-
Debian official build system
Description
MariaDB 5.5.35 has just been uploaded to Debian and the Debian build system reported, that building for architecture hurd-i386 failed.
Build overview: https://buildd.debian.org/status/package.php?p=mariadb-5.5
Hurd-i386 build overview: https://buildd.debian.org/status/logs.php?pkg=mariadb-5.5&arch=hurd-i386
Some error lines from the build log:
/«PKGBUILDDIR»/sql/threadpool_unix.cc:39:2: error: #error threadpool is not available on this platform
|
#error threadpool is not available on this platform
|
^
|
/«PKGBUILDDIR»/sql/threadpool_unix.cc: In function 'connection_t* listener(worker_thread_t*, thread_group_t*)':
|
/«PKGBUILDDIR»/sql/threadpool_unix.cc:641:5: error: 'native_event' was not declared in this scope
|
native_event ev[MAX_EVENTS];
|
^
|
/«PKGBUILDDIR»/sql/threadpool_unix.cc:641:18: error: expected ';' before 'ev'
|
native_event ev[MAX_EVENTS];
|
^
|
/«PKGBUILDDIR»/sql/threadpool_unix.cc:647:46: error: 'ev' was not declared in this scope
|
cnt = io_poll_wait(thread_group->pollfd, ev, MAX_EVENTS, -1);
|
Full log at:
https://buildd.debian.org/status/fetch.php?pkg=mariadb-5.5&arch=hurd-i386&ver=5.5.35-1&stamp=1392719557
Equivalent MySQL packages for hurd-i386 build successfully, are there maybe some patches to import to MariaDB?
https://buildd.debian.org/status/logs.php?pkg=mysql-5.5&&arch=hurd-i386
MySQL does not have the thread pool, so there are no patches that can be taken from MySQL.
I see things like than in other projects that add support for hurd:
-#if defined(FREEBSD) || defined(__linux__)
+#if defined(FREEBSD) || defined(__linux__) || defined(__gnu_hurd__)
or
-#if defined(__linux__)
+#if defined(__linux__) || defined(__GNU__)
Maybe we need something like that (or maybe it's much more complicated).
svoj,
Could you please take a quick look? If there is no easy fix, please change the 'Fix version' field.