From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Alan Mackenzie Newsgroups: gmane.emacs.devel Subject: Re: Device 0 is not a termcap terminal device Date: Sat, 4 Oct 2008 22:27:24 +0000 Message-ID: <20081004222724.GA13943@muc.de> References: <20081003100758.GA1762@muc.de> <87zlll1wrb.fsf@cyd.mit.edu> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1223158814 9220 80.91.229.12 (4 Oct 2008 22:20:14 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 4 Oct 2008 22:20:14 +0000 (UTC) Cc: csant , Dan Nicolaescu , emacs-devel To: Chong Yidong Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Oct 05 00:21:11 2008 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1KmFUn-0005Fk-Fo for ged-emacs-devel@m.gmane.org; Sun, 05 Oct 2008 00:21:05 +0200 Original-Received: from localhost ([127.0.0.1]:43936 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KmFTk-0004xV-4o for ged-emacs-devel@m.gmane.org; Sat, 04 Oct 2008 18:20:00 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KmFTf-0004xQ-Jr for emacs-devel@gnu.org; Sat, 04 Oct 2008 18:19:55 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KmFTd-0004xB-Hl for emacs-devel@gnu.org; Sat, 04 Oct 2008 18:19:54 -0400 Original-Received: from [199.232.76.173] (port=42285 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KmFTd-0004x8-Al for emacs-devel@gnu.org; Sat, 04 Oct 2008 18:19:53 -0400 Original-Received: from colin.muc.de ([193.149.48.1]:4605 helo=mail.muc.de) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KmFTd-0006kP-1s for emacs-devel@gnu.org; Sat, 04 Oct 2008 18:19:53 -0400 Original-Received: (qmail 27971 invoked by uid 3782); 4 Oct 2008 22:19:47 -0000 Original-Received: from acm.muc.de (pD9E5145B.dip.t-dialin.net [217.229.20.91]) by colin2.muc.de (tmda-ofmipd) with ESMTP; Sun, 05 Oct 2008 00:19:46 +0200 Original-Received: (qmail 14175 invoked by uid 1000); 4 Oct 2008 22:27:24 -0000 Content-Disposition: inline In-Reply-To: <87zlll1wrb.fsf@cyd.mit.edu> User-Agent: Mutt/1.5.9i X-Delivery-Agent: TMDA/1.1.5 (Fettercairn) X-Primary-Address: acm@muc.de X-detected-operating-system: by monty-python.gnu.org: FreeBSD 4.6-4.9 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:104344 Archived-At: Hi, Yidong! On Fri, Oct 03, 2008 at 12:14:32PM -0400, Chong Yidong wrote: > Alan Mackenzie writes: > > No suggestions, but a "me too". I've just updated and rebuilt Emacs-23, > > and with this command: > > $ ~/emacs/emacs/src/emacs -batch -l 000tests.el -f do-all-tests > > (i.e., run the CC Mode test suite), I get the same error message, > > namely: > > Device 0 is not a termcap terminal device > > . This is distressing. It also suggests the error is nothing to do with > > --daemon, but perhaps more to do with ttys. The error happens both on a > > Linux tty and an X-Windows term. > Could you find out when the problem first showed up? I've tried. My first idea was to download the Emacs head at various dates, starting 64 days ago, and do a binary chop from there. It didn't quite work out like that. I downloaded each version of the head like this: $ cvs checkout -D 2008-08-01 emacs in a separate directory, then configured and built thusly: $ ./configure --with-gif=no --with-tiff=no $ make bootstrap Here're my results: Friday 2008-08-01 (64 days ago): Got the error message "Device 0 is not a termcap terminal device". Thursday 2008-05-29 (128 days ago): Got a build error: "make[1]: *** No rule to make target `/home/acm/emacs/emacs-290508/emacs/src/../lisp/help.elc', needed by `../etc/DOC'. Stop." Monday 2008-06-30 (96 days ago): Got the same error message "Device 0 ...". Incidentally, got a seg fault during building several times, each time restarting with "make". Wednesday 2008-03-26 (192 days ago): Same error message "Device 0 ....". Sunday 2007-09-16 (384 days ago): Got a (possibly different) error message "Unknown terminal device". Friday 2007-06-08, Friday 2007-06-15: Got build failures each time. [Perhaps relevant here is that Emacs 22.1 was released on Monday 2007-06-04.] So I'm not particularly close to tracking down the critical date. Each iteration is taking me a little over half an hour, so it's a fairly arduous process. Either I'm doing something stupid in my test suite, or there's a bug which has been around since shortly after Emacs 22 was released. My test suite works fine in Emacs 22.x. -- Alan Mackenzie (Nuremberg, Germany).