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

Bug#849168: marked as done (pbuilder: Expect programe reported "no more ptys" and failed in rebuilding gcc with normal (non-root) user)



Your message dated Fri, 10 Mar 2017 12:34:07 +0000
with message-id <E1cmJkF-000HVi-Lz@fasolo.debian.org>
and subject line Bug#817236: fixed in debootstrap 1.0.89
has caused the Debian Bug report #817236,
regarding pbuilder: 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 owner@bugs.debian.org
immediately.)


-- 
817236: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=817236
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: pbuilder
Version: 0.227
Severity: minor

Dear Pbuilder Maintainers,

   I want to rebuild locally gcc-5 and gcc-4.9 in current stretch by pbuilder.

   
   I download the source of gcc-5 (Debian) and gcc-4.9 (from Ubuntu) and rebuild by "sudo pbuilder build 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 Pbuilder with root user:
   # expect -c "spawn ls"
   It is OK to output "spawn ls"

   But when I type above command with normal user:
   rleigh@WFA256:/$ expect -c "spawn ls"
                     spawn ls
                    The system has no more ptys.  Ask your system administrator to create more.
                    while executing
                    "spawn ls"
   rleigh@WFA256:/$

   I check the /dev/pts, it was mounted in Pbuilder (with both root/normal users):
       rleigh@WFA256:/$ mount | grep pts
                        none on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)

       root@WFA256:/# mount | grep pts
                        none on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
  

   I have same issue in sbuild if I rebuild gcc by:
      $ sbuild -d stretch gcc-xxxx.dsc

   But it is OK if rebuild with root user:
      $ sudo sbuild -d stretch gcc-xxxx.dsc


   Yes I can rebuild gcc by sudo sbuild, but I don't know what is happening in Pbuilder or Sbuild with normal user.
   Any comment or advice would be very appreciated !


   Thanks,
   Best Regards,
   Xiangyu LIU


-- 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 pbuilder depends on:
ii  debconf [debconf-2.0]  1.5.59
ii  debootstrap            1.0.87
ii  dpkg-dev               1.18.15
ii  wget                   1.18-4

Versions of packages pbuilder recommends:
ii  devscripts  2.16.10
ii  eatmydata   105-5
pn  fakeroot    <none>
ii  iproute2    4.8.0-1
ii  net-tools   1.60+git20150829.73cef8a-2.2
ii  sudo        1.8.17p1-2

Versions of packages pbuilder suggests:
pn  cowdancer   <none>
pn  gdebi-core  <none>

-- debconf information:
  pbuilder/rewrite: false
  pbuilder/nomirror:
  pbuilder/mirrorsite: http://ftp.jaist.ac.jp/pub/Linux/debian/

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

We believe that the bug you reported is fixed in the latest version of
debootstrap, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 817236@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Cyril Brulebois <kibi@debian.org> (supplier of updated debootstrap package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)


-----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 <debian-boot@lists.debian.org>
Changed-By: Cyril Brulebois <kibi@debian.org>
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 to: