php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #77055 This package does not compile on PHP 7
Submitted: 2018-10-24 20:25 UTC Modified: 2020-12-18 13:16 UTC
From: sezer@php.net Assigned:
Status: Suspended Package: fuse (PECL)
PHP Version: 7.3.0RC3 OS: Debian 9
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: sezer@php.net
New email:
PHP Version: OS:

 

 [2018-10-24 20:25 UTC] sezer@php.net
Description:
------------
pecl install fuse does not work and returns pages of errors. This package should be removed from "stable".

/tmp/pear/temp/fuse/fuse.c: In function ‘zif_fuse_main’:
/usr/include/php/20151012/Zend/zend_types.h:336:39: warning: passing argument 1 of ‘zval_get_type’ from incompatible pointer type [-Wincompatible-pointer-types]
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                       ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro ‘Z_TYPE’
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^~~~~~
/usr/include/php/20151012/Zend/zend_operators.h:368:6: note: in expansion of macro ‘Z_TYPE_P’
  if (Z_TYPE_P(pzv)!=upper_type) {     \
      ^~~~~~~~
/usr/include/php/20151012/Zend/zend_operators.h:411:34: note: in expansion of macro ‘convert_to_ex_master’
 #define convert_to_array_ex(pzv) convert_to_ex_master(pzv, array, IS_ARRAY)
                                  ^~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fuse/fuse.c:170:2: note: in expansion of macro ‘convert_to_array_ex’
  convert_to_array_ex(&pzargv);
  ^~~~~~~~~~~~~~~~~~~
/usr/include/php/20151012/Zend/zend_types.h:326:38: note: expected ‘const zval * {aka const struct _zval_struct *}’ but argument is of type ‘zval ** {aka struct _zval_struct **}’
 static zend_always_inline zend_uchar zval_get_type(const zval* pz) {
                                      ^~~~~~~~~~~~~
In file included from /usr/include/php/20151012/Zend/zend.h:342:0,
                 from /usr/include/php/20151012/main/php.h:36,
                 from /tmp/pear/temp/fuse/fuse.c:25:
/tmp/pear/temp/fuse/fuse.c:170:22: warning: passing argument 1 of ‘convert_to_array’ from incompatible pointer type [-Wincompatible-pointer-types]
  convert_to_array_ex(&pzargv);
                      ^
/usr/include/php/20151012/Zend/zend_operators.h:369:27: note: in definition of macro ‘convert_to_ex_master’
   convert_to_##lower_type(pzv);      \
                           ^~~
/tmp/pear/temp/fuse/fuse.c:170:2: note: in expansion of macro ‘convert_to_array_ex’
  convert_to_array_ex(&pzargv);
  ^~~~~~~~~~~~~~~~~~~
/usr/include/php/20151012/Zend/zend_operators.h:249:29: note: expected ‘zval * {aka struct _zval_struct *}’ but argument is of type ‘zval ** {aka struct _zval_struct **}’
 ZEND_API void ZEND_FASTCALL convert_to_array(zval *op);
                             ^~~~~~~~~~~~~~~~
/tmp/pear/temp/fuse/fuse.c:173:3: error: too many arguments to function ‘add_index_string’
   add_index_string(pzargv, argc, "-h", 1);
   ^~~~~~~~~~~~~~~~


Expected result:
----------------
install fuse

Actual result:
--------------
failed with many errors

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2020-12-18 13:16 UTC] cmb@php.net
-Status: Open +Status: Suspended
 [2020-12-18 13:16 UTC] cmb@php.net
The fuse package had no release for the last ten years, and is
considered abandoned.  Until a new maintainer steps up, I'm
suspending this ticket.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Mon Nov 11 14:01:30 2024 UTC