Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 65989 - cxterm-5.2.3 no available ptys
Summary: cxterm-5.2.3 no available ptys
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: CJK Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-09-30 22:30 UTC by Eric Brown
Modified: 2005-12-25 12:14 UTC (History)
0 users

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 Eric Brown 2004-09-30 22:30:33 UTC
when i try to run cxterm i get the error: no available ptys

the homepage says to chmod 666 /dev/pty/* to fix this on mandrake, but this doesn't help on gentoo



Reproducible: Always
Steps to Reproduce:
1.
2.
3.




Portage 2.0.50-r11 (default-x86-2004.0, gcc-3.3.4, glibc-2.3.3.20040420-r1, 2.6.
7-gentoo-r11)
=================================================================
System uname: 2.6.7-gentoo-r11 i686 AMD Athlon(tm) Processor
Gentoo Base System version 1.4.16
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.5-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=athlon -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3/s
hare/config /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/
dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/c
onfig/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=athlon -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs sandbox"
GENTOO_MIRRORS="ftp://gentoo.mirrors.pair.com/ http://mirrors.tds.net/gentoo ftp
://gentoo.netnitco.net/pub/mirrors/gentoo/source/ http://www.gigaload.org/gentoo
.org/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow aalib alsa avi berkdb bzlib cdr cjk crypt curl dga dgs divx4linux doc
 gif gtk2 jpeg mad matroska mmx mng mpeg msn ncurses nls oggvorbis opengl pam pc
re perl png posix postgres python quicktime readline samba sdl spell ssl tcpd ti
ff truetype unicode vhosts x86 xv xvid zlib"
Comment 1 Eric Brown 2004-11-14 13:09:25 UTC
I'm taking this upstream to see if they know why the fix reported on their site doesn't work.
Comment 2 Eric Brown 2004-11-14 13:36:02 UTC
attempted to contact 3 people upstream, all bad email addresses.
Someone with access to sf.net might be able to login and submit a bug, but I think cxterm removed legacy pty support, and that is what caused it to break (somehow it doesn't work with new ptys).

The weird thing is, my kernel has legacy BSD pty support on.. maybe it's broken in 2.6.7..
Comment 3 Markus Nigbur (RETIRED) gentoo-dev 2005-03-14 11:15:50 UTC
The package seems dead upstream.
Reassigning to CJK, as I couldn't even test it if I were able to fix the application, which is broken by design anyway.
Comment 4 Mamoru KOMACHI (RETIRED) gentoo-dev 2005-04-23 01:48:10 UTC
Yeah, it looks the upstream is dead...
and chmod 666 /dev/pty/* works on my laptop.
(I'm using 2.6.12-rc2-mm3 kernel with Unix98 PTY 
and Legacy BSD PTY support)
Comment 5 Mamoru KOMACHI (RETIRED) gentoo-dev 2005-12-25 12:14:36 UTC
The workaround for chmod 666 /dev/pty* doesn't work on my new Gentoo boxen
(though it worked on my laptop). I re-fetched source tarball from sf.net upstream
and recompiled it, and then it worked as expected. Someone forked from original source
to incorporate Unix98 PTY change but they didn't change source tarball's name.
If you still have trouble with this, please run emerge --sync and try again.