Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 159553 - dev-lang/python-2.4.3-r4 fails test_openpty
Summary: dev-lang/python-2.4.3-r4 fails test_openpty
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Other
: High normal (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-12-31 02:55 UTC by Philipp Riegger
Modified: 2007-05-07 07:57 UTC (History)
3 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Philipp Riegger 2006-12-31 02:55:11 UTC
From the log:

...
Re-running failed tests in verbose mode
Re-running test 'test_openpty' in verbose mode
Calling os.openpty()
test test_openpty crashed -- exceptions.OSError: [Errno 2] No such file or direc
tory
Traceback (most recent call last):
  File "./Lib/test/regrtest.py", line 492, in runtest
    the_package = __import__(abstest, globals(), locals(), [])
  File "/var/tmp/portage/dev-lang/python-2.4.3-r4/work/Python-2.4.3/Lib/test/tes
t_openpty.py", line 9, in ?
    master, slave = os.openpty()
OSError: [Errno 2] No such file or directory
Re-running test 'test_pty' in verbose mode
Calling master_open()
test test_pty failed -- isatty hung
make: *** [test] Error 1

!!! ERROR: dev-lang/python-2.4.3-r4 failed.
Call stack:
  ebuild.sh, line 1580:   Called dyn_test
  ebuild.sh, line 996:   Called src_test
  python-2.4.3-r4.ebuild, line 309:   Called die
...

Used config:
dev-lang/python-2.4.3-r4  USE="berkdb doc gdbm ncurses readline ssl -bootstrap -build -ipv6 -nocxx -tk -ucs2"

emerge --info:
Portage 2.1.2_rc4-r3 (default-linux/x86/2006.1, gcc-4.1.1, glibc-2.4-r4, 2.6.19-hardened-r3 i686)
=================================================================
System uname: 2.6.19-hardened-r3 i686 VIA Esther processor 1300MHz
Gentoo Base System version 1.12.8
Last Sync: Sat, 30 Dec 2006 16:20:01 +0000
dev-lang/python:     2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.60
sys-devel/automake:  1.5, 1.6.3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.14
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=i686 -Os -pipe -fomit-frame-pointer -mmmx -msse -msse2 -msse3 -mfpmath=sse"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-march=i686 -Os -pipe -fomit-frame-pointer -mmmx -msse -msse2 -msse3 -mfpmath=sse"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS=""
FEATURES="autoconfig buildpkg ccache collision-protect distlocks fixpackags metadata-transfer parallel-fetch sandbox sfperms strict stricter test userfetch userpriv usersandbox"
GENTOO_MIRRORS="http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo http://gentoo.inode.at/ http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j1 -s"
PKGDIR="/usr/portage/packages/via-c7"
PORTAGE_RSYNC_EXTRA_OPTS=""
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="acl berkdb bzip2 cracklib crypt doc gdbm hardened howl jpeg jpeg2k ldap ncurses pam perl python readline sse2 ssl tcpd test tetex unicode vorbis x86 zlib" ALSA_CARDS="via82xx" ALSA_PCM_PLUGINS="dmix dsnoop plug" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" USERLAND="GNU" VIDEO_CARDS="via"
Unset:  CTARGET, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS
Comment 1 tsattler 2007-01-14 01:07:11 UTC
I can confirm this bug.

Having userpriv/usersandbox in FEATURES seems to cause the problem:

FEATURES="-userpriv -usersandbox" emerge =dev-lang/python-2.4.3-r4

works fine at my system

Thomas
Comment 2 Bryan Østergaard (RETIRED) gentoo-dev 2007-05-07 07:57:32 UTC
Can't reproduce this with 2.4.4.