Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 79372 - app-misc/splitvt fails with pty_open error, patches in debian fix this
Summary: app-misc/splitvt fails with pty_open error, patches in debian fix this
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Gentoo Shell Tools project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-01-24 11:56 UTC by James Rowe
Modified: 2005-01-29 16:56 UTC (History)
0 users

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


Attachments
Use the patch from Debian, to fix this and a few other issues with splitvt (splitvt-glibc-pty.patch,874 bytes, patch)
2005-01-24 11:57 UTC, James Rowe
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description James Rowe 2005-01-24 11:56:16 UTC
I pondered about writing this bug for a long time, as I figure I must have done something wrong or somebody else would have reported this total failure.  Today I decided it can't be me.

Without fail, and on every *Gentoo* system I have access to, splitvt fails with the same pty_open errors.  Debian has had fixes for this problem for over 4 years, and perhaps they should be picked up?

In http://ftp.debian.org/debian/pool/main/s/splitvt/splitvt_1.6.5-6.diff.gz, Debian is providing two useful chunks.  One converts splitvt to use glibc routines for managing the terminals and the other fixes the location of the utmp file.

Thanks for your time, and feel free to abuse me if I'm missing something obvious here.  I'm only marking this bug as normal, because I believe that there is a possibility of PEBKAC.

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

Actual Results:  
pty_open() error: Permission denied

Expected Results:  
Two nice little "windows" containing bash prompts should have appeared ;)

With the patch from the Debian package this problem is fixed, and you also have 
working(!) utmp support.

Portage 2.0.51-r14 (default-linux/x86/2004.3, gcc-3.3.5, glibc-2.3.4.20040808-
r1, 2.6.11-rc2-jr3 i686)
=================================================================
System uname: 2.6.11-rc2-jr3 i686 Intel(R) Xeon(TM) CPU 2.80GHz
Gentoo Base System version 1.4.16
Python:              dev-lang/python-2.3.4 [2.3.4 (#1, Oct 17 2004, 13:13:49)]
dev-lang/python:     2.3.4
sys-devel/autoconf:  2.59-r5
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig distlocks maketest sandbox sfperms test"
GENTOO_MIRRORS="http://gentoo.blueyonder.co.uk/ http://www.mirrorservice.org/
sites/www.ibiblio.org/gentoo/ http://gd.tuwien.ac.at/opsys/linux/gentoo/ http://
gentoo.oregonstate.edu http://www.mirrorservice.org/sites/www.ibiblio.org/
gentoo/ http://distfiles.gentoo.org"
LDFLAGS="-Wl,-O1 -Wl,--enable-new-dtags -Wl,--sort-common -s"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/mnt/part4/temp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/overlays/jnrowe /usr/local/overlays/matchbox /usr/
local/overlays/fixes"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="x86 X aalib apm avi bash-completion berkdb bitmap-fonts cdr chroot crypt 
encode escreen f77 foomaticdb gdbm gif graphviz gtk gtk2 imagemagick imlib 
javascript jpeg lcms libcaca libg++ libwww mad mbox motif mpeg ncurses nntp no-
old-linux nothemes nptl offensive oggvorbis oss pam pcre pdflib perl plotutils 
png python quicktime readline sdl slang spell ssl tcpd tiff truetype truetype-
fonts type1-fonts userlocales vim-with-x xml2 xosd xrandr xv zlib"
Unset:  ASFLAGS, CBUILD, CTARGET
sys-devel/automake:  1.8.5-r1
sys-devel/binutils:  2.15.92.0.2-r1
sys-devel/libtool:   1.5.2-r7
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3/
share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -pipe"
Comment 1 James Rowe 2005-01-24 11:57:43 UTC
Created attachment 49406 [details, diff]
Use the patch from Debian, to fix this and a few other issues with splitvt
Comment 2 Tom Martin (RETIRED) gentoo-dev 2005-01-27 14:20:38 UTC
Okay, I'm going to have to offload this one to someone else and remove myself as maintainer. It is segfault for me, so I can't test.
Comment 3 Aaron Walker (RETIRED) gentoo-dev 2005-01-29 16:56:50 UTC
Fixed. Thanks very much for the report.