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: -
From: sezer@php.net Assigned:
Status: Open Package: fuse (PECL)
PHP Version: 7.3.0RC3 OS: Debian 9
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
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

Add a Patch

Pull Requests

Add a Pull Request

 
PHP Copyright © 2001-2018 The PHP Group
All rights reserved.
Last updated: Wed Dec 19 03:01:26 2018 UTC