php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #79935 ncurses has not been updated to support PHP 7
Submitted: 2020-08-05 20:13 UTC Modified: 2021-03-18 17:10 UTC
From: heck at tutanota dot de Assigned: joodk (profile)
Status: Assigned Package: ncurses (PECL)
PHP Version: 7.4.8 OS: Ubuntu
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: heck at tutanota dot de
New email:
PHP Version: OS:

 

 [2020-08-05 20:13 UTC] heck at tutanota dot de
Description:
------------
Ncurses PECL package has not been updated to support PHP7.

Test script:
---------------
pecl install ncurses

Expected result:
----------------
ncurses should install. 

Actual result:
--------------
make:

/tmp/pear/temp/ncurses/ncurses.c:36:37: 
error: unknown type name ‘zend_rsrc_list_entry’; 
did you mean ‘zend_rsrc_list_dtors_entry’?





Patches

add-php7-support (last revision 2020-09-11 23:47 UTC by nathan dot renniewaldock+php at gmail dot com)

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2020-08-06 08:57 UTC] cmb@php.net
-Assigned To: +Assigned To: joodk
 [2020-08-06 13:18 UTC] joodk@php.net
i think we need new maintainer, because i am currently sick and dont have time.

But in the meantime maybe You can use this:
https://github.com/marcinguy/php7-ncurses - worked for me.
 [2020-08-06 13:18 UTC] joodk@php.net
I am sorry but i think we need to get a new maintainer because i am sick and dont have time for it.

But maybe this can help You out, it worked for me
https://github.com/marcinguy/php7-ncurses
 [2020-09-09 04:18 UTC] heck at tutanota dot de
Will you accept a patch to resolve this issue?
 [2020-09-09 08:27 UTC] hholzgra@php.net
I may consider becoming the maintainer of ncurses again (being the original author), but I'll only be able to look into this and decide in two weeks from now ...
 [2020-09-11 23:46 UTC] nathan dot renniewaldock+php at gmail dot com
The linked git repo looks like a bad port. It drops the garbage collection, and NCURSES_ prefix from some constants. It also doesn't build against 7.4.3.

There is a WIP in trunk that I've taken a look at. I've got it building against 7.0, 7.3, and 7.4 with the included example1.php functional. Haven't tested any further, or any other PHP versions.
 [2020-09-11 23:47 UTC] nathan dot renniewaldock+php at gmail dot com
The following patch has been added/updated:

Patch Name: add-php7-support
Revision:   1599868038
URL:        https://bugs.php.net/patch-display.php?bug=79935&patch=add-php7-support&revision=1599868038
 [2021-03-18 17:10 UTC] cmb@php.net
Looks like ncurses is desperately in need of a new maintainer.
Latest release from 2012, not compatible with PHP 7 (let alone PHP
8).  Anybody who is interested in taking over this role should
consider to apply for a PECL account[1].

[1] <https://pecl.php.net/account-request.php>
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue Oct 15 23:01:27 2024 UTC