Package: sbuild Version: 0.72.0-2 Severity: minor Dear Sbuild Maintainer,
I want to rebuild locally gcc-5 and gcc-4.9 in current stretch by Sbuild. I download the source of gcc-5 (Debian) and gcc-4.9 (from Ubuntu) and rebuild by "sbuild -d stretch gcc-xxxxx.dsc". But building failed with reporting: "The system has no more ptys. Ask your system administrator to create more." "while executing" "spawn ls" I gave a try in Sbuild with root user: # expect -c "spawn ls" It is OK to output "spawn ls" But when I type above command with normal user: sh-4.4$ expect -c "spawn ls" spawn ls The system has no more ptys. Ask your system administrator to create more. while executing "spawn ls" I check the /dev/pts, it was mounted in sbuild (with both root/normal users): sh-4.4$ mount | grep pts devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000) (stretch-amd64-sbuild)root@WFA256:/# mount | grep pts devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000) I have same issue in pbuilder if I rebuild gcc by: $ sudo pbuilder build gcc-xxxx.dsc But it is OK if rebuild with root user by sbuild $ sudo sbuild -d stretch gcc-xxxx.dsc Yes I can rebuild gcc by sudo sbuild, but I don't know what is happening in Sbuild with normal user. Any comment or advice would be very appreciated ! -- System Information: Debian Release: stretch/sid APT prefers testing APT policy: (500, 'testing') Architecture: amd64 (x86_64) Kernel: Linux 4.8.15-02.custom.slackware-sign (SMP w/4 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Init: systemd (via /run/systemd/system) Versions of packages sbuild depends on: ii adduser 3.115 ii apt-utils 1.4~beta2 ii libsbuild-perl 0.72.0-2 pn perl:any <none> Versions of packages sbuild recommends: ii debootstrap 1.0.87 Versions of packages sbuild suggests: pn autopkgtest <none> pn deborphan <none> ii wget 1.18-4 -- Configuration Files: /etc/sbuild/sbuild.conf changed: $build_arch_all = 1; $distribution = 'stretch'; 1; -- no debconf information