Package Details: php-protobuf 3.10.0-1

Git Clone URL: https://aur.archlinux.org/php-protobuf.git (read-only, click to copy)
Package Base: php-protobuf
Description: Google's language-neutral, platform-neutral, extensible mechanism for serializing structured data.
Upstream URL: https://pecl.php.net/package/protobuf
Licenses: PHP
Submitter: wolftankk
Maintainer: wolftankk
Last Packager: wolftankk
Votes: 1
Popularity: 0.000001
First Submitted: 2017-11-03 12:35
Last Updated: 2019-11-13 09:27

Latest Comments

maoxuner commented on 2020-11-02 06:05

Package build failure

php -v
PHP 7.4.12 (cli) (built: Oct 29 2020 18:46:07) ( NTS )
Copyright (c) The PHP Group
Zend Engine v3.4.0, Copyright (c) Zend Technologies
yay -S php-protobuf

...
/home/nono/.cache/yay/php-protobuf/src/protobuf-3.10.0/storage.c: In function ‘native_slot_set’:
/home/nono/.cache/yay/php-protobuf/src/protobuf-3.10.0/storage.c:106:9: error: too few arguments to function ‘zend_assign_to_variable’
  106 |         zend_assign_to_variable(cached_zval, value, IS_CV);
      |         ^~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/php/Zend/zend_API.h:29,
                 from /usr/include/php/main/php.h:37,
                 from ./protobuf.h:34,
                 from /home/nono/.cache/yay/php-protobuf/src/protobuf-3.10.0/storage.c:32:
/usr/include/php/Zend/zend_execute.h:100:33: note: declared here
  100 | static zend_always_inline zval* zend_assign_to_variable(zval *variable_ptr, zval *value, zend_uchar value_type, zend_bool strict)
      |                                 ^~~~~~~~~~~~~~~~~~~~~~~
make: *** [Makefile:203: storage.lo] Error 1
==> ERROR: A failure occurred in build().
    Aborting...
error making: php-protobuf

Modify PKGBUILD,update version pkgver=3.13.0.1,then build passed.