From: Peter Stephenson <pws@csr.com>
To: zsh-workers@sunsite.dk
Subject: Re: zsh 4.3.9-dev-2, two test failures on NetBSD
Date: Mon, 20 Apr 2009 17:48:08 +0100 [thread overview]
Message-ID: <20090420174808.40d3f9f9@news01> (raw)
In-Reply-To: <20090420040018.GA2989@svalbard.freeshell.org>
On Mon, 20 Apr 2009 04:00:18 +0000
Paul Ackersviller <pda@sdf.lonestar.org> wrote:
> ./A01grammar.ztst: starting.
> *** /tmp/zsh.ztst.err.2701 Mon Apr 20 01:48:54 2009
> --- /tmp/zsh.ztst.terr.2701 Mon Apr 20 01:48:54 2009
> ***************
> *** 0 ****
> --- 1 ----
> + stty: TIOCGETD: Inappropriate ioctl for device
> Test ./A01grammar.ztst failed: error output differs from expected as shown above for:
> (exec -l /bin/sh -c 'echo $0')
> Was testing: `exec' with -l option
> ./A01grammar.ztst: test failed.
We don't use TIOCGETD (get terminal line discipline) directly, so either
this is well buried or it's coming from /bin/sh.
> ./V01zmodload.ztst: starting.
> *** /tmp/zsh.ztst.err.15666 Mon Apr 20 01:50:13 2009
> --- /tmp/zsh.ztst.terr.15666 Mon Apr 20 01:50:13 2009
> ***************
> *** 0 ****
> --- 1,2 ----
> + (eval):3: module `zsh/terminfo' has no such feature: `b:echoti': autoload cancelled
> + (eval):3: module `zsh/terminfo' has no such feature: `p:terminfo': autoload cancelled
> Test ./V01zmodload.ztst failed: error output differs from expected as shown above for:
> for m in $mods
> do
> zmodload -i $m || mods[(r)$m]=()
> done
> Was testing: Test loading of all compiled modules
> ./V01zmodload.ztst: test failed.
Somehow zsh/terminfo is getting compiled and linked in, implying the tests
in Src/Modules/terminfo.c are succeeding (link is "either" or "static"):
link='if test "x$ac_cv_func_tigetflag" = xyes -a "x$ac_cv_header_curses_h" = xyes ||
test x$ac_cv_header_ncurses_h = xyes || test x$ac_cv_header_ncurses_ncurses_h = xyes ||
test x$ac_cv_header_ncursesw_ncurses_h = xyes; then
if test "x$zsh_cv_shared_tigetstr" = xyes; then
echo either
else
echo static
fi
else
echo no;
fi
'
even though USE_TERMINFO_MODULE isn't being defined, i.e.
#if defined(HAVE_TIGETFLAG) && defined(ZSH_HAVE_CURSES_H)
# define USE_TERMINFO_MODULE 1
#else
# undef USE_TERMINFO_MODULE
#endif
HAVE_TIGETFLAG or ZSH_HAVE_CURSES_H are not defined.
We should really test zsh_cv_path_curses_header in terminfo.mdd, though I
don't know if this is the problem.
Index: Src/Modules/terminfo.mdd
===================================================================
RCS file: /cvsroot/zsh/zsh/Src/Modules/terminfo.mdd,v
retrieving revision 1.13
diff -u -r1.13 terminfo.mdd
--- Src/Modules/terminfo.mdd 5 Dec 2007 15:21:23 -0000 1.13
+++ Src/Modules/terminfo.mdd 20 Apr 2009 16:44:37 -0000
@@ -1,8 +1,6 @@
name=zsh/terminfo
-link='if test "x$ac_cv_func_tigetflag" = xyes -a "x$ac_cv_header_curses_h" = xyes ||
- test x$ac_cv_header_ncurses_h = xyes || test x$ac_cv_header_ncurses_ncurses_h = xyes ||
- test x$ac_cv_header_ncursesw_ncurses_h = xyes; then
+link='if test "x$ac_cv_func_tigetflag" = xyes -a x$zsh_cv_path_curses_header != xnone; then
if test "x$zsh_cv_shared_tigetstr" = xyes; then
echo either
else
--
Peter Stephenson <pws@csr.com> Software Engineer
CSR PLC, Churchill House, Cambridge Business Park, Cowley Road
Cambridge, CB4 0WZ, UK Tel: +44 (0)1223 692070
next prev parent reply other threads:[~2009-04-20 16:48 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <26804.1239987872@csr.com>
2009-04-17 21:22 ` zsh 4.3.9-dev-2 Bart Schaefer
2009-04-17 21:36 ` Bart Schaefer
2009-04-18 11:55 ` Peter Stephenson
2009-04-20 4:00 ` zsh 4.3.9-dev-2, two test failures on NetBSD Paul Ackersviller
2009-04-20 16:48 ` Peter Stephenson [this message]
2009-04-20 21:48 ` Paul Ackersviller
2009-04-21 9:35 ` Peter Stephenson
2009-04-21 18:49 ` Paul Ackersviller
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=20090420174808.40d3f9f9@news01 \
--to=pws@csr.com \
--cc=zsh-workers@sunsite.dk \
/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 public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).