First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 133351
Alias:
Product:
Component:
Status: VERIFIED
Resolution: FIXED
Assigned To: Seemant Kulleen (RETIRED) <seemant@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Florian Berger <florib@arcor.de>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 133351 depends on: Show dependency tree
Show dependency graph
Bug 133351 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2006-05-14 23:50 0000
This is my first bug report ever, I'll try to get it right.

Overview Description:
app-editors/jove is a small emacs clone. By default it's built-in
shell support relies on the legacy /dev/ptyXX system. The new
2.6 Unix98 /dev/pts style can be activated via a switch in the
Makefile, but I can not find a way to set that switch upon
standard emerging.

Steps to Reproduce:
1) When building a 2.6 kernel, leave Device Drivers / 
   Character Devices / "Legacy (BSD) PTY support" empty
   (LEGACY_PTYS=n)
2) boot the kernel and "emerge jove"
3) run jove and enter shell mode (META-X shell).

Actual Results:
It complains "Out of ptys!". The shell can not be used.

Expected Results:
It should give a shell prompt.

Applies to:
jove-4.16.0.65.4.ebuild
jove-4.16.0.56.1.ebuild

Dirty fix:
The whole point is to set a variable in the Makefile (which
by the way contains a detailed description). Thus I was able to
fix it by adding the line

-e "s:^SYSDEFS =.*:SYSDEFS=\"-DSYSVR4 -D_XOPEN_SOURCE=500\":" \

within the sed command in src_unpack() in the ebuild file.
However, this is not very clean. It might be better to have
something like a USE flag "pts" to activate the Unix98 pts
style.

------- Comment #1 From Florian Berger 2006-05-14 23:54:32 0000 -------
Here's my emerge --info:

Portage 2203-svn (default-linux/x86/2006.0, gcc-3.3.2, glibc-2.3.5-r2,
2.6.17-rc3 i686)
=================================================================
System uname: 2.6.17-rc3 i686 Pentium III (Coppermine)
Gentoo Base System version 1.6.14
dev-lang/python:     2.3.3
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.4
sys-devel/binutils:  2.14.90.0.7-r4
sys-devel/libtool:   1.4.3-r4, 1.5.22
virtual/os-headers:  2.4.21-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686 -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/
/usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/
/usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=i686 -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="ftp://pandemonium.tiscali.de/pub/gentoo/
http://pandemonium.tiscali.de/pub/gentoo/
ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/"
LANG="de_DE@euro"
LC_ALL="de_DE@euro"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="x86 X aalib acl alsa apache2 apm audiofile avi berkdb bitmap-fonts bzip2
cdr cli crypt curl dri eds emboss encode esd exif expat flac foomaticdb fortran
gdbm gif glut gpm gstreamer gtk gtk2 imagemagick imlib ipv6 isdnlog jack java
jpeg lcms ldap libg++ libwww mad mmx mng motif mp3 mpeg ncurses nls nptl ogg
oggvorbis opengl oss pam pcre pdflib perl png pppd python quicktime readline
reflection ruby sasl sdl session slang spell spl ssl svga tcltk tcpd tetex
threads tiff truetype truetype-fonts type1-fonts udev vorbis win32codecs xml
xml2 xmms xorg xv xvid zlib video_cards_mach64 userland_GNU kernel_linux
elibc_glibc"
Unset:  ASFLAGS, CTARGET, INSTALL_MASK, LDFLAGS, LINGUAS, MAKEOPTS,
PORTDIR_OVERLAY

------- Comment #2 From Seemant Kulleen (RETIRED) 2006-06-02 07:59:58 0000 -------
fixed in the newest version bump, please test.

Thanks!

------- Comment #3 From Florian Berger 2006-06-02 13:17:01 0000 -------
OK here's what I did to check:

$ emerge --sync
$ echo app-editors/jove >> /etc/portage/package.keywords
$ USE="unix98 -X" emerge jove
$ jove
META-X shell

The shell buffer with a prompt opens. It works, and it's a clean solution.
Thank you so much!

Cheers, Florian Berger, Leipzig, Germany

First Last Prev Next    No search results available      Search page      Enter new bug