Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 671840 - dev-util/redo-0.31 - .../work/redo-redo-0.31/builder.py: IOError: [Errno 6] No such device or address: '/dev/tty'
Summary: dev-util/redo-0.31 - .../work/redo-redo-0.31/builder.py: IOError: [Errno 6] N...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-11-25 09:49 UTC by Toralf Förster
Modified: 2022-06-23 05:35 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge-info.txt (emerge-info.txt,17.92 KB, text/plain)
2018-11-25 09:49 UTC, Toralf Förster
Details
dev-util:redo-0.31:20181124-230329.log (dev-util:redo-0.31:20181124-230329.log,19.51 KB, text/plain)
2018-11-25 09:49 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,290.26 KB, text/plain)
2018-11-25 09:49 UTC, Toralf Förster
Details
environment (environment,89.51 KB, text/plain)
2018-11-25 09:50 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,19.83 KB, application/x-bzip)
2018-11-25 09:50 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,21.65 KB, application/x-bzip)
2018-11-25 09:50 UTC, Toralf Förster
Details
emerge-info.txt (emerge-info.txt,15.41 KB, text/plain)
2019-01-06 19:38 UTC, Toralf Förster
Details
dev-util:redo-0.41:20190106-191301.log (dev-util:redo-0.41:20190106-191301.log,3.10 KB, text/plain)
2019-01-06 19:38 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,161.12 KB, text/plain)
2019-01-06 19:38 UTC, Toralf Förster
Details
environment (environment,87.30 KB, text/plain)
2019-01-06 19:38 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,13.20 KB, application/x-bzip)
2019-01-06 19:38 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,20.45 KB, application/x-bzip)
2019-01-06 19:38 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2018-11-25 09:49:48 UTC
  File "/var/tmp/portage/dev-util/redo-0.31/work/redo-redo-0.31/builder.py", line 94, in await_log_reader
    out = open('/dev/tty', 'w')
IOError: [Errno 6] No such device or address: '/dev/tty'
 * 
 * If you need support, post the output of `emerge --info '=dev-util/redo-0.31::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=dev-util/redo-0.31::gentoo'`.

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.0_libressl_20181118-211953

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-7.3.1
 [2] x86_64-pc-linux-gnu-8.2.0 *

Available Python interpreters, in order of preference:
  [1]   python3.7
  [2]   python3.6
  [3]   python2.7 (fallback)
Available Ruby profiles:
  [1]   ruby23 (with Rubygems)
  [2]   ruby24 (with Rubygems) *
  [3]   ruby25 (with Rubygems)
Available Rust versions:
  [1]   rust-1.30.1 *



emerge -qpvO dev-util/redo
[ebuild     U ] dev-util/redo-0.31 [0.21] PYTHON_TARGETS="python2_7"
Comment 1 Toralf Förster gentoo-dev 2018-11-25 09:49:51 UTC
Created attachment 556156 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2018-11-25 09:49:54 UTC
Created attachment 556158 [details]
dev-util:redo-0.31:20181124-230329.log
Comment 3 Toralf Förster gentoo-dev 2018-11-25 09:49:57 UTC
Created attachment 556160 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2018-11-25 09:50:00 UTC
Created attachment 556162 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2018-11-25 09:50:03 UTC
Created attachment 556164 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2018-11-25 09:50:06 UTC
Created attachment 556166 [details]
temp.tbz2
Comment 7 Jeroen Roovers (RETIRED) gentoo-dev 2018-11-29 12:02:02 UTC
Your unstable chroot has no /dev/tty ?
Comment 8 Toralf Förster gentoo-dev 2018-11-29 18:04:49 UTC
(In reply to Jeroen Roovers from comment #7)
HHm, they usually do have  (b/c bind-mounted from the host) [1]

tinderbox@mr-fox ~ $ ls -l run/*/dev/tty
crw-rw-rw- 1 root tty 5, 0 Nov 28 02:23 run/17.0_20181126-140108/dev/tty
crw-rw-rw- 1 root tty 5, 0 Nov 28 02:23 run/17.0-desktop-gnome_libressl-test_20181124-154012/dev/tty
crw-rw-rw- 1 root tty 5, 0 Nov 28 02:23 run/17.0-desktop-gnome-systemd_libressl_20181125-190949/dev/tty
crw-rw-rw- 1 root tty 5, 0 Nov 28 02:23 run/17.0-desktop-plasma-systemd_libressl_20181123-210145/dev/tty
crw-rw-rw- 1 root tty 5, 0 Nov 28 02:23 run/17.0-desktop-plasma-systemd_test_20181122-210232/dev/tty
crw-rw-rw- 1 root tty 5, 0 Nov 28 02:23 run/17.0-developer_libressl-test_20181121-210650/dev/tty
crw-rw-rw- 1 root tty 5, 0 Nov 28 02:23 run/17.0-no-multilib-hardened_libressl_20181127-210345/dev/tty
crw-rw-rw- 1 root tty 5, 0 Nov 28 02:23 run/17.0-no-multilib-hardened_test_20181124-111028/dev/tty
crw-rw-rw- 1 root tty 5, 0 Nov 28 02:23 run/17.0-no-multilib_libressl_20181126-200102/dev/tty
crw-rw-rw- 1 root tty 5, 0 Nov 28 02:23 run/17.0-systemd_abi32+64_20181128-191654/dev/tty


[1] https://github.com/toralf/tinderbox/blob/master/bin/chr.sh#L22
Comment 9 Jeroen Roovers (RETIRED) gentoo-dev 2018-12-02 19:40:15 UTC
(In reply to Toralf Förster from comment #8)
> [1] https://github.com/toralf/tinderbox/blob/master/bin/chr.sh#L22

IOError: [Errno 6] No such device or address: '/dev/tty'

It isn't exactly saying the file isn't there, but that perhaps there is no controlling terminal. Something sandbox is doing, maybe? It's not doing that for me.
Comment 10 Toralf Förster gentoo-dev 2019-01-06 19:38:27 UTC
got at the unstable amd64 chroot image 17.0-no-multilib-hardened_libressl-test_20190103-234110 this : IOError: [Errno 6] No such device or address: /dev/tty
Comment 11 Toralf Förster gentoo-dev 2019-01-06 19:38:30 UTC
Created attachment 560122 [details]
emerge-info.txt
Comment 12 Toralf Förster gentoo-dev 2019-01-06 19:38:32 UTC
Created attachment 560124 [details]
dev-util:redo-0.41:20190106-191301.log
Comment 13 Toralf Förster gentoo-dev 2019-01-06 19:38:35 UTC
Created attachment 560126 [details]
emerge-history.txt
Comment 14 Toralf Förster gentoo-dev 2019-01-06 19:38:38 UTC
Created attachment 560128 [details]
environment
Comment 15 Toralf Förster gentoo-dev 2019-01-06 19:38:41 UTC
Created attachment 560130 [details]
etc.portage.tbz2
Comment 16 Toralf Förster gentoo-dev 2019-01-06 19:38:43 UTC
Created attachment 560132 [details]
temp.tbz2
Comment 17 Larry the Git Cow gentoo-dev 2022-06-23 05:35:31 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9d41061cf0a2f1f85399bc1442098bb97fe96386

commit 9d41061cf0a2f1f85399bc1442098bb97fe96386
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2022-06-23 05:34:22 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-06-23 05:34:57 +0000

    dev-util/redo: add 0.42d
    
    Bug: https://bugs.gentoo.org/775212
    Bug: https://bugs.gentoo.org/671840
    Closes: https://bugs.gentoo.org/832245
    Closes: https://bugs.gentoo.org/764068
    Closes: https://bugs.gentoo.org/671842
    Closes: https://bugs.gentoo.org/678988
    Signed-off-by: Sam James <sam@gentoo.org>

 dev-util/redo/Manifest          |  1 +
 dev-util/redo/redo-0.42d.ebuild | 63 +++++++++++++++++++++++++++++++++++++++++
 2 files changed, 64 insertions(+)