Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 106530 - ttyrec must be compiled with CFLAGS=-DSVR4
Summary: ttyrec must be compiled with CFLAGS=-DSVR4
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: MATSUU Takuto (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-09-19 09:02 UTC by Tetsuya KOBAYASHI
Modified: 2005-11-04 20:08 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 Tetsuya KOBAYASHI 2005-09-19 09:02:16 UTC
Executed, ttyrec dies saying "Out of pty's."


Reproducible: Always
Steps to Reproduce:
1. ttyrec

Actual Results:  
Out of pty's
Terminated

Expected Results:  
Some shell should be executed.


The problem will be resolved with this patch for ebuild:

--- ttyrec-1.0.6.ebuild.orig    2005-09-10 03:05:23.000000000 +0900
+++ ttyrec-1.0.6.ebuild 2005-09-20 00:54:48.000000000 +0900
@@ -14,7 +14,7 @@
 DEPEND="virtual/libc"

 src_compile() {
-       make CFLAGS="${CFLAGS}" || die
+       make CFLAGS="${CFLAGS} -DSVR4" || die
 }

 src_install() {

--
$ emerge --info
Portage 2.0.52-r1 (default-linux/x86/2005.0, gcc-3.3.4, glibc-2.3.5-r1, 2.6.13.1
i686)
=================================================================
System uname: 2.6.13.1 i686 Pentium II (Deschutes)
Gentoo Base System version 1.12.0_pre8
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
dev-lang/python:     2.3.5, 2.4.1-r1
sys-apps/sandbox:    1.2.13
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.20
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O3 -march=pentium2 -mmmx -fforce-addr -funroll-loops -frerun-loop-opt
-pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.2/share/config
/usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown
/usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown
/usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref
/usr/share/config /var/qmail/alias /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d"
CXXFLAGS="-O3 -march=pentium2 -mmmx -fforce-addr -funroll-loops -frerun-loop-opt
-pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig buildpkg digest distlocks sandbox sfperms strict"
GENTOO_MIRRORS="ftp://nazuna/gentoo"
LANG="C"
LINGUAS="ja"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portagejp"
SYNC="rsync://nazuna/gentoo-portage"
USE="x86 X aalib alsa apache2 apm arts atlas avi bcmath berkdb bitmap-fonts blas
bzlib calendar canna cdb cjk cpdflib crypt ctype cups curl curlwrappers dba
dbase dbx dio eds emboss encode esd exif f2c f77 faad fam fdftk filepro flac
flatfile foomaticdb fortran freetds freewnn ftp gcj gd gd-external gif gimpprint
glut gmp gnome gpm gstreamer gtk gtk2 gtkhtml hyperwaveapi iconv imagemagick
imap imlib imlib2 inifile innodb ipv6 jack java jikes jpeg junit kde lcms ldap
libg++ libwww lzw-tiff mad mcve memlimit mhash mikmod mime ming mmx mng motif
mozilla mp3 mpeg mpm-prefork mssql mysql nas ncurses nls objc odbc ogg oggvorbis
opengl oss pam pcntl pcre pdflib perl php png posix postgres python qdbm qt
quicktime readline ruby samba scanner sdk sdl session shared sharedext sharedmem
simplexml slang slp soap sockets spell spl sqlite ssl svga sysvipc tcltk tcpd
tidy tiff tokenizer truetype truetype-fonts type1-fonts unicode vorbis wddx wmf
xine xml xml2 xmlrpc xmms xpm xsl xv zlib linguas_ja userland_GNU kernel_linux
elibc_glibc"
Unset:  ASFLAGS, CTARGET, LC_ALL, LDFLAGS
Comment 1 MATSUU Takuto (RETIRED) gentoo-dev 2005-11-04 20:08:40 UTC
sorry for delay.

fixed in cvs.