=> Bootstrap dependency digest>=20211023: found digest-20220214 WARNING: [license.mk] Every package should define a LICENSE. ===> Building for php74-mailparse-3.0.2 /bin/cp /Volumes/data/jenkins/workspace/pkgsrc-macos11-trunk-arm64/joyent/php-mailparse/../../lang/php/ext.ini /Users/pbulk/build/joyent/php-mailparse/work/mailparse-3.0.2/mailparse.ini --- mailparse.lo --- --- php_mailparse_mime.lo --- --- php_mailparse_rfc822.lo --- --- mailparse.lo --- /opt/pkg/bin/mksh /Users/pbulk/build/joyent/php-mailparse/work/mailparse-3.0.2/libtool --mode=compile clang -I. -I/Users/pbulk/build/joyent/php-mailparse/work/mailparse-3.0.2 -DPHP_ATOM_INC -I/Users/pbulk/build/joyent/php-mailparse/work/mailparse-3.0.2/include -I/Users/pbulk/build/joyent/php-mailparse/work/mailparse-3.0.2/main -I/Users/pbulk/build/joyent/php-mailparse/work/mailparse-3.0.2 -I/opt/pkg/include/php -I/opt/pkg/include/php/main -I/opt/pkg/include/php/TSRM -I/opt/pkg/include/php/Zend -I/opt/pkg/include/php/ext -I/opt/pkg/include/php/ext/date/lib -I/opt/pkg/include -DHAVE_CONFIG_H -pipe -Os -I/opt/pkg/include -c /Users/pbulk/build/joyent/php-mailparse/work/mailparse-3.0.2/mailparse.c -o mailparse.lo --- php_mailparse_rfc822.lo --- /opt/pkg/bin/mksh /Users/pbulk/build/joyent/php-mailparse/work/mailparse-3.0.2/libtool --mode=compile clang -I. -I/Users/pbulk/build/joyent/php-mailparse/work/mailparse-3.0.2 -DPHP_ATOM_INC -I/Users/pbulk/build/joyent/php-mailparse/work/mailparse-3.0.2/include -I/Users/pbulk/build/joyent/php-mailparse/work/mailparse-3.0.2/main -I/Users/pbulk/build/joyent/php-mailparse/work/mailparse-3.0.2 -I/opt/pkg/include/php -I/opt/pkg/include/php/main -I/opt/pkg/include/php/TSRM -I/opt/pkg/include/php/Zend -I/opt/pkg/include/php/ext -I/opt/pkg/include/php/ext/date/lib -I/opt/pkg/include -DHAVE_CONFIG_H -pipe -Os -I/opt/pkg/include -c /Users/pbulk/build/joyent/php-mailparse/work/mailparse-3.0.2/php_mailparse_rfc822.c -o php_mailparse_rfc822.lo --- php_mailparse_mime.lo --- /opt/pkg/bin/mksh /Users/pbulk/build/joyent/php-mailparse/work/mailparse-3.0.2/libtool --mode=compile clang -I. -I/Users/pbulk/build/joyent/php-mailparse/work/mailparse-3.0.2 -DPHP_ATOM_INC -I/Users/pbulk/build/joyent/php-mailparse/work/mailparse-3.0.2/include -I/Users/pbulk/build/joyent/php-mailparse/work/mailparse-3.0.2/main -I/Users/pbulk/build/joyent/php-mailparse/work/mailparse-3.0.2 -I/opt/pkg/include/php -I/opt/pkg/include/php/main -I/opt/pkg/include/php/TSRM -I/opt/pkg/include/php/Zend -I/opt/pkg/include/php/ext -I/opt/pkg/include/php/ext/date/lib -I/opt/pkg/include -DHAVE_CONFIG_H -pipe -Os -I/opt/pkg/include -c /Users/pbulk/build/joyent/php-mailparse/work/mailparse-3.0.2/php_mailparse_mime.c -o php_mailparse_mime.lo --- mailparse.lo --- libtool: compile: clang -I. -I/Users/pbulk/build/joyent/php-mailparse/work/mailparse-3.0.2 -DPHP_ATOM_INC -I/Users/pbulk/build/joyent/php-mailparse/work/mailparse-3.0.2/include -I/Users/pbulk/build/joyent/php-mailparse/work/mailparse-3.0.2/main -I/Users/pbulk/build/joyent/php-mailparse/work/.buildlink/include/php -I/Users/pbulk/build/joyent/php-mailparse/work/.buildlink/include/php/main -I/Users/pbulk/build/joyent/php-mailparse/work/.buildlink/include/php/TSRM -I/Users/pbulk/build/joyent/php-mailparse/work/.buildlink/include/php/Zend -I/Users/pbulk/build/joyent/php-mailparse/work/.buildlink/include/php/ext -I/Users/pbulk/build/joyent/php-mailparse/work/.buildlink/include/php/ext/date/lib -I/Users/pbulk/build/joyent/php-mailparse/work/.buildlink/include -DHAVE_CONFIG_H -pipe -Os -c /Users/pbulk/build/joyent/php-mailparse/work/mailparse-3.0.2/mailparse.c -fno-common -DPIC -o .libs/mailparse.o --- php_mailparse_rfc822.lo --- libtool: compile: clang -I. -I/Users/pbulk/build/joyent/php-mailparse/work/mailparse-3.0.2 -DPHP_ATOM_INC -I/Users/pbulk/build/joyent/php-mailparse/work/mailparse-3.0.2/include -I/Users/pbulk/build/joyent/php-mailparse/work/mailparse-3.0.2/main -I/Users/pbulk/build/joyent/php-mailparse/work/.buildlink/include/php -I/Users/pbulk/build/joyent/php-mailparse/work/.buildlink/include/php/main -I/Users/pbulk/build/joyent/php-mailparse/work/.buildlink/include/php/TSRM -I/Users/pbulk/build/joyent/php-mailparse/work/.buildlink/include/php/Zend -I/Users/pbulk/build/joyent/php-mailparse/work/.buildlink/include/php/ext -I/Users/pbulk/build/joyent/php-mailparse/work/.buildlink/include/php/ext/date/lib -I/Users/pbulk/build/joyent/php-mailparse/work/.buildlink/include -DHAVE_CONFIG_H -pipe -Os -c /Users/pbulk/build/joyent/php-mailparse/work/mailparse-3.0.2/php_mailparse_rfc822.c -fno-common -DPIC -o .libs/php_mailparse_rfc822.o --- php_mailparse_mime.lo --- libtool: compile: clang -I. -I/Users/pbulk/build/joyent/php-mailparse/work/mailparse-3.0.2 -DPHP_ATOM_INC -I/Users/pbulk/build/joyent/php-mailparse/work/mailparse-3.0.2/include -I/Users/pbulk/build/joyent/php-mailparse/work/mailparse-3.0.2/main -I/Users/pbulk/build/joyent/php-mailparse/work/.buildlink/include/php -I/Users/pbulk/build/joyent/php-mailparse/work/.buildlink/include/php/main -I/Users/pbulk/build/joyent/php-mailparse/work/.buildlink/include/php/TSRM -I/Users/pbulk/build/joyent/php-mailparse/work/.buildlink/include/php/Zend -I/Users/pbulk/build/joyent/php-mailparse/work/.buildlink/include/php/ext -I/Users/pbulk/build/joyent/php-mailparse/work/.buildlink/include/php/ext/date/lib -I/Users/pbulk/build/joyent/php-mailparse/work/.buildlink/include -DHAVE_CONFIG_H -pipe -Os -c /Users/pbulk/build/joyent/php-mailparse/work/mailparse-3.0.2/php_mailparse_mime.c -fno-common -DPIC -o .libs/php_mailparse_mime.o /Users/pbulk/build/joyent/php-mailparse/work/mailparse-3.0.2/php_mailparse_mime.c:911:6: warning: incompatible integer to pointer conversion passing 'enum mbfl_no_encoding' to parameter of type 'const mbfl_encoding *' (aka 'const struct _mbfl_encoding *') [-Wint-conversion] from, mbfl_no_encoding_8bit, ^~~~ /Users/pbulk/build/joyent/php-mailparse/work/.buildlink/include/php/ext/mbstring/libmbfl/mbfl/mbfl_convert.h:60:26: note: passing argument to parameter 'from' here const mbfl_encoding *from, ^ /Users/pbulk/build/joyent/php-mailparse/work/mailparse-3.0.2/php_mailparse_mime.c:911:12: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const mbfl_encoding *' (aka 'const struct _mbfl_encoding *') [-Wint-conversion] from, mbfl_no_encoding_8bit, ^~~~~~~~~~~~~~~~~~~~~ /Users/pbulk/build/joyent/php-mailparse/work/.buildlink/include/php/ext/mbstring/libmbfl/mbfl/mbfl_convert.h:61:26: note: passing argument to parameter 'to' here const mbfl_encoding *to, ^ /Users/pbulk/build/joyent/php-mailparse/work/mailparse-3.0.2/php_mailparse_mime.c:970:10: error: expected ';' after expression ulong h; ^ ; /Users/pbulk/build/joyent/php-mailparse/work/mailparse-3.0.2/php_mailparse_mime.c:970:5: error: use of undeclared identifier 'ulong' ulong h; ^ /Users/pbulk/build/joyent/php-mailparse/work/mailparse-3.0.2/php_mailparse_mime.c:970:11: error: use of undeclared identifier 'h' ulong h; ^ /Users/pbulk/build/joyent/php-mailparse/work/mailparse-3.0.2/php_mailparse_mime.c:971:60: error: use of undeclared identifier 'h' zend_hash_get_current_key_ex(&parent->children, NULL, &h, &pos); ^ /Users/pbulk/build/joyent/php-mailparse/work/mailparse-3.0.2/php_mailparse_mime.c:972:44: error: use of undeclared identifier 'h' zend_hash_index_del(&parent->children, h); ^ 2 warnings and 5 errors generated. *** [php_mailparse_mime.lo] Error code 1 bmake: stopped in /Users/pbulk/build/joyent/php-mailparse/work/mailparse-3.0.2 --- mailparse.lo --- /Users/pbulk/build/joyent/php-mailparse/work/mailparse-3.0.2/mailparse.c:981:33: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const mbfl_encoding *' (aka 'const struct _mbfl_encoding *') [-Wint-conversion] conv = mbfl_convert_filter_new(mbfl_no_encoding_8bit, ^~~~~~~~~~~~~~~~~~~~~ /Users/pbulk/build/joyent/php-mailparse/work/.buildlink/include/php/ext/mbstring/libmbfl/mbfl/mbfl_convert.h:60:26: note: passing argument to parameter 'from' here const mbfl_encoding *from, ^ /Users/pbulk/build/joyent/php-mailparse/work/mailparse-3.0.2/mailparse.c:982:4: warning: incompatible integer to pointer conversion passing 'enum mbfl_no_encoding' to parameter of type 'const mbfl_encoding *' (aka 'const struct _mbfl_encoding *') [-Wint-conversion] enc, ^~~ /Users/pbulk/build/joyent/php-mailparse/work/.buildlink/include/php/ext/mbstring/libmbfl/mbfl/mbfl_convert.h:61:26: note: passing argument to parameter 'to' here const mbfl_encoding *to, ^ /Users/pbulk/build/joyent/php-mailparse/work/mailparse-3.0.2/mailparse.c:1162:6: error: expected expression if (array_init(return_value) == FAILURE) { ^ /Users/pbulk/build/joyent/php-mailparse/work/.buildlink/include/php/Zend/zend_API.h:381:28: note: expanded from macro 'array_init' #define array_init(arg) ZVAL_ARR((arg), zend_new_array(0)) ^ /Users/pbulk/build/joyent/php-mailparse/work/.buildlink/include/php/Zend/zend_types.h:827:24: note: expanded from macro 'ZVAL_ARR' #define ZVAL_ARR(z, a) do { \ ^ /Users/pbulk/build/joyent/php-mailparse/work/mailparse-3.0.2/mailparse.c:1244:101: warning: format specifies type 'long' but the argument has type 'off_t' (aka 'long long') [-Wformat] zend_error(E_WARNING, "%s(): error reading from file at offset %ld", get_active_function_name(), start_pos); ~~~ ^~~~~~~~~ %lld /Users/pbulk/build/joyent/php-mailparse/work/mailparse-3.0.2/mailparse.c:1369:7: error: expected ';' after expression ulong num_index; ^ ; /Users/pbulk/build/joyent/php-mailparse/work/mailparse-3.0.2/mailparse.c:1369:2: error: use of undeclared identifier 'ulong' ulong num_index; ^ /Users/pbulk/build/joyent/php-mailparse/work/mailparse-3.0.2/mailparse.c:1369:8: error: use of undeclared identifier 'num_index' ulong num_index; ^ /Users/pbulk/build/joyent/php-mailparse/work/mailparse-3.0.2/mailparse.c:1375:74: error: use of undeclared identifier 'num_index' zend_hash_get_current_key_ex(Z_ARRVAL_P(&attr->attributes), &str_key, &num_index, &pos); ^ /Users/pbulk/build/joyent/php-mailparse/work/mailparse-3.0.2/mailparse.c:1380:49: error: use of undeclared identifier 'num_index' spprintf(&newkey, 0, "%s%lu", attrprefix, num_index); ^ /Users/pbulk/build/joyent/php-mailparse/work/mailparse-3.0.2/mailparse.c:1521:74: warning: format specifies type 'char *' but the argument has type 'zend_string *' (aka 'struct _zend_string *') [-Wformat] php_error_docref(NULL, E_WARNING, "cannot find section %s in message", mimesection); ~~ ^~~~~~~~~~~ 4 warnings and 6 errors generated. *** [mailparse.lo] Error code 1 bmake: stopped in /Users/pbulk/build/joyent/php-mailparse/work/mailparse-3.0.2 --- php_mailparse_rfc822.lo --- libtool: compile: clang -I. -I/Users/pbulk/build/joyent/php-mailparse/work/mailparse-3.0.2 -DPHP_ATOM_INC -I/Users/pbulk/build/joyent/php-mailparse/work/mailparse-3.0.2/include -I/Users/pbulk/build/joyent/php-mailparse/work/mailparse-3.0.2/main -I/Users/pbulk/build/joyent/php-mailparse/work/.buildlink/include/php -I/Users/pbulk/build/joyent/php-mailparse/work/.buildlink/include/php/main -I/Users/pbulk/build/joyent/php-mailparse/work/.buildlink/include/php/TSRM -I/Users/pbulk/build/joyent/php-mailparse/work/.buildlink/include/php/Zend -I/Users/pbulk/build/joyent/php-mailparse/work/.buildlink/include/php/ext -I/Users/pbulk/build/joyent/php-mailparse/work/.buildlink/include/php/ext/date/lib -I/Users/pbulk/build/joyent/php-mailparse/work/.buildlink/include -DHAVE_CONFIG_H -pipe -Os -c /Users/pbulk/build/joyent/php-mailparse/work/mailparse-3.0.2/php_mailparse_rfc822.c -o php_mailparse_rfc822.o >/dev/null 2>&1 2 errors bmake: stopped in /Users/pbulk/build/joyent/php-mailparse/work/mailparse-3.0.2 *** Error code 2 Stop. bmake[1]: stopped in /Volumes/data/jenkins/workspace/pkgsrc-macos11-trunk-arm64/joyent/php-mailparse *** Error code 1 Stop. bmake: stopped in /Volumes/data/jenkins/workspace/pkgsrc-macos11-trunk-arm64/joyent/php-mailparse