Your message dated Sun, 1 Dec 2024 13:37:41 +0100
with message-id <[email protected]>
and subject line Re: Bug#849169: Bug#849168: pbuilder: Expect programe reported 
"no more ptys" and failed in rebuilding gcc with normal (non-root) user
has caused the Debian Bug report #849169,
regarding sbuild: Expect programe reported "no more ptys" and failed in 
rebuilding gcc with normal (non-root) user
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
849169: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=849169
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
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

--- End Message ---
--- Begin Message ---
Source: debootstrap
Source-Version: 1.0.89

On Fri, Dec 23, 2016 at 03:52:23PM +0000, James Clarke wrote:
> >> Anyway, I suggest you also merge the build bug with the debootstrap one.
> > 
> > Can you be more precise of what you want me to merge?
> 
> # reassign 849169 debootstrap
> # forcemerge 817236 849169

817236 was closed in 2017 with this resolution, so lets also close
849169:

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Fri, 10 Mar 2017 13:10:56 +0100
Source: debootstrap
Binary: debootstrap debootstrap-udeb
Architecture: source
Version: 1.0.89
Distribution: unstable
Urgency: medium
Maintainer: Debian Install System Team <[email protected]>
Changed-By: Cyril Brulebois <[email protected]>
Description:
 debootstrap - Bootstrap a basic Debian system
 debootstrap-udeb - Bootstrap the Debian system (udeb)
Closes: 817236
Changes:
 debootstrap (1.0.89) unstable; urgency=medium
 .
   [ Simon McVittie ]
   * Instead of creating a /dev/ptmx → pts/ptmx symlink unconditionally,
     try mknod with “c 5 2” parameters first, and fall back to a symlink
     only if it fails. This should help with various tools like pbuilder,
     sbuild, and schroot (Closes: #817236).
   * Add autopkgtest support to test various scenarios.
 .
   [ Cyril Brulebois ]
   * Uniformize COMPONENTS/USE_COMPONENTS handling.
Checksums-Sha1:
 facb7cf3be33eb7bb788d8769205ba8e79614137 1800 debootstrap_1.0.89.dsc
 17688a4b9e56a91d416d3ce2c75c432e63e54b51 69020 debootstrap_1.0.89.tar.gz
Checksums-Sha256:
 9e10bddc0ce96aa3c26228116446b1d6e7e87fac653f630b575183c669ef384a 1800 
debootstrap_1.0.89.dsc
 3fde1e34eae8744d802ff4f4ba5464b8c8829c0afe9d394c8a536cfdaca23885 69020 
debootstrap_1.0.89.tar.gz
Files:
 81d989f41061819e87ecda733c057012 1800 admin extra debootstrap_1.0.89.dsc
 cd1d713543ad9238a1431f83c5622f68 69020 admin extra debootstrap_1.0.89.tar.gz

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBCAAGBQJYwpgNAAoJEP+RSvDCs1Ugbd0P/RhR6+IIqjR/MrmF3HxKnZGc
Zso1wUX+SeHYno4reolRKyx2wNIlNDGiILwtjvlI6Y5oiigSkL5pJWtmfgFijBbT
n1pjKzyAOy26UOLyi1sGezRt2b3IrTwWNxhv75x9WZytnsBasa1gtIFkrHq0ZW+T
mUiV5h0UjQ6Z7mPNVt19k7vEdDFAcd8U/zCL72gm5oDMaDgClQcRzLeU0IQyroZy
h+SLWS9zn0Tz7LPsBQn5f07VbEu7TVvYAi3/5FTD3Ip/1/FlCwq8EbltCs5cnQPk
4ICmqWrapGnoZnAlpKveSDWSx3xAxhfDsXtI0L6tWcFXXpfVaYtgIm9wmP//dNcs
tKtPb9Zm1Blv+M9uk3WTak3FZQgs+Z9PP8/DKMz1ZwJOjJPb4Ef7bA+NEQWqF1Je
uXn4MumRKjHgqD1MeMd1j+Vemd0FDzFyWPW7Aeij5G30G++CySzOE5O3YwGDKAQw
BMAr2rvyY2Wf4ELNi8d8atQgU0zeA9fuzRlkfo11vnedv/TedG8Ivn5/rcsWopI+
nHpIeaYTLo/UZif1IvPliKrbxeULWFumcG5HTK+Yno6h235zSWhdkC45F9sJL5B/
guy4Vysc+qR/VlP4efdoZrpoXeb7dg/q+Pprk0UoHEiNb21d5m6LVoPZCkki1LFq
QGiJTGS7oWEv5HbEdKOK
=x4YR
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to