=> Bootstrap dependency digest>=20211023: found digest-20220214
===> 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 php81-yaz-1.2.3nb2
/bin/cp /tree/pkgsrc/net/php-yaz/../../lang/php/ext.ini /scratch/work/net/php-yaz/work/yaz-1.2.3/yaz.ini
--- php_yaz.lo ---
/bin/sh /scratch/work/net/php-yaz/work/yaz-1.2.3/libtool --mode=compile gcc -I. -I/scratch/work/net/php-yaz/work/yaz-1.2.3 -I/scratch/work/net/php-yaz/work/yaz-1.2.3/include -I/scratch/work/net/php-yaz/work/yaz-1.2.3/main -I/scratch/work/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 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/include    -DZEND_COMPILE_DL_EXT=1 -c /scratch/work/net/php-yaz/work/yaz-1.2.3/php_yaz.c -o php_yaz.lo  -MMD -MF php_yaz.dep -MT php_yaz.lo
libtool: compile:  gcc -I. -I/scratch/work/net/php-yaz/work/yaz-1.2.3 -I/scratch/work/net/php-yaz/work/yaz-1.2.3/include -I/scratch/work/net/php-yaz/work/yaz-1.2.3/main -I/scratch/work/net/php-yaz/work/.buildlink/include/php -I/scratch/work/net/php-yaz/work/.buildlink/include/php/main -I/scratch/work/net/php-yaz/work/.buildlink/include/php/TSRM -I/scratch/work/net/php-yaz/work/.buildlink/include/php/Zend -I/scratch/work/net/php-yaz/work/.buildlink/include/php/ext -I/scratch/work/net/php-yaz/work/.buildlink/include/php/ext/date/lib -I/scratch/work/net/php-yaz/work/.buildlink/include -I/scratch/work/net/php-yaz/work/.buildlink/include/libxml2 -DHAVE_CONFIG_H -O2 -fPIC -D_FORTIFY_SOURCE=2 -DZEND_COMPILE_DL_EXT=1 -c /scratch/work/net/php-yaz/work/yaz-1.2.3/php_yaz.c -MMD -MF php_yaz.dep -MT php_yaz.lo  -fPIC -DPIC -o .libs/php_yaz.o
/scratch/work/net/php-yaz/work/yaz-1.2.3/php_yaz.c:143:9: warning: implicit declaration of function 'ZEND_ARG_PASS_INFO' [-Wimplicit-function-declaration]
         ZEND_ARG_PASS_INFO(1)
         ^
/scratch/work/net/php-yaz/work/yaz-1.2.3/php_yaz.c:143:9: error: initializer element is not constant
/scratch/work/net/php-yaz/work/yaz-1.2.3/php_yaz.c:143:9: note: (near initialization for 'first_argument_force_ref[1].name')
/scratch/work/net/php-yaz/work/yaz-1.2.3/php_yaz.c:147:9: error: initializer element is not constant
         ZEND_ARG_PASS_INFO(0)
         ^
/scratch/work/net/php-yaz/work/yaz-1.2.3/php_yaz.c:147:9: note: (near initialization for 'second_argument_force_ref[1].name')
/scratch/work/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)
         ^
/scratch/work/net/php-yaz/work/yaz-1.2.3/php_yaz.c:152:9: error: initializer element is not constant
         ZEND_ARG_PASS_INFO(0)
         ^
/scratch/work/net/php-yaz/work/yaz-1.2.3/php_yaz.c:152:9: note: (near initialization for 'third_argument_force_ref[1].name')
/scratch/work/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)
         ^
/scratch/work/net/php-yaz/work/yaz-1.2.3/php_yaz.c: In function 'get_assoc':
/scratch/work/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");
                         ^
/scratch/work/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 /scratch/work/net/php-yaz/work/yaz-1.2.3/php_yaz.c:10:0:
/scratch/work/net/php-yaz/work/.buildlink/include/php/main/php.h:327:23: note: declared here
 PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...)
                       ^
/scratch/work/net/php-yaz/work/yaz-1.2.3/php_yaz.c: In function 'zif_yaz_connect':
/scratch/work/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)
                               ^
/scratch/work/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 /scratch/work/net/php-yaz/work/.buildlink/include/php/main/php.h:35:0,
                 from /scratch/work/net/php-yaz/work/yaz-1.2.3/php_yaz.c:10:
/scratch/work/net/php-yaz/work/.buildlink/include/php/Zend/zend_API.h:335:22: note: declared here
 ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...);
                      ^
/scratch/work/net/php-yaz/work/yaz-1.2.3/php_yaz.c:386:4: warning: comparison between pointer and integer
    == FAILURE) {
    ^
/scratch/work/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,
                               ^
/scratch/work/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 /scratch/work/net/php-yaz/work/.buildlink/include/php/main/php.h:35:0,
                 from /scratch/work/net/php-yaz/work/yaz-1.2.3/php_yaz.c:10:
/scratch/work/net/php-yaz/work/.buildlink/include/php/Zend/zend_API.h:335:22: note: declared here
 ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...);
                      ^
/scratch/work/net/php-yaz/work/yaz-1.2.3/php_yaz.c:392:18: warning: comparison between pointer and integer
           &user) == FAILURE) {
                  ^
/scratch/work/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");
                         ^
/scratch/work/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 /scratch/work/net/php-yaz/work/yaz-1.2.3/php_yaz.c:10:0:
/scratch/work/net/php-yaz/work/.buildlink/include/php/main/php.h:327:23: note: declared here
 PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...)
                       ^
/scratch/work/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,
                           ^
/scratch/work/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 /scratch/work/net/php-yaz/work/yaz-1.2.3/php_yaz.c:10:0:
/scratch/work/net/php-yaz/work/.buildlink/include/php/main/php.h:327:23: note: declared here
 PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...)
                       ^
/scratch/work/net/php-yaz/work/yaz-1.2.3/php_yaz.c: In function 'zif_yaz_close':
/scratch/work/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)
                                                      ^
/scratch/work/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 /scratch/work/net/php-yaz/work/.buildlink/include/php/main/php.h:35:0,
                 from /scratch/work/net/php-yaz/work/yaz-1.2.3/php_yaz.c:10:
/scratch/work/net/php-yaz/work/.buildlink/include/php/Zend/zend_API.h:335:22: note: declared here
 ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...);
                      ^
/scratch/work/net/php-yaz/work/yaz-1.2.3/php_yaz.c:547:3: warning: comparison between pointer and integer
   == FAILURE) {
   ^
/scratch/work/net/php-yaz/work/yaz-1.2.3/php_yaz.c: In function 'zif_yaz_search':
/scratch/work/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,
                                 ^
/scratch/work/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 /scratch/work/net/php-yaz/work/.buildlink/include/php/main/php.h:35:0,
                 from /scratch/work/net/php-yaz/work/yaz-1.2.3/php_yaz.c:10:
/scratch/work/net/php-yaz/work/.buildlink/include/php/Zend/zend_API.h:335:22: note: declared here
 ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...);
                      ^
/scratch/work/net/php-yaz/work/yaz-1.2.3/php_yaz.c:576:34: warning: comparison between pointer and integer
          &query_str, &query_len) == FAILURE) {
                                  ^
/scratch/work/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,
                         ^
/scratch/work/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 /scratch/work/net/php-yaz/work/yaz-1.2.3/php_yaz.c:10:0:
/scratch/work/net/php-yaz/work/.buildlink/include/php/main/php.h:327:23: note: declared here
 PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...)
                       ^
/scratch/work/net/php-yaz/work/yaz-1.2.3/php_yaz.c: In function 'zif_yaz_present':
/scratch/work/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)
                                                      ^
/scratch/work/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 /scratch/work/net/php-yaz/work/.buildlink/include/php/main/php.h:35:0,
                 from /scratch/work/net/php-yaz/work/yaz-1.2.3/php_yaz.c:10:
/scratch/work/net/php-yaz/work/.buildlink/include/php/Zend/zend_API.h:335:22: note: declared here
 ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...);
                      ^
/scratch/work/net/php-yaz/work/yaz-1.2.3/php_yaz.c:634:3: warning: comparison between pointer and integer
   == FAILURE) {
   ^
/scratch/work/net/php-yaz/work/yaz-1.2.3/php_yaz.c: In function 'zif_yaz_wait':
/scratch/work/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) ==
                               ^
/scratch/work/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 /scratch/work/net/php-yaz/work/.buildlink/include/php/main/php.h:35:0,
                 from /scratch/work/net/php-yaz/work/yaz-1.2.3/php_yaz.c:10:
/scratch/work/net/php-yaz/work/.buildlink/include/php/Zend/zend_API.h:335:22: note: declared here
 ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...);
                      ^
/scratch/work/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) ==
                                                               ^
/scratch/work/net/php-yaz/work/yaz-1.2.3/php_yaz.c: In function 'zif_yaz_errno':
/scratch/work/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)
                                                      ^
/scratch/work/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 /scratch/work/net/php-yaz/work/.buildlink/include/php/main/php.h:35:0,
                 from /scratch/work/net/php-yaz/work/yaz-1.2.3/php_yaz.c:10:
/scratch/work/net/php-yaz/work/.buildlink/include/php/Zend/zend_API.h:335:22: note: declared here
 ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...);
                      ^
/scratch/work/net/php-yaz/work/yaz-1.2.3/php_yaz.c:745:3: warning: comparison between pointer and integer
   == FAILURE) {
   ^
/scratch/work/net/php-yaz/work/yaz-1.2.3/php_yaz.c: In function 'zif_yaz_error':
/scratch/work/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)
                                                      ^
/scratch/work/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 /scratch/work/net/php-yaz/work/.buildlink/include/php/main/php.h:35:0,
                 from /scratch/work/net/php-yaz/work/yaz-1.2.3/php_yaz.c:10:
/scratch/work/net/php-yaz/work/.buildlink/include/php/Zend/zend_API.h:335:22: note: declared here
 ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...);
                      ^
/scratch/work/net/php-yaz/work/yaz-1.2.3/php_yaz.c:765:3: warning: comparison between pointer and integer
   == FAILURE) {
   ^
/scratch/work/net/php-yaz/work/yaz-1.2.3/php_yaz.c: In function 'zif_yaz_addinfo':
/scratch/work/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)
                                                      ^
/scratch/work/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 /scratch/work/net/php-yaz/work/.buildlink/include/php/main/php.h:35:0,
                 from /scratch/work/net/php-yaz/work/yaz-1.2.3/php_yaz.c:10:
/scratch/work/net/php-yaz/work/.buildlink/include/php/Zend/zend_API.h:335:22: note: declared here
 ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...);
                      ^
/scratch/work/net/php-yaz/work/yaz-1.2.3/php_yaz.c:797:3: warning: comparison between pointer and integer
   == FAILURE) {
   ^
/scratch/work/net/php-yaz/work/yaz-1.2.3/php_yaz.c: In function 'zif_yaz_hits':
/scratch/work/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) {
                               ^
/scratch/work/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 /scratch/work/net/php-yaz/work/.buildlink/include/php/main/php.h:35:0,
                 from /scratch/work/net/php-yaz/work/yaz-1.2.3/php_yaz.c:10:
/scratch/work/net/php-yaz/work/.buildlink/include/php/Zend/zend_API.h:335:22: note: declared here
 ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...);
                      ^
/scratch/work/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) {
                                                    ^
/scratch/work/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)
                               ^
/scratch/work/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 /scratch/work/net/php-yaz/work/.buildlink/include/php/main/php.h:35:0,
                 from /scratch/work/net/php-yaz/work/yaz-1.2.3/php_yaz.c:10:
/scratch/work/net/php-yaz/work/.buildlink/include/php/Zend/zend_API.h:335:22: note: declared here
 ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...);
                      ^
/scratch/work/net/php-yaz/work/yaz-1.2.3/php_yaz.c:829:4: warning: comparison between pointer and integer
    == FAILURE) {
    ^
/scratch/work/net/php-yaz/work/yaz-1.2.3/php_yaz.c: In function 'zif_yaz_record':
/scratch/work/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,
                              ^
/scratch/work/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 /scratch/work/net/php-yaz/work/.buildlink/include/php/main/php.h:35:0,
                 from /scratch/work/net/php-yaz/work/yaz-1.2.3/php_yaz.c:10:
/scratch/work/net/php-yaz/work/.buildlink/include/php/Zend/zend_API.h:335:22: note: declared here
 ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...);
                      ^
/scratch/work/net/php-yaz/work/yaz-1.2.3/php_yaz.c:1472:28: warning: comparison between pointer and integer
          &type, &type_len) == FAILURE) {
                            ^
/scratch/work/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,
                            ^
/scratch/work/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 /scratch/work/net/php-yaz/work/yaz-1.2.3/php_yaz.c:10:0:
/scratch/work/net/php-yaz/work/.buildlink/include/php/main/php.h:327:23: note: declared here
 PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...)
                       ^
/scratch/work/net/php-yaz/work/yaz-1.2.3/php_yaz.c: In function 'zif_yaz_syntax':
/scratch/work/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,
                           ^
/scratch/work/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 /scratch/work/net/php-yaz/work/.buildlink/include/php/main/php.h:35:0,
                 from /scratch/work/net/php-yaz/work/yaz-1.2.3/php_yaz.c:10:
/scratch/work/net/php-yaz/work/.buildlink/include/php/Zend/zend_API.h:335:22: note: declared here
 ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...);
                      ^
/scratch/work/net/php-yaz/work/yaz-1.2.3/php_yaz.c:1546:32: warning: comparison between pointer and integer
          &syntax, &syntax_len) == FAILURE) {
                                ^
/scratch/work/net/php-yaz/work/yaz-1.2.3/php_yaz.c: In function 'zif_yaz_element':
/scratch/work/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,
                           ^
/scratch/work/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 /scratch/work/net/php-yaz/work/.buildlink/include/php/main/php.h:35:0,
                 from /scratch/work/net/php-yaz/work/yaz-1.2.3/php_yaz.c:10:
/scratch/work/net/php-yaz/work/.buildlink/include/php/Zend/zend_API.h:335:22: note: declared here
 ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...);
                      ^
/scratch/work/net/php-yaz/work/yaz-1.2.3/php_yaz.c:1567:34: warning: comparison between pointer and integer
          &element, &element_len) == FAILURE) {
                                  ^
/scratch/work/net/php-yaz/work/yaz-1.2.3/php_yaz.c: In function 'zif_yaz_schema':
/scratch/work/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,
                           ^
/scratch/work/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 /scratch/work/net/php-yaz/work/.buildlink/include/php/main/php.h:35:0,
                 from /scratch/work/net/php-yaz/work/yaz-1.2.3/php_yaz.c:10:
/scratch/work/net/php-yaz/work/.buildlink/include/php/Zend/zend_API.h:335:22: note: declared here
 ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...);
                      ^
/scratch/work/net/php-yaz/work/yaz-1.2.3/php_yaz.c:1588:32: warning: comparison between pointer and integer
          &schema, &schema_len) == FAILURE) {
                                ^
/scratch/work/net/php-yaz/work/yaz-1.2.3/php_yaz.c: In function 'zif_yaz_set_option':
/scratch/work/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",
                               ^
/scratch/work/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 /scratch/work/net/php-yaz/work/.buildlink/include/php/main/php.h:35:0,
                 from /scratch/work/net/php-yaz/work/yaz-1.2.3/php_yaz.c:10:
/scratch/work/net/php-yaz/work/.buildlink/include/php/Zend/zend_API.h:335:22: note: declared here
 ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...);
                      ^
/scratch/work/net/php-yaz/work/yaz-1.2.3/php_yaz.c:1607:31: warning: comparison between pointer and integer
           &pval_id, &pval_ar) == FAILURE) {
                               ^
/scratch/work/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",
                               ^
/scratch/work/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 /scratch/work/net/php-yaz/work/.buildlink/include/php/main/php.h:35:0,
                 from /scratch/work/net/php-yaz/work/yaz-1.2.3/php_yaz.c:10:
/scratch/work/net/php-yaz/work/.buildlink/include/php/Zend/zend_API.h:335:22: note: declared here
 ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...);
                      ^
/scratch/work/net/php-yaz/work/yaz-1.2.3/php_yaz.c:1655:31: warning: comparison between pointer and integer
           &value, &value_len) == FAILURE) {
                               ^
/scratch/work/net/php-yaz/work/yaz-1.2.3/php_yaz.c: In function 'zif_yaz_get_option':
/scratch/work/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)
                           ^
/scratch/work/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 /scratch/work/net/php-yaz/work/.buildlink/include/php/main/php.h:35:0,
                 from /scratch/work/net/php-yaz/work/yaz-1.2.3/php_yaz.c:10:
/scratch/work/net/php-yaz/work/.buildlink/include/php/Zend/zend_API.h:335:22: note: declared here
 ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...);
                      ^
/scratch/work/net/php-yaz/work/yaz-1.2.3/php_yaz.c:1678:3: warning: comparison between pointer and integer
   == FAILURE) {
   ^
/scratch/work/net/php-yaz/work/yaz-1.2.3/php_yaz.c: In function 'zif_yaz_range':
/scratch/work/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)
                           ^
/scratch/work/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 /scratch/work/net/php-yaz/work/.buildlink/include/php/main/php.h:35:0,
                 from /scratch/work/net/php-yaz/work/yaz-1.2.3/php_yaz.c:10:
/scratch/work/net/php-yaz/work/.buildlink/include/php/Zend/zend_API.h:335:22: note: declared here
 ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...);
                      ^
/scratch/work/net/php-yaz/work/yaz-1.2.3/php_yaz.c:1713:3: warning: comparison between pointer and integer
   == FAILURE) {
   ^
/scratch/work/net/php-yaz/work/yaz-1.2.3/php_yaz.c: In function 'zif_yaz_sort':
/scratch/work/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,
                           ^
/scratch/work/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 /scratch/work/net/php-yaz/work/.buildlink/include/php/main/php.h:35:0,
                 from /scratch/work/net/php-yaz/work/yaz-1.2.3/php_yaz.c:10:
/scratch/work/net/php-yaz/work/.buildlink/include/php/Zend/zend_API.h:335:22: note: declared here
 ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...);
                      ^
/scratch/work/net/php-yaz/work/yaz-1.2.3/php_yaz.c:1735:25: warning: comparison between pointer and integer
          &criteria_len) == FAILURE) {
                         ^
/scratch/work/net/php-yaz/work/yaz-1.2.3/php_yaz.c: In function 'zif_yaz_itemorder':
/scratch/work/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) ==
                           ^
/scratch/work/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 /scratch/work/net/php-yaz/work/.buildlink/include/php/main/php.h:35:0,
                 from /scratch/work/net/php-yaz/work/yaz-1.2.3/php_yaz.c:10:
/scratch/work/net/php-yaz/work/.buildlink/include/php/Zend/zend_API.h:335:22: note: declared here
 ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...);
                      ^
/scratch/work/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) ==
                                                                     ^
/scratch/work/net/php-yaz/work/yaz-1.2.3/php_yaz.c: In function 'zif_yaz_es':
/scratch/work/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,
                           ^
/scratch/work/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 /scratch/work/net/php-yaz/work/.buildlink/include/php/main/php.h:35:0,
                 from /scratch/work/net/php-yaz/work/yaz-1.2.3/php_yaz.c:10:
/scratch/work/net/php-yaz/work/.buildlink/include/php/Zend/zend_API.h:335:22: note: declared here
 ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...);
                      ^
/scratch/work/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) {
                                           ^
/scratch/work/net/php-yaz/work/yaz-1.2.3/php_yaz.c: In function 'zif_yaz_scan':
/scratch/work/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",
                               ^
/scratch/work/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 /scratch/work/net/php-yaz/work/.buildlink/include/php/main/php.h:35:0,
                 from /scratch/work/net/php-yaz/work/yaz-1.2.3/php_yaz.c:10:
/scratch/work/net/php-yaz/work/.buildlink/include/php/Zend/zend_API.h:335:22: note: declared here
 ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...);
                      ^
/scratch/work/net/php-yaz/work/yaz-1.2.3/php_yaz.c:1837:31: warning: comparison between pointer and integer
           &query, &query_len) == FAILURE) {
                               ^
/scratch/work/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",
                               ^
/scratch/work/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 /scratch/work/net/php-yaz/work/.buildlink/include/php/main/php.h:35:0,
                 from /scratch/work/net/php-yaz/work/yaz-1.2.3/php_yaz.c:10:
/scratch/work/net/php-yaz/work/.buildlink/include/php/Zend/zend_API.h:335:22: note: declared here
 ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...);
                      ^
/scratch/work/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) {
                                            ^
/scratch/work/net/php-yaz/work/yaz-1.2.3/php_yaz.c: In function 'zif_yaz_es_result':
/scratch/work/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",
                                                      ^
/scratch/work/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 /scratch/work/net/php-yaz/work/.buildlink/include/php/main/php.h:35:0,
                 from /scratch/work/net/php-yaz/work/yaz-1.2.3/php_yaz.c:10:
/scratch/work/net/php-yaz/work/.buildlink/include/php/Zend/zend_API.h:335:22: note: declared here
 ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...);
                      ^
/scratch/work/net/php-yaz/work/yaz-1.2.3/php_yaz.c:1880:26: warning: comparison between pointer and integer
                &pval_id) == FAILURE) {
                          ^
/scratch/work/net/php-yaz/work/yaz-1.2.3/php_yaz.c: In function 'zif_yaz_scan_result':
/scratch/work/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/",
                               ^
/scratch/work/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 /scratch/work/net/php-yaz/work/.buildlink/include/php/main/php.h:35:0,
                 from /scratch/work/net/php-yaz/work/yaz-1.2.3/php_yaz.c:10:
/scratch/work/net/php-yaz/work/.buildlink/include/php/Zend/zend_API.h:335:22: note: declared here
 ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...);
                      ^
/scratch/work/net/php-yaz/work/yaz-1.2.3/php_yaz.c:1913:32: warning: comparison between pointer and integer
           &pval_id, &pval_opt) == FAILURE) {
                                ^
/scratch/work/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",
                               ^
/scratch/work/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 /scratch/work/net/php-yaz/work/.buildlink/include/php/main/php.h:35:0,
                 from /scratch/work/net/php-yaz/work/yaz-1.2.3/php_yaz.c:10:
/scratch/work/net/php-yaz/work/.buildlink/include/php/Zend/zend_API.h:335:22: note: declared here
 ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...);
                      ^
/scratch/work/net/php-yaz/work/yaz-1.2.3/php_yaz.c:1918:21: warning: comparison between pointer and integer
           &pval_id) == FAILURE) {
                     ^
/scratch/work/net/php-yaz/work/yaz-1.2.3/php_yaz.c: In function 'zif_yaz_ccl_conf':
/scratch/work/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)
                           ^
/scratch/work/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 /scratch/work/net/php-yaz/work/.buildlink/include/php/main/php.h:35:0,
                 from /scratch/work/net/php-yaz/work/yaz-1.2.3/php_yaz.c:10:
/scratch/work/net/php-yaz/work/.buildlink/include/php/Zend/zend_API.h:335:22: note: declared here
 ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...);
                      ^
/scratch/work/net/php-yaz/work/yaz-1.2.3/php_yaz.c:2011:3: warning: comparison between pointer and integer
   == FAILURE) {
   ^
/scratch/work/net/php-yaz/work/yaz-1.2.3/php_yaz.c: In function 'zif_yaz_ccl_parse':
/scratch/work/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/",
                           ^
/scratch/work/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 /scratch/work/net/php-yaz/work/.buildlink/include/php/main/php.h:35:0,
                 from /scratch/work/net/php-yaz/work/yaz-1.2.3/php_yaz.c:10:
/scratch/work/net/php-yaz/work/.buildlink/include/php/Zend/zend_API.h:335:22: note: declared here
 ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...);
                      ^
/scratch/work/net/php-yaz/work/yaz-1.2.3/php_yaz.c:2070:3: warning: comparison between pointer and integer
   == FAILURE) {
   ^
/scratch/work/net/php-yaz/work/yaz-1.2.3/php_yaz.c: In function 'zif_yaz_cql_parse':
/scratch/work/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",
                           ^
/scratch/work/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 /scratch/work/net/php-yaz/work/.buildlink/include/php/main/php.h:35:0,
                 from /scratch/work/net/php-yaz/work/yaz-1.2.3/php_yaz.c:10:
/scratch/work/net/php-yaz/work/.buildlink/include/php/Zend/zend_API.h:335:22: note: declared here
 ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...);
                      ^
/scratch/work/net/php-yaz/work/yaz-1.2.3/php_yaz.c:2167:3: warning: comparison between pointer and integer
   == FAILURE) {
   ^
/scratch/work/net/php-yaz/work/yaz-1.2.3/php_yaz.c: In function 'zif_yaz_cql_conf':
/scratch/work/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)
                           ^
/scratch/work/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 /scratch/work/net/php-yaz/work/.buildlink/include/php/main/php.h:35:0,
                 from /scratch/work/net/php-yaz/work/yaz-1.2.3/php_yaz.c:10:
/scratch/work/net/php-yaz/work/.buildlink/include/php/Zend/zend_API.h:335:22: note: declared here
 ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...);
                      ^
/scratch/work/net/php-yaz/work/yaz-1.2.3/php_yaz.c:2247:3: warning: comparison between pointer and integer
   == FAILURE) {
   ^
/scratch/work/net/php-yaz/work/yaz-1.2.3/php_yaz.c: In function 'zif_yaz_database':
/scratch/work/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,
                           ^
/scratch/work/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 /scratch/work/net/php-yaz/work/.buildlink/include/php/main/php.h:35:0,
                 from /scratch/work/net/php-yaz/work/yaz-1.2.3/php_yaz.c:10:
/scratch/work/net/php-yaz/work/.buildlink/include/php/Zend/zend_API.h:335:22: note: declared here
 ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...);
                      ^
/scratch/work/net/php-yaz/work/yaz-1.2.3/php_yaz.c:2309:36: warning: comparison between pointer and integer
          &database, &database_len) == FAILURE) {
                                    ^
/scratch/work/net/php-yaz/work/yaz-1.2.3/php_yaz.c: At top level:
/scratch/work/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)
                                                   ^
/scratch/work/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)
                                               ^
/scratch/work/net/php-yaz/work/yaz-1.2.3/php_yaz.c: In function 'zm_startup_yaz':
/scratch/work/net/php-yaz/work/yaz-1.2.3/php_yaz.c:2424:46: error: 'yaz_close_link' undeclared (first use in this function)
  le_link = zend_register_list_destructors_ex(yaz_close_link, 0, "YAZ link", module_number);
                                              ^
/scratch/work/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
/scratch/work/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 /scratch/work/net/php-yaz/work/.buildlink/include/php/Zend/zend_API.h:26:0,
                 from /scratch/work/net/php-yaz/work/.buildlink/include/php/main/php.h:35,
                 from /scratch/work/net/php-yaz/work/yaz-1.2.3/php_yaz.c:10:
/scratch/work/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 /scratch/work/net/php-yaz/work/yaz-1.2.3
1 error

make: stopped in /scratch/work/net/php-yaz/work/yaz-1.2.3
*** Error code 2

Stop.
make[1]: stopped in /tree/pkgsrc/net/php-yaz
*** Error code 1

Stop.
make: stopped in /tree/pkgsrc/net/php-yaz