bug-guile-ncurses
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug-guile-ncurses] Re: GNU guile-ncurses v1.2 released


From: Ludovic Courtès
Subject: [Bug-guile-ncurses] Re: GNU guile-ncurses v1.2 released
Date: Thu, 20 Jan 2011 23:16:23 +0100
User-agent: Gnus/5.110011 (No Gnus v0.11) Emacs/23.2 (gnu/linux)

Hi Mike,

Mike Gran <address@hidden> writes:

> I am pleased to announce a new version of GNU guile-ncurses.
> guile-ncurses is a library for the creation of text user interfaces
> in the GNU Guile dialect of the Scheme programming language.  It is
> based on the ncurses project's curses, panel, form, and menu libraries.

Congratulations!  :-)

I??ve packaged it in Nixpkgs:

  http://hydra.nixos.org/job/nixpkgs/trunk/guile_ncurses

And against Guile 1.9:

  http://hydra.nixos.org/job/nixpkgs/guile2test/guile_ncurses

I disabled the tests because I was getting 6 failures:

--8<---------------cut here---------------start------------->8---
FAIL: endwin: 1
PASS: isendwin?: after endwin
PASS: isendwin?: after refresh
FAIL: endwin: 2
WARNING: (ncurses curses): imported module (srfi srfi-34) overrides core 
binding `raise'
FAIL: curses_002_initscr.test

[...]

PASS: curses_019_inchstr.test
[?1049h[1;24r[m[4l[?7h[H[2J
 getch: #\newline[H[2J
 getch: #f[?1034h[?1034l[24;1H[?1049l[?1l>WARNING: The curses_020_inopts.test 
has failed, but, this may not
indicate a true problem.  It may report a false failure if you were
generating keypresses or mouse clicks when the test was running.
FAIL: inopts: cbreak!
PASS: inopts: halfdelay!
UNRESOLVED: inopts: meta!
UNRESOLVED: inopts: meta!
WARNING: (ncurses curses): imported module (srfi srfi-34) overrides core 
binding `raise'
FAIL: curses_020_inopts.test
[?1049h[1;24r[m[4l[?7h[H[2Jzxxx[2J[24;1H[?1049l[?1l>WARNING: (ncurses 
curses): imported module (srfi srfi-34) overrides core binding `raise'
PASS: curses_021_insch.test
[?1049h[1;24r[m[4l[?7h[H[2J[H[2J[H[2J[H[2J[24;1H[?1049l[?1l>WARNING: (ncurses 
curses): imported module (srfi srfi-34) overrides core binding `raise'
PASS: curses_022_insstr.test
[?1049h[1;24r[m[4l[?7h[H[2Jhello[H[2Jhello[H[2J
bold[H[2J
bold[24;1H[?1049l[?1l>WARNING: (ncurses curses): imported module (srfi 
srfi-34) overrides core binding `raise'
PASS: curses_023_instr.test
[?1049h[1;24r[m[4l[?7h[H[2J[H[2J[?25l[?12l[?25h[?12;25h[?12l[?25h[24;1H[?1049l[?1l>FAIL:
 def-prog-mode: def-prog-mode
PASS: kernel: getsyx / setsyx
FAIL: kernel: savetty / resettty
UNRESOLVED: kernel: curs-set
WARNING: (ncurses curses): imported module (srfi srfi-34) overrides core 
binding `raise'
FAIL: curses_024_kernel.test
[?1049h[1;24r[m[4l[?7h[H[2J
 [24;1H[?1049l[?1l>WARNING: (ncurses curses): imported module (srfi srfi-34) 
overrides core binding `raise'
PASS: curses_025_move.test
[?1049h[1;24r[m[4l[?7h[H[2Jccc
ddd
eee
[H[2Jaaa
bbb
ccc
dddeee[24;1H[?1049l[?1l>WARNING: (ncurses curses): imported module (srfi 
srfi-34) overrides core binding `raise'
PASS: curses_026_outputs.test
[?1049h[1;24r[m[4l[?7h[H[2J[6;6H[H[2J[6;6Hxxx[H[H[2J[6;6H[H[2J[6;6Hxxx[H[H[2J[6;6H[H[2J[6;6Hxxx[Hxxx[?1049l[?1l>WARNING:
 (ncurses curses): imported module (srfi srfi-34) overrides core binding `raise'
PASS: curses_027_overlay.test
guile: symbol lookup error: 
/tmp/nix-build-f6rnz3698a1l3xmgnwqazwgiy8s2187p-guile-ncurses-1.2.drv-0/guile-ncurses-1.2/ncurses/.libs/libguile-ncurses.so.7:
 undefined symbol: is_pad
FAIL: curses_028_pad.test
[?1049h[1;24r[m[4l[?7h[H[2Jab[24;1H[?1049l[?1l>WARNING: (ncurses curses): 
imported module (srfi srfi-34) overrides core binding `raise'
PASS: curses_029_refresh.test
[?1049h[1;24r[m[4l[?7h[H[2Jxxx[24;1H[?1049l[?1l>[?1049h[1;24r[m[4l[?7h[H[2Jxxx[24;1H[?1049l[?1l>WARNING:
 (ncurses curses): imported module (srfi srfi-34) overrides core binding `raise'
PASS: curses_030_scr_dump.test
[?1049h[1;24r[m[4l[?7h[H[2Jxxx
[H[2J
xxx[A[H[2Jxxx
[24;1H[?1049l[?1l>WARNING: (ncurses curses): imported module (srfi srfi-34) 
overrides core binding `raise'
PASS: curses_031_scroll.test
[?1049h[1;24r[m[4l[?7h[39;49m[39;49m[24;1H[K[24;1H[?1049l[?1l>[39;49m[K[24;1H[?1049l[?1l>[39;49m[K[24;1H[?1049l[?1l>[39;49m[K[24;1H[?1049l[?1l>[39;49m[K[24;1H[?1049l[?1l>[39;49m[K[24;1H[?1049l[?1l>[39;49m[K[24;1H[?1049l[?1l>[39;49m[K[24;1H[?1049l[?1l>Baudrate:
 0 (expected 38400)
Erasechar: #f (expected #\del)
Killchar: #f (expected #\nak)
Has IC: #t (expected #t)
Has IL: #t (expected #t)
Long Terminal Name: xterm terminal emulator (X Window System)
Terminal Name: xterm

Terminal Capabilities Bit Mask
------------------------------
this term 00000000111011111111111100000000
  PROTECT 00000001000000000000000000000000
INVISIBLE 00000000100000000000000000000000
      ALT 00000000010000000000000000000000
     BOLD 00000000001000000000000000000000
      DIM 00000000000100000000000000000000
    BLINK 00000000000010000000000000000000
  REVERSE 00000000000001000000000000000000
UNDERLINE 00000000000000100000000000000000
 STANDOUT 00000000000000010000000000000000
    COLOR 00000000000000001111111100000000
std xterm 00000000111011111111111100000000
FAIL: termattrs: baudrate
FAIL: termattrs: erasechar
FAIL: termattrs: killchar
PASS: termattrs: has-ic?
PASS: termattrs: has-il?
PASS: termattrs: longname
PASS: termattrs: termname
PASS: termattrs: term-attrs
WARNING: (ncurses curses): imported module (srfi srfi-34) overrides core 
binding `raise'
FAIL: curses_032_termattrs.test
[?1049h[1;24r[m[4l[?7h[H[2J[H[2J[H[2J[H[2J[H[2J[H[2J[24;1H[?1049l[?1l>WARNING: 
(ncurses curses): imported module (srfi srfi-34) overrides core binding `raise'
PASS: curses_033_touch.test
[?1049h[1;24r[m[4l[?7h[H[2J[6;6Hzzz[H[2J[6;6Hzzz[24;1H[?1049l[?1l>WARNING: 
(ncurses curses): imported module (srfi srfi-34) overrides core binding `raise'
PASS: curses_034_util.test
[?1049h[1;24r[m[4l[?7h[24;1H[?1049l[?1l>WARNING: (ncurses curses): imported 
module (srfi srfi-34) overrides core binding `raise'
PASS: curses_035_attributes.test
WARNING: (ncurses curses): imported module (srfi srfi-34) overrides core 
binding `raise'
PASS: curses_036_ports.test
[?1049h[1;24r[m[4l[?7h[H[2Jmouseinterval for "xterm": 166
expecting 166
PASS
[H[2JMsetting mouseinterval to 140
mouseinterval for "xterm": 140
expecting 140
PASS
[24;1H[?1049l[?1l>WARNING: (ncurses curses): imported module (srfi srfi-34) 
overrides core binding `raise'
PASS: curses_037_mouse.test
[?1049h[1;24r[m[4l[?7h[H[2J[6;6H?????1?6?1?5?1?0?1?0?1?0?1?0?1?0?1?0?1?0?1?0?1?4
[6G?????1?6?1?7box 1   ?????1?6?1?7
[6G?????1?6?1?7 ?????1?6?1?5?1?0?1?0?1?0?1?0?1?0?1?0?1?0?1?0?1?4
[6G?????1?6?1?7 ?????1?6?1?7box 2   ?????1?6?1?7
[6G?????1?6?1?6?1?0?1?7[10;17H?????1?6?1?7
[8G?????1?6?1?7[11;17H?????1?6?1?7
[8G?????1?6?1?6?1?0?1?0?1?0?1?0?1?0?1?0?1?0?1?0?1?3[9;14H?????1?6[7;9Httom

2 [7;7Htop   
[8G       ?????1?6?1?7
[8G?????1?6       ?????1?6?1?7
[8G?????1?6?1?0?1?0?1?0?1?0?1?0?1?0?1?0?1?3[7;13H?????1?6[K
[K
[6G  ?????1?6?1?5?1?0?1?0?1?0?1?0?1?0?1?0?1?0
[6G?????1?6  ?????1?6?1?7box 2  
[6G  ?????1?6?1?7       [A[6;6H?????1?6?1?5?1?0?1?0?1?0?1?0?1?0?1?0?1?0?1?0?1?4
[6G?????1?6?1?7show    ?????1?6?1?7
[6G?????1?6?1?7        ?????1?6?1?7
[6G?????1?6?1?7        ?????1?6?1?7
[6G?????1?6?1?6?1?0?1?0?1?0?1?0?1?0?1?0?1?0?1?0?1?3[7d?????1?6[H

  ?????1?6?1?5?1?0?1?0?1?0?1?0?1?0?1?0?1?0?1?0?1?4
  ?????1?6?1?7move    ?????1?6?1?7
  ?????1?6?1?7[5;12H?????1?6?1?7
  ?????1?6?1?7        ?????1?6?1?7[K
  ?????1?6?1?6?1?0?1?0?1?0?1?0?1?0?1?0?1?0?1?0?1?3[K
[6G  ?????1?6?1?5?1?0?1?0?1?0?1?0?1?0?1?0?1?0
[6G?????1?6  ?????1?6?1?7box 2  
[6G  ?????1?6?1?7       [4;11H[4Gpwin1[9dpwin[4d[K
[K
[K
[K
[K[9;9Hbox 2  [24;1H[?1049l[?1l>WARNING: (ncurses curses): imported module 
(srfi srfi-34) overrides core binding `raise'
PASS: p001_panel.test
[?1049h[1;24r[m[4l[?7h[24;1H[?1049l[?1l>WARNING: (ncurses curses): imported 
module (srfi srfi-34) overrides core binding `raise'
PASS: f001_new_form.test
*** glibc detected *** guile: double free or corruption (!prev): 
0x0000000000e081b0 ***
[?1049h[1;24r[m[4l[?7h/bin/sh: line 5: 15282 Aborted                 
GUILE_AUTO_COMPILE=0 ../libtool -dlopen ../ncurses/libguile-ncurses.la 
--mode=execute guile -L 
/tmp/nix-build-f6rnz3698a1l3xmgnwqazwgiy8s2187p-guile-ncurses-1.2.drv-0/guile-ncurses-1.2
 -s ${dir}$tst
FAIL: f002_data.test
--8<---------------cut here---------------end--------------->8---

(With Guile 1.8.8, glibc 2.12.1, ncurses 5.7, on x86_64.)

Since the build is performed non-interactively in a chroot, I defined
??TERM=xterm?? so that the test would actually run (otherwise they all
fail with ??Error opening terminal: unknown.??.)  That is probably not the
best idea and may explain some of the failures.

How do you recommend to run the tests?

Besides, it??d be nice if ??guile-ncurses-shell?? would add $guilesitedir
to %load-path.

Thanks,
Ludo??.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]