GNU bug report logs - #21677
Guile-NCurses 1.6 test failure with ncurses 6.0

Previous Next

Package: guix;

Reported by: ludo <at> gnu.org (Ludovic Courtès)

Date: Tue, 13 Oct 2015 08:56:02 UTC

Severity: normal

Done: ludo <at> gnu.org (Ludovic Courtès)

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 21677 in the body.
You can then email your comments to 21677 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guix <at> gnu.org:
bug#21677; Package guix. (Tue, 13 Oct 2015 08:56:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to ludo <at> gnu.org (Ludovic Courtès):
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Tue, 13 Oct 2015 08:56:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: ludo <at> gnu.org (Ludovic Courtès)
To: bug-guix <at> gnu.org
Subject: Guile-NCurses 1.6 test failure with ncurses 6.0
Date: Tue, 13 Oct 2015 10:54:56 +0200
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’.




Information forwarded to bug-guix <at> gnu.org:
bug#21677; Package guix. (Tue, 13 Oct 2015 09:00:05 GMT) Full text and rfc822 format available.

Message #8 received at 21677 <at> debbugs.gnu.org (full text, mbox):

From: ludo <at> gnu.org (Ludovic Courtès)
To: bug-guile-ncurses <at> gnu.org
Cc: 21677 <at> debbugs.gnu.org
Subject: Guile-NCurses test failure when built against NCurses 6.0
Date: Tue, 13 Oct 2015 10:59:20 +0200
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’.




Information forwarded to bug-guix <at> gnu.org:
bug#21677; Package guix. (Tue, 13 Oct 2015 17:05:02 GMT) Full text and rfc822 format available.

Message #11 received at 21677 <at> debbugs.gnu.org (full text, mbox):

From: Mike Gran <spk121 <at> yahoo.com>
To: Ludovic Courtès <ludo <at> gnu.org>, 
 "bug-guile-ncurses <at> gnu.org" <bug-guile-ncurses <at> gnu.org>
Cc: "21677 <at> debbugs.gnu.org" <21677 <at> debbugs.gnu.org>
Subject: Re: [Bug-guile-ncurses] Guile-NCurses test failure when built
 against	NCurses 6.0
Date: Tue, 13 Oct 2015 17:03:57 +0000 (UTC)



> On Tuesday, October 13, 2015 1:59 AM, Ludovic Courtès <ludo <at> 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




Information forwarded to bug-guix <at> gnu.org:
bug#21677; Package guix. (Tue, 13 Oct 2015 17:12:02 GMT) Full text and rfc822 format available.

Message #14 received at 21677 <at> debbugs.gnu.org (full text, mbox):

From: ludo <at> gnu.org (Ludovic Courtès)
To: Mike Gran <spk121 <at> yahoo.com>
Cc: 21677 <at> debbugs.gnu.org,
 "bug-guile-ncurses <at> gnu.org" <bug-guile-ncurses <at> gnu.org>
Subject: Re: [Bug-guile-ncurses] Guile-NCurses test failure when built
 against	NCurses 6.0
Date: Tue, 13 Oct 2015 19:11:50 +0200
Mike Gran <spk121 <at> yahoo.com> skribis:

>> On Tuesday, October 13, 2015 1:59 AM, Ludovic Courtès <ludo <at> 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’.




Information forwarded to bug-guix <at> gnu.org:
bug#21677; Package guix. (Tue, 13 Oct 2015 17:41:02 GMT) Full text and rfc822 format available.

Message #17 received at 21677 <at> debbugs.gnu.org (full text, mbox):

From: Mike Gran <spk121 <at> yahoo.com>
To: Ludovic Courtès <ludo <at> gnu.org>
Cc: "21677 <at> debbugs.gnu.org" <21677 <at> debbugs.gnu.org>,
 "bug-guile-ncurses <at> gnu.org" <bug-guile-ncurses <at> gnu.org>
Subject: Re: [Bug-guile-ncurses] Guile-NCurses test failure when built
 against	NCurses 6.0
Date: Tue, 13 Oct 2015 17:40:01 +0000 (UTC)
 
> On Tuesday, October 13, 2015 10:12 AM, Ludovic Courtès <ludo <at> gnu.org> wrote:
> > Mike Gran <spk121 <at> yahoo.com> skribis:
> 
>>>  On Tuesday, October 13, 2015 1:59 AM, Ludovic Courtès 
> <ludo <at> 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




Information forwarded to bug-guix <at> gnu.org:
bug#21677; Package guix. (Sat, 17 Oct 2015 16:54:01 GMT) Full text and rfc822 format available.

Message #20 received at 21677 <at> debbugs.gnu.org (full text, mbox):

From: Mike Gran <spk121 <at> yahoo.com>
To: Ludovic Courtès <ludo <at> gnu.org>
Cc: "21677 <at> debbugs.gnu.org" <21677 <at> debbugs.gnu.org>,
 "bug-guile-ncurses <at> gnu.org" <bug-guile-ncurses <at> gnu.org>
Subject: Re: [Bug-guile-ncurses] Guile-NCurses test failure when built
 against	NCurses 6.0
Date: Sat, 17 Oct 2015 16:50:16 +0000 (UTC)
 
>>>>   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




Information forwarded to bug-guix <at> gnu.org:
bug#21677; Package guix. (Sun, 18 Oct 2015 10:21:02 GMT) Full text and rfc822 format available.

Message #23 received at 21677 <at> debbugs.gnu.org (full text, mbox):

From: ludo <at> gnu.org (Ludovic Courtès)
To: Mike Gran <spk121 <at> yahoo.com>
Cc: "21677 <at> debbugs.gnu.org" <21677 <at> debbugs.gnu.org>,
 "bug-guile-ncurses <at> gnu.org" <bug-guile-ncurses <at> gnu.org>
Subject: Re: [Bug-guile-ncurses] Guile-NCurses test failure when built
 against	NCurses 6.0
Date: Sun, 18 Oct 2015 12:20:07 +0200
Mike Gran <spk121 <at> 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’.




Reply sent to ludo <at> gnu.org (Ludovic Courtès):
You have taken responsibility. (Tue, 03 Nov 2015 23:16:02 GMT) Full text and rfc822 format available.

Notification sent to ludo <at> gnu.org (Ludovic Courtès):
bug acknowledged by developer. (Tue, 03 Nov 2015 23:16:02 GMT) Full text and rfc822 format available.

Message #28 received at 21677-done <at> debbugs.gnu.org (full text, mbox):

From: ludo <at> gnu.org (Ludovic Courtès)
To: 21677-done <at> debbugs.gnu.org
Subject: Re: bug#21677: [Bug-guile-ncurses] Guile-NCurses test failure when
 built against	NCurses 6.0
Date: Wed, 04 Nov 2015 00:15:24 +0100
For now, Guix commit 3931607 skips the offending test.

Ludo’.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Wed, 02 Dec 2015 12:24:04 GMT) Full text and rfc822 format available.

bug unarchived. Request was from Efraim Flashner <efraim <at> flashner.co.il> to control <at> debbugs.gnu.org. (Tue, 10 May 2016 06:30:02 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Tue, 07 Jun 2016 11:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 7 years and 330 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.