[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#891812: util-linux: FTBFS on hurd-i386: calls pty_init_slave unconditionally



Source: util-linux
Version: 2.31.1-0.4
Severity: important
Tags: upstream
Justification: fails to build from source (but built successfully in the past)
User: debian-hurd@lists.debian.org
Usertags: hurd

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?

Thanks!

-- 
Aaron M. Ucko, KB1CJC (amu at alum.mit.edu, ucko at debian.org)
http://www.mit.edu/~amu/ | http://stuff.mit.edu/cgi/finger/?amu@monk.mit.edu


Reply to: