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

Bug#329715: gcc-4.0_4.0.1-9(powerpc/unstable): fails to build without deprecated BSD ptys

Ryan Murray writes:
> A full build log can be found at:
> http://buildd.debian.org/build.php?arch=powerpc&pkg=gcc-4.0&ver=4.0.1-9
> /dev/pty* are only used with BSD style ptys.  Linux 2.6 has named them
> as CONFIG_LEGACY_PTYS, to be removed at some point.  Instead of looking for
> the old /dev/pty*, you should instead attempt to open a pty, and then close it,
> as this will also catch the case where /dev/pty* exists, but the support does
> not exist in the kernel.
> You could also look for a mounted /dev/pts filesystem and a valid /dev/ptmx,
> but I think opening a pty with the libC functions is probably best...

well, on m68k, a mounted /dev/pts didn't help. Could you provide such
a test?


Reply to: