Bug#891812: util-linux: FTBFS on hurd-i386: calls pty_init_slave unconditionally
Justification: fails to build from source (but built successfully in the past)
Builds of util-linux for hurd-i386 (admittedly not a release
architecture) have been failing lately:
login-utils/su-common.c:1427:3: warning: implicit declaration of function 'pty_init_slave'; did you mean 'initstate'? [-Wimplicit-function-declaration]
./login-utils/su-common.c:1427: undefined reference to `pty_init_slave'
AFAICT, this call (and the corresponding if statement) should be
conditional on USE_PTY, as with the other pty_* calls. (USE_PTY
requires <sys/signalfd.h>, which the Hurd lacks.)
Could you please take a look?
Aaron M. Ucko, KB1CJC (amu at alum.mit.edu, ucko at debian.org)
http://www.mit.edu/~amu/ | http://firstname.lastname@example.org