[MDEV-8535] auth_socket does not build on hurd-i368 Created: 2015-07-23  Updated: 2023-02-05  Resolved: 2022-10-20

Status: Closed
Project: MariaDB Server
Component/s: Compiling, Platform Debian
Affects Version/s: 10.0
Fix Version/s: N/A

Type: Bug Priority: Trivial
Reporter: Otto Kekäläinen Assignee: Unassigned
Resolution: Won't Fix Votes: 0
Labels: foundation


 Description   

The Debian build system has for long reported, that building for architecture hurd-i386 failed. Some issues have been fixed (e.g. see MDEV-5706) but the builds still fail. Hurd is an official Debian platform,so it should be fixed.

Debian official builds overview: https://buildd.debian.org/status/package.php?p=mariadb-10.0&suite=sid

Hurd-i386 builds history: https://buildd.debian.org/status/logs.php?pkg=mariadb-10.0&arch=hurd-i386

At the moment the error is that auth_socket.so isn't built or at least that file is not found when the packages are assembled. For details see the log.



 Comments   
Comment by Elena Stepanova [ 2015-07-27 ]

Maybe hurd-i386 decided to take up serg's challenge in the auth_socket/CMakeLists.txt?

Comment by Otto Kekäläinen [ 2015-08-28 ]

serg Latest hurd-i386 fails now at an even earlier stage, complaining

cd /«PKGBUILDDIR»/builddir/mysql-test && perl ./mysql-test-run.pl --force --testcase-timeout=30 --suite-timeout=540
Logging: /«PKGBUILDDIR»/mysql-test/mysql-test-run.pl  --force --testcase-timeout=30 --suite-timeout=540
mysql-test-run: *** ERROR: Socket path '/tmp/G8edZmG43C' too long, it would be  truncated and thus not possible to use for connection to  MySQL Server. Set a shorter with --tmpdir=<path> option

https://buildd.debian.org/status/fetch.php?pkg=mariadb-10.0&arch=hurd-i386&ver=10.0.21-2&stamp=1440724526

Comment by Elena Stepanova [ 2016-08-21 ]

There can be many reasons for this error, it needs to be investigated on the spot.
Also, this problem cannot be solved in scope of MDEV-10604, because it's not related to test cases.

Comment by Otto Kekäläinen [ 2016-08-22 ]

At https://buildd.debian.org/status/package.php?p=mariadb-10.0 it is visible that hurd-i386 still fails. Clicking on the link in the column "Status" leads to the build log. Hurd-i386 is however not an official Debian platform, so this is a very low priority issue.

Comment by Otto Kekäläinen [ 2016-11-25 ]

This was fixed in Debian with patch: https://anonscm.debian.org/cgit/pkg-mysql/mariadb-10.0.git/tree/debian/patches/hurd_socket.patch

Please upstream the patch svoj and while at it, please check if there are other patches in https://anonscm.debian.org/cgit/pkg-mysql/mariadb-10.0.git/tree/debian/patches that are worthy of upstreaming as well.

Comment by Daniel Black [ 2022-10-20 ]

Without a hurd mechanism to actually do auth_socket, this can't be fixed.

-- Performing Test HAVE_PEERCRED
-- Performing Test HAVE_PEERCRED - Failed
-- Performing Test HAVE_SOCKPEERCRED
-- Performing Test HAVE_SOCKPEERCRED - Failed
-- Performing Test HAVE_XUCRED
-- Performing Test HAVE_XUCRED - Failed
-- Performing Test HAVE_UNPCBID
-- Performing Test HAVE_UNPCBID - Failed
-- Performing Test HAVE_GETPEERUCRED
-- Performing Test HAVE_GETPEERUCRED - Failed
-- Performing Test HAVE_GETPWUID_POSIX_FINAL
-- Performing Test HAVE_GETPWUID_POSIX_FINAL - Failed
-- Performing Test HAVE_PEERCRED_STRUCT
-- Performing Test HAVE_PEERCRED_STRUCT - Failed

ref: debian 10.6 build

While most other unix's have done something, hurd hasn't and we can't change that.

Comment by Otto Kekäläinen [ 2023-02-05 ]

This is a won't fix for upstream but open in Debian as https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1006531 in case some contributor wants to take a stab.

Generated at Thu Feb 08 07:27:53 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.