all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Alan Mackenzie <acm@muc.de>
To: Chong Yidong <cyd@stupidchicken.com>
Cc: csant <csant@csant.info>, Dan Nicolaescu <dann@ics.uci.edu>,
	emacs-devel <emacs-devel@gnu.org>
Subject: Re: Device 0 is not a termcap terminal device
Date: Sat, 4 Oct 2008 22:27:24 +0000	[thread overview]
Message-ID: <20081004222724.GA13943@muc.de> (raw)
In-Reply-To: <87zlll1wrb.fsf@cyd.mit.edu>

Hi, Yidong!

On Fri, Oct 03, 2008 at 12:14:32PM -0400, Chong Yidong wrote:
> Alan Mackenzie <acm@muc.de> 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).




  reply	other threads:[~2008-10-04 22:27 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-09-24 17:55 Device 0 is not a termcap terminal device csant
2008-10-03 10:07 ` Alan Mackenzie
2008-10-03 16:14   ` Chong Yidong
2008-10-04 22:27     ` Alan Mackenzie [this message]
2009-02-04 22:45       ` moboyle79
2009-02-05  7:15         ` Dan Nicolaescu
2008-10-03 16:25   ` Dan Nicolaescu
2009-09-01 20:08     ` Alan Mackenzie
2009-09-01 21:31       ` Andreas Schwab
2009-09-01 22:27         ` Alan Mackenzie
2009-09-01 22:36           ` Andreas Schwab
2009-09-01 23:02             ` Alan Mackenzie
2009-09-02  9:14               ` Andreas Schwab
2009-09-02  9:57                 ` Alan Mackenzie
2009-09-02 10:11                   ` Andreas Schwab
2009-09-01 23:20       ` Stefan Monnier
2009-09-02  9:43         ` Alan Mackenzie
2009-09-02 17:48           ` Stefan Monnier
2009-09-11 20:36             ` Alan Mackenzie

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20081004222724.GA13943@muc.de \
    --to=acm@muc.de \
    --cc=csant@csant.info \
    --cc=cyd@stupidchicken.com \
    --cc=dann@ics.uci.edu \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.