=> Bootstrap dependency digest>=20010302: found digest-20190127
===> Skipping vulnerability checks.
WARNING: No /var/db/pkg/pkg-vulnerabilities file found.
WARNING: To fix run: `/usr/sbin/pkg_admin -K /var/db/pkg fetch-pkg-vulnerabilities'.
===> Building for php80-ssh2-1.2
/bin/cp /tree/pkgsrc/security/php-ssh2/../../lang/php/ext.ini /work/security/php-ssh2/work/ssh2-1.2/ssh2.ini
--- ssh2.lo ---
--- ssh2_fopen_wrappers.lo ---
--- ssh2_sftp.lo ---
--- ssh2.lo ---
/bin/sh /work/security/php-ssh2/work/ssh2-1.2/libtool --mode=compile gcc -I. -I/work/security/php-ssh2/work/ssh2-1.2 -I/work/security/php-ssh2/work/ssh2-1.2/include -I/work/security/php-ssh2/work/ssh2-1.2/main -I/work/security/php-ssh2/work/ssh2-1.2 -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 /work/security/php-ssh2/work/ssh2-1.2/ssh2.c -o ssh2.lo
--- ssh2_fopen_wrappers.lo ---
/bin/sh /work/security/php-ssh2/work/ssh2-1.2/libtool --mode=compile gcc -I. -I/work/security/php-ssh2/work/ssh2-1.2 -I/work/security/php-ssh2/work/ssh2-1.2/include -I/work/security/php-ssh2/work/ssh2-1.2/main -I/work/security/php-ssh2/work/ssh2-1.2 -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 /work/security/php-ssh2/work/ssh2-1.2/ssh2_fopen_wrappers.c -o ssh2_fopen_wrappers.lo
--- ssh2_sftp.lo ---
/bin/sh /work/security/php-ssh2/work/ssh2-1.2/libtool --mode=compile gcc -I. -I/work/security/php-ssh2/work/ssh2-1.2 -I/work/security/php-ssh2/work/ssh2-1.2/include -I/work/security/php-ssh2/work/ssh2-1.2/main -I/work/security/php-ssh2/work/ssh2-1.2 -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 /work/security/php-ssh2/work/ssh2-1.2/ssh2_sftp.c -o ssh2_sftp.lo
--- ssh2_fopen_wrappers.lo ---
libtool: compile:  gcc -I. -I/work/security/php-ssh2/work/ssh2-1.2 -I/work/security/php-ssh2/work/ssh2-1.2/include -I/work/security/php-ssh2/work/ssh2-1.2/main -I/work/security/php-ssh2/work/.buildlink/include/php -I/work/security/php-ssh2/work/.buildlink/include/php/main -I/work/security/php-ssh2/work/.buildlink/include/php/TSRM -I/work/security/php-ssh2/work/.buildlink/include/php/Zend -I/work/security/php-ssh2/work/.buildlink/include/php/ext -I/work/security/php-ssh2/work/.buildlink/include/php/ext/date/lib -I/work/security/php-ssh2/work/.buildlink/include -DHAVE_CONFIG_H -O2 -D_FORTIFY_SOURCE=2 -c /work/security/php-ssh2/work/ssh2-1.2/ssh2_fopen_wrappers.c  -fPIC -DPIC -o .libs/ssh2_fopen_wrappers.o
--- ssh2.lo ---
libtool: compile:  gcc -I. -I/work/security/php-ssh2/work/ssh2-1.2 -I/work/security/php-ssh2/work/ssh2-1.2/include -I/work/security/php-ssh2/work/ssh2-1.2/main -I/work/security/php-ssh2/work/.buildlink/include/php -I/work/security/php-ssh2/work/.buildlink/include/php/main -I/work/security/php-ssh2/work/.buildlink/include/php/TSRM -I/work/security/php-ssh2/work/.buildlink/include/php/Zend -I/work/security/php-ssh2/work/.buildlink/include/php/ext -I/work/security/php-ssh2/work/.buildlink/include/php/ext/date/lib -I/work/security/php-ssh2/work/.buildlink/include -DHAVE_CONFIG_H -O2 -D_FORTIFY_SOURCE=2 -c /work/security/php-ssh2/work/ssh2-1.2/ssh2.c  -fPIC -DPIC -o .libs/ssh2.o
--- ssh2_sftp.lo ---
libtool: compile:  gcc -I. -I/work/security/php-ssh2/work/ssh2-1.2 -I/work/security/php-ssh2/work/ssh2-1.2/include -I/work/security/php-ssh2/work/ssh2-1.2/main -I/work/security/php-ssh2/work/.buildlink/include/php -I/work/security/php-ssh2/work/.buildlink/include/php/main -I/work/security/php-ssh2/work/.buildlink/include/php/TSRM -I/work/security/php-ssh2/work/.buildlink/include/php/Zend -I/work/security/php-ssh2/work/.buildlink/include/php/ext -I/work/security/php-ssh2/work/.buildlink/include/php/ext/date/lib -I/work/security/php-ssh2/work/.buildlink/include -DHAVE_CONFIG_H -O2 -D_FORTIFY_SOURCE=2 -c /work/security/php-ssh2/work/ssh2-1.2/ssh2_sftp.c  -fPIC -DPIC -o .libs/ssh2_sftp.o
/work/security/php-ssh2/work/ssh2-1.2/ssh2_sftp.c:203:2: warning: initialization from incompatible pointer type [-Wincompatible-pointer-types]
  php_ssh2_sftp_stream_write,
  ^
/work/security/php-ssh2/work/ssh2-1.2/ssh2_sftp.c:203:2: note: (near initialization for 'php_ssh2_sftp_stream_ops.write')
/work/security/php-ssh2/work/ssh2-1.2/ssh2_sftp.c:204:2: warning: initialization from incompatible pointer type [-Wincompatible-pointer-types]
  php_ssh2_sftp_stream_read,
  ^
/work/security/php-ssh2/work/ssh2-1.2/ssh2_sftp.c:204:2: note: (near initialization for 'php_ssh2_sftp_stream_ops.read')
/work/security/php-ssh2/work/ssh2-1.2/ssh2_sftp.c:309:2: warning: initialization from incompatible pointer type [-Wincompatible-pointer-types]
  php_ssh2_sftp_dirstream_read,
  ^
/work/security/php-ssh2/work/ssh2-1.2/ssh2_sftp.c:309:2: note: (near initialization for 'php_ssh2_sftp_dirstream_ops.read')
--- ssh2.lo ---
/work/security/php-ssh2/work/ssh2-1.2/ssh2.c:49:2: warning: implicit declaration of function 'ZEND_ARG_PASS_INFO' [-Wimplicit-function-declaration]
  ZEND_ARG_PASS_INFO(1)
  ^
/work/security/php-ssh2/work/ssh2-1.2/ssh2.c:49:2: error: initializer element is not constant
/work/security/php-ssh2/work/ssh2-1.2/ssh2.c:49:2: note: (near initialization for 'php_ssh2_first_arg_force_ref[1].name')
--- ssh2_fopen_wrappers.lo ---
/work/security/php-ssh2/work/ssh2-1.2/ssh2_fopen_wrappers.c:184:2: warning: initialization from incompatible pointer type [-Wincompatible-pointer-types]
  php_ssh2_channel_stream_write,
  ^
/work/security/php-ssh2/work/ssh2-1.2/ssh2_fopen_wrappers.c:184:2: note: (near initialization for 'php_ssh2_channel_stream_ops.write')
/work/security/php-ssh2/work/ssh2-1.2/ssh2_fopen_wrappers.c:185:2: warning: initialization from incompatible pointer type [-Wincompatible-pointer-types]
  php_ssh2_channel_stream_read,
  ^
/work/security/php-ssh2/work/ssh2-1.2/ssh2_fopen_wrappers.c:185:2: note: (near initialization for 'php_ssh2_channel_stream_ops.read')
--- ssh2.lo ---
/work/security/php-ssh2/work/ssh2-1.2/ssh2.c: In function 'php_ssh2_debug_cb':
/work/security/php-ssh2/work/ssh2-1.2/ssh2.c:103:17: warning: implicit declaration of function 'call_user_function_ex' [-Wimplicit-function-declaration]
  if (FAILURE == call_user_function_ex(NULL, NULL, data->disconnect_cb, NULL, 3, args, 0, NULL)) {
                 ^
/work/security/php-ssh2/work/ssh2-1.2/ssh2.c: In function 'zif_ssh2_disconnect':
/work/security/php-ssh2/work/ssh2-1.2/ssh2.c:443:6: error: void value not ignored as it ought to be
  if (zend_list_close(Z_RES_P(zsession)) != SUCCESS) {
      ^
/work/security/php-ssh2/work/ssh2-1.2/ssh2.c:443:41: error: invalid operands to binary != (have 'const zend_internal_arg_info[1] {aka const struct _zend_internal_arg_info[1]}' and 'int')
  if (zend_list_close(Z_RES_P(zsession)) != SUCCESS) {
                                         ^
*** [ssh2.lo] Error code 1

make: stopped in /work/security/php-ssh2/work/ssh2-1.2
--- ssh2_sftp.lo ---
libtool: compile:  gcc -I. -I/work/security/php-ssh2/work/ssh2-1.2 -I/work/security/php-ssh2/work/ssh2-1.2/include -I/work/security/php-ssh2/work/ssh2-1.2/main -I/work/security/php-ssh2/work/.buildlink/include/php -I/work/security/php-ssh2/work/.buildlink/include/php/main -I/work/security/php-ssh2/work/.buildlink/include/php/TSRM -I/work/security/php-ssh2/work/.buildlink/include/php/Zend -I/work/security/php-ssh2/work/.buildlink/include/php/ext -I/work/security/php-ssh2/work/.buildlink/include/php/ext/date/lib -I/work/security/php-ssh2/work/.buildlink/include -DHAVE_CONFIG_H -O2 -D_FORTIFY_SOURCE=2 -c /work/security/php-ssh2/work/ssh2-1.2/ssh2_sftp.c -o ssh2_sftp.o >/dev/null 2>&1
--- ssh2_fopen_wrappers.lo ---
libtool: compile:  gcc -I. -I/work/security/php-ssh2/work/ssh2-1.2 -I/work/security/php-ssh2/work/ssh2-1.2/include -I/work/security/php-ssh2/work/ssh2-1.2/main -I/work/security/php-ssh2/work/.buildlink/include/php -I/work/security/php-ssh2/work/.buildlink/include/php/main -I/work/security/php-ssh2/work/.buildlink/include/php/TSRM -I/work/security/php-ssh2/work/.buildlink/include/php/Zend -I/work/security/php-ssh2/work/.buildlink/include/php/ext -I/work/security/php-ssh2/work/.buildlink/include/php/ext/date/lib -I/work/security/php-ssh2/work/.buildlink/include -DHAVE_CONFIG_H -O2 -D_FORTIFY_SOURCE=2 -c /work/security/php-ssh2/work/ssh2-1.2/ssh2_fopen_wrappers.c -o ssh2_fopen_wrappers.o >/dev/null 2>&1
1 error

make: stopped in /work/security/php-ssh2/work/ssh2-1.2
*** Error code 2

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

Stop.
make: stopped in /tree/pkgsrc/security/php-ssh2