+ case "${usergroup_phase}" in
+ local run_cmd
+ run_cmd=run_su
+ shift
+ run_su /opt/local/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent PHP_VERSION_REQD=80 WRKLOG=/tmp/bulklog/php80-mailparse-3.0.2/work.log
+ su pbulk -c '"$@"' make /opt/local/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent PHP_VERSION_REQD=80 WRKLOG=/tmp/bulklog/php80-mailparse-3.0.2/work.log
=> Bootstrap dependency digest>=20211023: found digest-20211023
WARNING: [license.mk] Every package should define a LICENSE.
===> Building for php80-mailparse-3.0.2
/bin/cp /data/jenkins/workspace/pkgsrc-2021Q4-x86_64/joyent/php-mailparse/../../lang/php/ext.ini /home/pbulk/build/joyent/php-mailparse/work/mailparse-3.0.2/mailparse.ini
/usr/bin/bash /home/pbulk/build/joyent/php-mailparse/work/mailparse-3.0.2/libtool --mode=compile gcc -I. -I/home/pbulk/build/joyent/php-mailparse/work/mailparse-3.0.2 -I/home/pbulk/build/joyent/php-mailparse/work/mailparse-3.0.2/include -I/home/pbulk/build/joyent/php-mailparse/work/mailparse-3.0.2/main -I/home/pbulk/build/joyent/php-mailparse/work/mailparse-3.0.2 -I/opt/local/include/php -I/opt/local/include/php/main -I/opt/local/include/php/TSRM -I/opt/local/include/php/Zend -I/opt/local/include/php/ext -I/opt/local/include/php/ext/date/lib  -I/opt/local/include -I/usr/include -DHAVE_CONFIG_H  -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/local/include -I/usr/include    -c /home/pbulk/build/joyent/php-mailparse/work/mailparse-3.0.2/mailparse.c -o mailparse.lo
libtool: compile:  gcc -I. -I/home/pbulk/build/joyent/php-mailparse/work/mailparse-3.0.2 -I/home/pbulk/build/joyent/php-mailparse/work/mailparse-3.0.2/include -I/home/pbulk/build/joyent/php-mailparse/work/mailparse-3.0.2/main -I/home/pbulk/build/joyent/php-mailparse/work/.buildlink/include/php -I/home/pbulk/build/joyent/php-mailparse/work/.buildlink/include/php/main -I/home/pbulk/build/joyent/php-mailparse/work/.buildlink/include/php/TSRM -I/home/pbulk/build/joyent/php-mailparse/work/.buildlink/include/php/Zend -I/home/pbulk/build/joyent/php-mailparse/work/.buildlink/include/php/ext -I/home/pbulk/build/joyent/php-mailparse/work/.buildlink/include/php/ext/date/lib -I/home/pbulk/build/joyent/php-mailparse/work/.buildlink/include -DHAVE_CONFIG_H -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c /home/pbulk/build/joyent/php-mailparse/work/mailparse-3.0.2/mailparse.c  -fPIC -DPIC -o .libs/mailparse.o
/home/pbulk/build/joyent/php-mailparse/work/mailparse-3.0.2/mailparse.c: In function 'zif_mailparse_stream_encode':
/home/pbulk/build/joyent/php-mailparse/work/mailparse-3.0.2/mailparse.c:981:33: warning: passing argument 1 of 'mbfl_convert_filter_new' makes pointer from integer without a cast [-Wint-conversion]
  981 |  conv = mbfl_convert_filter_new(mbfl_no_encoding_8bit,
      |                                 ^~~~~~~~~~~~~~~~~~~~~
      |                                 |
      |                                 int
In file included from /home/pbulk/build/joyent/php-mailparse/work/.buildlink/include/php/ext/mbstring/libmbfl/mbfl/mbfilter.h:95,
                 from /home/pbulk/build/joyent/php-mailparse/work/mailparse-3.0.2/php_mailparse.h:82,
                 from /home/pbulk/build/joyent/php-mailparse/work/mailparse-3.0.2/mailparse.c:27:
/home/pbulk/build/joyent/php-mailparse/work/.buildlink/include/php/ext/mbstring/libmbfl/mbfl/mbfl_convert.h:66:82: note: expected 'const mbfl_encoding *' {aka 'const struct _mbfl_encoding *'} but argument is of type 'int'
   66 | MBFLAPI extern mbfl_convert_filter *mbfl_convert_filter_new(const mbfl_encoding *from, const mbfl_encoding *to, output_function_t output_function,
      |                                                             ~~~~~~~~~~~~~~~~~~~~~^~~~
/home/pbulk/build/joyent/php-mailparse/work/mailparse-3.0.2/mailparse.c:982:4: error: incompatible type for argument 2 of 'mbfl_convert_filter_new'
  982 |    enc,
      |    ^~~
      |    |
      |    enum mbfl_no_encoding
In file included from /home/pbulk/build/joyent/php-mailparse/work/.buildlink/include/php/ext/mbstring/libmbfl/mbfl/mbfilter.h:95,
                 from /home/pbulk/build/joyent/php-mailparse/work/mailparse-3.0.2/php_mailparse.h:82,
                 from /home/pbulk/build/joyent/php-mailparse/work/mailparse-3.0.2/mailparse.c:27:
/home/pbulk/build/joyent/php-mailparse/work/.buildlink/include/php/ext/mbstring/libmbfl/mbfl/mbfl_convert.h:66:109: note: expected 'const mbfl_encoding *' {aka 'const struct _mbfl_encoding *'} but argument is of type 'enum mbfl_no_encoding'
   66 | MBFLAPI extern mbfl_convert_filter *mbfl_convert_filter_new(const mbfl_encoding *from, const mbfl_encoding *to, output_function_t output_function,
      |                                                                                        ~~~~~~~~~~~~~~~~~~~~~^~
In file included from /home/pbulk/build/joyent/php-mailparse/work/.buildlink/include/php/Zend/zend.h:27,
                 from /home/pbulk/build/joyent/php-mailparse/work/.buildlink/include/php/main/php.h:31,
                 from /home/pbulk/build/joyent/php-mailparse/work/mailparse-3.0.2/mailparse.c:24:
/home/pbulk/build/joyent/php-mailparse/work/mailparse-3.0.2/mailparse.c: In function 'zif_mailparse_msg_get_structure':
/home/pbulk/build/joyent/php-mailparse/work/.buildlink/include/php/Zend/zend_types.h:945:24: error: expected expression before 'do'
  945 | #define ZVAL_ARR(z, a) do {      \
      |                        ^~
/home/pbulk/build/joyent/php-mailparse/work/.buildlink/include/php/Zend/zend_API.h:429:28: note: in expansion of macro 'ZVAL_ARR'
  429 | #define array_init(arg)    ZVAL_ARR((arg), zend_new_array(0))
      |                            ^~~~~~~~
/home/pbulk/build/joyent/php-mailparse/work/mailparse-3.0.2/mailparse.c:1162:6: note: in expansion of macro 'array_init'
 1162 |  if (array_init(return_value) == FAILURE) {
      |      ^~~~~~~~~~
*** [mailparse.lo] Error code 1

bmake: stopped in /home/pbulk/build/joyent/php-mailparse/work/mailparse-3.0.2
1 error

bmake: stopped in /home/pbulk/build/joyent/php-mailparse/work/mailparse-3.0.2
*** Error code 2

Stop.
bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-2021Q4-x86_64/joyent/php-mailparse
*** Error code 1

Stop.
bmake: stopped in /data/jenkins/workspace/pkgsrc-2021Q4-x86_64/joyent/php-mailparse