From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20802 invoked from network); 20 Apr 2009 16:48:31 -0000 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.4 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.2.5 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 20 Apr 2009 16:48:31 -0000 Received-SPF: none (ns1.primenet.com.au: domain at sunsite.dk does not designate permitted sender hosts) Received: (qmail 44277 invoked from network); 20 Apr 2009 16:48:20 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 20 Apr 2009 16:48:20 -0000 Received: (qmail 24535 invoked by alias); 20 Apr 2009 16:48:15 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 26852 Received: (qmail 24526 invoked from network); 20 Apr 2009 16:48:14 -0000 Received: from bifrost.dotsrc.org (130.225.254.106) by sunsite.dk with SMTP; 20 Apr 2009 16:48:14 -0000 Received: from cluster-d.mailcontrol.com (cluster-d.mailcontrol.com [85.115.60.190]) by bifrost.dotsrc.org (Postfix) with ESMTPS id B913B8028C72 for ; Mon, 20 Apr 2009 18:47:23 +0200 (CEST) Received: from cameurexb01.EUROPE.ROOT.PRI ([193.128.72.68]) by rly09d.srv.mailcontrol.com (MailControl) with ESMTP id n3KGm9a7005826 for ; Mon, 20 Apr 2009 17:48:09 +0100 Received: from news01 ([10.99.50.25]) by cameurexb01.EUROPE.ROOT.PRI with Microsoft SMTPSVC(6.0.3790.3959); Mon, 20 Apr 2009 17:48:08 +0100 Date: Mon, 20 Apr 2009 17:48:08 +0100 From: Peter Stephenson To: zsh-workers@sunsite.dk Subject: Re: zsh 4.3.9-dev-2, two test failures on NetBSD Message-ID: <20090420174808.40d3f9f9@news01> In-Reply-To: <20090420040018.GA2989@svalbard.freeshell.org> References: <26804.1239987872@csr.com> <20090420040018.GA2989@svalbard.freeshell.org> Organization: CSR X-Mailer: Claws Mail 3.5.0 (GTK+ 2.12.8; i386-redhat-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 20 Apr 2009 16:48:08.0861 (UTC) FILETIME=[C8D9B4D0:01C9C1D7] X-Scanned-By: MailControl A_08_51_00 (www.mailcontrol.com) on 10.68.0.119 X-Virus-Scanned: ClamAV 0.92.1/9260/Mon Apr 20 15:25:57 2009 on bifrost X-Virus-Status: Clean On Mon, 20 Apr 2009 04:00:18 +0000 Paul Ackersviller 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 Software Engineer CSR PLC, Churchill House, Cambridge Business Park, Cowley Road Cambridge, CB4 0WZ, UK Tel: +44 (0)1223 692070