=> Bootstrap dependency digest>=20010302: found digest-20190127 ===> Skipping vulnerability checks. WARNING: No /usr/pkg/pkgdb/pkg-vulnerabilities file found. WARNING: To fix run: `/usr/sbin/pkg_admin -K /usr/pkg/pkgdb fetch-pkg-vulnerabilities'. ===> Building for php80-yaz-1.2.3nb1 /bin/cp /amd/pkgsrc/CHROOT/P/pkgsrc/net/php-yaz/../../lang/php/ext.ini /tmp/net/php-yaz/work/yaz-1.2.3/yaz.ini --- php_yaz.lo --- /bin/sh /tmp/net/php-yaz/work/yaz-1.2.3/libtool --mode=compile gcc -I. -I/tmp/net/php-yaz/work/yaz-1.2.3 -I/tmp/net/php-yaz/work/yaz-1.2.3/include -I/tmp/net/php-yaz/work/yaz-1.2.3/main -I/tmp/net/php-yaz/work/yaz-1.2.3 -I/usr/pkg/include/php -I/usr/pkg/include/php/main -I/usr/pkg/include/php/TSRM -I/usr/pkg/include/php/Zend -I/usr/pkg/include/php/ext -I/usr/pkg/include/php/ext/date/lib -I/usr/pkg/include -I/usr/pkg/include/libxml2 -I/usr/pkg/include -I/usr/include -DHAVE_CONFIG_H -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/include -c /tmp/net/php-yaz/work/yaz-1.2.3/php_yaz.c -o php_yaz.lo libtool: compile: gcc -I. -I/tmp/net/php-yaz/work/yaz-1.2.3 -I/tmp/net/php-yaz/work/yaz-1.2.3/include -I/tmp/net/php-yaz/work/yaz-1.2.3/main -I/tmp/net/php-yaz/work/.buildlink/include/php -I/tmp/net/php-yaz/work/.buildlink/include/php/main -I/tmp/net/php-yaz/work/.buildlink/include/php/TSRM -I/tmp/net/php-yaz/work/.buildlink/include/php/Zend -I/tmp/net/php-yaz/work/.buildlink/include/php/ext -I/tmp/net/php-yaz/work/.buildlink/include/php/ext/date/lib -I/tmp/net/php-yaz/work/.buildlink/include -I/tmp/net/php-yaz/work/.buildlink/include/libxml2 -DHAVE_CONFIG_H -O2 -D_FORTIFY_SOURCE=2 -c /tmp/net/php-yaz/work/yaz-1.2.3/php_yaz.c -fPIC -DPIC -o .libs/php_yaz.o /tmp/net/php-yaz/work/yaz-1.2.3/php_yaz.c:143:9: warning: implicit declaration of function 'ZEND_ARG_PASS_INFO'; did you mean 'ZEND_ARG_TYPE_INFO'? [-Wimplicit-function-declaration] ZEND_ARG_PASS_INFO(1) ^~~~~~~~~~~~~~~~~~ ZEND_ARG_TYPE_INFO /tmp/net/php-yaz/work/yaz-1.2.3/php_yaz.c:143:9: warning: initialization makes pointer from integer without a cast [-Wint-conversion] /tmp/net/php-yaz/work/yaz-1.2.3/php_yaz.c:143:9: note: (near initialization for 'first_argument_force_ref[1].name') /tmp/net/php-yaz/work/yaz-1.2.3/php_yaz.c:143:9: error: initializer element is not constant /tmp/net/php-yaz/work/yaz-1.2.3/php_yaz.c:143:9: note: (near initialization for 'first_argument_force_ref[1].name') /tmp/net/php-yaz/work/yaz-1.2.3/php_yaz.c:147:9: warning: initialization makes pointer from integer without a cast [-Wint-conversion] ZEND_ARG_PASS_INFO(0) ^~~~~~~~~~~~~~~~~~ /tmp/net/php-yaz/work/yaz-1.2.3/php_yaz.c:147:9: note: (near initialization for 'second_argument_force_ref[1].name') /tmp/net/php-yaz/work/yaz-1.2.3/php_yaz.c:147:9: error: initializer element is not constant /tmp/net/php-yaz/work/yaz-1.2.3/php_yaz.c:147:9: note: (near initialization for 'second_argument_force_ref[1].name') /tmp/net/php-yaz/work/yaz-1.2.3/php_yaz.c:148:9: error: expected '}' before 'ZEND_ARG_PASS_INFO' ZEND_ARG_PASS_INFO(1) ^~~~~~~~~~~~~~~~~~ /tmp/net/php-yaz/work/yaz-1.2.3/php_yaz.c:152:9: warning: initialization makes pointer from integer without a cast [-Wint-conversion] ZEND_ARG_PASS_INFO(0) ^~~~~~~~~~~~~~~~~~ /tmp/net/php-yaz/work/yaz-1.2.3/php_yaz.c:152:9: note: (near initialization for 'third_argument_force_ref[1].name') /tmp/net/php-yaz/work/yaz-1.2.3/php_yaz.c:152:9: error: initializer element is not constant /tmp/net/php-yaz/work/yaz-1.2.3/php_yaz.c:152:9: note: (near initialization for 'third_argument_force_ref[1].name') /tmp/net/php-yaz/work/yaz-1.2.3/php_yaz.c:153:9: error: expected '}' before 'ZEND_ARG_PASS_INFO' ZEND_ARG_PASS_INFO(0) ^~~~~~~~~~~~~~~~~~ /tmp/net/php-yaz/work/yaz-1.2.3/php_yaz.c: In function 'get_assoc': /tmp/net/php-yaz/work/yaz-1.2.3/php_yaz.c:220:25: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid YAZ handle"); ^~~~~~~~~ /tmp/net/php-yaz/work/yaz-1.2.3/php_yaz.c:220:3: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid YAZ handle"); ^~~~~~~~~~~~~~~~ In file included from /tmp/net/php-yaz/work/yaz-1.2.3/php_yaz.c:10:0: /tmp/net/php-yaz/work/.buildlink/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ /tmp/net/php-yaz/work/yaz-1.2.3/php_yaz.c: In function 'zif_yaz_connect': /tmp/net/php-yaz/work/yaz-1.2.3/php_yaz.c:385:31: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(1 TSRMLS_CC, "s", &zurl_str, &zurl_len) ^~~~~~~~~ /tmp/net/php-yaz/work/yaz-1.2.3/php_yaz.c:385:7: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(1 TSRMLS_CC, "s", &zurl_str, &zurl_len) ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/net/php-yaz/work/.buildlink/include/php/main/php.h:35:0, from /tmp/net/php-yaz/work/yaz-1.2.3/php_yaz.c:10: /tmp/net/php-yaz/work/.buildlink/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, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/net/php-yaz/work/yaz-1.2.3/php_yaz.c:386:4: warning: comparison between pointer and integer == FAILURE) { ^~ /tmp/net/php-yaz/work/yaz-1.2.3/php_yaz.c:391:31: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(2 TSRMLS_CC, "sz", &zurl_str, &zurl_len, ^~~~~~~~~ /tmp/net/php-yaz/work/yaz-1.2.3/php_yaz.c:391:7: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(2 TSRMLS_CC, "sz", &zurl_str, &zurl_len, ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/net/php-yaz/work/.buildlink/include/php/main/php.h:35:0, from /tmp/net/php-yaz/work/yaz-1.2.3/php_yaz.c:10: /tmp/net/php-yaz/work/.buildlink/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, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/net/php-yaz/work/yaz-1.2.3/php_yaz.c:392:18: warning: comparison between pointer and integer &user) == FAILURE) { ^~ /tmp/net/php-yaz/work/yaz-1.2.3/php_yaz.c:440:25: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Empty zurl"); ^~~~~~~~~ /tmp/net/php-yaz/work/yaz-1.2.3/php_yaz.c:440:3: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Empty zurl"); ^~~~~~~~~~~~~~~~ In file included from /tmp/net/php-yaz/work/yaz-1.2.3/php_yaz.c:10:0: /tmp/net/php-yaz/work/.buildlink/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ /tmp/net/php-yaz/work/yaz-1.2.3/php_yaz.c:484:27: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, ^~~~~~~~~ /tmp/net/php-yaz/work/yaz-1.2.3/php_yaz.c:484:5: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, ^~~~~~~~~~~~~~~~ In file included from /tmp/net/php-yaz/work/yaz-1.2.3/php_yaz.c:10:0: /tmp/net/php-yaz/work/.buildlink/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ /tmp/net/php-yaz/work/yaz-1.2.3/php_yaz.c: In function 'zif_yaz_close': /tmp/net/php-yaz/work/yaz-1.2.3/php_yaz.c:546:54: error: expected ')' before 'TSRMLS_CC' if (ZEND_NUM_ARGS() != 1 || zend_parse_parameters(1 TSRMLS_CC, "z", &id) ^~~~~~~~~ /tmp/net/php-yaz/work/yaz-1.2.3/php_yaz.c:546:30: error: too few arguments to function 'zend_parse_parameters' if (ZEND_NUM_ARGS() != 1 || zend_parse_parameters(1 TSRMLS_CC, "z", &id) ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/net/php-yaz/work/.buildlink/include/php/main/php.h:35:0, from /tmp/net/php-yaz/work/yaz-1.2.3/php_yaz.c:10: /tmp/net/php-yaz/work/.buildlink/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, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/net/php-yaz/work/yaz-1.2.3/php_yaz.c:547:3: warning: comparison between pointer and integer == FAILURE) { ^~ /tmp/net/php-yaz/work/yaz-1.2.3/php_yaz.c: In function 'zif_yaz_search': /tmp/net/php-yaz/work/yaz-1.2.3/php_yaz.c:574:33: error: expected ')' before 'TSRMLS_CC' zend_parse_parameters(3 TSRMLS_CC, "zss", &id, ^~~~~~~~~ /tmp/net/php-yaz/work/yaz-1.2.3/php_yaz.c:574:9: error: too few arguments to function 'zend_parse_parameters' zend_parse_parameters(3 TSRMLS_CC, "zss", &id, ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/net/php-yaz/work/.buildlink/include/php/main/php.h:35:0, from /tmp/net/php-yaz/work/yaz-1.2.3/php_yaz.c:10: /tmp/net/php-yaz/work/.buildlink/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, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/net/php-yaz/work/yaz-1.2.3/php_yaz.c:576:34: warning: comparison between pointer and integer &query_str, &query_len) == FAILURE) { ^~ /tmp/net/php-yaz/work/yaz-1.2.3/php_yaz.c:619:25: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, ^~~~~~~~~ /tmp/net/php-yaz/work/yaz-1.2.3/php_yaz.c:619:3: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, ^~~~~~~~~~~~~~~~ In file included from /tmp/net/php-yaz/work/yaz-1.2.3/php_yaz.c:10:0: /tmp/net/php-yaz/work/.buildlink/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ /tmp/net/php-yaz/work/yaz-1.2.3/php_yaz.c: In function 'zif_yaz_present': /tmp/net/php-yaz/work/yaz-1.2.3/php_yaz.c:633:54: error: expected ')' before 'TSRMLS_CC' if (ZEND_NUM_ARGS() != 1 || zend_parse_parameters(1 TSRMLS_CC, "z", &id) ^~~~~~~~~ /tmp/net/php-yaz/work/yaz-1.2.3/php_yaz.c:633:30: error: too few arguments to function 'zend_parse_parameters' if (ZEND_NUM_ARGS() != 1 || zend_parse_parameters(1 TSRMLS_CC, "z", &id) ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/net/php-yaz/work/.buildlink/include/php/main/php.h:35:0, from /tmp/net/php-yaz/work/yaz-1.2.3/php_yaz.c:10: /tmp/net/php-yaz/work/.buildlink/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, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/net/php-yaz/work/yaz-1.2.3/php_yaz.c:634:3: warning: comparison between pointer and integer == FAILURE) { ^~ /tmp/net/php-yaz/work/yaz-1.2.3/php_yaz.c: In function 'zif_yaz_wait': /tmp/net/php-yaz/work/yaz-1.2.3/php_yaz.c:669:31: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(1 TSRMLS_CC, "a/", &pval_options) == ^~~~~~~~~ /tmp/net/php-yaz/work/yaz-1.2.3/php_yaz.c:669:7: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(1 TSRMLS_CC, "a/", &pval_options) == ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/net/php-yaz/work/.buildlink/include/php/main/php.h:35:0, from /tmp/net/php-yaz/work/yaz-1.2.3/php_yaz.c:10: /tmp/net/php-yaz/work/.buildlink/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, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/net/php-yaz/work/yaz-1.2.3/php_yaz.c:669:63: warning: comparison between pointer and integer if (zend_parse_parameters(1 TSRMLS_CC, "a/", &pval_options) == ^~ /tmp/net/php-yaz/work/yaz-1.2.3/php_yaz.c: In function 'zif_yaz_errno': /tmp/net/php-yaz/work/yaz-1.2.3/php_yaz.c:744:54: error: expected ')' before 'TSRMLS_CC' if (ZEND_NUM_ARGS() != 1 || zend_parse_parameters(1 TSRMLS_CC, "z", &id) ^~~~~~~~~ /tmp/net/php-yaz/work/yaz-1.2.3/php_yaz.c:744:30: error: too few arguments to function 'zend_parse_parameters' if (ZEND_NUM_ARGS() != 1 || zend_parse_parameters(1 TSRMLS_CC, "z", &id) ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/net/php-yaz/work/.buildlink/include/php/main/php.h:35:0, from /tmp/net/php-yaz/work/yaz-1.2.3/php_yaz.c:10: /tmp/net/php-yaz/work/.buildlink/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, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/net/php-yaz/work/yaz-1.2.3/php_yaz.c:745:3: warning: comparison between pointer and integer == FAILURE) { ^~ /tmp/net/php-yaz/work/yaz-1.2.3/php_yaz.c: In function 'zif_yaz_error': /tmp/net/php-yaz/work/yaz-1.2.3/php_yaz.c:764:54: error: expected ')' before 'TSRMLS_CC' if (ZEND_NUM_ARGS() != 1 || zend_parse_parameters(1 TSRMLS_CC, "z", &id) ^~~~~~~~~ /tmp/net/php-yaz/work/yaz-1.2.3/php_yaz.c:764:30: error: too few arguments to function 'zend_parse_parameters' if (ZEND_NUM_ARGS() != 1 || zend_parse_parameters(1 TSRMLS_CC, "z", &id) ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/net/php-yaz/work/.buildlink/include/php/main/php.h:35:0, from /tmp/net/php-yaz/work/yaz-1.2.3/php_yaz.c:10: /tmp/net/php-yaz/work/.buildlink/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, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/net/php-yaz/work/yaz-1.2.3/php_yaz.c:765:3: warning: comparison between pointer and integer == FAILURE) { ^~ /tmp/net/php-yaz/work/yaz-1.2.3/php_yaz.c: In function 'zif_yaz_addinfo': /tmp/net/php-yaz/work/yaz-1.2.3/php_yaz.c:796:54: error: expected ')' before 'TSRMLS_CC' if (ZEND_NUM_ARGS() != 1 || zend_parse_parameters(1 TSRMLS_CC, "z", &id) ^~~~~~~~~ /tmp/net/php-yaz/work/yaz-1.2.3/php_yaz.c:796:30: error: too few arguments to function 'zend_parse_parameters' if (ZEND_NUM_ARGS() != 1 || zend_parse_parameters(1 TSRMLS_CC, "z", &id) ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/net/php-yaz/work/.buildlink/include/php/main/php.h:35:0, from /tmp/net/php-yaz/work/yaz-1.2.3/php_yaz.c:10: /tmp/net/php-yaz/work/.buildlink/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, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/net/php-yaz/work/yaz-1.2.3/php_yaz.c:797:3: warning: comparison between pointer and integer == FAILURE) { ^~ /tmp/net/php-yaz/work/yaz-1.2.3/php_yaz.c: In function 'zif_yaz_hits': /tmp/net/php-yaz/work/yaz-1.2.3/php_yaz.c:824:31: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(1 TSRMLS_CC, "z", &id) == FAILURE) { ^~~~~~~~~ /tmp/net/php-yaz/work/yaz-1.2.3/php_yaz.c:824:7: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(1 TSRMLS_CC, "z", &id) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/net/php-yaz/work/.buildlink/include/php/main/php.h:35:0, from /tmp/net/php-yaz/work/yaz-1.2.3/php_yaz.c:10: /tmp/net/php-yaz/work/.buildlink/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, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/net/php-yaz/work/yaz-1.2.3/php_yaz.c:824:52: warning: comparison between pointer and integer if (zend_parse_parameters(1 TSRMLS_CC, "z", &id) == FAILURE) { ^~ /tmp/net/php-yaz/work/yaz-1.2.3/php_yaz.c:828:31: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(2 TSRMLS_CC, "zz/", &id, &searchresult) ^~~~~~~~~ /tmp/net/php-yaz/work/yaz-1.2.3/php_yaz.c:828:7: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(2 TSRMLS_CC, "zz/", &id, &searchresult) ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/net/php-yaz/work/.buildlink/include/php/main/php.h:35:0, from /tmp/net/php-yaz/work/yaz-1.2.3/php_yaz.c:10: /tmp/net/php-yaz/work/.buildlink/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, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/net/php-yaz/work/yaz-1.2.3/php_yaz.c:829:4: warning: comparison between pointer and integer == FAILURE) { ^~ /tmp/net/php-yaz/work/yaz-1.2.3/php_yaz.c: In function 'zif_yaz_record': /tmp/net/php-yaz/work/yaz-1.2.3/php_yaz.c:1471:30: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(3 TSRMLS_CC, "zls", &pval_id, &pos, ^~~~~~~~~ /tmp/net/php-yaz/work/yaz-1.2.3/php_yaz.c:1471:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(3 TSRMLS_CC, "zls", &pval_id, &pos, ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/net/php-yaz/work/.buildlink/include/php/main/php.h:35:0, from /tmp/net/php-yaz/work/yaz-1.2.3/php_yaz.c:10: /tmp/net/php-yaz/work/.buildlink/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, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/net/php-yaz/work/yaz-1.2.3/php_yaz.c:1472:28: warning: comparison between pointer and integer &type, &type_len) == FAILURE) { ^~ /tmp/net/php-yaz/work/yaz-1.2.3/php_yaz.c:1523:28: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, ^~~~~~~~~ /tmp/net/php-yaz/work/yaz-1.2.3/php_yaz.c:1523:6: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, ^~~~~~~~~~~~~~~~ In file included from /tmp/net/php-yaz/work/yaz-1.2.3/php_yaz.c:10:0: /tmp/net/php-yaz/work/.buildlink/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ /tmp/net/php-yaz/work/yaz-1.2.3/php_yaz.c: In function 'zif_yaz_syntax': /tmp/net/php-yaz/work/yaz-1.2.3/php_yaz.c:1545:27: error: expected ')' before 'TSRMLS_CC' zend_parse_parameters(2 TSRMLS_CC, "zs", &pval_id, ^~~~~~~~~ /tmp/net/php-yaz/work/yaz-1.2.3/php_yaz.c:1545:3: error: too few arguments to function 'zend_parse_parameters' zend_parse_parameters(2 TSRMLS_CC, "zs", &pval_id, ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/net/php-yaz/work/.buildlink/include/php/main/php.h:35:0, from /tmp/net/php-yaz/work/yaz-1.2.3/php_yaz.c:10: /tmp/net/php-yaz/work/.buildlink/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, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/net/php-yaz/work/yaz-1.2.3/php_yaz.c:1546:32: warning: comparison between pointer and integer &syntax, &syntax_len) == FAILURE) { ^~ /tmp/net/php-yaz/work/yaz-1.2.3/php_yaz.c: In function 'zif_yaz_element': /tmp/net/php-yaz/work/yaz-1.2.3/php_yaz.c:1566:27: error: expected ')' before 'TSRMLS_CC' zend_parse_parameters(2 TSRMLS_CC, "zs", &pval_id, ^~~~~~~~~ /tmp/net/php-yaz/work/yaz-1.2.3/php_yaz.c:1566:3: error: too few arguments to function 'zend_parse_parameters' zend_parse_parameters(2 TSRMLS_CC, "zs", &pval_id, ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/net/php-yaz/work/.buildlink/include/php/main/php.h:35:0, from /tmp/net/php-yaz/work/yaz-1.2.3/php_yaz.c:10: /tmp/net/php-yaz/work/.buildlink/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, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/net/php-yaz/work/yaz-1.2.3/php_yaz.c:1567:34: warning: comparison between pointer and integer &element, &element_len) == FAILURE) { ^~ /tmp/net/php-yaz/work/yaz-1.2.3/php_yaz.c: In function 'zif_yaz_schema': /tmp/net/php-yaz/work/yaz-1.2.3/php_yaz.c:1587:27: error: expected ')' before 'TSRMLS_CC' zend_parse_parameters(2 TSRMLS_CC, "zs", &pval_id, ^~~~~~~~~ /tmp/net/php-yaz/work/yaz-1.2.3/php_yaz.c:1587:3: error: too few arguments to function 'zend_parse_parameters' zend_parse_parameters(2 TSRMLS_CC, "zs", &pval_id, ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/net/php-yaz/work/.buildlink/include/php/main/php.h:35:0, from /tmp/net/php-yaz/work/yaz-1.2.3/php_yaz.c:10: /tmp/net/php-yaz/work/.buildlink/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, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/net/php-yaz/work/yaz-1.2.3/php_yaz.c:1588:32: warning: comparison between pointer and integer &schema, &schema_len) == FAILURE) { ^~ /tmp/net/php-yaz/work/yaz-1.2.3/php_yaz.c: In function 'zif_yaz_set_option': /tmp/net/php-yaz/work/yaz-1.2.3/php_yaz.c:1606:31: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(2 TSRMLS_CC, "za", ^~~~~~~~~ /tmp/net/php-yaz/work/yaz-1.2.3/php_yaz.c:1606:7: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(2 TSRMLS_CC, "za", ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/net/php-yaz/work/.buildlink/include/php/main/php.h:35:0, from /tmp/net/php-yaz/work/yaz-1.2.3/php_yaz.c:10: /tmp/net/php-yaz/work/.buildlink/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, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/net/php-yaz/work/yaz-1.2.3/php_yaz.c:1607:31: warning: comparison between pointer and integer &pval_id, &pval_ar) == FAILURE) { ^~ /tmp/net/php-yaz/work/yaz-1.2.3/php_yaz.c:1653:31: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(3 TSRMLS_CC, "zss", ^~~~~~~~~ /tmp/net/php-yaz/work/yaz-1.2.3/php_yaz.c:1653:7: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(3 TSRMLS_CC, "zss", ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/net/php-yaz/work/.buildlink/include/php/main/php.h:35:0, from /tmp/net/php-yaz/work/yaz-1.2.3/php_yaz.c:10: /tmp/net/php-yaz/work/.buildlink/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, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/net/php-yaz/work/yaz-1.2.3/php_yaz.c:1655:31: warning: comparison between pointer and integer &value, &value_len) == FAILURE) { ^~ /tmp/net/php-yaz/work/yaz-1.2.3/php_yaz.c: In function 'zif_yaz_get_option': /tmp/net/php-yaz/work/yaz-1.2.3/php_yaz.c:1677:27: error: expected ')' before 'TSRMLS_CC' zend_parse_parameters(2 TSRMLS_CC, "zs", &pval_id, &name, &name_len) ^~~~~~~~~ /tmp/net/php-yaz/work/yaz-1.2.3/php_yaz.c:1677:3: error: too few arguments to function 'zend_parse_parameters' zend_parse_parameters(2 TSRMLS_CC, "zs", &pval_id, &name, &name_len) ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/net/php-yaz/work/.buildlink/include/php/main/php.h:35:0, from /tmp/net/php-yaz/work/yaz-1.2.3/php_yaz.c:10: /tmp/net/php-yaz/work/.buildlink/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, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/net/php-yaz/work/yaz-1.2.3/php_yaz.c:1678:3: warning: comparison between pointer and integer == FAILURE) { ^~ /tmp/net/php-yaz/work/yaz-1.2.3/php_yaz.c: In function 'zif_yaz_range': /tmp/net/php-yaz/work/yaz-1.2.3/php_yaz.c:1712:27: error: expected ')' before 'TSRMLS_CC' zend_parse_parameters(3 TSRMLS_CC, "zll", &pval_id, &start, &number) ^~~~~~~~~ /tmp/net/php-yaz/work/yaz-1.2.3/php_yaz.c:1712:3: error: too few arguments to function 'zend_parse_parameters' zend_parse_parameters(3 TSRMLS_CC, "zll", &pval_id, &start, &number) ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/net/php-yaz/work/.buildlink/include/php/main/php.h:35:0, from /tmp/net/php-yaz/work/yaz-1.2.3/php_yaz.c:10: /tmp/net/php-yaz/work/.buildlink/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, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/net/php-yaz/work/yaz-1.2.3/php_yaz.c:1713:3: warning: comparison between pointer and integer == FAILURE) { ^~ /tmp/net/php-yaz/work/yaz-1.2.3/php_yaz.c: In function 'zif_yaz_sort': /tmp/net/php-yaz/work/yaz-1.2.3/php_yaz.c:1734:27: error: expected ')' before 'TSRMLS_CC' zend_parse_parameters(2 TSRMLS_CC, "zs", &pval_id, &criteria, ^~~~~~~~~ /tmp/net/php-yaz/work/yaz-1.2.3/php_yaz.c:1734:3: error: too few arguments to function 'zend_parse_parameters' zend_parse_parameters(2 TSRMLS_CC, "zs", &pval_id, &criteria, ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/net/php-yaz/work/.buildlink/include/php/main/php.h:35:0, from /tmp/net/php-yaz/work/yaz-1.2.3/php_yaz.c:10: /tmp/net/php-yaz/work/.buildlink/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, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/net/php-yaz/work/yaz-1.2.3/php_yaz.c:1735:25: warning: comparison between pointer and integer &criteria_len) == FAILURE) { ^~ /tmp/net/php-yaz/work/yaz-1.2.3/php_yaz.c: In function 'zif_yaz_itemorder': /tmp/net/php-yaz/work/yaz-1.2.3/php_yaz.c:1763:27: error: expected ')' before 'TSRMLS_CC' zend_parse_parameters(2 TSRMLS_CC, "za", &pval_id, &pval_package) == ^~~~~~~~~ /tmp/net/php-yaz/work/yaz-1.2.3/php_yaz.c:1763:3: error: too few arguments to function 'zend_parse_parameters' zend_parse_parameters(2 TSRMLS_CC, "za", &pval_id, &pval_package) == ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/net/php-yaz/work/.buildlink/include/php/main/php.h:35:0, from /tmp/net/php-yaz/work/yaz-1.2.3/php_yaz.c:10: /tmp/net/php-yaz/work/.buildlink/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, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/net/php-yaz/work/yaz-1.2.3/php_yaz.c:1763:69: warning: comparison between pointer and integer zend_parse_parameters(2 TSRMLS_CC, "za", &pval_id, &pval_package) == ^~ /tmp/net/php-yaz/work/yaz-1.2.3/php_yaz.c: In function 'zif_yaz_es': /tmp/net/php-yaz/work/yaz-1.2.3/php_yaz.c:1799:27: error: expected ')' before 'TSRMLS_CC' zend_parse_parameters(3 TSRMLS_CC, "zsa", &pval_id, ^~~~~~~~~ /tmp/net/php-yaz/work/yaz-1.2.3/php_yaz.c:1799:3: error: too few arguments to function 'zend_parse_parameters' zend_parse_parameters(3 TSRMLS_CC, "zsa", &pval_id, ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/net/php-yaz/work/.buildlink/include/php/main/php.h:35:0, from /tmp/net/php-yaz/work/yaz-1.2.3/php_yaz.c:10: /tmp/net/php-yaz/work/.buildlink/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, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/net/php-yaz/work/yaz-1.2.3/php_yaz.c:1800:43: warning: comparison between pointer and integer &type, &type_len, &pval_package) == FAILURE) { ^~ /tmp/net/php-yaz/work/yaz-1.2.3/php_yaz.c: In function 'zif_yaz_scan': /tmp/net/php-yaz/work/yaz-1.2.3/php_yaz.c:1835:31: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(3 TSRMLS_CC, "zss", ^~~~~~~~~ /tmp/net/php-yaz/work/yaz-1.2.3/php_yaz.c:1835:7: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(3 TSRMLS_CC, "zss", ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/net/php-yaz/work/.buildlink/include/php/main/php.h:35:0, from /tmp/net/php-yaz/work/yaz-1.2.3/php_yaz.c:10: /tmp/net/php-yaz/work/.buildlink/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, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/net/php-yaz/work/yaz-1.2.3/php_yaz.c:1837:31: warning: comparison between pointer and integer &query, &query_len) == FAILURE) { ^~ /tmp/net/php-yaz/work/yaz-1.2.3/php_yaz.c:1841:31: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(4 TSRMLS_CC, "zssa", ^~~~~~~~~ /tmp/net/php-yaz/work/yaz-1.2.3/php_yaz.c:1841:7: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(4 TSRMLS_CC, "zssa", ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/net/php-yaz/work/.buildlink/include/php/main/php.h:35:0, from /tmp/net/php-yaz/work/yaz-1.2.3/php_yaz.c:10: /tmp/net/php-yaz/work/.buildlink/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, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/net/php-yaz/work/yaz-1.2.3/php_yaz.c:1843:44: warning: comparison between pointer and integer &query, &query_len, &pval_flags) == FAILURE) { ^~ /tmp/net/php-yaz/work/yaz-1.2.3/php_yaz.c: In function 'zif_yaz_es_result': /tmp/net/php-yaz/work/yaz-1.2.3/php_yaz.c:1879:54: error: expected ')' before 'TSRMLS_CC' if (ZEND_NUM_ARGS() != 1 || zend_parse_parameters(1 TSRMLS_CC, "z", ^~~~~~~~~ /tmp/net/php-yaz/work/yaz-1.2.3/php_yaz.c:1879:30: error: too few arguments to function 'zend_parse_parameters' if (ZEND_NUM_ARGS() != 1 || zend_parse_parameters(1 TSRMLS_CC, "z", ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/net/php-yaz/work/.buildlink/include/php/main/php.h:35:0, from /tmp/net/php-yaz/work/yaz-1.2.3/php_yaz.c:10: /tmp/net/php-yaz/work/.buildlink/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, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/net/php-yaz/work/yaz-1.2.3/php_yaz.c:1880:26: warning: comparison between pointer and integer &pval_id) == FAILURE) { ^~ /tmp/net/php-yaz/work/yaz-1.2.3/php_yaz.c: In function 'zif_yaz_scan_result': /tmp/net/php-yaz/work/yaz-1.2.3/php_yaz.c:1912:31: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(2 TSRMLS_CC, "zz/", ^~~~~~~~~ /tmp/net/php-yaz/work/yaz-1.2.3/php_yaz.c:1912:7: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(2 TSRMLS_CC, "zz/", ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/net/php-yaz/work/.buildlink/include/php/main/php.h:35:0, from /tmp/net/php-yaz/work/yaz-1.2.3/php_yaz.c:10: /tmp/net/php-yaz/work/.buildlink/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, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/net/php-yaz/work/yaz-1.2.3/php_yaz.c:1913:32: warning: comparison between pointer and integer &pval_id, &pval_opt) == FAILURE) { ^~ /tmp/net/php-yaz/work/yaz-1.2.3/php_yaz.c:1917:31: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(1 TSRMLS_CC, "z", ^~~~~~~~~ /tmp/net/php-yaz/work/yaz-1.2.3/php_yaz.c:1917:7: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(1 TSRMLS_CC, "z", ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/net/php-yaz/work/.buildlink/include/php/main/php.h:35:0, from /tmp/net/php-yaz/work/yaz-1.2.3/php_yaz.c:10: /tmp/net/php-yaz/work/.buildlink/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, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/net/php-yaz/work/yaz-1.2.3/php_yaz.c:1918:21: warning: comparison between pointer and integer &pval_id) == FAILURE) { ^~ /tmp/net/php-yaz/work/yaz-1.2.3/php_yaz.c: In function 'zif_yaz_ccl_conf': /tmp/net/php-yaz/work/yaz-1.2.3/php_yaz.c:2010:27: error: expected ')' before 'TSRMLS_CC' zend_parse_parameters(2 TSRMLS_CC, "za", &pval_id, &pval_package) ^~~~~~~~~ /tmp/net/php-yaz/work/yaz-1.2.3/php_yaz.c:2010:3: error: too few arguments to function 'zend_parse_parameters' zend_parse_parameters(2 TSRMLS_CC, "za", &pval_id, &pval_package) ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/net/php-yaz/work/.buildlink/include/php/main/php.h:35:0, from /tmp/net/php-yaz/work/yaz-1.2.3/php_yaz.c:10: /tmp/net/php-yaz/work/.buildlink/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, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/net/php-yaz/work/yaz-1.2.3/php_yaz.c:2011:3: warning: comparison between pointer and integer == FAILURE) { ^~ /tmp/net/php-yaz/work/yaz-1.2.3/php_yaz.c: In function 'zif_yaz_ccl_parse': /tmp/net/php-yaz/work/yaz-1.2.3/php_yaz.c:2068:27: error: expected ')' before 'TSRMLS_CC' zend_parse_parameters(3 TSRMLS_CC, "zsz/", ^~~~~~~~~ /tmp/net/php-yaz/work/yaz-1.2.3/php_yaz.c:2068:3: error: too few arguments to function 'zend_parse_parameters' zend_parse_parameters(3 TSRMLS_CC, "zsz/", ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/net/php-yaz/work/.buildlink/include/php/main/php.h:35:0, from /tmp/net/php-yaz/work/yaz-1.2.3/php_yaz.c:10: /tmp/net/php-yaz/work/.buildlink/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, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/net/php-yaz/work/yaz-1.2.3/php_yaz.c:2070:3: warning: comparison between pointer and integer == FAILURE) { ^~ /tmp/net/php-yaz/work/yaz-1.2.3/php_yaz.c: In function 'zif_yaz_cql_parse': /tmp/net/php-yaz/work/yaz-1.2.3/php_yaz.c:2165:27: error: expected ')' before 'TSRMLS_CC' zend_parse_parameters(4 TSRMLS_CC, "zsz/b", ^~~~~~~~~ /tmp/net/php-yaz/work/yaz-1.2.3/php_yaz.c:2165:3: error: too few arguments to function 'zend_parse_parameters' zend_parse_parameters(4 TSRMLS_CC, "zsz/b", ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/net/php-yaz/work/.buildlink/include/php/main/php.h:35:0, from /tmp/net/php-yaz/work/yaz-1.2.3/php_yaz.c:10: /tmp/net/php-yaz/work/.buildlink/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, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/net/php-yaz/work/yaz-1.2.3/php_yaz.c:2167:3: warning: comparison between pointer and integer == FAILURE) { ^~ /tmp/net/php-yaz/work/yaz-1.2.3/php_yaz.c: In function 'zif_yaz_cql_conf': /tmp/net/php-yaz/work/yaz-1.2.3/php_yaz.c:2246:27: error: expected ')' before 'TSRMLS_CC' zend_parse_parameters(2 TSRMLS_CC, "za", &pval_id, &pval_package) ^~~~~~~~~ /tmp/net/php-yaz/work/yaz-1.2.3/php_yaz.c:2246:3: error: too few arguments to function 'zend_parse_parameters' zend_parse_parameters(2 TSRMLS_CC, "za", &pval_id, &pval_package) ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/net/php-yaz/work/.buildlink/include/php/main/php.h:35:0, from /tmp/net/php-yaz/work/yaz-1.2.3/php_yaz.c:10: /tmp/net/php-yaz/work/.buildlink/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, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/net/php-yaz/work/yaz-1.2.3/php_yaz.c:2247:3: warning: comparison between pointer and integer == FAILURE) { ^~ /tmp/net/php-yaz/work/yaz-1.2.3/php_yaz.c: In function 'zif_yaz_database': /tmp/net/php-yaz/work/yaz-1.2.3/php_yaz.c:2308:27: error: expected ')' before 'TSRMLS_CC' zend_parse_parameters(2 TSRMLS_CC, "zs", &pval_id, ^~~~~~~~~ /tmp/net/php-yaz/work/yaz-1.2.3/php_yaz.c:2308:3: error: too few arguments to function 'zend_parse_parameters' zend_parse_parameters(2 TSRMLS_CC, "zs", &pval_id, ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/net/php-yaz/work/.buildlink/include/php/main/php.h:35:0, from /tmp/net/php-yaz/work/yaz-1.2.3/php_yaz.c:10: /tmp/net/php-yaz/work/.buildlink/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, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/net/php-yaz/work/yaz-1.2.3/php_yaz.c:2309:36: warning: comparison between pointer and integer &database, &database_len) == FAILURE) { ^~ /tmp/net/php-yaz/work/yaz-1.2.3/php_yaz.c: At top level: /tmp/net/php-yaz/work/yaz-1.2.3/php_yaz.c:2332:51: error: expected ';', ',' or ')' before 'TSRMLS_DC' static void yaz_close_session(Yaz_Association *as TSRMLS_DC) ^~~~~~~~~ /tmp/net/php-yaz/work/yaz-1.2.3/php_yaz.c:2346:47: error: expected ';', ',' or ')' before 'TSRMLS_DC' static void yaz_close_link(zend_resource *res TSRMLS_DC) ^~~~~~~~~ /tmp/net/php-yaz/work/yaz-1.2.3/php_yaz.c: In function 'zm_startup_yaz': /tmp/net/php-yaz/work/yaz-1.2.3/php_yaz.c:2424:46: error: 'yaz_close_link' undeclared (first use in this function); did you mean 'yaz_log_lock'? le_link = zend_register_list_destructors_ex(yaz_close_link, 0, "YAZ link", module_number); ^~~~~~~~~~~~~~ yaz_log_lock /tmp/net/php-yaz/work/yaz-1.2.3/php_yaz.c:2424:46: note: each undeclared identifier is reported only once for each function it appears in /tmp/net/php-yaz/work/yaz-1.2.3/php_yaz.c:2424:46: warning: passing argument 1 of 'zend_register_list_destructors_ex' from incompatible pointer type [-Wincompatible-pointer-types] In file included from /tmp/net/php-yaz/work/.buildlink/include/php/Zend/zend_API.h:26:0, from /tmp/net/php-yaz/work/.buildlink/include/php/main/php.h:35, from /tmp/net/php-yaz/work/yaz-1.2.3/php_yaz.c:10: /tmp/net/php-yaz/work/.buildlink/include/php/Zend/zend_list.h:42:14: note: expected 'rsrc_dtor_func_t {aka void (*)(struct _zend_resource *)}' but argument is of type 'const zend_internal_arg_info * {aka const struct _zend_internal_arg_info *}' ZEND_API int zend_register_list_destructors_ex(rsrc_dtor_func_t ld, rsrc_dtor_func_t pld, const char *type_name, int module_number); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ *** [php_yaz.lo] Error code 1 make: stopped in /tmp/net/php-yaz/work/yaz-1.2.3 1 error make: stopped in /tmp/net/php-yaz/work/yaz-1.2.3 *** Error code 2 Stop. make[1]: stopped in /amd/pkgsrc/CHROOT/P/pkgsrc/net/php-yaz *** Error code 1 Stop. make: stopped in /amd/pkgsrc/CHROOT/P/pkgsrc/net/php-yaz