mariadb: FTBFS on hurd-i386: undefined reference to misc functions and files requires...
authorDaniel Black <daniel@mariadb.org>
Mon, 29 Jan 2024 03:51:30 +0000 (19:51 -0800)
committerOtto Kekäläinen <otto@debian.org>
Wed, 19 Feb 2025 16:57:57 +0000 (08:57 -0800)
If it works, upstream welcome.

Hurd string from uname -m, "SYSTEM processor: i686-AT386" in mariadb
output. And wiki reference https://en.wikipedia.org/wiki/Uname

Origin: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1006531
Forwarded: no

Gbp-Pq: Name 1006531-hurd-no-auth-socket.patch

cmake/build_configurations/mysql_release.cmake

index 738722aa3affd68edf203deabe2fbf188f3fdbda..7d103679fe9e79734d2c310b16755933ce67c7f6 100644 (file)
@@ -118,7 +118,10 @@ ELSEIF(DEB)
   SET(WITH_ZLIB system CACHE STRING "")
   SET(WITH_LIBWRAP ON)
   SET(HAVE_EMBEDDED_PRIVILEGE_CONTROL ON)
-  SET(PLUGIN_AUTH_SOCKET YES CACHE STRING "")
+  # No hurd implementation
+  IF(NOT CMAKE_SYSTEM_PROCESSOR STREQUAL "i686-AT386")
+    SET(PLUGIN_AUTH_SOCKET YES CACHE STRING "")
+  ENDIF()
   SET(WITH_EMBEDDED_SERVER ON CACHE BOOL "")
   SET(WITH_PCRE system CACHE STRING "")
   SET(CLIENT_PLUGIN_ZSTD OFF)