The commit e2c59de in git repository added a check for old BSD pseudo terminals. Looks like the check added was inverted, instead of: #if __LINUX_KERNEL_VERSION >= 131443 should be: #if __LINUX_KERNEL_VERSION < 131443 at sysdeps/unix/sysv/linux/ptsname.c:131 Also may be the MASTER_P macro should be revisited too and changed accordingly kernel version?
Fixed upstream.