Subject: bug#59616: Texinfo 6.7 test hangs on i586-gnu (GNU/Hurd)

From: Ludovic Courtès <[email-masked]>
Date: Sun, 27 Nov 2022 23:34:21 +0100

Hi,

Ludovic Courtès <[email-masked]> skribis:

> The childhurd only has this:
>
> ludo@childhurd /tmp/guix-build-texinfo-6.7.drv-0/texinfo-6.7/info$ ls -l /dev/ptyp*
> crw--w---- 1 root tty  0, 0 Nov 26 16:05 /dev/ptyp0
> crw--w---- 1 ludo tty  0, 0 Nov 26 16:05 /dev/ptyp1
> crw------- 1 root root 0, 0 Nov 26 16:05 /dev/ptyp2

Part of the solution is to create more of them in hurd-boot.scm.

But there’s a second problem: we need to build glibc’s ‘pt_chown’ setuid
program (with ‘--enable-pt_chown’) so that ‘grantpt’ can change the
owner of /dev/ttyp*.

At least that’s how it’s done on Debian GNU/Hurd, but I’m surprised
/hurd/term (for pty-slave) doesn’t just return the right UID on
‘io_stat’.

Ludo’.