=> 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-yaml-2.0.4
/bin/cp /tree/pkgsrc/textproc/php-yaml/../../lang/php/ext.ini /scratch/work/textproc/php-yaml/work/yaml-2.0.4/yaml.ini
--- yaml.lo ---
--- parse.lo ---
--- emit.lo ---
--- yaml.lo ---
/bin/sh /scratch/work/textproc/php-yaml/work/yaml-2.0.4/libtool --mode=compile gcc -I. -I/scratch/work/textproc/php-yaml/work/yaml-2.0.4 -I/scratch/work/textproc/php-yaml/work/yaml-2.0.4/include -I/scratch/work/textproc/php-yaml/work/yaml-2.0.4/main -I/scratch/work/textproc/php-yaml/work/yaml-2.0.4 -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 -I/usr/include -DHAVE_CONFIG_H  -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/include    -c /scratch/work/textproc/php-yaml/work/yaml-2.0.4/yaml.c -o yaml.lo
--- parse.lo ---
/bin/sh /scratch/work/textproc/php-yaml/work/yaml-2.0.4/libtool --mode=compile gcc -I. -I/scratch/work/textproc/php-yaml/work/yaml-2.0.4 -I/scratch/work/textproc/php-yaml/work/yaml-2.0.4/include -I/scratch/work/textproc/php-yaml/work/yaml-2.0.4/main -I/scratch/work/textproc/php-yaml/work/yaml-2.0.4 -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 -I/usr/include -DHAVE_CONFIG_H  -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/include    -c /scratch/work/textproc/php-yaml/work/yaml-2.0.4/parse.c -o parse.lo
--- emit.lo ---
/bin/sh /scratch/work/textproc/php-yaml/work/yaml-2.0.4/libtool --mode=compile gcc -I. -I/scratch/work/textproc/php-yaml/work/yaml-2.0.4 -I/scratch/work/textproc/php-yaml/work/yaml-2.0.4/include -I/scratch/work/textproc/php-yaml/work/yaml-2.0.4/main -I/scratch/work/textproc/php-yaml/work/yaml-2.0.4 -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 -I/usr/include -DHAVE_CONFIG_H  -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/include    -c /scratch/work/textproc/php-yaml/work/yaml-2.0.4/emit.c -o emit.lo
--- yaml.lo ---
libtool: compile:  gcc -I. -I/scratch/work/textproc/php-yaml/work/yaml-2.0.4 -I/scratch/work/textproc/php-yaml/work/yaml-2.0.4/include -I/scratch/work/textproc/php-yaml/work/yaml-2.0.4/main -I/scratch/work/textproc/php-yaml/work/.buildlink/include/php -I/scratch/work/textproc/php-yaml/work/.buildlink/include/php/main -I/scratch/work/textproc/php-yaml/work/.buildlink/include/php/TSRM -I/scratch/work/textproc/php-yaml/work/.buildlink/include/php/Zend -I/scratch/work/textproc/php-yaml/work/.buildlink/include/php/ext -I/scratch/work/textproc/php-yaml/work/.buildlink/include/php/ext/date/lib -I/scratch/work/textproc/php-yaml/work/.buildlink/include -DHAVE_CONFIG_H -O2 -D_FORTIFY_SOURCE=2 -c /scratch/work/textproc/php-yaml/work/yaml-2.0.4/yaml.c  -fPIC -DPIC -o .libs/yaml.o
--- parse.lo ---
libtool: compile:  gcc -I. -I/scratch/work/textproc/php-yaml/work/yaml-2.0.4 -I/scratch/work/textproc/php-yaml/work/yaml-2.0.4/include -I/scratch/work/textproc/php-yaml/work/yaml-2.0.4/main -I/scratch/work/textproc/php-yaml/work/.buildlink/include/php -I/scratch/work/textproc/php-yaml/work/.buildlink/include/php/main -I/scratch/work/textproc/php-yaml/work/.buildlink/include/php/TSRM -I/scratch/work/textproc/php-yaml/work/.buildlink/include/php/Zend -I/scratch/work/textproc/php-yaml/work/.buildlink/include/php/ext -I/scratch/work/textproc/php-yaml/work/.buildlink/include/php/ext/date/lib -I/scratch/work/textproc/php-yaml/work/.buildlink/include -DHAVE_CONFIG_H -O2 -D_FORTIFY_SOURCE=2 -c /scratch/work/textproc/php-yaml/work/yaml-2.0.4/parse.c  -fPIC -DPIC -o .libs/parse.o
--- emit.lo ---
libtool: compile:  gcc -I. -I/scratch/work/textproc/php-yaml/work/yaml-2.0.4 -I/scratch/work/textproc/php-yaml/work/yaml-2.0.4/include -I/scratch/work/textproc/php-yaml/work/yaml-2.0.4/main -I/scratch/work/textproc/php-yaml/work/.buildlink/include/php -I/scratch/work/textproc/php-yaml/work/.buildlink/include/php/main -I/scratch/work/textproc/php-yaml/work/.buildlink/include/php/TSRM -I/scratch/work/textproc/php-yaml/work/.buildlink/include/php/Zend -I/scratch/work/textproc/php-yaml/work/.buildlink/include/php/ext -I/scratch/work/textproc/php-yaml/work/.buildlink/include/php/ext/date/lib -I/scratch/work/textproc/php-yaml/work/.buildlink/include -DHAVE_CONFIG_H -O2 -D_FORTIFY_SOURCE=2 -c /scratch/work/textproc/php-yaml/work/yaml-2.0.4/emit.c  -fPIC -DPIC -o .libs/emit.o
In file included from /scratch/work/textproc/php-yaml/work/yaml-2.0.4/emit.c:37:0:
/scratch/work/textproc/php-yaml/work/yaml-2.0.4/php_yaml_int.h:59:91: error: expected ';', ',' or ')' before 'TSRMLS_DC'
 typedef void (*eval_scalar_func_t)(yaml_event_t event, HashTable *callbacks, zval *retval TSRMLS_DC);
                                                                                           ^~~~~~~~~
--- yaml.lo ---
In file included from /scratch/work/textproc/php-yaml/work/yaml-2.0.4/yaml.c:36:0:
/scratch/work/textproc/php-yaml/work/yaml-2.0.4/php_yaml_int.h:59:91: error: expected ';', ',' or ')' before 'TSRMLS_DC'
 typedef void (*eval_scalar_func_t)(yaml_event_t event, HashTable *callbacks, zval *retval TSRMLS_DC);
                                                                                           ^~~~~~~~~
--- parse.lo ---
In file included from /scratch/work/textproc/php-yaml/work/yaml-2.0.4/parse.c:37:0:
/scratch/work/textproc/php-yaml/work/yaml-2.0.4/php_yaml_int.h:59:91: error: expected ';', ',' or ')' before 'TSRMLS_DC'
 typedef void (*eval_scalar_func_t)(yaml_event_t event, HashTable *callbacks, zval *retval TSRMLS_DC);
                                                                                           ^~~~~~~~~
--- yaml.lo ---
/scratch/work/textproc/php-yaml/work/yaml-2.0.4/php_yaml_int.h:66:2: error: unknown type name 'eval_scalar_func_t'
  eval_scalar_func_t eval_func;
  ^~~~~~~~~~~~~~~~~~
--- parse.lo ---
/scratch/work/textproc/php-yaml/work/yaml-2.0.4/php_yaml_int.h:66:2: error: unknown type name 'eval_scalar_func_t'
  eval_scalar_func_t eval_func;
  ^~~~~~~~~~~~~~~~~~
--- emit.lo ---
/scratch/work/textproc/php-yaml/work/yaml-2.0.4/php_yaml_int.h:66:2: error: unknown type name 'eval_scalar_func_t'
  eval_scalar_func_t eval_func;
  ^~~~~~~~~~~~~~~~~~
--- yaml.lo ---
/scratch/work/textproc/php-yaml/work/yaml-2.0.4/php_yaml_int.h:132:78: error: expected ';', ',' or ')' before 'TSRMLS_DC'
 void php_yaml_read_all(parser_state_t *state, zend_long *ndocs, zval *retval TSRMLS_DC);
                                                                              ^~~~~~~~~
--- parse.lo ---
/scratch/work/textproc/php-yaml/work/yaml-2.0.4/php_yaml_int.h:132:78: error: expected ';', ',' or ')' before 'TSRMLS_DC'
 void php_yaml_read_all(parser_state_t *state, zend_long *ndocs, zval *retval TSRMLS_DC);
                                                                              ^~~~~~~~~
--- yaml.lo ---
/scratch/work/textproc/php-yaml/work/yaml-2.0.4/php_yaml_int.h:135:72: error: expected ';', ',' or ')' before 'TSRMLS_DC'
   parser_state_t *state, zend_long pos, zend_long *ndocs, zval *retval TSRMLS_DC);
                                                                        ^~~~~~~~~
--- parse.lo ---
/scratch/work/textproc/php-yaml/work/yaml-2.0.4/php_yaml_int.h:135:72: error: expected ';', ',' or ')' before 'TSRMLS_DC'
   parser_state_t *state, zend_long pos, zend_long *ndocs, zval *retval TSRMLS_DC);
                                                                        ^~~~~~~~~
--- yaml.lo ---
/scratch/work/textproc/php-yaml/work/yaml-2.0.4/php_yaml_int.h:138:39: error: expected ';', ',' or ')' before 'TSRMLS_DC'
   HashTable * callbacks, zval *retval TSRMLS_DC);
                                       ^~~~~~~~~
--- parse.lo ---
/scratch/work/textproc/php-yaml/work/yaml-2.0.4/php_yaml_int.h:138:39: error: expected ';', ',' or ')' before 'TSRMLS_DC'
   HashTable * callbacks, zval *retval TSRMLS_DC);
                                       ^~~~~~~~~
/scratch/work/textproc/php-yaml/work/yaml-2.0.4/php_yaml_int.h:141:58: error: expected ';', ',' or ')' before 'TSRMLS_DC'
   yaml_event_t event, HashTable *callbacks, zval *retval TSRMLS_DC);
                                                          ^~~~~~~~~
/scratch/work/textproc/php-yaml/work/yaml-2.0.4/php_yaml_int.h:158:50: error: expected ';', ',' or ')' before 'TSRMLS_DC'
   yaml_encoding_t encoding, HashTable *callbacks TSRMLS_DC);
                                                  ^~~~~~~~~
--- yaml.lo ---
/scratch/work/textproc/php-yaml/work/yaml-2.0.4/php_yaml_int.h:141:58: error: expected ';', ',' or ')' before 'TSRMLS_DC'
   yaml_event_t event, HashTable *callbacks, zval *retval TSRMLS_DC);
                                                          ^~~~~~~~~
/scratch/work/textproc/php-yaml/work/yaml-2.0.4/php_yaml_int.h:158:50: error: expected ';', ',' or ')' before 'TSRMLS_DC'
   yaml_encoding_t encoding, HashTable *callbacks TSRMLS_DC);
                                                  ^~~~~~~~~
/scratch/work/textproc/php-yaml/work/yaml-2.0.4/yaml.c:40:58: error: expected ';', ',' or ')' before 'TSRMLS_DC'
 static int php_yaml_check_callbacks(HashTable *callbacks TSRMLS_DC);
                                                          ^~~~~~~~~
--- parse.lo ---
/scratch/work/textproc/php-yaml/work/yaml-2.0.4/parse.c:60:61: error: expected ';', ',' or ')' before 'TSRMLS_DC'
 static void handle_parser_error(const yaml_parser_t *parser TSRMLS_DC);
                                                             ^~~~~~~~~
/scratch/work/textproc/php-yaml/work/yaml-2.0.4/parse.c:62:57: error: expected ';', ',' or ')' before 'TSRMLS_DC'
 static inline int yaml_next_event(parser_state_t *state TSRMLS_DC);
                                                         ^~~~~~~~~
/scratch/work/textproc/php-yaml/work/yaml-2.0.4/parse.c:64:60: error: expected ';', ',' or ')' before 'TSRMLS_DC'
 void get_next_element( parser_state_t *state, zval *retval TSRMLS_DC);
                                                            ^~~~~~~~~
/scratch/work/textproc/php-yaml/work/yaml-2.0.4/parse.c:66:58: error: expected ';', ',' or ')' before 'TSRMLS_DC'
 void handle_document(parser_state_t *state, zval *retval TSRMLS_DC);
                                                          ^~~~~~~~~
/scratch/work/textproc/php-yaml/work/yaml-2.0.4/parse.c:68:57: error: expected ';', ',' or ')' before 'TSRMLS_DC'
 void handle_mapping(parser_state_t *state, zval *retval TSRMLS_DC);
                                                         ^~~~~~~~~
/scratch/work/textproc/php-yaml/work/yaml-2.0.4/parse.c:70:58: error: expected ';', ',' or ')' before 'TSRMLS_DC'
 void handle_sequence(parser_state_t *state, zval *retval TSRMLS_DC);
                                                          ^~~~~~~~~
/scratch/work/textproc/php-yaml/work/yaml-2.0.4/parse.c:72:56: error: expected ';', ',' or ')' before 'TSRMLS_DC'
 void handle_scalar(parser_state_t *state, zval *retval TSRMLS_DC);
                                                        ^~~~~~~~~
/scratch/work/textproc/php-yaml/work/yaml-2.0.4/parse.c:74:55: error: expected ';', ',' or ')' before 'TSRMLS_DC'
 void handle_alias(parser_state_t *state, zval *retval TSRMLS_DC);
                                                       ^~~~~~~~~
--- emit.lo ---
/scratch/work/textproc/php-yaml/work/yaml-2.0.4/php_yaml_int.h:132:78: error: expected ';', ',' or ')' before 'TSRMLS_DC'
 void php_yaml_read_all(parser_state_t *state, zend_long *ndocs, zval *retval TSRMLS_DC);
                                                                              ^~~~~~~~~
--- parse.lo ---
/scratch/work/textproc/php-yaml/work/yaml-2.0.4/parse.c:79:54: error: expected ';', ',' or ')' before 'TSRMLS_DC'
   zval *zp, yaml_event_t event, HashTable *callbacks TSRMLS_DC);
                                                      ^~~~~~~~~
/scratch/work/textproc/php-yaml/work/yaml-2.0.4/parse.c:81:39: error: expected ';', ',' or ')' before 'TSRMLS_DC'
 static char *convert_to_char(zval *zv TSRMLS_DC);
                                       ^~~~~~~~~
/scratch/work/textproc/php-yaml/work/yaml-2.0.4/parse.c:83:69: error: expected ';', ',' or ')' before 'TSRMLS_DC'
 static int eval_timestamp(zval **zpp, const char *ts, size_t ts_len TSRMLS_DC);
                                                                     ^~~~~~~~~
/scratch/work/textproc/php-yaml/work/yaml-2.0.4/parse.c:91:78: error: expected ';', ',' or ')' before 'TSRMLS_DC'
 void php_yaml_read_all(parser_state_t *state, zend_long *ndocs, zval *retval TSRMLS_DC)
                                                                              ^~~~~~~~~
--- emit.lo ---
/scratch/work/textproc/php-yaml/work/yaml-2.0.4/php_yaml_int.h:135:72: error: expected ';', ',' or ')' before 'TSRMLS_DC'
   parser_state_t *state, zend_long pos, zend_long *ndocs, zval *retval TSRMLS_DC);
                                                                        ^~~~~~~~~
/scratch/work/textproc/php-yaml/work/yaml-2.0.4/php_yaml_int.h:138:39: error: expected ';', ',' or ')' before 'TSRMLS_DC'
   HashTable * callbacks, zval *retval TSRMLS_DC);
                                       ^~~~~~~~~
--- parse.lo ---
/scratch/work/textproc/php-yaml/work/yaml-2.0.4/parse.c:166:72: error: expected ';', ',' or ')' before 'TSRMLS_DC'
   parser_state_t *state, zend_long pos, zend_long *ndocs, zval *retval TSRMLS_DC)
                                                                        ^~~~~~~~~
--- emit.lo ---
/scratch/work/textproc/php-yaml/work/yaml-2.0.4/php_yaml_int.h:141:58: error: expected ';', ',' or ')' before 'TSRMLS_DC'
   yaml_event_t event, HashTable *callbacks, zval *retval TSRMLS_DC);
                                                          ^~~~~~~~~
--- parse.lo ---
/scratch/work/textproc/php-yaml/work/yaml-2.0.4/parse.c:218:61: error: expected ';', ',' or ')' before 'TSRMLS_DC'
 static void handle_parser_error(const yaml_parser_t *parser TSRMLS_DC)
                                                             ^~~~~~~~~
--- emit.lo ---
/scratch/work/textproc/php-yaml/work/yaml-2.0.4/php_yaml_int.h:158:50: error: expected ';', ',' or ')' before 'TSRMLS_DC'
   yaml_encoding_t encoding, HashTable *callbacks TSRMLS_DC);
                                                  ^~~~~~~~~
--- parse.lo ---
/scratch/work/textproc/php-yaml/work/yaml-2.0.4/parse.c:277:57: error: expected ';', ',' or ')' before 'TSRMLS_DC'
 static inline int yaml_next_event(parser_state_t *state TSRMLS_DC)
                                                         ^~~~~~~~~
/scratch/work/textproc/php-yaml/work/yaml-2.0.4/parse.c:302:59: error: expected ';', ',' or ')' before 'TSRMLS_DC'
 void get_next_element(parser_state_t *state, zval *retval TSRMLS_DC)
                                                           ^~~~~~~~~
/scratch/work/textproc/php-yaml/work/yaml-2.0.4/parse.c:357:58: error: expected ';', ',' or ')' before 'TSRMLS_DC'
 void handle_document(parser_state_t *state, zval *retval TSRMLS_DC)
                                                          ^~~~~~~~~
--- emit.lo ---
/scratch/work/textproc/php-yaml/work/yaml-2.0.4/emit.c:54:52: error: expected ';', ',' or ')' before 'TSRMLS_DC'
   const y_emit_state_t *state, yaml_event_t *event TSRMLS_DC);
                                                    ^~~~~~~~~
--- parse.lo ---
/scratch/work/textproc/php-yaml/work/yaml-2.0.4/parse.c:382:57: error: expected ';', ',' or ')' before 'TSRMLS_DC'
 void handle_mapping(parser_state_t *state, zval *retval TSRMLS_DC)
                                                         ^~~~~~~~~
--- emit.lo ---
/scratch/work/textproc/php-yaml/work/yaml-2.0.4/emit.c:55:64: error: expected ';', ',' or ')' before 'TSRMLS_DC'
 static void y_handle_emitter_error(const y_emit_state_t *state TSRMLS_DC);
                                                                ^~~~~~~~~
/scratch/work/textproc/php-yaml/work/yaml-2.0.4/emit.c:56:46: error: expected ';', ',' or ')' before 'TSRMLS_DC'
 static int y_array_is_sequence(HashTable *ht TSRMLS_DC);
                                              ^~~~~~~~~
/scratch/work/textproc/php-yaml/work/yaml-2.0.4/emit.c:57:70: error: expected ';', ',' or ')' before 'TSRMLS_DC'
 static void y_scan_recursion(const y_emit_state_t *state, zval *data TSRMLS_DC);
                                                                      ^~~~~~~~~
/scratch/work/textproc/php-yaml/work/yaml-2.0.4/emit.c:59:54: error: expected ';', ',' or ')' before 'TSRMLS_DC'
   const y_emit_state_t *state, const zend_ulong addr TSRMLS_DC);
                                                      ^~~~~~~~~
/scratch/work/textproc/php-yaml/work/yaml-2.0.4/emit.c:62:61: error: expected ';', ',' or ')' before 'TSRMLS_DC'
   const y_emit_state_t *state, zval *data, yaml_char_t *tag TSRMLS_DC);
                                                             ^~~~~~~~~
/scratch/work/textproc/php-yaml/work/yaml-2.0.4/emit.c:64:49: error: expected ';', ',' or ')' before 'TSRMLS_DC'
   const y_emit_state_t *state, yaml_char_t *tag TSRMLS_DC);
                                                 ^~~~~~~~~
--- parse.lo ---
/scratch/work/textproc/php-yaml/work/yaml-2.0.4/parse.c:481:59: error: expected ';', ',' or ')' before 'TSRMLS_DC'
 void handle_sequence (parser_state_t *state, zval *retval TSRMLS_DC) {
                                                           ^~~~~~~~~
--- emit.lo ---
/scratch/work/textproc/php-yaml/work/yaml-2.0.4/emit.c:66:61: error: expected ';', ',' or ')' before 'TSRMLS_DC'
   const y_emit_state_t *state, zval *data, yaml_char_t *tag TSRMLS_DC);
                                                             ^~~~~~~~~
/scratch/work/textproc/php-yaml/work/yaml-2.0.4/emit.c:68:61: error: expected ';', ',' or ')' before 'TSRMLS_DC'
   const y_emit_state_t *state, zval *data, yaml_char_t *tag TSRMLS_DC);
                                                             ^~~~~~~~~
/scratch/work/textproc/php-yaml/work/yaml-2.0.4/emit.c:70:61: error: expected ';', ',' or ')' before 'TSRMLS_DC'
   const y_emit_state_t *state, zval *data, yaml_char_t *tag TSRMLS_DC);
                                                             ^~~~~~~~~
--- parse.lo ---
/scratch/work/textproc/php-yaml/work/yaml-2.0.4/parse.c:527:56: error: expected ';', ',' or ')' before 'TSRMLS_DC'
 void handle_scalar(parser_state_t *state, zval *retval TSRMLS_DC) {
                                                        ^~~~~~~~~
--- emit.lo ---
/scratch/work/textproc/php-yaml/work/yaml-2.0.4/emit.c:72:61: error: expected ';', ',' or ')' before 'TSRMLS_DC'
   const y_emit_state_t *state, zval *data, yaml_char_t *tag TSRMLS_DC);
                                                             ^~~~~~~~~
--- parse.lo ---
/scratch/work/textproc/php-yaml/work/yaml-2.0.4/parse.c:539:55: error: expected ';', ',' or ')' before 'TSRMLS_DC'
 void handle_alias(parser_state_t *state, zval *retval TSRMLS_DC) {
                                                       ^~~~~~~~~
--- emit.lo ---
/scratch/work/textproc/php-yaml/work/yaml-2.0.4/emit.c:74:61: error: expected ';', ',' or ')' before 'TSRMLS_DC'
   const y_emit_state_t *state, zval *data, yaml_char_t *tag TSRMLS_DC);
                                                             ^~~~~~~~~
/scratch/work/textproc/php-yaml/work/yaml-2.0.4/emit.c:76:61: error: expected ';', ',' or ')' before 'TSRMLS_DC'
   const y_emit_state_t *state, zval *data, yaml_char_t *tag TSRMLS_DC);
                                                             ^~~~~~~~~
/scratch/work/textproc/php-yaml/work/yaml-2.0.4/emit.c:78:61: error: expected ';', ',' or ')' before 'TSRMLS_DC'
   const y_emit_state_t *state, zval *data, yaml_char_t *tag TSRMLS_DC);
                                                             ^~~~~~~~~
/scratch/work/textproc/php-yaml/work/yaml-2.0.4/emit.c:81:26: error: expected ';', ',' or ')' before 'TSRMLS_DC'
   const char *clazz_name TSRMLS_DC);
                          ^~~~~~~~~
/scratch/work/textproc/php-yaml/work/yaml-2.0.4/emit.c:91:63: error: expected ';', ',' or ')' before 'TSRMLS_DC'
 y_event_emit(const y_emit_state_t *state, yaml_event_t *event TSRMLS_DC)
                                                               ^~~~~~~~~
/scratch/work/textproc/php-yaml/work/yaml-2.0.4/emit.c:108:64: error: expected ';', ',' or ')' before 'TSRMLS_DC'
 static void y_handle_emitter_error(const y_emit_state_t *state TSRMLS_DC)
                                                                ^~~~~~~~~
/scratch/work/textproc/php-yaml/work/yaml-2.0.4/emit.c:137:46: error: expected ';', ',' or ')' before 'TSRMLS_DC'
 static int y_array_is_sequence(HashTable *ht TSRMLS_DC)
                                              ^~~~~~~~~
/scratch/work/textproc/php-yaml/work/yaml-2.0.4/emit.c:162:70: error: expected ';', ',' or ')' before 'TSRMLS_DC'
 static void y_scan_recursion(const y_emit_state_t *state, zval *data TSRMLS_DC)
                                                                      ^~~~~~~~~
/scratch/work/textproc/php-yaml/work/yaml-2.0.4/emit.c:222:54: error: expected ';', ',' or ')' before 'TSRMLS_DC'
   const y_emit_state_t *state, const zend_ulong addr TSRMLS_DC)
                                                      ^~~~~~~~~
/scratch/work/textproc/php-yaml/work/yaml-2.0.4/emit.c:243:61: error: expected ';', ',' or ')' before 'TSRMLS_DC'
   const y_emit_state_t *state, zval *data, yaml_char_t *tag TSRMLS_DC)
                                                             ^~~~~~~~~
--- parse.lo ---
/scratch/work/textproc/php-yaml/work/yaml-2.0.4/parse.c:583:65: error: expected ';', ',' or ')' before 'TSRMLS_DC'
 apply_filter(zval *zp, yaml_event_t event, HashTable *callbacks TSRMLS_DC)
                                                                 ^~~~~~~~~
--- emit.lo ---
/scratch/work/textproc/php-yaml/work/yaml-2.0.4/emit.c:299:71: error: expected ';', ',' or ')' before 'TSRMLS_DC'
 static int y_write_null(const y_emit_state_t *state, yaml_char_t *tag TSRMLS_DC)
                                                                       ^~~~~~~~~
/scratch/work/textproc/php-yaml/work/yaml-2.0.4/emit.c:325:61: error: expected ';', ',' or ')' before 'TSRMLS_DC'
   const y_emit_state_t *state, zval *data, yaml_char_t *tag TSRMLS_DC)
                                                             ^~~~~~~~~
--- parse.lo ---
/scratch/work/textproc/php-yaml/work/yaml-2.0.4/parse.c:672:39: error: expected ';', ',' or ')' before 'TSRMLS_DC'
   HashTable * callbacks, zval *retval TSRMLS_DC)
                                       ^~~~~~~~~
--- emit.lo ---
/scratch/work/textproc/php-yaml/work/yaml-2.0.4/emit.c:352:61: error: expected ';', ',' or ')' before 'TSRMLS_DC'
   const y_emit_state_t *state, zval *data, yaml_char_t *tag TSRMLS_DC)
                                                             ^~~~~~~~~
--- parse.lo ---
/scratch/work/textproc/php-yaml/work/yaml-2.0.4/parse.c:804:38: error: expected ';', ',' or ')' before 'TSRMLS_DC'
   HashTable *callbacks, zval *retval TSRMLS_DC)
                                      ^~~~~~~~~
--- emit.lo ---
/scratch/work/textproc/php-yaml/work/yaml-2.0.4/emit.c:385:61: error: expected ';', ',' or ')' before 'TSRMLS_DC'
   const y_emit_state_t *state, zval *data, yaml_char_t *tag TSRMLS_DC)
                                                             ^~~~~~~~~
--- parse.lo ---
/scratch/work/textproc/php-yaml/work/yaml-2.0.4/parse.c:853:39: error: expected ';', ',' or ')' before 'TSRMLS_DC'
 static char *convert_to_char(zval *zv TSRMLS_DC)
                                       ^~~~~~~~~
--- emit.lo ---
/scratch/work/textproc/php-yaml/work/yaml-2.0.4/emit.c:418:61: error: expected ';', ',' or ')' before 'TSRMLS_DC'
   const y_emit_state_t *state, zval *data, yaml_char_t *tag TSRMLS_DC)
                                                             ^~~~~~~~~
--- parse.lo ---
/scratch/work/textproc/php-yaml/work/yaml-2.0.4/parse.c:941:58: error: expected ';', ',' or ')' before 'TSRMLS_DC'
 eval_timestamp(zval **zpp, const char *ts, size_t ts_len TSRMLS_DC)
                                                          ^~~~~~~~~
--- emit.lo ---
/scratch/work/textproc/php-yaml/work/yaml-2.0.4/emit.c:470:61: error: expected ';', ',' or ')' before 'TSRMLS_DC'
   const y_emit_state_t *state, zval *data, yaml_char_t *tag TSRMLS_DC)
                                                             ^~~~~~~~~
--- yaml.lo ---
/scratch/work/textproc/php-yaml/work/yaml-2.0.4/yaml.c:282:58: error: expected ';', ',' or ')' before 'TSRMLS_DC'
 static int php_yaml_check_callbacks(HashTable *callbacks TSRMLS_DC)
                                                          ^~~~~~~~~
/scratch/work/textproc/php-yaml/work/yaml-2.0.4/yaml.c: In function 'zif_yaml_parse':
/scratch/work/textproc/php-yaml/work/yaml-2.0.4/yaml.c:339:55: error: expected ')' before 'TSRMLS_CC'
  if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC,
                                                       ^~~~~~~~~
/scratch/work/textproc/php-yaml/work/yaml-2.0.4/yaml.c:339:17: error: too few arguments to function 'zend_parse_parameters'
  if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC,
                 ^~~~~~~~~~~~~~~~~~~~~
In file included from /scratch/work/textproc/php-yaml/work/.buildlink/include/php/main/php.h:35:0,
                 from /scratch/work/textproc/php-yaml/work/yaml-2.0.4/php_yaml.h:46,
                 from /scratch/work/textproc/php-yaml/work/yaml-2.0.4/yaml.c:35:
/scratch/work/textproc/php-yaml/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, ...);
                      ^~~~~~~~~~~~~~~~~~~~~
--- emit.lo ---
/scratch/work/textproc/php-yaml/work/yaml-2.0.4/emit.c:625:61: error: expected ';', ',' or ')' before 'TSRMLS_DC'
   const y_emit_state_t *state, zval *data, yaml_char_t *tag TSRMLS_DC)
                                                             ^~~~~~~~~
/scratch/work/textproc/php-yaml/work/yaml-2.0.4/emit.c:662:61: error: expected ';', ',' or ')' before 'TSRMLS_DC'
   const y_emit_state_t *state, zval *data, yaml_char_t *tag TSRMLS_DC)
                                                             ^~~~~~~~~
/scratch/work/textproc/php-yaml/work/yaml-2.0.4/emit.c:711:26: error: expected ';', ',' or ')' before 'TSRMLS_DC'
   const char *clazz_name TSRMLS_DC) {
                          ^~~~~~~~~
/scratch/work/textproc/php-yaml/work/yaml-2.0.4/emit.c:773:50: error: expected ';', ',' or ')' before 'TSRMLS_DC'
   yaml_encoding_t encoding, HashTable *callbacks TSRMLS_DC)
                                                  ^~~~~~~~~
--- parse.lo ---
*** [parse.lo] Error code 1

make: stopped in /scratch/work/textproc/php-yaml/work/yaml-2.0.4
--- yaml.lo ---
/scratch/work/textproc/php-yaml/work/yaml-2.0.4/yaml.c:347:18: warning: implicit declaration of function 'php_yaml_check_callbacks' [-Wimplicit-function-declaration]
   if (FAILURE == php_yaml_check_callbacks(state.callbacks TSRMLS_CC)) {
                  ^~~~~~~~~~~~~~~~~~~~~~~~
/scratch/work/textproc/php-yaml/work/yaml-2.0.4/yaml.c:347:59: error: expected ')' before 'TSRMLS_CC'
   if (FAILURE == php_yaml_check_callbacks(state.callbacks TSRMLS_CC)) {
                                                           ^~~~~~~~~
--- emit.lo ---
*** [emit.lo] Error code 1

make: stopped in /scratch/work/textproc/php-yaml/work/yaml-2.0.4
--- yaml.lo ---
/scratch/work/textproc/php-yaml/work/yaml-2.0.4/yaml.c:351:21: error: 'eval_scalar_with_callbacks' undeclared (first use in this function)
   state.eval_func = eval_scalar_with_callbacks;
                     ^~~~~~~~~~~~~~~~~~~~~~~~~~
/scratch/work/textproc/php-yaml/work/yaml-2.0.4/yaml.c:351:21: note: each undeclared identifier is reported only once for each function it appears in
/scratch/work/textproc/php-yaml/work/yaml-2.0.4/yaml.c:354:21: error: 'eval_scalar' undeclared (first use in this function); did you mean 'zval_gc_flags'?
   state.eval_func = eval_scalar;
                     ^~~~~~~~~~~
                     zval_gc_flags
/scratch/work/textproc/php-yaml/work/yaml-2.0.4/yaml.c:362:3: warning: implicit declaration of function 'php_yaml_read_all'; did you mean 'php_output_end_all'? [-Wimplicit-function-declaration]
   php_yaml_read_all(&state, &ndocs, &yaml TSRMLS_CC);
   ^~~~~~~~~~~~~~~~~
   php_output_end_all
/scratch/work/textproc/php-yaml/work/yaml-2.0.4/yaml.c:362:43: error: expected ')' before 'TSRMLS_CC'
   php_yaml_read_all(&state, &ndocs, &yaml TSRMLS_CC);
                                           ^~~~~~~~~
/scratch/work/textproc/php-yaml/work/yaml-2.0.4/yaml.c:364:3: warning: implicit declaration of function 'php_yaml_read_partial' [-Wimplicit-function-declaration]
   php_yaml_read_partial(&state, pos, &ndocs, &yaml TSRMLS_CC);
   ^~~~~~~~~~~~~~~~~~~~~
/scratch/work/textproc/php-yaml/work/yaml-2.0.4/yaml.c:364:52: error: expected ')' before 'TSRMLS_CC'
   php_yaml_read_partial(&state, pos, &ndocs, &yaml TSRMLS_CC);
                                                    ^~~~~~~~~
/scratch/work/textproc/php-yaml/work/yaml-2.0.4/yaml.c: In function 'zif_yaml_parse_file':
/scratch/work/textproc/php-yaml/work/yaml-2.0.4/yaml.c:407:55: error: expected ')' before 'TSRMLS_CC'
  if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC,
                                                       ^~~~~~~~~
/scratch/work/textproc/php-yaml/work/yaml-2.0.4/yaml.c:407:17: error: too few arguments to function 'zend_parse_parameters'
  if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC,
                 ^~~~~~~~~~~~~~~~~~~~~
In file included from /scratch/work/textproc/php-yaml/work/.buildlink/include/php/main/php.h:35:0,
                 from /scratch/work/textproc/php-yaml/work/yaml-2.0.4/php_yaml.h:46,
                 from /scratch/work/textproc/php-yaml/work/yaml-2.0.4/yaml.c:35:
/scratch/work/textproc/php-yaml/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, ...);
                      ^~~~~~~~~~~~~~~~~~~~~
/scratch/work/textproc/php-yaml/work/yaml-2.0.4/yaml.c:415:59: error: expected ')' before 'TSRMLS_CC'
   if (FAILURE == php_yaml_check_callbacks(state.callbacks TSRMLS_CC)) {
                                                           ^~~~~~~~~
/scratch/work/textproc/php-yaml/work/yaml-2.0.4/yaml.c:419:21: error: 'eval_scalar_with_callbacks' undeclared (first use in this function)
   state.eval_func = eval_scalar_with_callbacks;
                     ^~~~~~~~~~~~~~~~~~~~~~~~~~
/scratch/work/textproc/php-yaml/work/yaml-2.0.4/yaml.c:422:21: error: 'eval_scalar' undeclared (first use in this function); did you mean 'zval_gc_flags'?
   state.eval_func = eval_scalar;
                     ^~~~~~~~~~~
                     zval_gc_flags
/scratch/work/textproc/php-yaml/work/yaml-2.0.4/yaml.c:441:43: error: expected ')' before 'TSRMLS_CC'
   php_yaml_read_all(&state, &ndocs, &yaml TSRMLS_CC);
                                           ^~~~~~~~~
/scratch/work/textproc/php-yaml/work/yaml-2.0.4/yaml.c:444:52: error: expected ')' before 'TSRMLS_CC'
   php_yaml_read_partial(&state, pos, &ndocs, &yaml TSRMLS_CC);
                                                    ^~~~~~~~~
/scratch/work/textproc/php-yaml/work/yaml-2.0.4/yaml.c: In function 'zif_yaml_parse_url':
/scratch/work/textproc/php-yaml/work/yaml-2.0.4/yaml.c:489:55: error: expected ')' before 'TSRMLS_CC'
  if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC,
                                                       ^~~~~~~~~
/scratch/work/textproc/php-yaml/work/yaml-2.0.4/yaml.c:489:17: error: too few arguments to function 'zend_parse_parameters'
  if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC,
                 ^~~~~~~~~~~~~~~~~~~~~
In file included from /scratch/work/textproc/php-yaml/work/.buildlink/include/php/main/php.h:35:0,
                 from /scratch/work/textproc/php-yaml/work/yaml-2.0.4/php_yaml.h:46,
                 from /scratch/work/textproc/php-yaml/work/yaml-2.0.4/yaml.c:35:
/scratch/work/textproc/php-yaml/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, ...);
                      ^~~~~~~~~~~~~~~~~~~~~
/scratch/work/textproc/php-yaml/work/yaml-2.0.4/yaml.c:496:59: error: expected ')' before 'TSRMLS_CC'
   if (FAILURE == php_yaml_check_callbacks(state.callbacks TSRMLS_CC)) {
                                                           ^~~~~~~~~
/scratch/work/textproc/php-yaml/work/yaml-2.0.4/yaml.c:500:21: error: 'eval_scalar_with_callbacks' undeclared (first use in this function)
   state.eval_func = eval_scalar_with_callbacks;
                     ^~~~~~~~~~~~~~~~~~~~~~~~~~
/scratch/work/textproc/php-yaml/work/yaml-2.0.4/yaml.c:503:21: error: 'eval_scalar' undeclared (first use in this function); did you mean 'zval_gc_flags'?
   state.eval_func = eval_scalar;
                     ^~~~~~~~~~~
                     zval_gc_flags
/scratch/work/textproc/php-yaml/work/yaml-2.0.4/yaml.c:520:43: error: expected ')' before 'TSRMLS_CC'
   php_yaml_read_all(&state, &ndocs, &yaml TSRMLS_CC);
                                           ^~~~~~~~~
/scratch/work/textproc/php-yaml/work/yaml-2.0.4/yaml.c:522:52: error: expected ')' before 'TSRMLS_CC'
   php_yaml_read_partial(&state, pos, &ndocs, &yaml TSRMLS_CC);
                                                    ^~~~~~~~~
/scratch/work/textproc/php-yaml/work/yaml-2.0.4/yaml.c: In function 'zif_yaml_emit':
/scratch/work/textproc/php-yaml/work/yaml-2.0.4/yaml.c:556:54: error: expected ')' before 'TSRMLS_CC'
  if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS()TSRMLS_CC, "z/|lla/",
                                                      ^~~~~~~~~
/scratch/work/textproc/php-yaml/work/yaml-2.0.4/yaml.c:556:17: error: too few arguments to function 'zend_parse_parameters'
  if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS()TSRMLS_CC, "z/|lla/",
                 ^~~~~~~~~~~~~~~~~~~~~
In file included from /scratch/work/textproc/php-yaml/work/.buildlink/include/php/main/php.h:35:0,
                 from /scratch/work/textproc/php-yaml/work/yaml-2.0.4/php_yaml.h:46,
                 from /scratch/work/textproc/php-yaml/work/yaml-2.0.4/yaml.c:35:
/scratch/work/textproc/php-yaml/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, ...);
                      ^~~~~~~~~~~~~~~~~~~~~
/scratch/work/textproc/php-yaml/work/yaml-2.0.4/yaml.c:563:53: error: expected ')' before 'TSRMLS_CC'
   if (FAILURE == php_yaml_check_callbacks(callbacks TSRMLS_CC)) {
                                                     ^~~~~~~~~
/scratch/work/textproc/php-yaml/work/yaml-2.0.4/yaml.c:578:17: warning: implicit declaration of function 'php_yaml_write_impl'; did you mean 'php_yaml_write_to_buffer'? [-Wimplicit-function-declaration]
  if (SUCCESS == php_yaml_write_impl(
                 ^~~~~~~~~~~~~~~~~~~
                 php_yaml_write_to_buffer
/scratch/work/textproc/php-yaml/work/yaml-2.0.4/yaml.c:580:15: error: expected ')' before 'TSRMLS_CC'
     callbacks TSRMLS_CC)) {
               ^~~~~~~~~
/scratch/work/textproc/php-yaml/work/yaml-2.0.4/yaml.c: In function 'zif_yaml_emit_file':
/scratch/work/textproc/php-yaml/work/yaml-2.0.4/yaml.c:608:55: error: expected ')' before 'TSRMLS_CC'
  if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "Sz/|lla/",
                                                       ^~~~~~~~~
/scratch/work/textproc/php-yaml/work/yaml-2.0.4/yaml.c:608:17: error: too few arguments to function 'zend_parse_parameters'
  if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "Sz/|lla/",
                 ^~~~~~~~~~~~~~~~~~~~~
In file included from /scratch/work/textproc/php-yaml/work/.buildlink/include/php/main/php.h:35:0,
                 from /scratch/work/textproc/php-yaml/work/yaml-2.0.4/php_yaml.h:46,
                 from /scratch/work/textproc/php-yaml/work/yaml-2.0.4/yaml.c:35:
/scratch/work/textproc/php-yaml/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, ...);
                      ^~~~~~~~~~~~~~~~~~~~~
/scratch/work/textproc/php-yaml/work/yaml-2.0.4/yaml.c:615:53: error: expected ')' before 'TSRMLS_CC'
   if (FAILURE == php_yaml_check_callbacks(callbacks TSRMLS_CC)) {
                                                     ^~~~~~~~~
In file included from /scratch/work/textproc/php-yaml/work/.buildlink/include/php/Zend/zend.h:27:0,
                 from /scratch/work/textproc/php-yaml/work/.buildlink/include/php/main/php.h:31,
                 from /scratch/work/textproc/php-yaml/work/yaml-2.0.4/php_yaml.h:46,
                 from /scratch/work/textproc/php-yaml/work/yaml-2.0.4/yaml.c:35:
/scratch/work/textproc/php-yaml/work/yaml-2.0.4/yaml.c:642:49: error: expected ')' before 'TSRMLS_CC'
    &emitter, data, YAML_ANY_ENCODING, callbacks TSRMLS_CC)));
                                                 ^
/scratch/work/textproc/php-yaml/work/.buildlink/include/php/Zend/zend_types.h:893:5: note: in definition of macro 'ZVAL_BOOL'
    (b) ? IS_TRUE : IS_FALSE; \
     ^
/scratch/work/textproc/php-yaml/work/yaml-2.0.4/yaml.c:641:2: note: in expansion of macro 'RETVAL_BOOL'
  RETVAL_BOOL((SUCCESS == php_yaml_write_impl(
  ^~~~~~~~~~~
*** [yaml.lo] Error code 1

make: stopped in /scratch/work/textproc/php-yaml/work/yaml-2.0.4
3 errors

make: stopped in /scratch/work/textproc/php-yaml/work/yaml-2.0.4
*** Error code 2

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

Stop.
make: stopped in /tree/pkgsrc/textproc/php-yaml