* bug#21677: Guile-NCurses 1.6 test failure with ncurses 6.0
@ 2015-10-13 8:54 Ludovic Courtès
2015-10-13 8:59 ` bug#21677: Guile-NCurses test failure when built against NCurses 6.0 Ludovic Courtès
0 siblings, 1 reply; 8+ messages in thread
From: Ludovic Courtès @ 2015-10-13 8:54 UTC (permalink / raw)
To: 21677
When compiled with NCurses 6.0, guile-ncurses 1.6 has one test failure:
--8<---------------cut here---------------start------------->8---
FAIL: curses_034_util.test
[...]
============================================================================
Testsuite summary for GNU Guile-Ncurses 1.6
============================================================================
# TOTAL: 71
# PASS: 70
# SKIP: 0
# XFAIL: 0
# FAIL: 1
# XPASS: 0
# ERROR: 0
--8<---------------cut here---------------end--------------->8---
This was fine with NCurses 5.0.
Ludo’.
^ permalink raw reply [flat|nested] 8+ messages in thread
* bug#21677: Guile-NCurses test failure when built against NCurses 6.0
2015-10-13 8:54 bug#21677: Guile-NCurses 1.6 test failure with ncurses 6.0 Ludovic Courtès
@ 2015-10-13 8:59 ` Ludovic Courtès
2015-10-13 17:03 ` bug#21677: [Bug-guile-ncurses] " Mike Gran
0 siblings, 1 reply; 8+ messages in thread
From: Ludovic Courtès @ 2015-10-13 8:59 UTC (permalink / raw)
To: bug-guile-ncurses; +Cc: 21677
Hello,
Guile-NCurses 1.6 has one test failure when built against NCurses 6.0:
--8<---------------cut here---------------start------------->8---
================================================
GNU Guile-Ncurses 1.6: test/test-suite.log
================================================
# TOTAL: 71
# PASS: 70
# SKIP: 0
# XFAIL: 0
# FAIL: 1
# XPASS: 0
# ERROR: 0
.. contents:: :depth: 2
FAIL: curses_034_util
=====================
[?1049h[1;24r[m[4l[?7h[H[2J[6;6Hzzz[H[2J[24;1H[?1049l^[[?1l>UNRESOLVED: util: delay-output
PASS: util: curses-version
PASS: util: unctrl #\bel
PASS: util: unctrl x
PASS: util: unctrl xchar #\bel
PASS: util: unctrl xchar x
PASS: util: keyname #\bel
PASS: util: keyname x
PASS: util: keyname home
FAIL: getwin/putwin: putwin
ERROR: getwin/putwin: getwin - arguments: ((srfi-34 #<condition &curses-wrong-type-arg-error [arg: #f expected-type: window] e7d210>))
--8<---------------cut here---------------end--------------->8---
This was fine with NCurses 5.0.
Any ideas?
(Run ‘guix build guile-ncurses’ with current Guix master to reproduce.)
Thanks in advance!
Ludo’.
^ permalink raw reply [flat|nested] 8+ messages in thread
* bug#21677: [Bug-guile-ncurses] Guile-NCurses test failure when built against NCurses 6.0
2015-10-13 8:59 ` bug#21677: Guile-NCurses test failure when built against NCurses 6.0 Ludovic Courtès
@ 2015-10-13 17:03 ` Mike Gran
2015-10-13 17:11 ` Ludovic Courtès
0 siblings, 1 reply; 8+ messages in thread
From: Mike Gran @ 2015-10-13 17:03 UTC (permalink / raw)
To: Ludovic Courtès, bug-guile-ncurses@gnu.org; +Cc: 21677@debbugs.gnu.org
> On Tuesday, October 13, 2015 1:59 AM, Ludovic Courtès <ludo@gnu.org> wrote:
> > Hello,
>
> Guile-NCurses 1.6 has one test failure when built against NCurses 6.0:
>
> FAIL: getwin/putwin: putwin
> ERROR: getwin/putwin: getwin - arguments: ((srfi-34 #<condition
> &curses-wrong-type-arg-error [arg: #f expected-type: window] e7d210>))
> Any ideas?
getwin/putwin save and restore a representation of a screen to a file.
That file format has changed for ncurses 6. Their binding is
probably the least robust of the many functions in guile-ncurses.
I'll see what I can do with regards to a fix.
FWIW, this particular failure is constrained to those two functions alone,
and doesn't indicate any other problems.
-Mike
^ permalink raw reply [flat|nested] 8+ messages in thread
* bug#21677: [Bug-guile-ncurses] Guile-NCurses test failure when built against NCurses 6.0
2015-10-13 17:03 ` bug#21677: [Bug-guile-ncurses] " Mike Gran
@ 2015-10-13 17:11 ` Ludovic Courtès
2015-10-13 17:40 ` Mike Gran
0 siblings, 1 reply; 8+ messages in thread
From: Ludovic Courtès @ 2015-10-13 17:11 UTC (permalink / raw)
To: Mike Gran; +Cc: 21677, bug-guile-ncurses@gnu.org
Mike Gran <spk121@yahoo.com> skribis:
>> On Tuesday, October 13, 2015 1:59 AM, Ludovic Courtès <ludo@gnu.org> wrote:
>> > Hello,
>>
>> Guile-NCurses 1.6 has one test failure when built against NCurses 6.0:
>>
>
>> FAIL: getwin/putwin: putwin
>> ERROR: getwin/putwin: getwin - arguments: ((srfi-34 #<condition
>> &curses-wrong-type-arg-error [arg: #f expected-type: window] e7d210>))
>
>> Any ideas?
>
> getwin/putwin save and restore a representation of a screen to a file.
> That file format has changed for ncurses 6. Their binding is
> probably the least robust of the many functions in guile-ncurses.
>
> I'll see what I can do with regards to a fix.
OK.
Any suggestions on how to fix it or work around it in Guix? Or maybe we
should just wait for whatever fix you come up with?
Thanks!
Ludo’.
^ permalink raw reply [flat|nested] 8+ messages in thread
* bug#21677: [Bug-guile-ncurses] Guile-NCurses test failure when built against NCurses 6.0
2015-10-13 17:11 ` Ludovic Courtès
@ 2015-10-13 17:40 ` Mike Gran
2015-10-17 16:50 ` Mike Gran
2015-11-03 23:15 ` Ludovic Courtès
0 siblings, 2 replies; 8+ messages in thread
From: Mike Gran @ 2015-10-13 17:40 UTC (permalink / raw)
To: Ludovic Courtès; +Cc: 21677@debbugs.gnu.org, bug-guile-ncurses@gnu.org
> On Tuesday, October 13, 2015 10:12 AM, Ludovic Courtès <ludo@gnu.org> wrote:
> > Mike Gran <spk121@yahoo.com> skribis:
>
>>> On Tuesday, October 13, 2015 1:59 AM, Ludovic Courtès
> <ludo@gnu.org> wrote:
>>> > Hello,
>>>
>>> Guile-NCurses 1.6 has one test failure when built against NCurses 6.0:
>>>
>>
>>> FAIL: getwin/putwin: putwin
>>> ERROR: getwin/putwin: getwin - arguments: ((srfi-34 #<condition
>>> &curses-wrong-type-arg-error [arg: #f expected-type: window]
> e7d210>))
>>
>>> Any ideas?
>>
>> getwin/putwin save and restore a representation of a screen to a file.
>> That file format has changed for ncurses 6. Their binding is
>> probably the least robust of the many functions in guile-ncurses.
>>
>> I'll see what I can do with regards to a fix.
>
> OK.
>
> Any suggestions on how to fix it or work around it in Guix? Or maybe we
> should just wait for whatever fix you come up with?
You could try adding ac_cv_func_fopencookie=no to the configure call.
If that works, that should be a legit fix.
Otherwise, I'll need a couple of days.
Or you could just remove the failing test curses_034_util.test from
test/Makefile.am. But that would be cheating. ;-)
-Mike
^ permalink raw reply [flat|nested] 8+ messages in thread
* bug#21677: [Bug-guile-ncurses] Guile-NCurses test failure when built against NCurses 6.0
2015-10-13 17:40 ` Mike Gran
@ 2015-10-17 16:50 ` Mike Gran
2015-10-18 10:20 ` Ludovic Courtès
2015-11-03 23:15 ` Ludovic Courtès
1 sibling, 1 reply; 8+ messages in thread
From: Mike Gran @ 2015-10-17 16:50 UTC (permalink / raw)
To: Ludovic Courtès; +Cc: 21677@debbugs.gnu.org, bug-guile-ncurses@gnu.org
>>>> Guile-NCurses 1.6 has one test failure when built against NCurses
> 6.0:
>>>>
>>>
>>>> FAIL: getwin/putwin: putwin
>>>> ERROR: getwin/putwin: getwin - arguments: ((srfi-34 #<condition
>
>>>> &curses-wrong-type-arg-error [arg: #f expected-type: window]
>> e7d210>))
>>>
>>>> Any ideas?
Okay. I've tried some of the combinations of Guile, Ncurses and OS
and getwin/putwin is broken in different ways with different combinations.
No one uses those functions anyway, as far as I can tell.
I think the plan is to put out a guile-ncurses 1.7 that just eliminates
it. And then soon, put out a guile-ncurses 2.0 that will require guile-2.0.11+
and ncurses 6.0+, and re-evaluate whether it is worth it to fix
those functions.
I'll try to put out guile-ncurses 1.7 this week.
-Mike
^ permalink raw reply [flat|nested] 8+ messages in thread
* bug#21677: [Bug-guile-ncurses] Guile-NCurses test failure when built against NCurses 6.0
2015-10-17 16:50 ` Mike Gran
@ 2015-10-18 10:20 ` Ludovic Courtès
0 siblings, 0 replies; 8+ messages in thread
From: Ludovic Courtès @ 2015-10-18 10:20 UTC (permalink / raw)
To: Mike Gran; +Cc: 21677@debbugs.gnu.org, bug-guile-ncurses@gnu.org
Mike Gran <spk121@yahoo.com> skribis:
> Okay. I've tried some of the combinations of Guile, Ncurses and OS
> and getwin/putwin is broken in different ways with different combinations.
>
> No one uses those functions anyway, as far as I can tell.
>
> I think the plan is to put out a guile-ncurses 1.7 that just eliminates
> it. And then soon, put out a guile-ncurses 2.0 that will require guile-2.0.11+
> and ncurses 6.0+, and re-evaluate whether it is worth it to fix
> those functions.
>
> I'll try to put out guile-ncurses 1.7 this week.
Great, thanks.
Ludo’.
^ permalink raw reply [flat|nested] 8+ messages in thread
* bug#21677: [Bug-guile-ncurses] Guile-NCurses test failure when built against NCurses 6.0
2015-10-13 17:40 ` Mike Gran
2015-10-17 16:50 ` Mike Gran
@ 2015-11-03 23:15 ` Ludovic Courtès
1 sibling, 0 replies; 8+ messages in thread
From: Ludovic Courtès @ 2015-11-03 23:15 UTC (permalink / raw)
To: 21677-done
For now, Guix commit 3931607 skips the offending test.
Ludo’.
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2015-11-03 23:16 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-10-13 8:54 bug#21677: Guile-NCurses 1.6 test failure with ncurses 6.0 Ludovic Courtès
2015-10-13 8:59 ` bug#21677: Guile-NCurses test failure when built against NCurses 6.0 Ludovic Courtès
2015-10-13 17:03 ` bug#21677: [Bug-guile-ncurses] " Mike Gran
2015-10-13 17:11 ` Ludovic Courtès
2015-10-13 17:40 ` Mike Gran
2015-10-17 16:50 ` Mike Gran
2015-10-18 10:20 ` Ludovic Courtès
2015-11-03 23:15 ` Ludovic Courtès
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
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 read-only IMAP folder(s) and NNTP newsgroup(s).