Package Details: php-protobuf 4.26.1-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: BSD-3-Clause
Submitter: wolftankk
Maintainer: micwoj92
Last Packager: micwoj92
Votes: 1
Popularity: 0.012812
First Submitted: 2017-11-03 12:35 (UTC)
Last Updated: 2024-04-12 18:30 (UTC)

Dependencies (2)

Required by (0)

Sources (1)

Latest Comments

maoxuner commented on 2020-11-02 06:05 (UTC) (edited on 2020-11-02 06:11 (UTC) by maoxuner)

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.