------------------------------------------------------------------------------- -- Phase: setup ------------------------------------------------------------------------------- Installing /packages/All/pcre2-10.35.txz Installing /packages/All/libargon2-20190702.txz Installing /packages/All/libxml2-2.9.10_1.txz Installing /packages/All/php80-8.0.0.r2_1.txz Installing /packages/All/indexinfo-0.3.1.txz Installing /packages/All/m4-1.4.18_1,1.txz Installing /packages/All/autoconf-wrapper-20131203.txz Installing /packages/All/perl5-5.32.0.txz Installing /packages/All/autoconf-2.69_3.txz Installing /packages/All/openssl-1.1.1h_1,1.txz SUCCEEDED 00:00:20 ------------------------------------------------------------------------------- -- Phase: check-sanity ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: pkg-depends ------------------------------------------------------------------------------- ===> php80-pecl-crypto-0.3.1_2 depends on file: /usr/local/sbin/pkg - found SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: fetch-depends ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: fetch ------------------------------------------------------------------------------- ===> php80-pecl-crypto-0.3.1_2 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by php80-pecl-crypto-0.3.1_2 for building SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: checksum ------------------------------------------------------------------------------- ===> php80-pecl-crypto-0.3.1_2 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by php80-pecl-crypto-0.3.1_2 for building => SHA256 Checksum OK for PECL/crypto-0.3.1.tgz. SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: extract-depends ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: extract ------------------------------------------------------------------------------- ===> php80-pecl-crypto-0.3.1_2 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by php80-pecl-crypto-0.3.1_2 for building ===> Extracting for php80-pecl-crypto-0.3.1_2 ===> php80-pecl-crypto-0.3.1_2 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by php80-pecl-crypto-0.3.1_2 for building => SHA256 Checksum OK for PECL/crypto-0.3.1.tgz. Extracted Memory Use: 0.75M SUCCEEDED 00:00:01 ------------------------------------------------------------------------------- -- Phase: patch-depends ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: patch ------------------------------------------------------------------------------- ===> Patching for php80-pecl-crypto-0.3.1_2 ===> Applying ports patches for php80-pecl-crypto-0.3.1_2 from /xports/security/pecl-crypto/files ===> Applying dragonfly patches for php80-pecl-crypto-0.3.1_2 from /xports/security/pecl-crypto/dragonfly SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: build-depends ------------------------------------------------------------------------------- ===> php80-pecl-crypto-0.3.1_2 depends on file: /usr/local/bin/phpize - found ===> php80-pecl-crypto-0.3.1_2 depends on package: autoconf>0 - found ===> php80-pecl-crypto-0.3.1_2 depends on file: /usr/local/lib/libcrypto.so.11 - found SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: lib-depends ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: configure ------------------------------------------------------------------------------- ===> php80-pecl-crypto-0.3.1_2 depends on file: /usr/local/bin/phpize - found ===> php80-pecl-crypto-0.3.1_2 depends on package: autoconf>0 - found ===> php80-pecl-crypto-0.3.1_2 depends on file: /usr/local/lib/libcrypto.so.11 - found ===> PHPizing for php80-pecl-crypto-0.3.1_2 ===> Configuring for php80-pecl-crypto-0.3.1_2 Configuring for: PHP Api Version: 20200930 Zend Module Api No: 20200930 Zend Extension Api No: 420200930 configure: loading site script /xports/Templates/config.site checking for grep that handles long lines and -e... (cached) /usr/bin/grep checking for egrep... (cached) /usr/bin/egrep checking for a sed that does not truncate output... (cached) /usr/bin/sed checking for pkg-config... no checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether cc accepts -g... yes checking for cc option to accept ISO C89... none needed checking how to run the C preprocessor... cpp checking for icc... no checking for suncc... no checking for system library directory... lib checking if compiler supports -R... yes checking build system type... x86_64-portbld-dragonfly5.9 checking host system type... x86_64-portbld-dragonfly5.9 checking target system type... x86_64-portbld-dragonfly5.9 checking for PHP prefix... /usr/local checking for PHP includes... -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib checking for PHP extension directory... /usr/local/lib/php/20200930 checking for PHP installed headers prefix... /usr/local/include/php checking if debug is enabled... no checking if zts is enabled... no checking for gawk... (cached) /usr/bin/awk checking if /usr/bin/awk is broken... no checking for crypto support... yes, shared checking for pkg-config... no checking for a sed that does not truncate output... /usr/bin/sed checking for ld used by cc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for /usr/bin/ld option to reload object files... -r checking for BSD-compatible nm... /usr/bin/nm -B checking whether ln -s works... yes checking how to recognize dependent libraries... pass_all checking for ANSI C header files... (cached) yes checking for sys/types.h... (cached) yes checking for sys/stat.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for memory.h... (cached) yes checking for strings.h... (cached) yes checking for inttypes.h... (cached) yes checking for stdint.h... (cached) yes checking for unistd.h... (cached) yes checking for dlfcn.h... (cached) yes checking the maximum length of command line arguments... (cached) 262144 checking command to parse /usr/bin/nm -B output from cc object... ok checking for objdir... .libs checking for ar... ar checking for ranlib... ranlib checking for strip... strip checking if cc supports -fno-rtti -fno-exceptions... no checking for cc option to produce PIC... -fPIC checking if cc PIC flag -fPIC works... yes checking if cc static flag -static works... yes checking if cc supports -c -o file.o... yes checking whether the cc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... dragonfly5.9 ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no creating libtool appending configuration tag "CXX" to libtool checking whether the c++ linker (/usr/bin/ld) supports shared libraries... yes checking for c++ option to produce PIC... checking if c++ static flag works... yes checking if c++ supports -c -o file.o... yes checking whether the c++ linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... dragonfly5.9 ld.so (cached) (cached) checking how to hardcode library paths into programs... unsupported configure: patching config.h.in configure: creating ./config.status config.status: creating config.h SUCCEEDED 00:00:07 ------------------------------------------------------------------------------- -- Phase: build ------------------------------------------------------------------------------- ===> Building for php80-pecl-crypto-0.3.1_2 --- crypto.lo --- --- crypto_object.lo --- --- crypto_cipher.lo --- --- crypto_hash.lo --- --- crypto_kdf.lo --- --- crypto_base64.lo --- --- crypto_stream.lo --- --- crypto_rand.lo --- --- crypto_object.lo --- /bin/sh /construction/security/pecl-crypto/crypto-0.3.1/libtool --mode=compile cc -I. -I/construction/security/pecl-crypto/crypto-0.3.1 -I/construction/security/pecl-crypto/crypto-0.3.1/include -I/construction/security/pecl-crypto/crypto-0.3.1/main -I/construction/security/pecl-crypto/crypto-0.3.1 -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -DHAVE_CONFIG_H -pipe -I/usr/local/include -O2 -fno-strict-aliasing -c /construction/security/pecl-crypto/crypto-0.3.1/crypto_object.c -o crypto_object.lo --- crypto_hash.lo --- /bin/sh /construction/security/pecl-crypto/crypto-0.3.1/libtool --mode=compile cc -I. -I/construction/security/pecl-crypto/crypto-0.3.1 -I/construction/security/pecl-crypto/crypto-0.3.1/include -I/construction/security/pecl-crypto/crypto-0.3.1/main -I/construction/security/pecl-crypto/crypto-0.3.1 -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -DHAVE_CONFIG_H -pipe -I/usr/local/include -O2 -fno-strict-aliasing -c /construction/security/pecl-crypto/crypto-0.3.1/crypto_hash.c -o crypto_hash.lo --- crypto_kdf.lo --- /bin/sh /construction/security/pecl-crypto/crypto-0.3.1/libtool --mode=compile cc -I. -I/construction/security/pecl-crypto/crypto-0.3.1 -I/construction/security/pecl-crypto/crypto-0.3.1/include -I/construction/security/pecl-crypto/crypto-0.3.1/main -I/construction/security/pecl-crypto/crypto-0.3.1 -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -DHAVE_CONFIG_H -pipe -I/usr/local/include -O2 -fno-strict-aliasing -c /construction/security/pecl-crypto/crypto-0.3.1/crypto_kdf.c -o crypto_kdf.lo --- crypto_base64.lo --- /bin/sh /construction/security/pecl-crypto/crypto-0.3.1/libtool --mode=compile cc -I. -I/construction/security/pecl-crypto/crypto-0.3.1 -I/construction/security/pecl-crypto/crypto-0.3.1/include -I/construction/security/pecl-crypto/crypto-0.3.1/main -I/construction/security/pecl-crypto/crypto-0.3.1 -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -DHAVE_CONFIG_H -pipe -I/usr/local/include -O2 -fno-strict-aliasing -c /construction/security/pecl-crypto/crypto-0.3.1/crypto_base64.c -o crypto_base64.lo --- crypto.lo --- /bin/sh /construction/security/pecl-crypto/crypto-0.3.1/libtool --mode=compile cc -I. -I/construction/security/pecl-crypto/crypto-0.3.1 -I/construction/security/pecl-crypto/crypto-0.3.1/include -I/construction/security/pecl-crypto/crypto-0.3.1/main -I/construction/security/pecl-crypto/crypto-0.3.1 -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -DHAVE_CONFIG_H -pipe -I/usr/local/include -O2 -fno-strict-aliasing -c /construction/security/pecl-crypto/crypto-0.3.1/crypto.c -o crypto.lo --- crypto_rand.lo --- /bin/sh /construction/security/pecl-crypto/crypto-0.3.1/libtool --mode=compile cc -I. -I/construction/security/pecl-crypto/crypto-0.3.1 -I/construction/security/pecl-crypto/crypto-0.3.1/include -I/construction/security/pecl-crypto/crypto-0.3.1/main -I/construction/security/pecl-crypto/crypto-0.3.1 -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -DHAVE_CONFIG_H -pipe -I/usr/local/include -O2 -fno-strict-aliasing -c /construction/security/pecl-crypto/crypto-0.3.1/crypto_rand.c -o crypto_rand.lo --- crypto_cipher.lo --- /bin/sh /construction/security/pecl-crypto/crypto-0.3.1/libtool --mode=compile cc -I. -I/construction/security/pecl-crypto/crypto-0.3.1 -I/construction/security/pecl-crypto/crypto-0.3.1/include -I/construction/security/pecl-crypto/crypto-0.3.1/main -I/construction/security/pecl-crypto/crypto-0.3.1 -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -DHAVE_CONFIG_H -pipe -I/usr/local/include -O2 -fno-strict-aliasing -c /construction/security/pecl-crypto/crypto-0.3.1/crypto_cipher.c -o crypto_cipher.lo --- crypto_stream.lo --- /bin/sh /construction/security/pecl-crypto/crypto-0.3.1/libtool --mode=compile cc -I. -I/construction/security/pecl-crypto/crypto-0.3.1 -I/construction/security/pecl-crypto/crypto-0.3.1/include -I/construction/security/pecl-crypto/crypto-0.3.1/main -I/construction/security/pecl-crypto/crypto-0.3.1 -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -DHAVE_CONFIG_H -pipe -I/usr/local/include -O2 -fno-strict-aliasing -c /construction/security/pecl-crypto/crypto-0.3.1/crypto_stream.c -o crypto_stream.lo --- crypto_object.lo --- mkdir .libs cc -I. -I/construction/security/pecl-crypto/crypto-0.3.1 -I/construction/security/pecl-crypto/crypto-0.3.1/include -I/construction/security/pecl-crypto/crypto-0.3.1/main -I/construction/security/pecl-crypto/crypto-0.3.1 -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -DHAVE_CONFIG_H -pipe -I/usr/local/include -O2 -fno-strict-aliasing -c /construction/security/pecl-crypto/crypto-0.3.1/crypto_object.c -fPIC -DPIC -o .libs/crypto_object.o --- crypto_base64.lo --- cc -I. -I/construction/security/pecl-crypto/crypto-0.3.1 -I/construction/security/pecl-crypto/crypto-0.3.1/include -I/construction/security/pecl-crypto/crypto-0.3.1/main -I/construction/security/pecl-crypto/crypto-0.3.1 -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -DHAVE_CONFIG_H -pipe -I/usr/local/include -O2 -fno-strict-aliasing -c /construction/security/pecl-crypto/crypto-0.3.1/crypto_base64.c -fPIC -DPIC -o .libs/crypto_base64.o --- crypto.lo --- cc -I. -I/construction/security/pecl-crypto/crypto-0.3.1 -I/construction/security/pecl-crypto/crypto-0.3.1/include -I/construction/security/pecl-crypto/crypto-0.3.1/main -I/construction/security/pecl-crypto/crypto-0.3.1 -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -DHAVE_CONFIG_H -pipe -I/usr/local/include -O2 -fno-strict-aliasing -c /construction/security/pecl-crypto/crypto-0.3.1/crypto.c -fPIC -DPIC -o .libs/crypto.o --- crypto_hash.lo --- cc -I. -I/construction/security/pecl-crypto/crypto-0.3.1 -I/construction/security/pecl-crypto/crypto-0.3.1/include -I/construction/security/pecl-crypto/crypto-0.3.1/main -I/construction/security/pecl-crypto/crypto-0.3.1 -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -DHAVE_CONFIG_H -pipe -I/usr/local/include -O2 -fno-strict-aliasing -c /construction/security/pecl-crypto/crypto-0.3.1/crypto_hash.c -fPIC -DPIC -o .libs/crypto_hash.o --- crypto_rand.lo --- cc -I. -I/construction/security/pecl-crypto/crypto-0.3.1 -I/construction/security/pecl-crypto/crypto-0.3.1/include -I/construction/security/pecl-crypto/crypto-0.3.1/main -I/construction/security/pecl-crypto/crypto-0.3.1 -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -DHAVE_CONFIG_H -pipe -I/usr/local/include -O2 -fno-strict-aliasing -c /construction/security/pecl-crypto/crypto-0.3.1/crypto_rand.c -fPIC -DPIC -o .libs/crypto_rand.o --- crypto_stream.lo --- cc -I. -I/construction/security/pecl-crypto/crypto-0.3.1 -I/construction/security/pecl-crypto/crypto-0.3.1/include -I/construction/security/pecl-crypto/crypto-0.3.1/main -I/construction/security/pecl-crypto/crypto-0.3.1 -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -DHAVE_CONFIG_H -pipe -I/usr/local/include -O2 -fno-strict-aliasing -c /construction/security/pecl-crypto/crypto-0.3.1/crypto_stream.c -fPIC -DPIC -o .libs/crypto_stream.o --- crypto_cipher.lo --- cc -I. -I/construction/security/pecl-crypto/crypto-0.3.1 -I/construction/security/pecl-crypto/crypto-0.3.1/include -I/construction/security/pecl-crypto/crypto-0.3.1/main -I/construction/security/pecl-crypto/crypto-0.3.1 -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -DHAVE_CONFIG_H -pipe -I/usr/local/include -O2 -fno-strict-aliasing -c /construction/security/pecl-crypto/crypto-0.3.1/crypto_cipher.c -fPIC -DPIC -o .libs/crypto_cipher.o --- crypto_kdf.lo --- cc -I. -I/construction/security/pecl-crypto/crypto-0.3.1 -I/construction/security/pecl-crypto/crypto-0.3.1/include -I/construction/security/pecl-crypto/crypto-0.3.1/main -I/construction/security/pecl-crypto/crypto-0.3.1 -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -DHAVE_CONFIG_H -pipe -I/usr/local/include -O2 -fno-strict-aliasing -c /construction/security/pecl-crypto/crypto-0.3.1/crypto_kdf.c -fPIC -DPIC -o .libs/crypto_kdf.o --- crypto_object.lo --- In file included from /construction/security/pecl-crypto/crypto-0.3.1/crypto_object.c:20: /construction/security/pecl-crypto/crypto-0.3.1/php_crypto.h:119:51: error: expected ';', ',' or ')' before 'TSRMLS_DC' php_crypto_error_action action, int ignore_args TSRMLS_DC, ^~~~~~~~~ /construction/security/pecl-crypto/crypto-0.3.1/php_crypto.h:124:51: error: expected ';', ',' or ')' before 'TSRMLS_DC' php_crypto_error_action action, int ignore_args TSRMLS_DC, ^~~~~~~~~ /construction/security/pecl-crypto/crypto-0.3.1/php_crypto.h:129:51: error: expected ';', ',' or ')' before 'TSRMLS_DC' php_crypto_error_action action, int ignore_args TSRMLS_DC, ^~~~~~~~~ /construction/security/pecl-crypto/crypto-0.3.1/crypto_object.c: In function 'php_crypto_object_fn_get_names': /construction/security/pecl-crypto/crypto-0.3.1/crypto_object.c:49:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|bs", ^~~~~~~~~ /construction/security/pecl-crypto/crypto-0.3.1/crypto_object.c:49:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|bs", ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/security/pecl-crypto/crypto-0.3.1/crypto_object.c:19: /usr/local/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ --- crypto_cipher.lo --- In file included from /construction/security/pecl-crypto/crypto-0.3.1/crypto_cipher.c:22: /construction/security/pecl-crypto/crypto-0.3.1/php_crypto.h:119:51: error: expected ';', ',' or ')' before 'TSRMLS_DC' php_crypto_error_action action, int ignore_args TSRMLS_DC, ^~~~~~~~~ /construction/security/pecl-crypto/crypto-0.3.1/php_crypto.h:124:51: error: expected ';', ',' or ')' before 'TSRMLS_DC' php_crypto_error_action action, int ignore_args TSRMLS_DC, ^~~~~~~~~ /construction/security/pecl-crypto/crypto-0.3.1/php_crypto.h:129:51: error: expected ';', ',' or ')' before 'TSRMLS_DC' php_crypto_error_action action, int ignore_args TSRMLS_DC, ^~~~~~~~~ In file included from /construction/security/pecl-crypto/crypto-0.3.1/crypto_cipher.c:23: /construction/security/pecl-crypto/crypto-0.3.1/php_crypto_cipher.h:184:21: error: expected ';', ',' or ')' before 'TSRMLS_DC' zval *pz_key_size TSRMLS_DC); ^~~~~~~~~ /construction/security/pecl-crypto/crypto-0.3.1/php_crypto_cipher.h:196:15: error: expected ';', ',' or ')' before 'TSRMLS_DC' int tag_len TSRMLS_DC); ^~~~~~~~~ /construction/security/pecl-crypto/crypto-0.3.1/php_crypto_cipher.h:201:15: error: expected ';', ',' or ')' before 'TSRMLS_DC' int aad_len TSRMLS_DC); ^~~~~~~~~ --- crypto_object.lo --- *** [crypto_object.lo] Error code 1 make[2]: stopped in /construction/security/pecl-crypto/crypto-0.3.1 --- crypto_cipher.lo --- In file included from /construction/security/pecl-crypto/crypto-0.3.1/crypto_cipher.c:22: /construction/security/pecl-crypto/crypto-0.3.1/crypto_cipher.c: In function 'zm_startup_crypto_cipher': /construction/security/pecl-crypto/crypto-0.3.1/php_crypto.h:177:45: error: expected ')' before 'TSRMLS_CC' einfo->name, strlen(einfo->name), code++ TSRMLS_CC); \ ^~~~~~~~~ /construction/security/pecl-crypto/crypto-0.3.1/crypto_cipher.c:488:2: note: in expansion of macro 'PHP_CRYPTO_ERROR_INFO_REGISTER' PHP_CRYPTO_ERROR_INFO_REGISTER(Cipher); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /construction/security/pecl-crypto/crypto-0.3.1/php_crypto.h:48, from /construction/security/pecl-crypto/crypto-0.3.1/crypto_cipher.c:22: /construction/security/pecl-crypto/crypto-0.3.1/phpc/phpc.h:56:49: warning: assignment to 'zend_object_clone_obj_t' {aka 'struct _zend_object * (*)(struct _zend_object *)'} from incompatible pointer type 'zend_object * (*)(zval *)' {aka 'struct _zend_object * (*)(struct _zval_struct *)'} [-Wincompatible-pointer-types] PHPC_OBJ_GET_HANDLER_VAR_NAME(_name).clone_obj = PHPC_OBJ_GET_HANDLER_FCE(_name, clone) ^ /construction/security/pecl-crypto/crypto-0.3.1/crypto_cipher.c:497:2: note: in expansion of macro 'PHPC_OBJ_SET_HANDLER_CLONE' PHPC_OBJ_SET_HANDLER_CLONE(crypto_cipher); ^~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/security/pecl-crypto/crypto-0.3.1/crypto_cipher.c:499:59: error: expected ')' before 'TSRMLS_CC' "algorithm", sizeof("algorithm")-1, ZEND_ACC_PROTECTED TSRMLS_CC); ^~~~~~~~~ /construction/security/pecl-crypto/crypto-0.3.1/crypto_cipher.c:504:56: error: expected ')' before 'TSRMLS_CC' mode->constant, strlen(mode->constant), mode->value TSRMLS_CC); ^~~~~~~~~~ ) /construction/security/pecl-crypto/crypto-0.3.1/crypto_cipher.c: At top level: /construction/security/pecl-crypto/crypto-0.3.1/crypto_cipher.c:515:50: error: expected ';', ',' or ')' before 'TSRMLS_DC' char *algorithm, phpc_str_size_t algorithm_len TSRMLS_DC) ^~~~~~~~~ /construction/security/pecl-crypto/crypto-0.3.1/crypto_cipher.c:546:42: error: expected ';', ',' or ')' before 'TSRMLS_DC' zval *pz_key_size, zend_bool is_static TSRMLS_DC) ^~~~~~~~~ /construction/security/pecl-crypto/crypto-0.3.1/crypto_cipher.c:627:84: error: expected ';', ',' or ')' before 'TSRMLS_DC' char *algorithm, phpc_str_size_t algorithm_len, zval *pz_mode, zval *pz_key_size TSRMLS_DC) ^~~~~~~~~ /construction/security/pecl-crypto/crypto-0.3.1/crypto_cipher.c:636:50: error: expected ';', ',' or ')' before 'TSRMLS_DC' char *algorithm, phpc_str_size_t algorithm_len TSRMLS_DC) ^~~~~~~~~ /construction/security/pecl-crypto/crypto-0.3.1/crypto_cipher.c:649:50: error: expected ';', ',' or ')' before 'TSRMLS_DC' char *algorithm, phpc_str_size_t algorithm_len TSRMLS_DC) ^~~~~~~~~ /construction/security/pecl-crypto/crypto-0.3.1/crypto_cipher.c:660:57: error: expected ';', ',' or ')' before 'TSRMLS_DC' zval *pz_mode, zval *pz_key_size, zend_bool is_static TSRMLS_DC) ^~~~~~~~~ /construction/security/pecl-crypto/crypto-0.3.1/crypto_cipher.c:678:36: error: expected ';', ',' or ')' before 'TSRMLS_DC' zval *pz_mode, zval *pz_key_size TSRMLS_DC) ^~~~~~~~~ /construction/security/pecl-crypto/crypto-0.3.1/crypto_cipher.c:707:90: error: expected ';', ',' or ')' before 'TSRMLS_DC' static int php_crypto_cipher_is_mode_authenticated_ex(const php_crypto_cipher_mode *mode TSRMLS_DC) ^~~~~~~~~ /construction/security/pecl-crypto/crypto-0.3.1/crypto_cipher.c:722:85: error: expected ';', ',' or ')' before 'TSRMLS_DC' static int php_crypto_cipher_is_mode_authenticated(PHPC_THIS_DECLARE(crypto_cipher) TSRMLS_DC) ^~~~~~~~~ /construction/security/pecl-crypto/crypto-0.3.1/crypto_cipher.c:731:71: error: expected ';', ',' or ')' before 'TSRMLS_DC' const php_crypto_cipher_mode *mode, unsigned char *tag, int tag_len TSRMLS_DC) ^~~~~~~~~ /construction/security/pecl-crypto/crypto-0.3.1/crypto_cipher.c:745:56: error: expected ';', ',' or ')' before 'TSRMLS_DC' static int php_crypto_cipher_check_tag_len(int tag_len TSRMLS_DC) ^~~~~~~~~ /construction/security/pecl-crypto/crypto-0.3.1/crypto_cipher.c:761:27: error: expected ';', ',' or ')' before 'TSRMLS_DC' phpc_str_size_t key_len TSRMLS_DC) ^~~~~~~~~ /construction/security/pecl-crypto/crypto-0.3.1/crypto_cipher.c:779:62: error: expected ';', ',' or ')' before 'TSRMLS_DC' const php_crypto_cipher_mode *mode, phpc_str_size_t iv_len TSRMLS_DC) ^~~~~~~~~ /construction/security/pecl-crypto/crypto-0.3.1/crypto_cipher.c:806:45: error: expected ';', ',' or ')' before 'TSRMLS_DC' char *iv, phpc_str_size_t iv_len, int enc TSRMLS_DC) ^~~~~~~~~ /construction/security/pecl-crypto/crypto-0.3.1/crypto_cipher.c: In function 'php_crypto_cipher_init': /construction/security/pecl-crypto/crypto-0.3.1/crypto_cipher.c:873:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s|s", ^~~~~~~~~ /construction/security/pecl-crypto/crypto-0.3.1/crypto_cipher.c:873:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s|s", ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/security/pecl-crypto/crypto-0.3.1/crypto_cipher.c:21: /usr/local/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /construction/security/pecl-crypto/crypto-0.3.1/crypto_cipher.c:878:6: warning: implicit declaration of function 'php_crypto_cipher_init_ex'; did you mean 'php_crypto_cipher_init'? [-Wimplicit-function-declaration] if (php_crypto_cipher_init_ex(getThis(), key, key_len, iv, iv_len, enc TSRMLS_CC)) { ^~~~~~~~~~~~~~~~~~~~~~~~~ php_crypto_cipher_init /construction/security/pecl-crypto/crypto-0.3.1/crypto_cipher.c:878:72: error: expected ')' before 'TSRMLS_CC' if (php_crypto_cipher_init_ex(getThis(), key, key_len, iv, iv_len, enc TSRMLS_CC)) { ^~~~~~~~~~ ) /construction/security/pecl-crypto/crypto-0.3.1/crypto_cipher.c: At top level: /construction/security/pecl-crypto/crypto-0.3.1/crypto_cipher.c:888:63: error: expected ';', ',' or ')' before 'TSRMLS_DC' EVP_CIPHER_CTX *cipher_ctx, unsigned char *aad, int aad_len TSRMLS_DC) ^~~~~~~~~ /construction/security/pecl-crypto/crypto-0.3.1/crypto_cipher.c:909:41: error: expected ';', ',' or ')' before 'TSRMLS_DC' EVP_CIPHER_CTX *cipher_ctx, int inlen TSRMLS_DC) ^~~~~~~~~ /construction/security/pecl-crypto/crypto-0.3.1/crypto_cipher.c:923:47: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHPC_THIS_DECLARE(crypto_cipher), int inlen TSRMLS_DC) ^~~~~~~~~ /construction/security/pecl-crypto/crypto-0.3.1/crypto_cipher.c: In function 'php_crypto_cipher_update': /construction/security/pecl-crypto/crypto-0.3.1/crypto_cipher.c:961:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &data, &data_str_size) == FAILURE) { ^~~~~~~~~ /construction/security/pecl-crypto/crypto-0.3.1/crypto_cipher.c:961:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &data, &data_str_size) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/security/pecl-crypto/crypto-0.3.1/crypto_cipher.c:21: /usr/local/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /construction/security/pecl-crypto/crypto-0.3.1/crypto_cipher.c:966:3: warning: implicit declaration of function 'php_crypto_error'; did you mean 'php_verror'? [-Wimplicit-function-declaration] php_crypto_error(PHP_CRYPTO_ERROR_ARGS(Cipher, INPUT_DATA_LENGTH_HIGH)); ^~~~~~~~~~~~~~~~ php_verror In file included from /construction/security/pecl-crypto/crypto-0.3.1/crypto_cipher.c:22: /construction/security/pecl-crypto/crypto-0.3.1/php_crypto.h:184:51: error: expected ')' before 'TSRMLS_CC' PHP_CRYPTO_ERROR_INFO_NAME(ename), eexc, eact, 0 TSRMLS_CC, #einame ^~~~~~~~~ /construction/security/pecl-crypto/crypto-0.3.1/php_crypto.h:187:2: note: in expansion of macro 'PHP_CRYPTO_ERROR_ARGS_EX' PHP_CRYPTO_ERROR_ARGS_EX(ename, PHP_CRYPTO_EXCEPTION_CE(ename), \ ^~~~~~~~~~~~~~~~~~~~~~~~ /construction/security/pecl-crypto/crypto-0.3.1/crypto_cipher.c:966:20: note: in expansion of macro 'PHP_CRYPTO_ERROR_ARGS' php_crypto_error(PHP_CRYPTO_ERROR_ARGS(Cipher, INPUT_DATA_LENGTH_HIGH)); ^~~~~~~~~~~~~~~~~~~~~ /construction/security/pecl-crypto/crypto-0.3.1/php_crypto.h:184:51: error: expected ')' before 'TSRMLS_CC' PHP_CRYPTO_ERROR_INFO_NAME(ename), eexc, eact, 0 TSRMLS_CC, #einame ^~~~~~~~~ /construction/security/pecl-crypto/crypto-0.3.1/php_crypto.h:187:2: note: in expansion of macro 'PHP_CRYPTO_ERROR_ARGS_EX' PHP_CRYPTO_ERROR_ARGS_EX(ename, PHP_CRYPTO_EXCEPTION_CE(ename), \ ^~~~~~~~~~~~~~~~~~~~~~~~ /construction/security/pecl-crypto/crypto-0.3.1/crypto_cipher.c:974:20: note: in expansion of macro 'PHP_CRYPTO_ERROR_ARGS' php_crypto_error(PHP_CRYPTO_ERROR_ARGS(Cipher, UPDATE_ENCRYPT_FORBIDDEN)); ^~~~~~~~~~~~~~~~~~~~~ /construction/security/pecl-crypto/crypto-0.3.1/php_crypto.h:184:51: error: expected ')' before 'TSRMLS_CC' PHP_CRYPTO_ERROR_INFO_NAME(ename), eexc, eact, 0 TSRMLS_CC, #einame ^~~~~~~~~ /construction/security/pecl-crypto/crypto-0.3.1/php_crypto.h:187:2: note: in expansion of macro 'PHP_CRYPTO_ERROR_ARGS_EX' PHP_CRYPTO_ERROR_ARGS_EX(ename, PHP_CRYPTO_EXCEPTION_CE(ename), \ ^~~~~~~~~~~~~~~~~~~~~~~~ /construction/security/pecl-crypto/crypto-0.3.1/crypto_cipher.c:977:20: note: in expansion of macro 'PHP_CRYPTO_ERROR_ARGS' php_crypto_error(PHP_CRYPTO_ERROR_ARGS(Cipher, UPDATE_DECRYPT_FORBIDDEN)); ^~~~~~~~~~~~~~~~~~~~~ /construction/security/pecl-crypto/crypto-0.3.1/crypto_cipher.c:983:4: warning: implicit declaration of function 'php_crypto_cipher_auth_init'; did you mean 'php_crypto_cipher_init'? [-Wimplicit-function-declaration] php_crypto_cipher_auth_init(PHPC_THIS, data_len TSRMLS_CC) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~ php_crypto_cipher_init /construction/security/pecl-crypto/crypto-0.3.1/crypto_cipher.c:983:51: error: expected ')' before 'TSRMLS_CC' php_crypto_cipher_auth_init(PHPC_THIS, data_len TSRMLS_CC) == FAILURE) { ^~~~~~~~~~ ) In file included from /construction/security/pecl-crypto/crypto-0.3.1/crypto_cipher.c:22: /construction/security/pecl-crypto/crypto-0.3.1/php_crypto.h:184:51: error: expected ')' before 'TSRMLS_CC' PHP_CRYPTO_ERROR_INFO_NAME(ename), eexc, eact, 0 TSRMLS_CC, #einame ^~~~~~~~~ /construction/security/pecl-crypto/crypto-0.3.1/php_crypto.h:187:2: note: in expansion of macro 'PHP_CRYPTO_ERROR_ARGS_EX' PHP_CRYPTO_ERROR_ARGS_EX(ename, PHP_CRYPTO_EXCEPTION_CE(ename), \ ^~~~~~~~~~~~~~~~~~~~~~~~ /construction/security/pecl-crypto/crypto-0.3.1/crypto_cipher.c:1000:21: note: in expansion of macro 'PHP_CRYPTO_ERROR_ARGS' php_crypto_error(PHP_CRYPTO_ERROR_ARGS(Cipher, TAG_VERIFY_FAILED)); ^~~~~~~~~~~~~~~~~~~~~ /construction/security/pecl-crypto/crypto-0.3.1/php_crypto.h:184:51: error: expected ')' before 'TSRMLS_CC' PHP_CRYPTO_ERROR_INFO_NAME(ename), eexc, eact, 0 TSRMLS_CC, #einame ^~~~~~~~~ /construction/security/pecl-crypto/crypto-0.3.1/php_crypto.h:187:2: note: in expansion of macro 'PHP_CRYPTO_ERROR_ARGS_EX' PHP_CRYPTO_ERROR_ARGS_EX(ename, PHP_CRYPTO_EXCEPTION_CE(ename), \ ^~~~~~~~~~~~~~~~~~~~~~~~ /construction/security/pecl-crypto/crypto-0.3.1/crypto_cipher.c:1002:21: note: in expansion of macro 'PHP_CRYPTO_ERROR_ARGS' php_crypto_error(PHP_CRYPTO_ERROR_ARGS(Cipher, UPDATE_FAILED)); ^~~~~~~~~~~~~~~~~~~~~ /construction/security/pecl-crypto/crypto-0.3.1/crypto_cipher.c: In function 'php_crypto_cipher_finish': /construction/security/pecl-crypto/crypto-0.3.1/php_crypto.h:184:51: error: expected ')' before 'TSRMLS_CC' PHP_CRYPTO_ERROR_INFO_NAME(ename), eexc, eact, 0 TSRMLS_CC, #einame ^~~~~~~~~ /construction/security/pecl-crypto/crypto-0.3.1/php_crypto.h:187:2: note: in expansion of macro 'PHP_CRYPTO_ERROR_ARGS_EX' PHP_CRYPTO_ERROR_ARGS_EX(ename, PHP_CRYPTO_EXCEPTION_CE(ename), \ ^~~~~~~~~~~~~~~~~~~~~~~~ /construction/security/pecl-crypto/crypto-0.3.1/crypto_cipher.c:1032:20: note: in expansion of macro 'PHP_CRYPTO_ERROR_ARGS' php_crypto_error(PHP_CRYPTO_ERROR_ARGS(Cipher, FINISH_ENCRYPT_FORBIDDEN)); ^~~~~~~~~~~~~~~~~~~~~ /construction/security/pecl-crypto/crypto-0.3.1/php_crypto.h:184:51: error: expected ')' before 'TSRMLS_CC' PHP_CRYPTO_ERROR_INFO_NAME(ename), eexc, eact, 0 TSRMLS_CC, #einame ^~~~~~~~~ /construction/security/pecl-crypto/crypto-0.3.1/php_crypto.h:187:2: note: in expansion of macro 'PHP_CRYPTO_ERROR_ARGS_EX' PHP_CRYPTO_ERROR_ARGS_EX(ename, PHP_CRYPTO_EXCEPTION_CE(ename), \ ^~~~~~~~~~~~~~~~~~~~~~~~ /construction/security/pecl-crypto/crypto-0.3.1/crypto_cipher.c:1035:20: note: in expansion of macro 'PHP_CRYPTO_ERROR_ARGS' php_crypto_error(PHP_CRYPTO_ERROR_ARGS(Cipher, FINISH_DECRYPT_FORBIDDEN)); ^~~~~~~~~~~~~~~~~~~~~ /construction/security/pecl-crypto/crypto-0.3.1/php_crypto.h:184:51: error: expected ')' before 'TSRMLS_CC' PHP_CRYPTO_ERROR_INFO_NAME(ename), eexc, eact, 0 TSRMLS_CC, #einame ^~~~~~~~~ /construction/security/pecl-crypto/crypto-0.3.1/php_crypto.h:187:2: note: in expansion of macro 'PHP_CRYPTO_ERROR_ARGS_EX' PHP_CRYPTO_ERROR_ARGS_EX(ename, PHP_CRYPTO_EXCEPTION_CE(ename), \ ^~~~~~~~~~~~~~~~~~~~~~~~ /construction/security/pecl-crypto/crypto-0.3.1/crypto_cipher.c:1049:21: note: in expansion of macro 'PHP_CRYPTO_ERROR_ARGS' php_crypto_error(PHP_CRYPTO_ERROR_ARGS(Cipher, TAG_VERIFY_FAILED)); ^~~~~~~~~~~~~~~~~~~~~ /construction/security/pecl-crypto/crypto-0.3.1/php_crypto.h:184:51: error: expected ')' before 'TSRMLS_CC' PHP_CRYPTO_ERROR_INFO_NAME(ename), eexc, eact, 0 TSRMLS_CC, #einame ^~~~~~~~~ /construction/security/pecl-crypto/crypto-0.3.1/php_crypto.h:187:2: note: in expansion of macro 'PHP_CRYPTO_ERROR_ARGS_EX' PHP_CRYPTO_ERROR_ARGS_EX(ename, PHP_CRYPTO_EXCEPTION_CE(ename), \ ^~~~~~~~~~~~~~~~~~~~~~~~ /construction/security/pecl-crypto/crypto-0.3.1/crypto_cipher.c:1051:21: note: in expansion of macro 'PHP_CRYPTO_ERROR_ARGS' php_crypto_error(PHP_CRYPTO_ERROR_ARGS(Cipher, FINISH_FAILED)); ^~~~~~~~~~~~~~~~~~~~~ /construction/security/pecl-crypto/crypto-0.3.1/crypto_cipher.c: In function 'php_crypto_cipher_crypt': /construction/security/pecl-crypto/crypto-0.3.1/crypto_cipher.c:1075:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ss|s", ^~~~~~~~~ /construction/security/pecl-crypto/crypto-0.3.1/crypto_cipher.c:1075:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ss|s", ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/security/pecl-crypto/crypto-0.3.1/crypto_cipher.c:21: /usr/local/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ In file included from /construction/security/pecl-crypto/crypto-0.3.1/crypto_cipher.c:22: /construction/security/pecl-crypto/crypto-0.3.1/php_crypto.h:184:51: error: expected ')' before 'TSRMLS_CC' PHP_CRYPTO_ERROR_INFO_NAME(ename), eexc, eact, 0 TSRMLS_CC, #einame ^~~~~~~~~ /construction/security/pecl-crypto/crypto-0.3.1/php_crypto.h:187:2: note: in expansion of macro 'PHP_CRYPTO_ERROR_ARGS_EX' PHP_CRYPTO_ERROR_ARGS_EX(ename, PHP_CRYPTO_EXCEPTION_CE(ename), \ ^~~~~~~~~~~~~~~~~~~~~~~~ /construction/security/pecl-crypto/crypto-0.3.1/crypto_cipher.c:1081:20: note: in expansion of macro 'PHP_CRYPTO_ERROR_ARGS' php_crypto_error(PHP_CRYPTO_ERROR_ARGS(Cipher, INPUT_DATA_LENGTH_HIGH)); ^~~~~~~~~~~~~~~~~~~~~ /construction/security/pecl-crypto/crypto-0.3.1/crypto_cipher.c:1085:80: error: expected ')' before 'TSRMLS_CC' PHPC_THIS = php_crypto_cipher_init_ex(getThis(), key, key_len, iv, iv_len, enc TSRMLS_CC); ^~~~~~~~~~ ) /construction/security/pecl-crypto/crypto-0.3.1/crypto_cipher.c:1085:12: warning: assignment to 'struct _phpc_crypto_cipher__obj *' from 'int' makes pointer from integer without a cast [-Wint-conversion] PHPC_THIS = php_crypto_cipher_init_ex(getThis(), key, key_len, iv, iv_len, enc TSRMLS_CC); ^ /construction/security/pecl-crypto/crypto-0.3.1/crypto_cipher.c:1091:53: error: expected ')' before 'TSRMLS_CC' if (php_crypto_cipher_auth_init(PHPC_THIS, data_len TSRMLS_CC) == FAILURE) { ^~~~~~~~~~ ) In file included from /construction/security/pecl-crypto/crypto-0.3.1/crypto_cipher.c:22: /construction/security/pecl-crypto/crypto-0.3.1/php_crypto.h:184:51: error: expected ')' before 'TSRMLS_CC' PHP_CRYPTO_ERROR_INFO_NAME(ename), eexc, eact, 0 TSRMLS_CC, #einame ^~~~~~~~~ /construction/security/pecl-crypto/crypto-0.3.1/php_crypto.h:187:2: note: in expansion of macro 'PHP_CRYPTO_ERROR_ARGS_EX' PHP_CRYPTO_ERROR_ARGS_EX(ename, PHP_CRYPTO_EXCEPTION_CE(ename), \ ^~~~~~~~~~~~~~~~~~~~~~~~ /construction/security/pecl-crypto/crypto-0.3.1/crypto_cipher.c:1106:21: note: in expansion of macro 'PHP_CRYPTO_ERROR_ARGS' php_crypto_error(PHP_CRYPTO_ERROR_ARGS(Cipher, TAG_VERIFY_FAILED)); ^~~~~~~~~~~~~~~~~~~~~ /construction/security/pecl-crypto/crypto-0.3.1/php_crypto.h:184:51: error: expected ')' before 'TSRMLS_CC' PHP_CRYPTO_ERROR_INFO_NAME(ename), eexc, eact, 0 TSRMLS_CC, #einame ^~~~~~~~~ /construction/security/pecl-crypto/crypto-0.3.1/php_crypto.h:187:2: note: in expansion of macro 'PHP_CRYPTO_ERROR_ARGS_EX' PHP_CRYPTO_ERROR_ARGS_EX(ename, PHP_CRYPTO_EXCEPTION_CE(ename), \ ^~~~~~~~~~~~~~~~~~~~~~~~ /construction/security/pecl-crypto/crypto-0.3.1/crypto_cipher.c:1108:21: note: in expansion of macro 'PHP_CRYPTO_ERROR_ARGS' php_crypto_error(PHP_CRYPTO_ERROR_ARGS(Cipher, UPDATE_FAILED)); ^~~~~~~~~~~~~~~~~~~~~ /construction/security/pecl-crypto/crypto-0.3.1/php_crypto.h:184:51: error: expected ')' before 'TSRMLS_CC' PHP_CRYPTO_ERROR_INFO_NAME(ename), eexc, eact, 0 TSRMLS_CC, #einame ^~~~~~~~~ /construction/security/pecl-crypto/crypto-0.3.1/php_crypto.h:187:2: note: in expansion of macro 'PHP_CRYPTO_ERROR_ARGS_EX' PHP_CRYPTO_ERROR_ARGS_EX(ename, PHP_CRYPTO_EXCEPTION_CE(ename), \ ^~~~~~~~~~~~~~~~~~~~~~~~ /construction/security/pecl-crypto/crypto-0.3.1/crypto_cipher.c:1118:21: note: in expansion of macro 'PHP_CRYPTO_ERROR_ARGS' php_crypto_error(PHP_CRYPTO_ERROR_ARGS(Cipher, TAG_VERIFY_FAILED)); ^~~~~~~~~~~~~~~~~~~~~ /construction/security/pecl-crypto/crypto-0.3.1/php_crypto.h:184:51: error: expected ')' before 'TSRMLS_CC' PHP_CRYPTO_ERROR_INFO_NAME(ename), eexc, eact, 0 TSRMLS_CC, #einame ^~~~~~~~~ /construction/security/pecl-crypto/crypto-0.3.1/php_crypto.h:187:2: note: in expansion of macro 'PHP_CRYPTO_ERROR_ARGS_EX' PHP_CRYPTO_ERROR_ARGS_EX(ename, PHP_CRYPTO_EXCEPTION_CE(ename), \ ^~~~~~~~~~~~~~~~~~~~~~~~ /construction/security/pecl-crypto/crypto-0.3.1/crypto_cipher.c:1120:21: note: in expansion of macro 'PHP_CRYPTO_ERROR_ARGS' php_crypto_error(PHP_CRYPTO_ERROR_ARGS(Cipher, FINISH_FAILED)); ^~~~~~~~~~~~~~~~~~~~~ /construction/security/pecl-crypto/crypto-0.3.1/crypto_cipher.c: In function 'zim_Crypto__Cipher_hasAlgorithm': /construction/security/pecl-crypto/crypto-0.3.1/crypto_cipher.c:1153:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", ^~~~~~~~~ /construction/security/pecl-crypto/crypto-0.3.1/crypto_cipher.c:1153:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/security/pecl-crypto/crypto-0.3.1/crypto_cipher.c:21: /usr/local/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /construction/security/pecl-crypto/crypto-0.3.1/crypto_cipher.c: In function 'zim_Crypto__Cipher_hasMode': /construction/security/pecl-crypto/crypto-0.3.1/crypto_cipher.c:1172:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &mode) == FAILURE) { ^~~~~~~~~ /construction/security/pecl-crypto/crypto-0.3.1/crypto_cipher.c:1172:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &mode) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/security/pecl-crypto/crypto-0.3.1/crypto_cipher.c:21: /usr/local/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /construction/security/pecl-crypto/crypto-0.3.1/crypto_cipher.c: In function 'zim_Crypto__Cipher___callStatic': /construction/security/pecl-crypto/crypto-0.3.1/crypto_cipher.c:1190:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "sa", ^~~~~~~~~ /construction/security/pecl-crypto/crypto-0.3.1/crypto_cipher.c:1190:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "sa", ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/security/pecl-crypto/crypto-0.3.1/crypto_cipher.c:21: /usr/local/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /construction/security/pecl-crypto/crypto-0.3.1/crypto_cipher.c:1197:3: warning: implicit declaration of function 'php_crypto_error_ex'; did you mean 'php_crypto_cipher_crypt'? [-Wimplicit-function-declaration] php_crypto_error_ex(PHP_CRYPTO_ERROR_ARGS(Cipher, STATIC_METHOD_TOO_MANY_ARGS), algorithm); ^~~~~~~~~~~~~~~~~~~ php_crypto_cipher_crypt In file included from /construction/security/pecl-crypto/crypto-0.3.1/crypto_cipher.c:22: /construction/security/pecl-crypto/crypto-0.3.1/php_crypto.h:184:51: error: expected ')' before 'TSRMLS_CC' PHP_CRYPTO_ERROR_INFO_NAME(ename), eexc, eact, 0 TSRMLS_CC, #einame ^~~~~~~~~ /construction/security/pecl-crypto/crypto-0.3.1/php_crypto.h:187:2: note: in expansion of macro 'PHP_CRYPTO_ERROR_ARGS_EX' PHP_CRYPTO_ERROR_ARGS_EX(ename, PHP_CRYPTO_EXCEPTION_CE(ename), \ ^~~~~~~~~~~~~~~~~~~~~~~~ /construction/security/pecl-crypto/crypto-0.3.1/crypto_cipher.c:1197:23: note: in expansion of macro 'PHP_CRYPTO_ERROR_ARGS' php_crypto_error_ex(PHP_CRYPTO_ERROR_ARGS(Cipher, STATIC_METHOD_TOO_MANY_ARGS), algorithm); ^~~~~~~~~~~~~~~~~~~~~ /construction/security/pecl-crypto/crypto-0.3.1/crypto_cipher.c:1204:7: warning: implicit declaration of function 'php_crypto_set_cipher_algorithm'; did you mean 'php_crypto_get_cipher_algorithm'? [-Wimplicit-function-declaration] if (php_crypto_set_cipher_algorithm( ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ php_crypto_get_cipher_algorithm /construction/security/pecl-crypto/crypto-0.3.1/crypto_cipher.c:1205:43: error: expected ')' before 'TSRMLS_CC' return_value, algorithm, algorithm_len TSRMLS_CC) == FAILURE) { ^~~~~~~~~~ ) In file included from /construction/security/pecl-crypto/crypto-0.3.1/crypto_cipher.c:22: /construction/security/pecl-crypto/crypto-0.3.1/php_crypto.h:184:51: error: expected ')' before 'TSRMLS_CC' PHP_CRYPTO_ERROR_INFO_NAME(ename), eexc, eact, 0 TSRMLS_CC, #einame ^~~~~~~~~ /construction/security/pecl-crypto/crypto-0.3.1/php_crypto.h:187:2: note: in expansion of macro 'PHP_CRYPTO_ERROR_ARGS_EX' PHP_CRYPTO_ERROR_ARGS_EX(ename, PHP_CRYPTO_EXCEPTION_CE(ename), \ ^~~~~~~~~~~~~~~~~~~~~~~~ /construction/security/pecl-crypto/crypto-0.3.1/crypto_cipher.c:1206:24: note: in expansion of macro 'PHP_CRYPTO_ERROR_ARGS' php_crypto_error_ex(PHP_CRYPTO_ERROR_ARGS(Cipher, STATIC_METHOD_NOT_FOUND), algorithm); ^~~~~~~~~~~~~~~~~~~~~ /construction/security/pecl-crypto/crypto-0.3.1/crypto_cipher.c:1222:2: warning: implicit declaration of function 'php_crypto_set_cipher_algorithm_from_params_ex'; did you mean 'php_crypto_get_cipher_algorithm'? [-Wimplicit-function-declaration] php_crypto_set_cipher_algorithm_from_params_ex( ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ php_crypto_get_cipher_algorithm /construction/security/pecl-crypto/crypto-0.3.1/crypto_cipher.c:1223:67: error: expected ')' before 'TSRMLS_CC' return_value, algorithm, algorithm_len, pz_mode, pz_key_size, 1 TSRMLS_CC); ^~~~~~~~~~ ) /construction/security/pecl-crypto/crypto-0.3.1/crypto_cipher.c: In function 'zim_Crypto__Cipher___construct': /construction/security/pecl-crypto/crypto-0.3.1/crypto_cipher.c:1235:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s|zz", ^~~~~~~~~ /construction/security/pecl-crypto/crypto-0.3.1/crypto_cipher.c:1235:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s|zz", ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/security/pecl-crypto/crypto-0.3.1/crypto_cipher.c:21: /usr/local/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ --- crypto.lo --- In file included from /construction/security/pecl-crypto/crypto-0.3.1/crypto.c:27: /construction/security/pecl-crypto/crypto-0.3.1/php_crypto.h:119:51: error: expected ';', ',' or ')' before 'TSRMLS_DC' php_crypto_error_action action, int ignore_args TSRMLS_DC, ^~~~~~~~~ /construction/security/pecl-crypto/crypto-0.3.1/php_crypto.h:124:51: error: expected ';', ',' or ')' before 'TSRMLS_DC' php_crypto_error_action action, int ignore_args TSRMLS_DC, ^~~~~~~~~ /construction/security/pecl-crypto/crypto-0.3.1/php_crypto.h:129:51: error: expected ';', ',' or ')' before 'TSRMLS_DC' php_crypto_error_action action, int ignore_args TSRMLS_DC, ^~~~~~~~~ In file included from /construction/security/pecl-crypto/crypto-0.3.1/crypto.c:29: /construction/security/pecl-crypto/crypto-0.3.1/php_crypto_cipher.h:184:21: error: expected ';', ',' or ')' before 'TSRMLS_DC' zval *pz_key_size TSRMLS_DC); ^~~~~~~~~ /construction/security/pecl-crypto/crypto-0.3.1/php_crypto_cipher.h:196:15: error: expected ';', ',' or ')' before 'TSRMLS_DC' int tag_len TSRMLS_DC); ^~~~~~~~~ /construction/security/pecl-crypto/crypto-0.3.1/php_crypto_cipher.h:201:15: error: expected ';', ',' or ')' before 'TSRMLS_DC' int aad_len TSRMLS_DC); ^~~~~~~~~ --- crypto_cipher.lo --- /construction/security/pecl-crypto/crypto-0.3.1/crypto_cipher.c:1241:2: warning: implicit declaration of function 'php_crypto_set_cipher_algorithm_from_params'; did you mean 'php_crypto_get_cipher_algorithm'? [-Wimplicit-function-declaration] php_crypto_set_cipher_algorithm_from_params( ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ php_crypto_get_cipher_algorithm /construction/security/pecl-crypto/crypto-0.3.1/crypto_cipher.c:1242:65: error: expected ')' before 'TSRMLS_CC' getThis(), algorithm_uc, strlen(algorithm_uc), mode, key_size TSRMLS_CC); ^~~~~~~~~~ ) In file included from /construction/security/pecl-crypto/crypto-0.3.1/php_crypto.h:48, from /construction/security/pecl-crypto/crypto-0.3.1/crypto_cipher.c:22: /construction/security/pecl-crypto/crypto-0.3.1/crypto_cipher.c: In function 'zim_Crypto__Cipher_getAlgorithmName': /usr/local/include/php/Zend/zend_API.h:413:73: warning: passing argument 2 of 'zend_read_property' from incompatible pointer type [-Wincompatible-pointer-types] #define getThis() ((Z_TYPE_P(ZEND_THIS) == IS_OBJECT) ? ZEND_THIS : NULL) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ /construction/security/pecl-crypto/crypto-0.3.1/phpc/phpc.h:739:29: note: in definition of macro 'PHPC_READ_PROPERTY' zend_read_property(_scope, _object, _name, _name_len, _silent, &PHPC_READ_PROPERTY_RV_NAME) ^~~~~~~ /construction/security/pecl-crypto/crypto-0.3.1/crypto_cipher.c:1254:14: note: in expansion of macro 'PHP_CRYPTO_CIPHER_GET_ALGORITHM_NAME_EX' algorithm = PHP_CRYPTO_CIPHER_GET_ALGORITHM_NAME_EX(getThis()); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/security/pecl-crypto/crypto-0.3.1/crypto_cipher.c:1254:54: note: in expansion of macro 'getThis' algorithm = PHP_CRYPTO_CIPHER_GET_ALGORITHM_NAME_EX(getThis()); ^~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/security/pecl-crypto/crypto-0.3.1/crypto_cipher.c:21: /usr/local/include/php/Zend/zend_API.h:404:16: note: expected 'zend_object *' {aka 'struct _zend_object *'} but argument is of type 'zval *' {aka 'struct _zval_struct *'} ZEND_API zval *zend_read_property(zend_class_entry *scope, zend_object *object, const char *name, size_t name_length, zend_bool silent, zval *rv); ^~~~~~~~~~~~~~~~~~ --- crypto.lo --- In file included from /construction/security/pecl-crypto/crypto-0.3.1/php_crypto.h:48, from /construction/security/pecl-crypto/crypto-0.3.1/crypto.c:27: /construction/security/pecl-crypto/crypto-0.3.1/crypto.c: In function 'zm_startup_crypto': /construction/security/pecl-crypto/crypto-0.3.1/crypto.c:79:74: error: 'TSRMLS_C' undeclared (first use in this function); did you mean 'TSRM_H'? PHP_CRYPTO_EXCEPTION_REGISTER_CE(ce, Crypto, zend_exception_get_default(TSRMLS_C)); ^~~~~~~~ /construction/security/pecl-crypto/crypto-0.3.1/phpc/phpc.h:658:54: note: in definition of macro 'PHPC_CLASS_REGISTER_EX' zend_register_internal_class_ex(&_orig_class_entry, _parent_ce) ^~~~~~~~~~ /construction/security/pecl-crypto/crypto-0.3.1/crypto.c:79:2: note: in expansion of macro 'PHP_CRYPTO_EXCEPTION_REGISTER_CE' PHP_CRYPTO_EXCEPTION_REGISTER_CE(ce, Crypto, zend_exception_get_default(TSRMLS_C)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/security/pecl-crypto/crypto-0.3.1/crypto.c:79:74: note: each undeclared identifier is reported only once for each function it appears in PHP_CRYPTO_EXCEPTION_REGISTER_CE(ce, Crypto, zend_exception_get_default(TSRMLS_C)); ^~~~~~~~ /construction/security/pecl-crypto/crypto-0.3.1/phpc/phpc.h:658:54: note: in definition of macro 'PHPC_CLASS_REGISTER_EX' zend_register_internal_class_ex(&_orig_class_entry, _parent_ce) ^~~~~~~~~~ /construction/security/pecl-crypto/crypto-0.3.1/crypto.c:79:2: note: in expansion of macro 'PHP_CRYPTO_EXCEPTION_REGISTER_CE' PHP_CRYPTO_EXCEPTION_REGISTER_CE(ce, Crypto, zend_exception_get_default(TSRMLS_C)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/security/pecl-crypto/crypto-0.3.1/crypto.c:79:47: error: too many arguments to function 'zend_exception_get_default' PHP_CRYPTO_EXCEPTION_REGISTER_CE(ce, Crypto, zend_exception_get_default(TSRMLS_C)); ^~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/security/pecl-crypto/crypto-0.3.1/phpc/phpc.h:658:54: note: in definition of macro 'PHPC_CLASS_REGISTER_EX' zend_register_internal_class_ex(&_orig_class_entry, _parent_ce) ^~~~~~~~~~ /construction/security/pecl-crypto/crypto-0.3.1/crypto.c:79:2: note: in expansion of macro 'PHP_CRYPTO_EXCEPTION_REGISTER_CE' PHP_CRYPTO_EXCEPTION_REGISTER_CE(ce, Crypto, zend_exception_get_default(TSRMLS_C)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /construction/security/pecl-crypto/crypto-0.3.1/crypto.c:25: /usr/local/include/php/Zend/zend_exceptions.h:51:28: note: declared here ZEND_API zend_class_entry *zend_exception_get_default(void); ^~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/security/pecl-crypto/crypto-0.3.1/crypto.c: At top level: /construction/security/pecl-crypto/crypto-0.3.1/crypto.c:154:51: error: expected ';', ',' or ')' before 'TSRMLS_DC' php_crypto_error_action action, int ignore_args TSRMLS_DC, const char *name, va_list args) ^~~~~~~~~ /construction/security/pecl-crypto/crypto-0.3.1/crypto.c:202:51: error: expected ';', ',' or ')' before 'TSRMLS_DC' php_crypto_error_action action, int ignore_args TSRMLS_DC, const char *name, ...) ^~~~~~~~~ /construction/security/pecl-crypto/crypto-0.3.1/crypto.c:213:51: error: expected ';', ',' or ')' before 'TSRMLS_DC' php_crypto_error_action action, int ignore_args TSRMLS_DC, const char *name) ^~~~~~~~~ --- crypto_cipher.lo --- /construction/security/pecl-crypto/crypto-0.3.1/crypto_cipher.c: In function 'zim_Crypto__Cipher_getTag': /construction/security/pecl-crypto/crypto-0.3.1/crypto_cipher.c:1387:6: warning: implicit declaration of function 'php_crypto_cipher_is_mode_authenticated_ex'; did you mean 'php_crypto_cipher_update'? [-Wimplicit-function-declaration] if (php_crypto_cipher_is_mode_authenticated_ex(mode TSRMLS_CC) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ php_crypto_cipher_update /construction/security/pecl-crypto/crypto-0.3.1/crypto_cipher.c:1387:53: error: expected ')' before 'TSRMLS_CC' if (php_crypto_cipher_is_mode_authenticated_ex(mode TSRMLS_CC) == FAILURE) { ^~~~~~~~~~ ) In file included from /construction/security/pecl-crypto/crypto-0.3.1/crypto_cipher.c:22: /construction/security/pecl-crypto/crypto-0.3.1/php_crypto.h:184:51: error: expected ')' before 'TSRMLS_CC' PHP_CRYPTO_ERROR_INFO_NAME(ename), eexc, eact, 0 TSRMLS_CC, #einame ^~~~~~~~~ /construction/security/pecl-crypto/crypto-0.3.1/php_crypto.h:187:2: note: in expansion of macro 'PHP_CRYPTO_ERROR_ARGS_EX' PHP_CRYPTO_ERROR_ARGS_EX(ename, PHP_CRYPTO_EXCEPTION_CE(ename), \ ^~~~~~~~~~~~~~~~~~~~~~~~ /construction/security/pecl-crypto/crypto-0.3.1/crypto_cipher.c:1392:20: note: in expansion of macro 'PHP_CRYPTO_ERROR_ARGS' php_crypto_error(PHP_CRYPTO_ERROR_ARGS(Cipher, TAG_GETTER_FORBIDDEN)); ^~~~~~~~~~~~~~~~~~~~~ /construction/security/pecl-crypto/crypto-0.3.1/php_crypto.h:184:51: error: expected ')' before 'TSRMLS_CC' PHP_CRYPTO_ERROR_INFO_NAME(ename), eexc, eact, 0 TSRMLS_CC, #einame ^~~~~~~~~ /construction/security/pecl-crypto/crypto-0.3.1/php_crypto.h:187:2: note: in expansion of macro 'PHP_CRYPTO_ERROR_ARGS_EX' PHP_CRYPTO_ERROR_ARGS_EX(ename, PHP_CRYPTO_EXCEPTION_CE(ename), \ ^~~~~~~~~~~~~~~~~~~~~~~~ /construction/security/pecl-crypto/crypto-0.3.1/crypto_cipher.c:1402:20: note: in expansion of macro 'PHP_CRYPTO_ERROR_ARGS' php_crypto_error(PHP_CRYPTO_ERROR_ARGS(Cipher, TAG_GETTER_FAILED)); ^~~~~~~~~~~~~~~~~~~~~ /construction/security/pecl-crypto/crypto-0.3.1/crypto_cipher.c: In function 'zim_Crypto__Cipher_setTag': /construction/security/pecl-crypto/crypto-0.3.1/crypto_cipher.c:1420:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &tag, &tag_str_size) == FAILURE) { ^~~~~~~~~ /construction/security/pecl-crypto/crypto-0.3.1/crypto_cipher.c:1420:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &tag, &tag_str_size) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/security/pecl-crypto/crypto-0.3.1/crypto_cipher.c:21: /usr/local/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /construction/security/pecl-crypto/crypto-0.3.1/crypto_cipher.c:1426:53: error: expected ')' before 'TSRMLS_CC' if (php_crypto_cipher_is_mode_authenticated_ex(mode TSRMLS_CC) == FAILURE || ^~~~~~~~~~ ) /construction/security/pecl-crypto/crypto-0.3.1/crypto_cipher.c:1428:4: warning: implicit declaration of function 'php_crypto_cipher_check_tag_len'; did you mean 'php_crypto_cipher_crypt'? [-Wimplicit-function-declaration] php_crypto_cipher_check_tag_len(tag_len TSRMLS_CC) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ php_crypto_cipher_crypt /construction/security/pecl-crypto/crypto-0.3.1/crypto_cipher.c:1428:43: error: expected ')' before 'TSRMLS_CC' php_crypto_cipher_check_tag_len(tag_len TSRMLS_CC) == FAILURE) { ^~~~~~~~~~ ) /construction/security/pecl-crypto/crypto-0.3.1/crypto_cipher.c:1442:3: warning: implicit declaration of function 'php_crypto_cipher_set_tag'; did you mean 'php_crypto_cipher_crypt'? [-Wimplicit-function-declaration] php_crypto_cipher_set_tag(PHP_CRYPTO_CIPHER_CTX(PHPC_THIS), mode, ^~~~~~~~~~~~~~~~~~~~~~~~~ php_crypto_cipher_crypt /construction/security/pecl-crypto/crypto-0.3.1/crypto_cipher.c:1443:35: error: expected ')' before 'TSRMLS_CC' (unsigned char *) tag, tag_len TSRMLS_CC); ^~~~~~~~~~ ) In file included from /construction/security/pecl-crypto/crypto-0.3.1/crypto_cipher.c:22: /construction/security/pecl-crypto/crypto-0.3.1/php_crypto.h:184:51: error: expected ')' before 'TSRMLS_CC' PHP_CRYPTO_ERROR_INFO_NAME(ename), eexc, eact, 0 TSRMLS_CC, #einame ^~~~~~~~~ /construction/security/pecl-crypto/crypto-0.3.1/php_crypto.h:187:2: note: in expansion of macro 'PHP_CRYPTO_ERROR_ARGS_EX' PHP_CRYPTO_ERROR_ARGS_EX(ename, PHP_CRYPTO_EXCEPTION_CE(ename), \ ^~~~~~~~~~~~~~~~~~~~~~~~ /construction/security/pecl-crypto/crypto-0.3.1/crypto_cipher.c:1445:20: note: in expansion of macro 'PHP_CRYPTO_ERROR_ARGS' php_crypto_error(PHP_CRYPTO_ERROR_ARGS(Cipher, TAG_SETTER_FORBIDDEN)); ^~~~~~~~~~~~~~~~~~~~~ /construction/security/pecl-crypto/crypto-0.3.1/crypto_cipher.c: In function 'zim_Crypto__Cipher_setTagLength': /construction/security/pecl-crypto/crypto-0.3.1/crypto_cipher.c:1461:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &tag_len_long) == FAILURE) { ^~~~~~~~~ /construction/security/pecl-crypto/crypto-0.3.1/crypto_cipher.c:1461:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &tag_len_long) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/security/pecl-crypto/crypto-0.3.1/crypto_cipher.c:21: /usr/local/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /construction/security/pecl-crypto/crypto-0.3.1/crypto_cipher.c:1467:53: error: expected ')' before 'TSRMLS_CC' if (php_crypto_cipher_is_mode_authenticated_ex(mode TSRMLS_CC) == FAILURE || ^~~~~~~~~~ ) /construction/security/pecl-crypto/crypto-0.3.1/crypto_cipher.c:1470:43: error: expected ')' before 'TSRMLS_CC' php_crypto_cipher_check_tag_len(tag_len TSRMLS_CC) == FAILURE) { ^~~~~~~~~~ ) In file included from /construction/security/pecl-crypto/crypto-0.3.1/crypto_cipher.c:22: /construction/security/pecl-crypto/crypto-0.3.1/php_crypto.h:184:51: error: expected ')' before 'TSRMLS_CC' PHP_CRYPTO_ERROR_INFO_NAME(ename), eexc, eact, 0 TSRMLS_CC, #einame ^~~~~~~~~ /construction/security/pecl-crypto/crypto-0.3.1/php_crypto.h:187:2: note: in expansion of macro 'PHP_CRYPTO_ERROR_ARGS_EX' PHP_CRYPTO_ERROR_ARGS_EX(ename, PHP_CRYPTO_EXCEPTION_CE(ename), \ ^~~~~~~~~~~~~~~~~~~~~~~~ /construction/security/pecl-crypto/crypto-0.3.1/crypto_cipher.c:1476:20: note: in expansion of macro 'PHP_CRYPTO_ERROR_ARGS' php_crypto_error(PHP_CRYPTO_ERROR_ARGS(Cipher, TAG_LENGTH_SETTER_FORBIDDEN)); ^~~~~~~~~~~~~~~~~~~~~ /construction/security/pecl-crypto/crypto-0.3.1/crypto_cipher.c: In function 'zim_Crypto__Cipher_setAAD': /construction/security/pecl-crypto/crypto-0.3.1/crypto_cipher.c:1495:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &aad, &aad_str_size) == FAILURE) { ^~~~~~~~~ /construction/security/pecl-crypto/crypto-0.3.1/crypto_cipher.c:1495:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &aad, &aad_str_size) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/security/pecl-crypto/crypto-0.3.1/crypto_cipher.c:21: /usr/local/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /construction/security/pecl-crypto/crypto-0.3.1/crypto_cipher.c:1500:6: warning: implicit declaration of function 'php_crypto_cipher_is_mode_authenticated'; did you mean 'php_crypto_cipher_update'? [-Wimplicit-function-declaration] if (php_crypto_cipher_is_mode_authenticated(PHPC_THIS TSRMLS_CC) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ php_crypto_cipher_update /construction/security/pecl-crypto/crypto-0.3.1/crypto_cipher.c:1500:56: error: expected ')' before 'TSRMLS_CC' if (php_crypto_cipher_is_mode_authenticated(PHPC_THIS TSRMLS_CC) == FAILURE) { ^~~~~~~~~ In file included from /construction/security/pecl-crypto/crypto-0.3.1/crypto_cipher.c:22: /construction/security/pecl-crypto/crypto-0.3.1/php_crypto.h:184:51: error: expected ')' before 'TSRMLS_CC' PHP_CRYPTO_ERROR_INFO_NAME(ename), eexc, eact, 0 TSRMLS_CC, #einame ^~~~~~~~~ /construction/security/pecl-crypto/crypto-0.3.1/php_crypto.h:187:2: note: in expansion of macro 'PHP_CRYPTO_ERROR_ARGS_EX' PHP_CRYPTO_ERROR_ARGS_EX(ename, PHP_CRYPTO_EXCEPTION_CE(ename), \ ^~~~~~~~~~~~~~~~~~~~~~~~ /construction/security/pecl-crypto/crypto-0.3.1/crypto_cipher.c:1505:20: note: in expansion of macro 'PHP_CRYPTO_ERROR_ARGS' php_crypto_error(PHP_CRYPTO_ERROR_ARGS(Cipher, AAD_LENGTH_HIGH)); ^~~~~~~~~~~~~~~~~~~~~ /construction/security/pecl-crypto/crypto-0.3.1/php_crypto.h:184:51: error: expected ')' before 'TSRMLS_CC' PHP_CRYPTO_ERROR_INFO_NAME(ename), eexc, eact, 0 TSRMLS_CC, #einame ^~~~~~~~~ /construction/security/pecl-crypto/crypto-0.3.1/php_crypto.h:187:2: note: in expansion of macro 'PHP_CRYPTO_ERROR_ARGS_EX' PHP_CRYPTO_ERROR_ARGS_EX(ename, PHP_CRYPTO_EXCEPTION_CE(ename), \ ^~~~~~~~~~~~~~~~~~~~~~~~ /construction/security/pecl-crypto/crypto-0.3.1/crypto_cipher.c:1519:20: note: in expansion of macro 'PHP_CRYPTO_ERROR_ARGS' php_crypto_error(PHP_CRYPTO_ERROR_ARGS(Cipher, AAD_SETTER_FORBIDDEN)); ^~~~~~~~~~~~~~~~~~~~~ --- crypto_stream.lo --- In file included from /construction/security/pecl-crypto/crypto-0.3.1/crypto_stream.c:20: /construction/security/pecl-crypto/crypto-0.3.1/php_crypto.h:119:51: error: expected ';', ',' or ')' before 'TSRMLS_DC' php_crypto_error_action action, int ignore_args TSRMLS_DC, ^~~~~~~~~ /construction/security/pecl-crypto/crypto-0.3.1/php_crypto.h:124:51: error: expected ';', ',' or ')' before 'TSRMLS_DC' php_crypto_error_action action, int ignore_args TSRMLS_DC, ^~~~~~~~~ /construction/security/pecl-crypto/crypto-0.3.1/php_crypto.h:129:51: error: expected ';', ',' or ')' before 'TSRMLS_DC' php_crypto_error_action action, int ignore_args TSRMLS_DC, ^~~~~~~~~ In file included from /construction/security/pecl-crypto/crypto-0.3.1/crypto_stream.c:22: /construction/security/pecl-crypto/crypto-0.3.1/php_crypto_cipher.h:184:21: error: expected ';', ',' or ')' before 'TSRMLS_DC' zval *pz_key_size TSRMLS_DC); ^~~~~~~~~ --- crypto_kdf.lo --- In file included from /construction/security/pecl-crypto/crypto-0.3.1/crypto_kdf.c:20: /construction/security/pecl-crypto/crypto-0.3.1/php_crypto.h:119:51: error: expected ';', ',' or ')' before 'TSRMLS_DC' php_crypto_error_action action, int ignore_args TSRMLS_DC, ^~~~~~~~~ /construction/security/pecl-crypto/crypto-0.3.1/php_crypto.h:124:51: error: expected ';', ',' or ')' before 'TSRMLS_DC' php_crypto_error_action action, int ignore_args TSRMLS_DC, ^~~~~~~~~ /construction/security/pecl-crypto/crypto-0.3.1/php_crypto.h:129:51: error: expected ';', ',' or ')' before 'TSRMLS_DC' php_crypto_error_action action, int ignore_args TSRMLS_DC, ^~~~~~~~~ --- crypto_cipher.lo --- *** [crypto_cipher.lo] Error code 1 make[2]: stopped in /construction/security/pecl-crypto/crypto-0.3.1 --- crypto_hash.lo --- In file included from /construction/security/pecl-crypto/crypto-0.3.1/crypto_hash.c:20: /construction/security/pecl-crypto/crypto-0.3.1/php_crypto.h:119:51: error: expected ';', ',' or ')' before 'TSRMLS_DC' php_crypto_error_action action, int ignore_args TSRMLS_DC, ^~~~~~~~~ /construction/security/pecl-crypto/crypto-0.3.1/php_crypto.h:124:51: error: expected ';', ',' or ')' before 'TSRMLS_DC' php_crypto_error_action action, int ignore_args TSRMLS_DC, ^~~~~~~~~ /construction/security/pecl-crypto/crypto-0.3.1/php_crypto.h:129:51: error: expected ';', ',' or ')' before 'TSRMLS_DC' php_crypto_error_action action, int ignore_args TSRMLS_DC, ^~~~~~~~~ In file included from /construction/security/pecl-crypto/crypto-0.3.1/crypto_hash.c:22: /construction/security/pecl-crypto/crypto-0.3.1/php_crypto_cipher.h:184:21: error: expected ';', ',' or ')' before 'TSRMLS_DC' zval *pz_key_size TSRMLS_DC); ^~~~~~~~~ /construction/security/pecl-crypto/crypto-0.3.1/php_crypto_cipher.h:196:15: error: expected ';', ',' or ')' before 'TSRMLS_DC' int tag_len TSRMLS_DC); ^~~~~~~~~ /construction/security/pecl-crypto/crypto-0.3.1/php_crypto_cipher.h:201:15: error: expected ';', ',' or ')' before 'TSRMLS_DC' int aad_len TSRMLS_DC); ^~~~~~~~~ In file included from /construction/security/pecl-crypto/crypto-0.3.1/php_crypto.h:48, from /construction/security/pecl-crypto/crypto-0.3.1/crypto_hash.c:20: /construction/security/pecl-crypto/crypto-0.3.1/crypto_hash.c: In function 'zm_startup_crypto_hash': /construction/security/pecl-crypto/crypto-0.3.1/phpc/phpc.h:56:49: warning: assignment to 'zend_object_clone_obj_t' {aka 'struct _zend_object * (*)(struct _zend_object *)'} from incompatible pointer type 'zend_object * (*)(zval *)' {aka 'struct _zend_object * (*)(struct _zval_struct *)'} [-Wincompatible-pointer-types] PHPC_OBJ_GET_HANDLER_VAR_NAME(_name).clone_obj = PHPC_OBJ_GET_HANDLER_FCE(_name, clone) ^ /construction/security/pecl-crypto/crypto-0.3.1/crypto_hash.c:336:2: note: in expansion of macro 'PHPC_OBJ_SET_HANDLER_CLONE' PHPC_OBJ_SET_HANDLER_CLONE(crypto_hash); ^~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/security/pecl-crypto/crypto-0.3.1/crypto_hash.c:338:59: error: expected ')' before 'TSRMLS_CC' "algorithm", sizeof("algorithm")-1, ZEND_ACC_PROTECTED TSRMLS_CC); ^~~~~~~~~ In file included from /construction/security/pecl-crypto/crypto-0.3.1/crypto_hash.c:20: /construction/security/pecl-crypto/crypto-0.3.1/php_crypto.h:177:45: error: expected ')' before 'TSRMLS_CC' einfo->name, strlen(einfo->name), code++ TSRMLS_CC); \ ^~~~~~~~~ /construction/security/pecl-crypto/crypto-0.3.1/crypto_hash.c:342:2: note: in expansion of macro 'PHP_CRYPTO_ERROR_INFO_REGISTER' PHP_CRYPTO_ERROR_INFO_REGISTER(Hash); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/security/pecl-crypto/crypto-0.3.1/php_crypto.h:177:45: error: expected ')' before 'TSRMLS_CC' einfo->name, strlen(einfo->name), code++ TSRMLS_CC); \ ^~~~~~~~~ /construction/security/pecl-crypto/crypto-0.3.1/crypto_hash.c:351:2: note: in expansion of macro 'PHP_CRYPTO_ERROR_INFO_REGISTER' PHP_CRYPTO_ERROR_INFO_REGISTER(MAC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/security/pecl-crypto/crypto-0.3.1/crypto_hash.c: At top level: /construction/security/pecl-crypto/crypto-0.3.1/crypto_hash.c:371:50: error: expected ';', ',' or ')' before 'TSRMLS_DC' char *algorithm, phpc_str_size_t algorithm_len TSRMLS_DC) ^~~~~~~~~ /construction/security/pecl-crypto/crypto-0.3.1/crypto_hash.c:393:71: error: expected ';', ',' or ')' before 'TSRMLS_DC' static inline int php_crypto_hash_init(PHPC_THIS_DECLARE(crypto_hash) TSRMLS_DC) ^~~~~~~~~ /construction/security/pecl-crypto/crypto-0.3.1/crypto_hash.c:440:40: error: expected ';', ',' or ')' before 'TSRMLS_DC' char *data, phpc_str_size_t data_len TSRMLS_DC) ^~~~~~~~~ /construction/security/pecl-crypto/crypto-0.3.1/crypto_hash.c: In function 'php_crypto_hash_digest': /construction/security/pecl-crypto/crypto-0.3.1/crypto_hash.c:496:4: warning: implicit declaration of function 'php_crypto_hash_init'; did you mean 'php_crypto_hash_digest'? [-Wimplicit-function-declaration] php_crypto_hash_init(PHPC_THIS TSRMLS_CC) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~ php_crypto_hash_digest /construction/security/pecl-crypto/crypto-0.3.1/crypto_hash.c:496:35: error: expected ')' before 'TSRMLS_CC' php_crypto_hash_init(PHPC_THIS TSRMLS_CC) == FAILURE) { ^~~~~~~~~ --- crypto_base64.lo --- In file included from /construction/security/pecl-crypto/crypto-0.3.1/crypto_base64.c:20: /construction/security/pecl-crypto/crypto-0.3.1/php_crypto.h:119:51: error: expected ';', ',' or ')' before 'TSRMLS_DC' php_crypto_error_action action, int ignore_args TSRMLS_DC, ^~~~~~~~~ /construction/security/pecl-crypto/crypto-0.3.1/php_crypto.h:124:51: error: expected ';', ',' or ')' before 'TSRMLS_DC' php_crypto_error_action action, int ignore_args TSRMLS_DC, ^~~~~~~~~ /construction/security/pecl-crypto/crypto-0.3.1/php_crypto.h:129:51: error: expected ';', ',' or ')' before 'TSRMLS_DC' php_crypto_error_action action, int ignore_args TSRMLS_DC, ^~~~~~~~~ --- crypto_stream.lo --- /construction/security/pecl-crypto/crypto-0.3.1/php_crypto_cipher.h:196:15: error: expected ';', ',' or ')' before 'TSRMLS_DC' int tag_len TSRMLS_DC); ^~~~~~~~~ /construction/security/pecl-crypto/crypto-0.3.1/php_crypto_cipher.h:201:15: error: expected ';', ',' or ')' before 'TSRMLS_DC' int aad_len TSRMLS_DC); ^~~~~~~~~ --- crypto_base64.lo --- In file included from /construction/security/pecl-crypto/crypto-0.3.1/php_crypto.h:48, from /construction/security/pecl-crypto/crypto-0.3.1/crypto_base64.c:20: /construction/security/pecl-crypto/crypto-0.3.1/crypto_base64.c: In function 'zm_startup_crypto_base64': /construction/security/pecl-crypto/crypto-0.3.1/phpc/phpc.h:56:49: warning: assignment to 'zend_object_clone_obj_t' {aka 'struct _zend_object * (*)(struct _zend_object *)'} from incompatible pointer type 'zend_object * (*)(zval *)' {aka 'struct _zend_object * (*)(struct _zval_struct *)'} [-Wincompatible-pointer-types] PHPC_OBJ_GET_HANDLER_VAR_NAME(_name).clone_obj = PHPC_OBJ_GET_HANDLER_FCE(_name, clone) ^ /construction/security/pecl-crypto/crypto-0.3.1/crypto_base64.c:196:2: note: in expansion of macro 'PHPC_OBJ_SET_HANDLER_CLONE' PHPC_OBJ_SET_HANDLER_CLONE(crypto_base64); ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /construction/security/pecl-crypto/crypto-0.3.1/crypto_base64.c:20: /construction/security/pecl-crypto/crypto-0.3.1/php_crypto.h:177:45: error: expected ')' before 'TSRMLS_CC' einfo->name, strlen(einfo->name), code++ TSRMLS_CC); \ ^~~~~~~~~ /construction/security/pecl-crypto/crypto-0.3.1/crypto_base64.c:200:2: note: in expansion of macro 'PHP_CRYPTO_ERROR_INFO_REGISTER' PHP_CRYPTO_ERROR_INFO_REGISTER(Base64); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/security/pecl-crypto/crypto-0.3.1/crypto_base64.c: At top level: /construction/security/pecl-crypto/crypto-0.3.1/crypto_base64.c:216:42: error: expected ';', ',' or ')' before 'TSRMLS_DC' const char *in, phpc_str_size_t in_len TSRMLS_DC) ^~~~~~~~~ /construction/security/pecl-crypto/crypto-0.3.1/crypto_base64.c:252:42: error: expected ';', ',' or ')' before 'TSRMLS_DC' const char *in, phpc_str_size_t in_len TSRMLS_DC) ^~~~~~~~~ --- crypto_stream.lo --- /construction/security/pecl-crypto/crypto-0.3.1/crypto_stream.c:137:33: error: expected ';', ',' or ')' before 'TSRMLS_DC' const char *buf, size_t count TSRMLS_DC) ^~~~~~~~~ --- crypto_base64.lo --- /construction/security/pecl-crypto/crypto-0.3.1/crypto_base64.c: In function 'zim_Crypto__Base64_encode': /construction/security/pecl-crypto/crypto-0.3.1/crypto_base64.c:292:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &in, &in_len) == FAILURE) { ^~~~~~~~~ /construction/security/pecl-crypto/crypto-0.3.1/crypto_base64.c:292:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &in, &in_len) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/security/pecl-crypto/crypto-0.3.1/crypto_base64.c:19: /usr/local/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ --- crypto_stream.lo --- /construction/security/pecl-crypto/crypto-0.3.1/crypto_stream.c:232:30: error: expected ';', ',' or ')' before 'TSRMLS_DC' EVP_CIPHER_CTX *cipher_ctx TSRMLS_DC) ^~~~~~~~~ /construction/security/pecl-crypto/crypto-0.3.1/crypto_stream.c:259:82: error: expected ';', ',' or ')' before 'TSRMLS_DC' static size_t php_crypto_stream_read(php_stream *stream, char *buf, size_t count TSRMLS_DC) ^~~~~~~~~ /construction/security/pecl-crypto/crypto-0.3.1/crypto_stream.c:286:73: error: expected ';', ',' or ')' before 'TSRMLS_DC' static int php_crypto_stream_close(php_stream *stream, int close_handle TSRMLS_DC) ^~~~~~~~~ /construction/security/pecl-crypto/crypto-0.3.1/crypto_stream.c:296:55: error: expected ';', ',' or ')' before 'TSRMLS_DC' static int php_crypto_stream_flush(php_stream *stream TSRMLS_DC) ^~~~~~~~~ /construction/security/pecl-crypto/crypto-0.3.1/crypto_stream.c:322:56: error: expected ';', ',' or ')' before 'TSRMLS_DC' phpc_off_t offset, int whence, phpc_off_t *newoffset TSRMLS_DC) ^~~~~~~~~ --- crypto_base64.lo --- /construction/security/pecl-crypto/crypto-0.3.1/crypto_base64.c:300:6: warning: implicit declaration of function 'php_crypto_base64_encode_update'; did you mean 'php_crypto_base64_encode_init'? [-Wimplicit-function-declaration] if (php_crypto_base64_encode_update( ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ php_crypto_base64_encode_init /construction/security/pecl-crypto/crypto-0.3.1/crypto_base64.c:301:51: error: expected ')' before 'TSRMLS_CC' ctx, PHPC_STR_VAL(out), &update_len, in, in_len TSRMLS_CC) == FAILURE) { ^~~~~~~~~~ ) /construction/security/pecl-crypto/crypto-0.3.1/crypto_base64.c: In function 'zim_Crypto__Base64_decode': /construction/security/pecl-crypto/crypto-0.3.1/crypto_base64.c:326:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &in, &in_len) == FAILURE) { ^~~~~~~~~ /construction/security/pecl-crypto/crypto-0.3.1/crypto_base64.c:326:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &in, &in_len) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/security/pecl-crypto/crypto-0.3.1/crypto_base64.c:19: /usr/local/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ --- crypto_rand.lo --- In file included from /construction/security/pecl-crypto/crypto-0.3.1/crypto_rand.c:20: /construction/security/pecl-crypto/crypto-0.3.1/php_crypto.h:119:51: error: expected ';', ',' or ')' before 'TSRMLS_DC' php_crypto_error_action action, int ignore_args TSRMLS_DC, ^~~~~~~~~ /construction/security/pecl-crypto/crypto-0.3.1/php_crypto.h:124:51: error: expected ';', ',' or ')' before 'TSRMLS_DC' php_crypto_error_action action, int ignore_args TSRMLS_DC, ^~~~~~~~~ /construction/security/pecl-crypto/crypto-0.3.1/php_crypto.h:129:51: error: expected ';', ',' or ')' before 'TSRMLS_DC' php_crypto_error_action action, int ignore_args TSRMLS_DC, ^~~~~~~~~ --- crypto_stream.lo --- /construction/security/pecl-crypto/crypto-0.3.1/crypto_stream.c:347:2: error: 'php_crypto_stream_write' undeclared here (not in a function); did you mean 'php_crypto_stream_data'? php_crypto_stream_write, php_crypto_stream_read, ^~~~~~~~~~~~~~~~~~~~~~~ php_crypto_stream_data --- crypto_rand.lo --- /construction/security/pecl-crypto/crypto-0.3.1/crypto_rand.c: In function 'zm_startup_crypto_rand': /construction/security/pecl-crypto/crypto-0.3.1/php_crypto.h:177:45: error: expected ')' before 'TSRMLS_CC' einfo->name, strlen(einfo->name), code++ TSRMLS_CC); \ ^~~~~~~~~ /construction/security/pecl-crypto/crypto-0.3.1/crypto_rand.c:111:2: note: in expansion of macro 'PHP_CRYPTO_ERROR_INFO_REGISTER' PHP_CRYPTO_ERROR_INFO_REGISTER(Rand); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/security/pecl-crypto/crypto-0.3.1/crypto_rand.c: In function 'zim_Crypto__Rand_generate': /construction/security/pecl-crypto/crypto-0.3.1/crypto_rand.c:129:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l|bz/", ^~~~~~~~~ /construction/security/pecl-crypto/crypto-0.3.1/crypto_rand.c:129:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l|bz/", ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/security/pecl-crypto/crypto-0.3.1/crypto_rand.c:19: /usr/local/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ --- crypto_base64.lo --- /construction/security/pecl-crypto/crypto-0.3.1/crypto_base64.c:335:6: warning: implicit declaration of function 'php_crypto_base64_decode_update'; did you mean 'php_crypto_base64_decode_init'? [-Wimplicit-function-declaration] if (php_crypto_base64_decode_update(ctx, PHPC_STR_VAL(out), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ php_crypto_base64_decode_init /construction/security/pecl-crypto/crypto-0.3.1/crypto_base64.c:336:27: error: expected ')' before 'TSRMLS_CC' &update_len, in, in_len TSRMLS_CC) == FAILURE) { ^~~~~~~~~~ ) /construction/security/pecl-crypto/crypto-0.3.1/crypto_base64.c: In function 'zim_Crypto__Base64_encodeUpdate': /construction/security/pecl-crypto/crypto-0.3.1/crypto_base64.c:370:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &in, &in_len) == FAILURE) { ^~~~~~~~~ /construction/security/pecl-crypto/crypto-0.3.1/crypto_base64.c:370:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &in, &in_len) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/security/pecl-crypto/crypto-0.3.1/crypto_base64.c:19: /usr/local/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ --- crypto_kdf.lo --- In file included from /construction/security/pecl-crypto/crypto-0.3.1/php_crypto.h:48, from /construction/security/pecl-crypto/crypto-0.3.1/crypto_kdf.c:20: /construction/security/pecl-crypto/crypto-0.3.1/crypto_kdf.c: In function 'zm_startup_crypto_kdf': /construction/security/pecl-crypto/crypto-0.3.1/phpc/phpc.h:56:49: warning: assignment to 'zend_object_clone_obj_t' {aka 'struct _zend_object * (*)(struct _zend_object *)'} from incompatible pointer type 'zend_object * (*)(zval *)' {aka 'struct _zend_object * (*)(struct _zval_struct *)'} [-Wincompatible-pointer-types] PHPC_OBJ_GET_HANDLER_VAR_NAME(_name).clone_obj = PHPC_OBJ_GET_HANDLER_FCE(_name, clone) ^ /construction/security/pecl-crypto/crypto-0.3.1/crypto_kdf.c:248:2: note: in expansion of macro 'PHPC_OBJ_SET_HANDLER_CLONE' PHPC_OBJ_SET_HANDLER_CLONE(crypto_kdf); ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /construction/security/pecl-crypto/crypto-0.3.1/crypto_kdf.c:20: /construction/security/pecl-crypto/crypto-0.3.1/php_crypto.h:177:45: error: expected ')' before 'TSRMLS_CC' einfo->name, strlen(einfo->name), code++ TSRMLS_CC); \ ^~~~~~~~~ /construction/security/pecl-crypto/crypto-0.3.1/crypto_kdf.c:253:2: note: in expansion of macro 'PHP_CRYPTO_ERROR_INFO_REGISTER' PHP_CRYPTO_ERROR_INFO_REGISTER(KDF); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/security/pecl-crypto/crypto-0.3.1/php_crypto.h:177:45: error: expected ')' before 'TSRMLS_CC' einfo->name, strlen(einfo->name), code++ TSRMLS_CC); \ ^~~~~~~~~ /construction/security/pecl-crypto/crypto-0.3.1/crypto_kdf.c:262:2: note: in expansion of macro 'PHP_CRYPTO_ERROR_INFO_REGISTER' PHP_CRYPTO_ERROR_INFO_REGISTER(PBKDF2); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/security/pecl-crypto/crypto-0.3.1/crypto_kdf.c: At top level: /construction/security/pecl-crypto/crypto-0.3.1/crypto_kdf.c:273:23: error: expected ';', ',' or ')' before 'TSRMLS_DC' phpc_long_t key_len TSRMLS_DC) ^~~~~~~~~ /construction/security/pecl-crypto/crypto-0.3.1/crypto_kdf.c:294:40: error: expected ';', ',' or ')' before 'TSRMLS_DC' char *salt, phpc_str_size_t salt_len TSRMLS_DC) ^~~~~~~~~ /construction/security/pecl-crypto/crypto-0.3.1/crypto_kdf.c: In function 'zim_Crypto__KDF___construct': /construction/security/pecl-crypto/crypto-0.3.1/crypto_kdf.c:327:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l|s", ^~~~~~~~~ /construction/security/pecl-crypto/crypto-0.3.1/crypto_kdf.c:327:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l|s", ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/security/pecl-crypto/crypto-0.3.1/crypto_kdf.c:19: /usr/local/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ --- crypto.lo --- *** [crypto.lo] Error code 1 make[2]: stopped in /construction/security/pecl-crypto/crypto-0.3.1 --- crypto_stream.lo --- /construction/security/pecl-crypto/crypto-0.3.1/crypto_stream.c:347:27: error: 'php_crypto_stream_read' undeclared here (not in a function); did you mean 'php_crypto_stream_ops'? php_crypto_stream_write, php_crypto_stream_read, ^~~~~~~~~~~~~~~~~~~~~~ php_crypto_stream_ops --- crypto_rand.lo --- /construction/security/pecl-crypto/crypto-0.3.1/crypto_rand.c:135:3: warning: implicit declaration of function 'php_crypto_error'; did you mean 'php_verror'? [-Wimplicit-function-declaration] php_crypto_error(PHP_CRYPTO_ERROR_ARGS(Rand, REQUESTED_BYTES_NUMBER_TOO_HIGH)); ^~~~~~~~~~~~~~~~ php_verror In file included from /construction/security/pecl-crypto/crypto-0.3.1/crypto_rand.c:20: /construction/security/pecl-crypto/crypto-0.3.1/php_crypto.h:184:51: error: expected ')' before 'TSRMLS_CC' PHP_CRYPTO_ERROR_INFO_NAME(ename), eexc, eact, 0 TSRMLS_CC, #einame ^~~~~~~~~ /construction/security/pecl-crypto/crypto-0.3.1/php_crypto.h:187:2: note: in expansion of macro 'PHP_CRYPTO_ERROR_ARGS_EX' PHP_CRYPTO_ERROR_ARGS_EX(ename, PHP_CRYPTO_EXCEPTION_CE(ename), \ ^~~~~~~~~~~~~~~~~~~~~~~~ /construction/security/pecl-crypto/crypto-0.3.1/crypto_rand.c:135:20: note: in expansion of macro 'PHP_CRYPTO_ERROR_ARGS' php_crypto_error(PHP_CRYPTO_ERROR_ARGS(Rand, REQUESTED_BYTES_NUMBER_TOO_HIGH)); ^~~~~~~~~~~~~~~~~~~~~ /construction/security/pecl-crypto/crypto-0.3.1/php_crypto.h:184:51: error: expected ')' before 'TSRMLS_CC' PHP_CRYPTO_ERROR_INFO_NAME(ename), eexc, eact, 0 TSRMLS_CC, #einame ^~~~~~~~~ /construction/security/pecl-crypto/crypto-0.3.1/php_crypto.h:187:2: note: in expansion of macro 'PHP_CRYPTO_ERROR_ARGS_EX' PHP_CRYPTO_ERROR_ARGS_EX(ename, PHP_CRYPTO_EXCEPTION_CE(ename), \ ^~~~~~~~~~~~~~~~~~~~~~~~ /construction/security/pecl-crypto/crypto-0.3.1/crypto_rand.c:144:21: note: in expansion of macro 'PHP_CRYPTO_ERROR_ARGS' php_crypto_error(PHP_CRYPTO_ERROR_ARGS(Rand, GENERATE_PREDICTABLE)); ^~~~~~~~~~~~~~~~~~~~~ /construction/security/pecl-crypto/crypto-0.3.1/crypto_rand.c:150:3: warning: 'RAND_pseudo_bytes' is deprecated [-Wdeprecated-declarations] strong_result = RAND_pseudo_bytes((unsigned char *) PHPC_STR_VAL(buf), num); ^~~~~~~~~~~~~ In file included from /usr/local/include/openssl/evp.h:13, from /construction/security/pecl-crypto/crypto-0.3.1/php_crypto.h:45, from /construction/security/pecl-crypto/crypto-0.3.1/crypto_rand.c:20: /usr/local/include/openssl/rand.h:44:24: note: declared here DEPRECATEDIN_1_1_0(int RAND_pseudo_bytes(unsigned char *buf, int num)) ^~~~~~~~~~~~~~~~~ /usr/local/include/openssl/opensslconf.h:133:37: note: in definition of macro 'DECLARE_DEPRECATED' # define DECLARE_DEPRECATED(f) f __attribute__ ((deprecated)); ^ /usr/local/include/openssl/rand.h:44:1: note: in expansion of macro 'DEPRECATEDIN_1_1_0' DEPRECATEDIN_1_1_0(int RAND_pseudo_bytes(unsigned char *buf, int num)) ^~~~~~~~~~~~~~~~~~ /construction/security/pecl-crypto/crypto-0.3.1/crypto_rand.c: In function 'zim_Crypto__Rand_seed': /construction/security/pecl-crypto/crypto-0.3.1/crypto_rand.c:170:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s|d", ^~~~~~~~~ /construction/security/pecl-crypto/crypto-0.3.1/crypto_rand.c:170:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s|d", ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/security/pecl-crypto/crypto-0.3.1/crypto_rand.c:19: /usr/local/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ --- crypto_base64.lo --- /construction/security/pecl-crypto/crypto-0.3.1/crypto_base64.c:377:3: warning: implicit declaration of function 'php_crypto_error'; did you mean 'php_verror'? [-Wimplicit-function-declaration] php_crypto_error(PHP_CRYPTO_ERROR_ARGS(Base64, ENCODE_UPDATE_FORBIDDEN)); ^~~~~~~~~~~~~~~~ php_verror In file included from /construction/security/pecl-crypto/crypto-0.3.1/crypto_base64.c:20: /construction/security/pecl-crypto/crypto-0.3.1/php_crypto.h:184:51: error: expected ')' before 'TSRMLS_CC' PHP_CRYPTO_ERROR_INFO_NAME(ename), eexc, eact, 0 TSRMLS_CC, #einame ^~~~~~~~~ /construction/security/pecl-crypto/crypto-0.3.1/php_crypto.h:187:2: note: in expansion of macro 'PHP_CRYPTO_ERROR_ARGS_EX' PHP_CRYPTO_ERROR_ARGS_EX(ename, PHP_CRYPTO_EXCEPTION_CE(ename), \ ^~~~~~~~~~~~~~~~~~~~~~~~ /construction/security/pecl-crypto/crypto-0.3.1/crypto_base64.c:377:20: note: in expansion of macro 'PHP_CRYPTO_ERROR_ARGS' php_crypto_error(PHP_CRYPTO_ERROR_ARGS(Base64, ENCODE_UPDATE_FORBIDDEN)); ^~~~~~~~~~~~~~~~~~~~~ /construction/security/pecl-crypto/crypto-0.3.1/crypto_base64.c:388:46: error: expected ')' before 'TSRMLS_CC' PHPC_STR_VAL(out), &update_len, in, in_len TSRMLS_CC) == FAILURE) { ^~~~~~~~~~ ) In file included from /construction/security/pecl-crypto/crypto-0.3.1/crypto_base64.c:20: /construction/security/pecl-crypto/crypto-0.3.1/crypto_base64.c: In function 'zim_Crypto__Base64_encodeFinish': /construction/security/pecl-crypto/crypto-0.3.1/php_crypto.h:184:51: error: expected ')' before 'TSRMLS_CC' PHP_CRYPTO_ERROR_INFO_NAME(ename), eexc, eact, 0 TSRMLS_CC, #einame ^~~~~~~~~ /construction/security/pecl-crypto/crypto-0.3.1/php_crypto.h:187:2: note: in expansion of macro 'PHP_CRYPTO_ERROR_ARGS_EX' PHP_CRYPTO_ERROR_ARGS_EX(ename, PHP_CRYPTO_EXCEPTION_CE(ename), \ ^~~~~~~~~~~~~~~~~~~~~~~~ /construction/security/pecl-crypto/crypto-0.3.1/crypto_base64.c:414:20: note: in expansion of macro 'PHP_CRYPTO_ERROR_ARGS' php_crypto_error(PHP_CRYPTO_ERROR_ARGS(Base64, ENCODE_FINISH_FORBIDDEN)); ^~~~~~~~~~~~~~~~~~~~~ /construction/security/pecl-crypto/crypto-0.3.1/crypto_base64.c: In function 'zim_Crypto__Base64_decodeUpdate': /construction/security/pecl-crypto/crypto-0.3.1/crypto_base64.c:437:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &in, &in_len) == FAILURE) { ^~~~~~~~~ /construction/security/pecl-crypto/crypto-0.3.1/crypto_base64.c:437:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &in, &in_len) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/security/pecl-crypto/crypto-0.3.1/crypto_base64.c:19: /usr/local/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ In file included from /construction/security/pecl-crypto/crypto-0.3.1/crypto_base64.c:20: /construction/security/pecl-crypto/crypto-0.3.1/php_crypto.h:184:51: error: expected ')' before 'TSRMLS_CC' PHP_CRYPTO_ERROR_INFO_NAME(ename), eexc, eact, 0 TSRMLS_CC, #einame ^~~~~~~~~ /construction/security/pecl-crypto/crypto-0.3.1/php_crypto.h:187:2: note: in expansion of macro 'PHP_CRYPTO_ERROR_ARGS_EX' PHP_CRYPTO_ERROR_ARGS_EX(ename, PHP_CRYPTO_EXCEPTION_CE(ename), \ ^~~~~~~~~~~~~~~~~~~~~~~~ /construction/security/pecl-crypto/crypto-0.3.1/crypto_base64.c:444:20: note: in expansion of macro 'PHP_CRYPTO_ERROR_ARGS' php_crypto_error(PHP_CRYPTO_ERROR_ARGS(Base64, DECODE_UPDATE_FORBIDDEN)); ^~~~~~~~~~~~~~~~~~~~~ /construction/security/pecl-crypto/crypto-0.3.1/crypto_base64.c:455:46: error: expected ')' before 'TSRMLS_CC' PHPC_STR_VAL(out), &update_len, in, in_len TSRMLS_CC) == FAILURE) { ^~~~~~~~~~ ) In file included from /construction/security/pecl-crypto/crypto-0.3.1/crypto_base64.c:20: /construction/security/pecl-crypto/crypto-0.3.1/crypto_base64.c: In function 'zim_Crypto__Base64_decodeFinish': /construction/security/pecl-crypto/crypto-0.3.1/php_crypto.h:184:51: error: expected ')' before 'TSRMLS_CC' PHP_CRYPTO_ERROR_INFO_NAME(ename), eexc, eact, 0 TSRMLS_CC, #einame ^~~~~~~~~ /construction/security/pecl-crypto/crypto-0.3.1/php_crypto.h:187:2: note: in expansion of macro 'PHP_CRYPTO_ERROR_ARGS_EX' PHP_CRYPTO_ERROR_ARGS_EX(ename, PHP_CRYPTO_EXCEPTION_CE(ename), \ ^~~~~~~~~~~~~~~~~~~~~~~~ /construction/security/pecl-crypto/crypto-0.3.1/crypto_base64.c:481:20: note: in expansion of macro 'PHP_CRYPTO_ERROR_ARGS' php_crypto_error(PHP_CRYPTO_ERROR_ARGS(Base64, DECODE_FINISH_FORBIDDEN)); ^~~~~~~~~~~~~~~~~~~~~ --- crypto_stream.lo --- /construction/security/pecl-crypto/crypto-0.3.1/crypto_stream.c:348:2: error: 'php_crypto_stream_close' undeclared here (not in a function); did you mean 'php_crypto_stream_ops'? php_crypto_stream_close, php_crypto_stream_flush, ^~~~~~~~~~~~~~~~~~~~~~~ php_crypto_stream_ops --- crypto_base64.lo --- *** [crypto_base64.lo] Error code 1 make[2]: stopped in /construction/security/pecl-crypto/crypto-0.3.1 --- crypto_stream.lo --- /construction/security/pecl-crypto/crypto-0.3.1/crypto_stream.c:348:27: error: 'php_crypto_stream_flush' undeclared here (not in a function); did you mean 'php_crypto_stream_ops'? php_crypto_stream_close, php_crypto_stream_flush, ^~~~~~~~~~~~~~~~~~~~~~~ php_crypto_stream_ops /construction/security/pecl-crypto/crypto-0.3.1/crypto_stream.c:350:2: error: 'php_crypto_stream_seek' undeclared here (not in a function); did you mean 'php_crypto_stream_ops'? php_crypto_stream_seek, ^~~~~~~~~~~~~~~~~~~~~~ php_crypto_stream_ops /construction/security/pecl-crypto/crypto-0.3.1/crypto_stream.c:358:24: error: expected ';', ',' or ')' before 'TSRMLS_DC' phpc_val *ppv_cipher TSRMLS_DC) ^~~~~~~~~ /construction/security/pecl-crypto/crypto-0.3.1/crypto_stream.c:518:79: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHPC_STR_ARG_PTR_VAL(p_opened_path), php_stream_context *context STREAMS_DC TSRMLS_DC) ^~~~~~~~~ /construction/security/pecl-crypto/crypto-0.3.1/crypto_stream.c:605:2: error: 'php_crypto_stream_opener' undeclared here (not in a function); did you mean 'php_crypto_stream_ops'? php_crypto_stream_opener, ^~~~~~~~~~~~~~~~~~~~~~~~ php_crypto_stream_ops /construction/security/pecl-crypto/crypto-0.3.1/crypto_stream.c: In function 'zm_startup_crypto_stream': /construction/security/pecl-crypto/crypto-0.3.1/crypto_stream.c:628:30: error: expected ')' before 'TSRMLS_CC' &php_crypto_stream_wrapper TSRMLS_CC); ^~~~~~~~~~ ) /construction/security/pecl-crypto/crypto-0.3.1/crypto_stream.c: In function 'zm_shutdown_crypto_stream': /construction/security/pecl-crypto/crypto-0.3.1/crypto_stream.c:637:72: error: expected ')' before 'TSRMLS_CC' php_unregister_url_stream_wrapper(PHP_CRYPTO_STREAM_FILE_WRAPPER_NAME TSRMLS_CC); ^~~~~~~~~ --- crypto_hash.lo --- /construction/security/pecl-crypto/crypto-0.3.1/crypto_hash.c:521:3: warning: implicit declaration of function 'php_crypto_error'; did you mean 'php_verror'? [-Wimplicit-function-declaration] php_crypto_error(PHP_CRYPTO_ERROR_ARGS(Hash, DIGEST_FAILED)); ^~~~~~~~~~~~~~~~ php_verror In file included from /construction/security/pecl-crypto/crypto-0.3.1/crypto_hash.c:20: /construction/security/pecl-crypto/crypto-0.3.1/php_crypto.h:184:51: error: expected ')' before 'TSRMLS_CC' PHP_CRYPTO_ERROR_INFO_NAME(ename), eexc, eact, 0 TSRMLS_CC, #einame ^~~~~~~~~ /construction/security/pecl-crypto/crypto-0.3.1/php_crypto.h:187:2: note: in expansion of macro 'PHP_CRYPTO_ERROR_ARGS_EX' PHP_CRYPTO_ERROR_ARGS_EX(ename, PHP_CRYPTO_EXCEPTION_CE(ename), \ ^~~~~~~~~~~~~~~~~~~~~~~~ /construction/security/pecl-crypto/crypto-0.3.1/crypto_hash.c:521:20: note: in expansion of macro 'PHP_CRYPTO_ERROR_ARGS' php_crypto_error(PHP_CRYPTO_ERROR_ARGS(Hash, DIGEST_FAILED)); ^~~~~~~~~~~~~~~~~~~~~ /construction/security/pecl-crypto/crypto-0.3.1/crypto_hash.c: In function 'zim_Crypto__Hash_hasAlgorithm': /construction/security/pecl-crypto/crypto-0.3.1/crypto_hash.c:555:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", ^~~~~~~~~ /construction/security/pecl-crypto/crypto-0.3.1/crypto_hash.c:555:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/security/pecl-crypto/crypto-0.3.1/crypto_hash.c:19: /usr/local/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /construction/security/pecl-crypto/crypto-0.3.1/crypto_hash.c: In function 'zim_Crypto__Hash___callStatic': /construction/security/pecl-crypto/crypto-0.3.1/crypto_hash.c:580:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "sa", ^~~~~~~~~ /construction/security/pecl-crypto/crypto-0.3.1/crypto_hash.c:580:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "sa", ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/security/pecl-crypto/crypto-0.3.1/crypto_hash.c:19: /usr/local/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ --- crypto_stream.lo --- *** [crypto_stream.lo] Error code 1 make[2]: stopped in /construction/security/pecl-crypto/crypto-0.3.1 --- crypto_rand.lo --- In file included from /construction/security/pecl-crypto/crypto-0.3.1/crypto_rand.c:20: /construction/security/pecl-crypto/crypto-0.3.1/php_crypto.h:184:51: error: expected ')' before 'TSRMLS_CC' PHP_CRYPTO_ERROR_INFO_NAME(ename), eexc, eact, 0 TSRMLS_CC, #einame ^~~~~~~~~ /construction/security/pecl-crypto/crypto-0.3.1/php_crypto.h:187:2: note: in expansion of macro 'PHP_CRYPTO_ERROR_ARGS_EX' PHP_CRYPTO_ERROR_ARGS_EX(ename, PHP_CRYPTO_EXCEPTION_CE(ename), \ ^~~~~~~~~~~~~~~~~~~~~~~~ /construction/security/pecl-crypto/crypto-0.3.1/crypto_rand.c:176:20: note: in expansion of macro 'PHP_CRYPTO_ERROR_ARGS' php_crypto_error(PHP_CRYPTO_ERROR_ARGS(Rand, SEED_LENGTH_TOO_HIGH)); ^~~~~~~~~~~~~~~~~~~~~ /construction/security/pecl-crypto/crypto-0.3.1/crypto_rand.c: In function 'zim_Crypto__Rand_loadFile': /construction/security/pecl-crypto/crypto-0.3.1/crypto_rand.c:211:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, PHPC_PATH_ZPP_FLAG"|l", ^~~~~~~~~ /construction/security/pecl-crypto/crypto-0.3.1/crypto_rand.c:211:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, PHPC_PATH_ZPP_FLAG"|l", ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/security/pecl-crypto/crypto-0.3.1/crypto_rand.c:19: /usr/local/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ In file included from /construction/security/pecl-crypto/crypto-0.3.1/crypto_rand.c:20: /construction/security/pecl-crypto/crypto-0.3.1/php_crypto.h:184:51: error: expected ')' before 'TSRMLS_CC' PHP_CRYPTO_ERROR_INFO_NAME(ename), eexc, eact, 0 TSRMLS_CC, #einame ^~~~~~~~~ /construction/security/pecl-crypto/crypto-0.3.1/php_crypto.h:187:2: note: in expansion of macro 'PHP_CRYPTO_ERROR_ARGS_EX' PHP_CRYPTO_ERROR_ARGS_EX(ename, PHP_CRYPTO_EXCEPTION_CE(ename), \ ^~~~~~~~~~~~~~~~~~~~~~~~ /construction/security/pecl-crypto/crypto-0.3.1/crypto_rand.c:217:20: note: in expansion of macro 'PHP_CRYPTO_ERROR_ARGS' php_crypto_error(PHP_CRYPTO_ERROR_ARGS(Rand, REQUESTED_BYTES_NUMBER_TOO_HIGH)); ^~~~~~~~~~~~~~~~~~~~~ /construction/security/pecl-crypto/crypto-0.3.1/crypto_rand.c: In function 'zim_Crypto__Rand_writeFile': /construction/security/pecl-crypto/crypto-0.3.1/crypto_rand.c:240:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, PHPC_PATH_ZPP_FLAG, ^~~~~~~~~ /construction/security/pecl-crypto/crypto-0.3.1/crypto_rand.c:240:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, PHPC_PATH_ZPP_FLAG, ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/security/pecl-crypto/crypto-0.3.1/crypto_rand.c:19: /usr/local/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ In file included from /construction/security/pecl-crypto/crypto-0.3.1/crypto_rand.c:20: /construction/security/pecl-crypto/crypto-0.3.1/php_crypto.h:184:51: error: expected ')' before 'TSRMLS_CC' PHP_CRYPTO_ERROR_INFO_NAME(ename), eexc, eact, 0 TSRMLS_CC, #einame ^~~~~~~~~ /construction/security/pecl-crypto/crypto-0.3.1/php_crypto.h:187:2: note: in expansion of macro 'PHP_CRYPTO_ERROR_ARGS_EX' PHP_CRYPTO_ERROR_ARGS_EX(ename, PHP_CRYPTO_EXCEPTION_CE(ename), \ ^~~~~~~~~~~~~~~~~~~~~~~~ /construction/security/pecl-crypto/crypto-0.3.1/crypto_rand.c:247:20: note: in expansion of macro 'PHP_CRYPTO_ERROR_ARGS' php_crypto_error(PHP_CRYPTO_ERROR_ARGS(Rand, FILE_WRITE_PREDICTABLE)); ^~~~~~~~~~~~~~~~~~~~~ *** [crypto_rand.lo] Error code 1 make[2]: stopped in /construction/security/pecl-crypto/crypto-0.3.1 --- crypto_kdf.lo --- /construction/security/pecl-crypto/crypto-0.3.1/crypto_kdf.c:333:2: warning: implicit declaration of function 'php_crypto_kdf_set_key_len'; did you mean 'php_crypto_str_size_to_int'? [-Wimplicit-function-declaration] php_crypto_kdf_set_key_len(PHPC_THIS, key_len TSRMLS_CC); ^~~~~~~~~~~~~~~~~~~~~~~~~~ php_crypto_str_size_to_int /construction/security/pecl-crypto/crypto-0.3.1/crypto_kdf.c:333:47: error: expected ')' before 'TSRMLS_CC' php_crypto_kdf_set_key_len(PHPC_THIS, key_len TSRMLS_CC); ^~~~~~~~~~ ) /construction/security/pecl-crypto/crypto-0.3.1/crypto_kdf.c:335:3: warning: implicit declaration of function 'php_crypto_kdf_set_salt'; did you mean 'zim_Crypto__KDF_setSalt'? [-Wimplicit-function-declaration] php_crypto_kdf_set_salt(PHPC_THIS, salt, salt_len TSRMLS_CC); ^~~~~~~~~~~~~~~~~~~~~~~ zim_Crypto__KDF_setSalt /construction/security/pecl-crypto/crypto-0.3.1/crypto_kdf.c:335:52: error: expected ')' before 'TSRMLS_CC' php_crypto_kdf_set_salt(PHPC_THIS, salt, salt_len TSRMLS_CC); ^~~~~~~~~~ ) /construction/security/pecl-crypto/crypto-0.3.1/crypto_kdf.c: In function 'zim_Crypto__KDF_setLength': /construction/security/pecl-crypto/crypto-0.3.1/crypto_kdf.c:362:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", ^~~~~~~~~ /construction/security/pecl-crypto/crypto-0.3.1/crypto_kdf.c:362:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/security/pecl-crypto/crypto-0.3.1/crypto_kdf.c:19: /usr/local/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/Zend/zend.h:27, from /usr/local/include/php/main/php.h:31, from /construction/security/pecl-crypto/crypto-0.3.1/crypto_kdf.c:19: /construction/security/pecl-crypto/crypto-0.3.1/crypto_kdf.c:368:60: error: expected ')' before 'TSRMLS_CC' RETURN_BOOL(php_crypto_kdf_set_key_len(PHPC_THIS, key_len TSRMLS_CC) == SUCCESS); ^~~~~~~~~ /usr/local/include/php/Zend/zend_types.h:893:5: note: in definition of macro 'ZVAL_BOOL' (b) ? IS_TRUE : IS_FALSE; \ ^ /usr/local/include/php/Zend/zend_API.h:731:33: note: in expansion of macro 'RETVAL_BOOL' #define RETURN_BOOL(b) do { RETVAL_BOOL(b); return; } while (0) ^~~~~~~~~~~ /construction/security/pecl-crypto/crypto-0.3.1/crypto_kdf.c:368:2: note: in expansion of macro 'RETURN_BOOL' RETURN_BOOL(php_crypto_kdf_set_key_len(PHPC_THIS, key_len TSRMLS_CC) == SUCCESS); ^~~~~~~~~~~ /construction/security/pecl-crypto/crypto-0.3.1/crypto_kdf.c: In function 'zim_Crypto__KDF_setSalt': /construction/security/pecl-crypto/crypto-0.3.1/crypto_kdf.c:399:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", ^~~~~~~~~ /construction/security/pecl-crypto/crypto-0.3.1/crypto_kdf.c:399:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/security/pecl-crypto/crypto-0.3.1/crypto_kdf.c:19: /usr/local/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/Zend/zend.h:27, from /usr/local/include/php/main/php.h:31, from /construction/security/pecl-crypto/crypto-0.3.1/crypto_kdf.c:19: /construction/security/pecl-crypto/crypto-0.3.1/crypto_kdf.c:405:64: error: expected ')' before 'TSRMLS_CC' RETURN_BOOL(php_crypto_kdf_set_salt(PHPC_THIS, salt, salt_len TSRMLS_CC) == SUCCESS); ^~~~~~~~~ /usr/local/include/php/Zend/zend_types.h:893:5: note: in definition of macro 'ZVAL_BOOL' (b) ? IS_TRUE : IS_FALSE; \ ^ /usr/local/include/php/Zend/zend_API.h:731:33: note: in expansion of macro 'RETVAL_BOOL' #define RETURN_BOOL(b) do { RETVAL_BOOL(b); return; } while (0) ^~~~~~~~~~~ /construction/security/pecl-crypto/crypto-0.3.1/crypto_kdf.c:405:2: note: in expansion of macro 'RETURN_BOOL' RETURN_BOOL(php_crypto_kdf_set_salt(PHPC_THIS, salt, salt_len TSRMLS_CC) == SUCCESS); ^~~~~~~~~~~ /construction/security/pecl-crypto/crypto-0.3.1/crypto_kdf.c: At top level: /construction/security/pecl-crypto/crypto-0.3.1/crypto_kdf.c:414:18: error: expected ';', ',' or ')' before 'TSRMLS_DC' char *hash_alg TSRMLS_DC) ^~~~~~~~~ /construction/security/pecl-crypto/crypto-0.3.1/crypto_kdf.c:430:27: error: expected ';', ',' or ')' before 'TSRMLS_DC' phpc_long_t iterations TSRMLS_DC) ^~~~~~~~~ /construction/security/pecl-crypto/crypto-0.3.1/crypto_kdf.c: In function 'zim_Crypto__PBKDF2___construct': /construction/security/pecl-crypto/crypto-0.3.1/crypto_kdf.c:454:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "sl|sl", ^~~~~~~~~ /construction/security/pecl-crypto/crypto-0.3.1/crypto_kdf.c:454:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "sl|sl", ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/security/pecl-crypto/crypto-0.3.1/crypto_kdf.c:19: /usr/local/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ --- crypto_hash.lo --- /construction/security/pecl-crypto/crypto-0.3.1/crypto_hash.c:587:3: warning: implicit declaration of function 'php_crypto_error_ex'; did you mean 'php_crypto_hash_digest'? [-Wimplicit-function-declaration] php_crypto_error_ex(PHP_CRYPTO_ERROR_ARGS(Hash, STATIC_METHOD_TOO_MANY_ARGS), algorithm); ^~~~~~~~~~~~~~~~~~~ php_crypto_hash_digest In file included from /construction/security/pecl-crypto/crypto-0.3.1/crypto_hash.c:20: /construction/security/pecl-crypto/crypto-0.3.1/php_crypto.h:184:51: error: expected ')' before 'TSRMLS_CC' PHP_CRYPTO_ERROR_INFO_NAME(ename), eexc, eact, 0 TSRMLS_CC, #einame ^~~~~~~~~ /construction/security/pecl-crypto/crypto-0.3.1/php_crypto.h:187:2: note: in expansion of macro 'PHP_CRYPTO_ERROR_ARGS_EX' PHP_CRYPTO_ERROR_ARGS_EX(ename, PHP_CRYPTO_EXCEPTION_CE(ename), \ ^~~~~~~~~~~~~~~~~~~~~~~~ /construction/security/pecl-crypto/crypto-0.3.1/crypto_hash.c:587:23: note: in expansion of macro 'PHP_CRYPTO_ERROR_ARGS' php_crypto_error_ex(PHP_CRYPTO_ERROR_ARGS(Hash, STATIC_METHOD_TOO_MANY_ARGS), algorithm); ^~~~~~~~~~~~~~~~~~~~~ /construction/security/pecl-crypto/crypto-0.3.1/php_crypto.h:184:51: error: expected ')' before 'TSRMLS_CC' PHP_CRYPTO_ERROR_INFO_NAME(ename), eexc, eact, 0 TSRMLS_CC, #einame ^~~~~~~~~ /construction/security/pecl-crypto/crypto-0.3.1/php_crypto.h:187:2: note: in expansion of macro 'PHP_CRYPTO_ERROR_ARGS_EX' PHP_CRYPTO_ERROR_ARGS_EX(ename, PHP_CRYPTO_EXCEPTION_CE(ename), \ ^~~~~~~~~~~~~~~~~~~~~~~~ /construction/security/pecl-crypto/crypto-0.3.1/crypto_hash.c:593:23: note: in expansion of macro 'PHP_CRYPTO_ERROR_ARGS' php_crypto_error_ex(PHP_CRYPTO_ERROR_ARGS(Hash, STATIC_METHOD_NOT_FOUND), algorithm); ^~~~~~~~~~~~~~~~~~~~~ /construction/security/pecl-crypto/crypto-0.3.1/crypto_hash.c:598:2: warning: implicit declaration of function 'php_crypto_hash_set_algorithm_name'; did you mean 'zim_Crypto__Hash_getAlgorithmName'? [-Wimplicit-function-declaration] php_crypto_hash_set_algorithm_name(return_value, algorithm, algorithm_len TSRMLS_CC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ zim_Crypto__Hash_getAlgorithmName /construction/security/pecl-crypto/crypto-0.3.1/crypto_hash.c:598:75: error: expected ')' before 'TSRMLS_CC' php_crypto_hash_set_algorithm_name(return_value, algorithm, algorithm_len TSRMLS_CC); ^~~~~~~~~~ ) /construction/security/pecl-crypto/crypto-0.3.1/crypto_hash.c:607:7: warning: implicit declaration of function 'php_crypto_hash_update'; did you mean 'php_crypto_hash_digest'? [-Wimplicit-function-declaration] if (php_crypto_hash_update(PHPC_THIS, ^~~~~~~~~~~~~~~~~~~~~~ php_crypto_hash_digest /construction/security/pecl-crypto/crypto-0.3.1/crypto_hash.c:608:44: error: expected ')' before 'TSRMLS_CC' Z_STRVAL_P(pz_arg), Z_STRLEN_P(pz_arg) TSRMLS_CC) == FAILURE) { ^~~~~~~~~ /construction/security/pecl-crypto/crypto-0.3.1/crypto_hash.c: In function 'zim_Crypto__Hash___construct': /construction/security/pecl-crypto/crypto-0.3.1/crypto_hash.c:624:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", ^~~~~~~~~ /construction/security/pecl-crypto/crypto-0.3.1/crypto_hash.c:624:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/security/pecl-crypto/crypto-0.3.1/crypto_hash.c:19: /usr/local/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /construction/security/pecl-crypto/crypto-0.3.1/crypto_hash.c:630:82: error: expected ')' before 'TSRMLS_CC' php_crypto_hash_set_algorithm_name(getThis(), algorithm_uc, strlen(algorithm_uc) TSRMLS_CC); ^~~~~~~~~~ ) In file included from /construction/security/pecl-crypto/crypto-0.3.1/crypto_hash.c:20: /construction/security/pecl-crypto/crypto-0.3.1/php_crypto.h:184:51: error: expected ')' before 'TSRMLS_CC' PHP_CRYPTO_ERROR_INFO_NAME(ename), eexc, eact, 0 TSRMLS_CC, #einame ^~~~~~~~~ /construction/security/pecl-crypto/crypto-0.3.1/php_crypto.h:187:2: note: in expansion of macro 'PHP_CRYPTO_ERROR_ARGS_EX' PHP_CRYPTO_ERROR_ARGS_EX(ename, PHP_CRYPTO_EXCEPTION_CE(ename), \ ^~~~~~~~~~~~~~~~~~~~~~~~ /construction/security/pecl-crypto/crypto-0.3.1/crypto_hash.c:635:23: note: in expansion of macro 'PHP_CRYPTO_ERROR_ARGS' php_crypto_error_ex(PHP_CRYPTO_ERROR_ARGS(Hash, HASH_ALGORITHM_NOT_FOUND), algorithm); ^~~~~~~~~~~~~~~~~~~~~ In file included from /construction/security/pecl-crypto/crypto-0.3.1/php_crypto.h:48, from /construction/security/pecl-crypto/crypto-0.3.1/crypto_hash.c:20: /construction/security/pecl-crypto/crypto-0.3.1/crypto_hash.c: In function 'zim_Crypto__Hash_getAlgorithmName': /usr/local/include/php/Zend/zend_API.h:413:73: warning: passing argument 2 of 'zend_read_property' from incompatible pointer type [-Wincompatible-pointer-types] #define getThis() ((Z_TYPE_P(ZEND_THIS) == IS_OBJECT) ? ZEND_THIS : NULL) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ /construction/security/pecl-crypto/crypto-0.3.1/phpc/phpc.h:739:29: note: in definition of macro 'PHPC_READ_PROPERTY' zend_read_property(_scope, _object, _name, _name_len, _silent, &PHPC_READ_PROPERTY_RV_NAME) ^~~~~~~ /construction/security/pecl-crypto/crypto-0.3.1/crypto_hash.c:651:14: note: in expansion of macro 'PHP_CRYPTO_HASH_GET_ALGORITHM_NAME_EX' algorithm = PHP_CRYPTO_HASH_GET_ALGORITHM_NAME_EX(getThis()); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/security/pecl-crypto/crypto-0.3.1/crypto_hash.c:651:52: note: in expansion of macro 'getThis' algorithm = PHP_CRYPTO_HASH_GET_ALGORITHM_NAME_EX(getThis()); ^~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/security/pecl-crypto/crypto-0.3.1/crypto_hash.c:19: /usr/local/include/php/Zend/zend_API.h:404:16: note: expected 'zend_object *' {aka 'struct _zend_object *'} but argument is of type 'zval *' {aka 'struct _zval_struct *'} ZEND_API zval *zend_read_property(zend_class_entry *scope, zend_object *object, const char *name, size_t name_length, zend_bool silent, zval *rv); ^~~~~~~~~~~~~~~~~~ /construction/security/pecl-crypto/crypto-0.3.1/crypto_hash.c: In function 'zim_Crypto__Hash_update': /construction/security/pecl-crypto/crypto-0.3.1/crypto_hash.c:664:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &data, &data_len) == FAILURE) { ^~~~~~~~~ /construction/security/pecl-crypto/crypto-0.3.1/crypto_hash.c:664:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &data, &data_len) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/security/pecl-crypto/crypto-0.3.1/crypto_hash.c:19: /usr/local/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /construction/security/pecl-crypto/crypto-0.3.1/crypto_hash.c:669:50: error: expected ')' before 'TSRMLS_CC' php_crypto_hash_update(PHPC_THIS, data, data_len TSRMLS_CC); ^~~~~~~~~~ ) /construction/security/pecl-crypto/crypto-0.3.1/crypto_hash.c: In function 'zim_Crypto__MAC___construct': /construction/security/pecl-crypto/crypto-0.3.1/crypto_hash.c:765:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ss", ^~~~~~~~~ /construction/security/pecl-crypto/crypto-0.3.1/crypto_hash.c:765:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ss", ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/security/pecl-crypto/crypto-0.3.1/crypto_hash.c:19: /usr/local/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /construction/security/pecl-crypto/crypto-0.3.1/crypto_hash.c:772:75: error: expected ')' before 'TSRMLS_CC' php_crypto_hash_set_algorithm_name(getThis(), algorithm_uc, algorithm_len TSRMLS_CC); ^~~~~~~~~~ ) In file included from /construction/security/pecl-crypto/crypto-0.3.1/crypto_hash.c:20: /construction/security/pecl-crypto/crypto-0.3.1/php_crypto.h:184:51: error: expected ')' before 'TSRMLS_CC' PHP_CRYPTO_ERROR_INFO_NAME(ename), eexc, eact, 0 TSRMLS_CC, #einame ^~~~~~~~~ /construction/security/pecl-crypto/crypto-0.3.1/php_crypto.h:187:2: note: in expansion of macro 'PHP_CRYPTO_ERROR_ARGS_EX' PHP_CRYPTO_ERROR_ARGS_EX(ename, PHP_CRYPTO_EXCEPTION_CE(ename), \ ^~~~~~~~~~~~~~~~~~~~~~~~ /construction/security/pecl-crypto/crypto-0.3.1/crypto_hash.c:790:21: note: in expansion of macro 'PHP_CRYPTO_ERROR_ARGS' php_crypto_error(PHP_CRYPTO_ERROR_ARGS(MAC, KEY_LENGTH_INVALID)); ^~~~~~~~~~~~~~~~~~~~~ /construction/security/pecl-crypto/crypto-0.3.1/php_crypto.h:184:51: error: expected ')' before 'TSRMLS_CC' PHP_CRYPTO_ERROR_INFO_NAME(ename), eexc, eact, 0 TSRMLS_CC, #einame ^~~~~~~~~ /construction/security/pecl-crypto/crypto-0.3.1/php_crypto.h:187:2: note: in expansion of macro 'PHP_CRYPTO_ERROR_ARGS_EX' PHP_CRYPTO_ERROR_ARGS_EX(ename, PHP_CRYPTO_EXCEPTION_CE(ename), \ ^~~~~~~~~~~~~~~~~~~~~~~~ /construction/security/pecl-crypto/crypto-0.3.1/crypto_hash.c:802:20: note: in expansion of macro 'PHP_CRYPTO_ERROR_ARGS' php_crypto_error(PHP_CRYPTO_ERROR_ARGS(MAC, KEY_LENGTH_INVALID)); ^~~~~~~~~~~~~~~~~~~~~ /construction/security/pecl-crypto/crypto-0.3.1/php_crypto.h:184:51: error: expected ')' before 'TSRMLS_CC' PHP_CRYPTO_ERROR_INFO_NAME(ename), eexc, eact, 0 TSRMLS_CC, #einame ^~~~~~~~~ /construction/security/pecl-crypto/crypto-0.3.1/php_crypto.h:187:2: note: in expansion of macro 'PHP_CRYPTO_ERROR_ARGS_EX' PHP_CRYPTO_ERROR_ARGS_EX(ename, PHP_CRYPTO_EXCEPTION_CE(ename), \ ^~~~~~~~~~~~~~~~~~~~~~~~ /construction/security/pecl-crypto/crypto-0.3.1/crypto_hash.c:813:22: note: in expansion of macro 'PHP_CRYPTO_ERROR_ARGS' php_crypto_error_ex(PHP_CRYPTO_ERROR_ARGS(MAC, MAC_ALGORITHM_NOT_FOUND), algorithm); ^~~~~~~~~~~~~~~~~~~~~ *** [crypto_hash.lo] Error code 1 make[2]: stopped in /construction/security/pecl-crypto/crypto-0.3.1 --- crypto_kdf.lo --- /construction/security/pecl-crypto/crypto-0.3.1/crypto_kdf.c:460:2: warning: implicit declaration of function 'php_crypto_pbkdf2_set_hash_algorithm'; did you mean 'zim_Crypto__PBKDF2_setHashAlgorithm'? [-Wimplicit-function-declaration] php_crypto_pbkdf2_set_hash_algorithm(PHPC_THIS, hash_alg TSRMLS_CC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ zim_Crypto__PBKDF2_setHashAlgorithm /construction/security/pecl-crypto/crypto-0.3.1/crypto_kdf.c:460:58: error: expected ')' before 'TSRMLS_CC' php_crypto_pbkdf2_set_hash_algorithm(PHPC_THIS, hash_alg TSRMLS_CC); ^~~~~~~~~~ ) /construction/security/pecl-crypto/crypto-0.3.1/crypto_kdf.c:461:47: error: expected ')' before 'TSRMLS_CC' php_crypto_kdf_set_key_len(PHPC_THIS, key_len TSRMLS_CC); ^~~~~~~~~~ ) /construction/security/pecl-crypto/crypto-0.3.1/crypto_kdf.c:463:52: error: expected ')' before 'TSRMLS_CC' php_crypto_kdf_set_salt(PHPC_THIS, salt, salt_len TSRMLS_CC); ^~~~~~~~~~ ) /construction/security/pecl-crypto/crypto-0.3.1/crypto_kdf.c:465:2: warning: implicit declaration of function 'php_crypto_pbkdf2_set_iterations'; did you mean 'zim_Crypto__PBKDF2_setIterations'? [-Wimplicit-function-declaration] php_crypto_pbkdf2_set_iterations(PHPC_THIS, iterations TSRMLS_CC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ zim_Crypto__PBKDF2_setIterations /construction/security/pecl-crypto/crypto-0.3.1/crypto_kdf.c:465:56: error: expected ')' before 'TSRMLS_CC' php_crypto_pbkdf2_set_iterations(PHPC_THIS, iterations TSRMLS_CC); ^~~~~~~~~~ ) /construction/security/pecl-crypto/crypto-0.3.1/crypto_kdf.c: In function 'zim_Crypto__PBKDF2_derive': /construction/security/pecl-crypto/crypto-0.3.1/crypto_kdf.c:479:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", ^~~~~~~~~ /construction/security/pecl-crypto/crypto-0.3.1/crypto_kdf.c:479:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/security/pecl-crypto/crypto-0.3.1/crypto_kdf.c:19: /usr/local/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /construction/security/pecl-crypto/crypto-0.3.1/crypto_kdf.c:485:3: warning: implicit declaration of function 'php_crypto_error'; did you mean 'php_verror'? [-Wimplicit-function-declaration] php_crypto_error(PHP_CRYPTO_ERROR_ARGS(KDF, PASSWORD_LENGTH_INVALID)); ^~~~~~~~~~~~~~~~ php_verror In file included from /construction/security/pecl-crypto/crypto-0.3.1/crypto_kdf.c:20: /construction/security/pecl-crypto/crypto-0.3.1/php_crypto.h:184:51: error: expected ')' before 'TSRMLS_CC' PHP_CRYPTO_ERROR_INFO_NAME(ename), eexc, eact, 0 TSRMLS_CC, #einame ^~~~~~~~~ /construction/security/pecl-crypto/crypto-0.3.1/php_crypto.h:187:2: note: in expansion of macro 'PHP_CRYPTO_ERROR_ARGS_EX' PHP_CRYPTO_ERROR_ARGS_EX(ename, PHP_CRYPTO_EXCEPTION_CE(ename), \ ^~~~~~~~~~~~~~~~~~~~~~~~ /construction/security/pecl-crypto/crypto-0.3.1/crypto_kdf.c:485:20: note: in expansion of macro 'PHP_CRYPTO_ERROR_ARGS' php_crypto_error(PHP_CRYPTO_ERROR_ARGS(KDF, PASSWORD_LENGTH_INVALID)); ^~~~~~~~~~~~~~~~~~~~~ /construction/security/pecl-crypto/crypto-0.3.1/php_crypto.h:184:51: error: expected ')' before 'TSRMLS_CC' PHP_CRYPTO_ERROR_INFO_NAME(ename), eexc, eact, 0 TSRMLS_CC, #einame ^~~~~~~~~ /construction/security/pecl-crypto/crypto-0.3.1/php_crypto.h:187:2: note: in expansion of macro 'PHP_CRYPTO_ERROR_ARGS_EX' PHP_CRYPTO_ERROR_ARGS_EX(ename, PHP_CRYPTO_EXCEPTION_CE(ename), \ ^~~~~~~~~~~~~~~~~~~~~~~~ /construction/security/pecl-crypto/crypto-0.3.1/crypto_kdf.c:494:20: note: in expansion of macro 'PHP_CRYPTO_ERROR_ARGS' php_crypto_error(PHP_CRYPTO_ERROR_ARGS(KDF, DERIVATION_FAILED)); ^~~~~~~~~~~~~~~~~~~~~ /construction/security/pecl-crypto/crypto-0.3.1/crypto_kdf.c: In function 'zim_Crypto__PBKDF2_setIterations': /construction/security/pecl-crypto/crypto-0.3.1/crypto_kdf.c:525:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", ^~~~~~~~~ /construction/security/pecl-crypto/crypto-0.3.1/crypto_kdf.c:525:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/security/pecl-crypto/crypto-0.3.1/crypto_kdf.c:19: /usr/local/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/Zend/zend.h:27, from /usr/local/include/php/main/php.h:31, from /construction/security/pecl-crypto/crypto-0.3.1/crypto_kdf.c:19: /construction/security/pecl-crypto/crypto-0.3.1/crypto_kdf.c:531:69: error: expected ')' before 'TSRMLS_CC' RETURN_BOOL(php_crypto_pbkdf2_set_iterations(PHPC_THIS, iterations TSRMLS_CC) == SUCCESS); ^~~~~~~~~ /usr/local/include/php/Zend/zend_types.h:893:5: note: in definition of macro 'ZVAL_BOOL' (b) ? IS_TRUE : IS_FALSE; \ ^ /usr/local/include/php/Zend/zend_API.h:731:33: note: in expansion of macro 'RETVAL_BOOL' #define RETURN_BOOL(b) do { RETVAL_BOOL(b); return; } while (0) ^~~~~~~~~~~ /construction/security/pecl-crypto/crypto-0.3.1/crypto_kdf.c:531:2: note: in expansion of macro 'RETURN_BOOL' RETURN_BOOL(php_crypto_pbkdf2_set_iterations(PHPC_THIS, iterations TSRMLS_CC) == SUCCESS); ^~~~~~~~~~~ /construction/security/pecl-crypto/crypto-0.3.1/crypto_kdf.c: In function 'zim_Crypto__PBKDF2_setHashAlgorithm': /construction/security/pecl-crypto/crypto-0.3.1/crypto_kdf.c:564:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", ^~~~~~~~~ /construction/security/pecl-crypto/crypto-0.3.1/crypto_kdf.c:564:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/security/pecl-crypto/crypto-0.3.1/crypto_kdf.c:19: /usr/local/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/Zend/zend.h:27, from /usr/local/include/php/main/php.h:31, from /construction/security/pecl-crypto/crypto-0.3.1/crypto_kdf.c:19: /construction/security/pecl-crypto/crypto-0.3.1/crypto_kdf.c:570:71: error: expected ')' before 'TSRMLS_CC' RETURN_BOOL(php_crypto_pbkdf2_set_hash_algorithm(PHPC_THIS, hash_alg TSRMLS_CC) == SUCCESS); ^~~~~~~~~ /usr/local/include/php/Zend/zend_types.h:893:5: note: in definition of macro 'ZVAL_BOOL' (b) ? IS_TRUE : IS_FALSE; \ ^ /usr/local/include/php/Zend/zend_API.h:731:33: note: in expansion of macro 'RETVAL_BOOL' #define RETURN_BOOL(b) do { RETVAL_BOOL(b); return; } while (0) ^~~~~~~~~~~ /construction/security/pecl-crypto/crypto-0.3.1/crypto_kdf.c:570:2: note: in expansion of macro 'RETURN_BOOL' RETURN_BOOL(php_crypto_pbkdf2_set_hash_algorithm(PHPC_THIS, hash_alg TSRMLS_CC) == SUCCESS); ^~~~~~~~~~~ *** [crypto_kdf.lo] Error code 1 make[2]: stopped in /construction/security/pecl-crypto/crypto-0.3.1 8 errors make[2]: stopped in /construction/security/pecl-crypto/crypto-0.3.1 ===> Compilation failed unexpectedly. Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to the maintainer. *** Error code 1 Stop. make[1]: stopped in /xports/security/pecl-crypto *** Error code 1 Stop. make: stopped in /xports/security/pecl-crypto FAILED 00:00:01