+ 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=81 WRKLOG=/tmp/bulklog/php81-mailparse-3.1.1/work.log + su pbulk -c '"$@"' make /opt/local/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent PHP_VERSION_REQD=81 WRKLOG=/tmp/bulklog/php81-mailparse-3.1.1/work.log => Bootstrap dependency digest>=20211023: found digest-20211023 ===> Building for php81-mailparse-3.1.1 /bin/cp /data/jenkins/workspace/pkgsrc-2021Q4-x86_64/mail/php-mailparse/../../lang/php/ext.ini /home/pbulk/build/mail/php-mailparse/work/mailparse-3.1.1/mailparse.ini /usr/bin/bash /home/pbulk/build/mail/php-mailparse/work/mailparse-3.1.1/libtool --mode=compile gcc -I. -I/home/pbulk/build/mail/php-mailparse/work/mailparse-3.1.1 -I/home/pbulk/build/mail/php-mailparse/work/mailparse-3.1.1/include -I/home/pbulk/build/mail/php-mailparse/work/mailparse-3.1.1/main -I/home/pbulk/build/mail/php-mailparse/work/mailparse-3.1.1 -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 -DZEND_COMPILE_DL_EXT=1 -c /home/pbulk/build/mail/php-mailparse/work/mailparse-3.1.1/mailparse.c -o mailparse.lo -MMD -MF mailparse.dep -MT mailparse.lo libtool: compile: gcc -I. -I/home/pbulk/build/mail/php-mailparse/work/mailparse-3.1.1 -I/home/pbulk/build/mail/php-mailparse/work/mailparse-3.1.1/include -I/home/pbulk/build/mail/php-mailparse/work/mailparse-3.1.1/main -I/home/pbulk/build/mail/php-mailparse/work/.buildlink/include/php -I/home/pbulk/build/mail/php-mailparse/work/.buildlink/include/php/main -I/home/pbulk/build/mail/php-mailparse/work/.buildlink/include/php/TSRM -I/home/pbulk/build/mail/php-mailparse/work/.buildlink/include/php/Zend -I/home/pbulk/build/mail/php-mailparse/work/.buildlink/include/php/ext -I/home/pbulk/build/mail/php-mailparse/work/.buildlink/include/php/ext/date/lib -I/home/pbulk/build/mail/php-mailparse/work/.buildlink/include -DHAVE_CONFIG_H -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -DZEND_COMPILE_DL_EXT=1 -c /home/pbulk/build/mail/php-mailparse/work/mailparse-3.1.1/mailparse.c -MMD -MF mailparse.dep -MT mailparse.lo -fPIC -DPIC -o .libs/mailparse.o /home/pbulk/build/mail/php-mailparse/work/mailparse-3.1.1/mailparse.c: In function 'mailparse_mimemessage_extract': /home/pbulk/build/mail/php-mailparse/work/mailparse-3.1.1/mailparse.c:416:122: error: macro "php_stream_memory_open" passed 3 arguments, but takes just 2 416 | srcstream = php_stream_memory_open(TEMP_STREAM_READONLY, Z_STRVAL_P(&part->source.zval), Z_STRLEN_P(&part->source.zval)); | ^ In file included from /home/pbulk/build/mail/php-mailparse/work/.buildlink/include/php/main/php.h:418, from /home/pbulk/build/mail/php-mailparse/work/mailparse-3.1.1/mailparse.c:21: /home/pbulk/build/mail/php-mailparse/work/.buildlink/include/php/main/php_memory_streams.h:31: note: macro "php_stream_memory_open" defined here 31 | #define php_stream_memory_open(mode, str) _php_stream_memory_open((mode), (str) STREAMS_CC) | /home/pbulk/build/mail/php-mailparse/work/mailparse-3.1.1/mailparse.c:416:15: error: 'php_stream_memory_open' undeclared (first use in this function); did you mean '_php_stream_memory_open'? 416 | srcstream = php_stream_memory_open(TEMP_STREAM_READONLY, Z_STRVAL_P(&part->source.zval), Z_STRLEN_P(&part->source.zval)); | ^~~~~~~~~~~~~~~~~~~~~~ | _php_stream_memory_open /home/pbulk/build/mail/php-mailparse/work/mailparse-3.1.1/mailparse.c:416:15: note: each undeclared identifier is reported only once for each function it appears in /home/pbulk/build/mail/php-mailparse/work/mailparse-3.1.1/mailparse.c:436:55: error: macro "php_stream_memory_get_buffer" passed 2 arguments, but takes just 1 436 | buf = php_stream_memory_get_buffer(deststream, &len); | ^ In file included from /home/pbulk/build/mail/php-mailparse/work/.buildlink/include/php/main/php.h:418, from /home/pbulk/build/mail/php-mailparse/work/mailparse-3.1.1/mailparse.c:21: /home/pbulk/build/mail/php-mailparse/work/.buildlink/include/php/main/php_memory_streams.h:32: note: macro "php_stream_memory_get_buffer" defined here 32 | #define php_stream_memory_get_buffer(stream) _php_stream_memory_get_buffer((stream) STREAMS_CC) | /home/pbulk/build/mail/php-mailparse/work/mailparse-3.1.1/mailparse.c:436:10: error: 'php_stream_memory_get_buffer' undeclared (first use in this function); did you mean '_php_stream_memory_get_buffer'? 436 | buf = php_stream_memory_get_buffer(deststream, &len); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | _php_stream_memory_get_buffer /home/pbulk/build/mail/php-mailparse/work/mailparse-3.1.1/mailparse.c: In function 'zim_mimemessage_extract_uue': /home/pbulk/build/mail/php-mailparse/work/mailparse-3.1.1/mailparse.c:505:122: error: macro "php_stream_memory_open" passed 3 arguments, but takes just 2 505 | srcstream = php_stream_memory_open(TEMP_STREAM_READONLY, Z_STRVAL_P(&part->source.zval), Z_STRLEN_P(&part->source.zval)); | ^ In file included from /home/pbulk/build/mail/php-mailparse/work/.buildlink/include/php/main/php.h:418, from /home/pbulk/build/mail/php-mailparse/work/mailparse-3.1.1/mailparse.c:21: /home/pbulk/build/mail/php-mailparse/work/.buildlink/include/php/main/php_memory_streams.h:31: note: macro "php_stream_memory_open" defined here 31 | #define php_stream_memory_open(mode, str) _php_stream_memory_open((mode), (str) STREAMS_CC) | /home/pbulk/build/mail/php-mailparse/work/mailparse-3.1.1/mailparse.c:505:15: error: 'php_stream_memory_open' undeclared (first use in this function); did you mean '_php_stream_memory_open'? 505 | srcstream = php_stream_memory_open(TEMP_STREAM_READONLY, Z_STRVAL_P(&part->source.zval), Z_STRLEN_P(&part->source.zval)); | ^~~~~~~~~~~~~~~~~~~~~~ | _php_stream_memory_open /home/pbulk/build/mail/php-mailparse/work/mailparse-3.1.1/mailparse.c:541:57: error: macro "php_stream_memory_get_buffer" passed 2 arguments, but takes just 1 541 | buf = php_stream_memory_get_buffer(deststream, &len); | ^ In file included from /home/pbulk/build/mail/php-mailparse/work/.buildlink/include/php/main/php.h:418, from /home/pbulk/build/mail/php-mailparse/work/mailparse-3.1.1/mailparse.c:21: /home/pbulk/build/mail/php-mailparse/work/.buildlink/include/php/main/php_memory_streams.h:32: note: macro "php_stream_memory_get_buffer" defined here 32 | #define php_stream_memory_get_buffer(stream) _php_stream_memory_get_buffer((stream) STREAMS_CC) | /home/pbulk/build/mail/php-mailparse/work/mailparse-3.1.1/mailparse.c:541:12: error: 'php_stream_memory_get_buffer' undeclared (first use in this function); did you mean '_php_stream_memory_get_buffer'? 541 | buf = php_stream_memory_get_buffer(deststream, &len); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | _php_stream_memory_get_buffer /home/pbulk/build/mail/php-mailparse/work/mailparse-3.1.1/mailparse.c: In function 'zim_mimemessage_enum_uue': /home/pbulk/build/mail/php-mailparse/work/mailparse-3.1.1/mailparse.c:587:121: error: macro "php_stream_memory_open" passed 3 arguments, but takes just 2 587 | instream = php_stream_memory_open(TEMP_STREAM_READONLY, Z_STRVAL_P(&part->source.zval), Z_STRLEN_P(&part->source.zval)); | ^ In file included from /home/pbulk/build/mail/php-mailparse/work/.buildlink/include/php/main/php.h:418, from /home/pbulk/build/mail/php-mailparse/work/mailparse-3.1.1/mailparse.c:21: /home/pbulk/build/mail/php-mailparse/work/.buildlink/include/php/main/php_memory_streams.h:31: note: macro "php_stream_memory_open" defined here 31 | #define php_stream_memory_open(mode, str) _php_stream_memory_open((mode), (str) STREAMS_CC) | /home/pbulk/build/mail/php-mailparse/work/mailparse-3.1.1/mailparse.c:587:14: error: 'php_stream_memory_open' undeclared (first use in this function); did you mean '_php_stream_memory_open'? 587 | instream = php_stream_memory_open(TEMP_STREAM_READONLY, Z_STRVAL_P(&part->source.zval), Z_STRLEN_P(&part->source.zval)); | ^~~~~~~~~~~~~~~~~~~~~~ | _php_stream_memory_open /home/pbulk/build/mail/php-mailparse/work/mailparse-3.1.1/mailparse.c: In function 'mailparse_do_extract': /home/pbulk/build/mail/php-mailparse/work/mailparse-3.1.1/mailparse.c:1311:102: error: macro "php_stream_memory_open" passed 3 arguments, but takes just 2 1311 | srcstream = php_stream_memory_open(TEMP_STREAM_READONLY, Z_STRVAL_P(filename), Z_STRLEN_P(filename)); | ^ In file included from /home/pbulk/build/mail/php-mailparse/work/.buildlink/include/php/main/php.h:418, from /home/pbulk/build/mail/php-mailparse/work/mailparse-3.1.1/mailparse.c:21: /home/pbulk/build/mail/php-mailparse/work/.buildlink/include/php/main/php_memory_streams.h:31: note: macro "php_stream_memory_open" defined here 31 | #define php_stream_memory_open(mode, str) _php_stream_memory_open((mode), (str) STREAMS_CC) | /home/pbulk/build/mail/php-mailparse/work/mailparse-3.1.1/mailparse.c:1311:15: error: 'php_stream_memory_open' undeclared (first use in this function); did you mean '_php_stream_memory_open'? 1311 | srcstream = php_stream_memory_open(TEMP_STREAM_READONLY, Z_STRVAL_P(filename), Z_STRLEN_P(filename)); | ^~~~~~~~~~~~~~~~~~~~~~ | _php_stream_memory_open /home/pbulk/build/mail/php-mailparse/work/mailparse-3.1.1/mailparse.c:1345:61: error: macro "php_stream_memory_get_buffer" passed 2 arguments, but takes just 1 1345 | membuf = php_stream_memory_get_buffer(deststream, &memlen); | ^ In file included from /home/pbulk/build/mail/php-mailparse/work/.buildlink/include/php/main/php.h:418, from /home/pbulk/build/mail/php-mailparse/work/mailparse-3.1.1/mailparse.c:21: /home/pbulk/build/mail/php-mailparse/work/.buildlink/include/php/main/php_memory_streams.h:32: note: macro "php_stream_memory_get_buffer" defined here 32 | #define php_stream_memory_get_buffer(stream) _php_stream_memory_get_buffer((stream) STREAMS_CC) | /home/pbulk/build/mail/php-mailparse/work/mailparse-3.1.1/mailparse.c:1345:13: error: 'php_stream_memory_get_buffer' undeclared (first use in this function); did you mean '_php_stream_memory_get_buffer'? 1345 | membuf = php_stream_memory_get_buffer(deststream, &memlen); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | _php_stream_memory_get_buffer *** [mailparse.lo] Error code 1 bmake: stopped in /home/pbulk/build/mail/php-mailparse/work/mailparse-3.1.1 1 error bmake: stopped in /home/pbulk/build/mail/php-mailparse/work/mailparse-3.1.1 *** Error code 2 Stop. bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-2021Q4-x86_64/mail/php-mailparse *** Error code 1 Stop. bmake: stopped in /data/jenkins/workspace/pkgsrc-2021Q4-x86_64/mail/php-mailparse