+ case "${usergroup_phase}" in
+ local run_cmd
+ run_cmd=run_su
+ shift
+ run_su /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent PHP_VERSION_REQD=56 WRKLOG=/tmp/bulklog/php56-5.6.40nb1/work.log
+ su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent PHP_VERSION_REQD=56 WRKLOG=/tmp/bulklog/php56-5.6.40nb1/work.log
===> Building for php56-5.6.40nb1
/usr/bin/bash /home/pbulk/build/lang/php56/work/php-5.6.40/libtool --silent --preserve-dup-deps --mode=compile gcc -Iext/date/lib -D HAVE_TIMELIB_CONFIG_H=1 -Iext/date/ -I/home/pbulk/build/lang/php56/work/php-5.6.40/ext/date/ -DPHP_ATOM_INC -I/home/pbulk/build/lang/php56/work/php-5.6.40/include -I/home/pbulk/build/lang/php56/work/php-5.6.40/main -I/home/pbulk/build/lang/php56/work/php-5.6.40 -I/home/pbulk/build/lang/php56/work/php-5.6.40/ext/date/lib -I/opt/pkg/include/libxml2 -I/opt/pkg/include -I/home/pbulk/build/lang/php56/work/php-5.6.40/TSRM -I/home/pbulk/build/lang/php56/work/php-5.6.40/Zend  -I/opt/pkg/include/libxml2 -I/opt/pkg/include -I/usr/include -D_POSIX_PTHREAD_SEMANTICS  -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/libxml2 -I/opt/pkg/include -I/usr/include -fvisibility=hidden  -c /home/pbulk/build/lang/php56/work/php-5.6.40/ext/date/php_date.c -o ext/date/php_date.lo 
/usr/bin/bash /home/pbulk/build/lang/php56/work/php-5.6.40/libtool --silent --preserve-dup-deps --mode=compile gcc -Iext/date/lib -D HAVE_TIMELIB_CONFIG_H=1 -Iext/date/ -I/home/pbulk/build/lang/php56/work/php-5.6.40/ext/date/ -DPHP_ATOM_INC -I/home/pbulk/build/lang/php56/work/php-5.6.40/include -I/home/pbulk/build/lang/php56/work/php-5.6.40/main -I/home/pbulk/build/lang/php56/work/php-5.6.40 -I/home/pbulk/build/lang/php56/work/php-5.6.40/ext/date/lib -I/opt/pkg/include/libxml2 -I/opt/pkg/include -I/home/pbulk/build/lang/php56/work/php-5.6.40/TSRM -I/home/pbulk/build/lang/php56/work/php-5.6.40/Zend  -I/opt/pkg/include/libxml2 -I/opt/pkg/include -I/usr/include -D_POSIX_PTHREAD_SEMANTICS  -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/libxml2 -I/opt/pkg/include -I/usr/include -fvisibility=hidden  -c /home/pbulk/build/lang/php56/work/php-5.6.40/ext/date/lib/astro.c -o ext/date/lib/astro.lo 
/usr/bin/bash /home/pbulk/build/lang/php56/work/php-5.6.40/libtool --silent --preserve-dup-deps --mode=compile gcc -Iext/date/lib -D HAVE_TIMELIB_CONFIG_H=1 -Iext/date/ -I/home/pbulk/build/lang/php56/work/php-5.6.40/ext/date/ -DPHP_ATOM_INC -I/home/pbulk/build/lang/php56/work/php-5.6.40/include -I/home/pbulk/build/lang/php56/work/php-5.6.40/main -I/home/pbulk/build/lang/php56/work/php-5.6.40 -I/home/pbulk/build/lang/php56/work/php-5.6.40/ext/date/lib -I/opt/pkg/include/libxml2 -I/opt/pkg/include -I/home/pbulk/build/lang/php56/work/php-5.6.40/TSRM -I/home/pbulk/build/lang/php56/work/php-5.6.40/Zend  -I/opt/pkg/include/libxml2 -I/opt/pkg/include -I/usr/include -D_POSIX_PTHREAD_SEMANTICS  -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/libxml2 -I/opt/pkg/include -I/usr/include -fvisibility=hidden  -c /home/pbulk/build/lang/php56/work/php-5.6.40/ext/date/lib/dow.c -o ext/date/lib/dow.lo 
/usr/bin/bash /home/pbulk/build/lang/php56/work/php-5.6.40/libtool --silent --preserve-dup-deps --mode=compile gcc -Iext/date/lib -D HAVE_TIMELIB_CONFIG_H=1 -Iext/date/ -I/home/pbulk/build/lang/php56/work/php-5.6.40/ext/date/ -DPHP_ATOM_INC -I/home/pbulk/build/lang/php56/work/php-5.6.40/include -I/home/pbulk/build/lang/php56/work/php-5.6.40/main -I/home/pbulk/build/lang/php56/work/php-5.6.40 -I/home/pbulk/build/lang/php56/work/php-5.6.40/ext/date/lib -I/opt/pkg/include/libxml2 -I/opt/pkg/include -I/home/pbulk/build/lang/php56/work/php-5.6.40/TSRM -I/home/pbulk/build/lang/php56/work/php-5.6.40/Zend  -I/opt/pkg/include/libxml2 -I/opt/pkg/include -I/usr/include -D_POSIX_PTHREAD_SEMANTICS  -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/libxml2 -I/opt/pkg/include -I/usr/include -fvisibility=hidden  -c /home/pbulk/build/lang/php56/work/php-5.6.40/ext/date/lib/parse_date.c -o ext/date/lib/parse_date.lo 
/usr/bin/bash /home/pbulk/build/lang/php56/work/php-5.6.40/libtool --silent --preserve-dup-deps --mode=compile gcc -Iext/date/lib -D HAVE_TIMELIB_CONFIG_H=1 -Iext/date/ -I/home/pbulk/build/lang/php56/work/php-5.6.40/ext/date/ -DPHP_ATOM_INC -I/home/pbulk/build/lang/php56/work/php-5.6.40/include -I/home/pbulk/build/lang/php56/work/php-5.6.40/main -I/home/pbulk/build/lang/php56/work/php-5.6.40 -I/home/pbulk/build/lang/php56/work/php-5.6.40/ext/date/lib -I/opt/pkg/include/libxml2 -I/opt/pkg/include -I/home/pbulk/build/lang/php56/work/php-5.6.40/TSRM -I/home/pbulk/build/lang/php56/work/php-5.6.40/Zend  -I/opt/pkg/include/libxml2 -I/opt/pkg/include -I/usr/include -D_POSIX_PTHREAD_SEMANTICS  -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/libxml2 -I/opt/pkg/include -I/usr/include -fvisibility=hidden  -c /home/pbulk/build/lang/php56/work/php-5.6.40/ext/date/lib/parse_tz.c -o ext/date/lib/parse_tz.lo 
/usr/bin/bash /home/pbulk/build/lang/php56/work/php-5.6.40/libtool --silent --preserve-dup-deps --mode=compile gcc -Iext/date/lib -D HAVE_TIMELIB_CONFIG_H=1 -Iext/date/ -I/home/pbulk/build/lang/php56/work/php-5.6.40/ext/date/ -DPHP_ATOM_INC -I/home/pbulk/build/lang/php56/work/php-5.6.40/include -I/home/pbulk/build/lang/php56/work/php-5.6.40/main -I/home/pbulk/build/lang/php56/work/php-5.6.40 -I/home/pbulk/build/lang/php56/work/php-5.6.40/ext/date/lib -I/opt/pkg/include/libxml2 -I/opt/pkg/include -I/home/pbulk/build/lang/php56/work/php-5.6.40/TSRM -I/home/pbulk/build/lang/php56/work/php-5.6.40/Zend  -I/opt/pkg/include/libxml2 -I/opt/pkg/include -I/usr/include -D_POSIX_PTHREAD_SEMANTICS  -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/libxml2 -I/opt/pkg/include -I/usr/include -fvisibility=hidden  -c /home/pbulk/build/lang/php56/work/php-5.6.40/ext/date/lib/timelib.c -o ext/date/lib/timelib.lo 
/usr/bin/bash /home/pbulk/build/lang/php56/work/php-5.6.40/libtool --silent --preserve-dup-deps --mode=compile gcc -Iext/date/lib -D HAVE_TIMELIB_CONFIG_H=1 -Iext/date/ -I/home/pbulk/build/lang/php56/work/php-5.6.40/ext/date/ -DPHP_ATOM_INC -I/home/pbulk/build/lang/php56/work/php-5.6.40/include -I/home/pbulk/build/lang/php56/work/php-5.6.40/main -I/home/pbulk/build/lang/php56/work/php-5.6.40 -I/home/pbulk/build/lang/php56/work/php-5.6.40/ext/date/lib -I/opt/pkg/include/libxml2 -I/opt/pkg/include -I/home/pbulk/build/lang/php56/work/php-5.6.40/TSRM -I/home/pbulk/build/lang/php56/work/php-5.6.40/Zend  -I/opt/pkg/include/libxml2 -I/opt/pkg/include -I/usr/include -D_POSIX_PTHREAD_SEMANTICS  -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/libxml2 -I/opt/pkg/include -I/usr/include -fvisibility=hidden  -c /home/pbulk/build/lang/php56/work/php-5.6.40/ext/date/lib/tm2unixtime.c -o ext/date/lib/tm2unixtime.lo 
/usr/bin/bash /home/pbulk/build/lang/php56/work/php-5.6.40/libtool --silent --preserve-dup-deps --mode=compile gcc -Iext/date/lib -D HAVE_TIMELIB_CONFIG_H=1 -Iext/date/ -I/home/pbulk/build/lang/php56/work/php-5.6.40/ext/date/ -DPHP_ATOM_INC -I/home/pbulk/build/lang/php56/work/php-5.6.40/include -I/home/pbulk/build/lang/php56/work/php-5.6.40/main -I/home/pbulk/build/lang/php56/work/php-5.6.40 -I/home/pbulk/build/lang/php56/work/php-5.6.40/ext/date/lib -I/opt/pkg/include/libxml2 -I/opt/pkg/include -I/home/pbulk/build/lang/php56/work/php-5.6.40/TSRM -I/home/pbulk/build/lang/php56/work/php-5.6.40/Zend  -I/opt/pkg/include/libxml2 -I/opt/pkg/include -I/usr/include -D_POSIX_PTHREAD_SEMANTICS  -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/libxml2 -I/opt/pkg/include -I/usr/include -fvisibility=hidden  -c /home/pbulk/build/lang/php56/work/php-5.6.40/ext/date/lib/unixtime2tm.c -o ext/date/lib/unixtime2tm.lo 
/usr/bin/bash /home/pbulk/build/lang/php56/work/php-5.6.40/libtool --silent --preserve-dup-deps --mode=compile gcc -Iext/date/lib -D HAVE_TIMELIB_CONFIG_H=1 -Iext/date/ -I/home/pbulk/build/lang/php56/work/php-5.6.40/ext/date/ -DPHP_ATOM_INC -I/home/pbulk/build/lang/php56/work/php-5.6.40/include -I/home/pbulk/build/lang/php56/work/php-5.6.40/main -I/home/pbulk/build/lang/php56/work/php-5.6.40 -I/home/pbulk/build/lang/php56/work/php-5.6.40/ext/date/lib -I/opt/pkg/include/libxml2 -I/opt/pkg/include -I/home/pbulk/build/lang/php56/work/php-5.6.40/TSRM -I/home/pbulk/build/lang/php56/work/php-5.6.40/Zend  -I/opt/pkg/include/libxml2 -I/opt/pkg/include -I/usr/include -D_POSIX_PTHREAD_SEMANTICS  -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/libxml2 -I/opt/pkg/include -I/usr/include -fvisibility=hidden  -c /home/pbulk/build/lang/php56/work/php-5.6.40/ext/date/lib/parse_iso_intervals.c -o ext/date/lib/parse_iso_intervals.lo 
/usr/bin/bash /home/pbulk/build/lang/php56/work/php-5.6.40/libtool --silent --preserve-dup-deps --mode=compile gcc -Iext/date/lib -D HAVE_TIMELIB_CONFIG_H=1 -Iext/date/ -I/home/pbulk/build/lang/php56/work/php-5.6.40/ext/date/ -DPHP_ATOM_INC -I/home/pbulk/build/lang/php56/work/php-5.6.40/include -I/home/pbulk/build/lang/php56/work/php-5.6.40/main -I/home/pbulk/build/lang/php56/work/php-5.6.40 -I/home/pbulk/build/lang/php56/work/php-5.6.40/ext/date/lib -I/opt/pkg/include/libxml2 -I/opt/pkg/include -I/home/pbulk/build/lang/php56/work/php-5.6.40/TSRM -I/home/pbulk/build/lang/php56/work/php-5.6.40/Zend  -I/opt/pkg/include/libxml2 -I/opt/pkg/include -I/usr/include -D_POSIX_PTHREAD_SEMANTICS  -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/libxml2 -I/opt/pkg/include -I/usr/include -fvisibility=hidden  -c /home/pbulk/build/lang/php56/work/php-5.6.40/ext/date/lib/interval.c -o ext/date/lib/interval.lo 
/usr/bin/bash /home/pbulk/build/lang/php56/work/php-5.6.40/libtool --silent --preserve-dup-deps --mode=compile gcc  -Iext/ereg/ -I/home/pbulk/build/lang/php56/work/php-5.6.40/ext/ereg/ -DPHP_ATOM_INC -I/home/pbulk/build/lang/php56/work/php-5.6.40/include -I/home/pbulk/build/lang/php56/work/php-5.6.40/main -I/home/pbulk/build/lang/php56/work/php-5.6.40 -I/home/pbulk/build/lang/php56/work/php-5.6.40/ext/date/lib -I/opt/pkg/include/libxml2 -I/opt/pkg/include -I/home/pbulk/build/lang/php56/work/php-5.6.40/TSRM -I/home/pbulk/build/lang/php56/work/php-5.6.40/Zend  -I/opt/pkg/include/libxml2 -I/opt/pkg/include -I/usr/include -D_POSIX_PTHREAD_SEMANTICS  -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/libxml2 -I/opt/pkg/include -I/usr/include -fvisibility=hidden  -c /home/pbulk/build/lang/php56/work/php-5.6.40/ext/ereg/ereg.c -o ext/ereg/ereg.lo 
/usr/bin/bash /home/pbulk/build/lang/php56/work/php-5.6.40/libtool --silent --preserve-dup-deps --mode=compile gcc  -Iext/libxml/ -I/home/pbulk/build/lang/php56/work/php-5.6.40/ext/libxml/ -DPHP_ATOM_INC -I/home/pbulk/build/lang/php56/work/php-5.6.40/include -I/home/pbulk/build/lang/php56/work/php-5.6.40/main -I/home/pbulk/build/lang/php56/work/php-5.6.40 -I/home/pbulk/build/lang/php56/work/php-5.6.40/ext/date/lib -I/opt/pkg/include/libxml2 -I/opt/pkg/include -I/home/pbulk/build/lang/php56/work/php-5.6.40/TSRM -I/home/pbulk/build/lang/php56/work/php-5.6.40/Zend  -I/opt/pkg/include/libxml2 -I/opt/pkg/include -I/usr/include -D_POSIX_PTHREAD_SEMANTICS  -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/libxml2 -I/opt/pkg/include -I/usr/include -fvisibility=hidden  -c /home/pbulk/build/lang/php56/work/php-5.6.40/ext/libxml/libxml.c -o ext/libxml/libxml.lo 
/usr/bin/bash /home/pbulk/build/lang/php56/work/php-5.6.40/libtool --silent --preserve-dup-deps --mode=compile gcc  -Iext/openssl/ -I/home/pbulk/build/lang/php56/work/php-5.6.40/ext/openssl/ -DPHP_ATOM_INC -I/home/pbulk/build/lang/php56/work/php-5.6.40/include -I/home/pbulk/build/lang/php56/work/php-5.6.40/main -I/home/pbulk/build/lang/php56/work/php-5.6.40 -I/home/pbulk/build/lang/php56/work/php-5.6.40/ext/date/lib -I/opt/pkg/include/libxml2 -I/opt/pkg/include -I/home/pbulk/build/lang/php56/work/php-5.6.40/TSRM -I/home/pbulk/build/lang/php56/work/php-5.6.40/Zend  -I/opt/pkg/include/libxml2 -I/opt/pkg/include -I/usr/include -D_POSIX_PTHREAD_SEMANTICS  -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/libxml2 -I/opt/pkg/include -I/usr/include -fvisibility=hidden  -c /home/pbulk/build/lang/php56/work/php-5.6.40/ext/openssl/openssl.c -o ext/openssl/openssl.lo 
/home/pbulk/build/lang/php56/work/php-5.6.40/ext/libxml/libxml.c:424:47: error: expected ';', ',' or ')' before 'ATTRIBUTE_UNUSED'
  424 |                               int compression ATTRIBUTE_UNUSED)
      |                                               ^~~~~~~~~~~~~~~~
/home/pbulk/build/lang/php56/work/php-5.6.40/ext/libxml/libxml.c: In function 'php_libxml_shutdown':
/home/pbulk/build/lang/php56/work/php-5.6.40/ext/libxml/libxml.c:766:17: warning: 'xmlRelaxNGCleanupTypes' is deprecated [-Wdeprecated-declarations]
  766 |                 xmlRelaxNGCleanupTypes();
      |                 ^~~~~~~~~~~~~~~~~~~~~~
In file included from /home/pbulk/build/lang/php56/work/php-5.6.40/ext/libxml/libxml.c:46:
/home/pbulk/build/lang/php56/work/.buildlink/include/libxml2/libxml/relaxng.h:125:21: note: declared here
  125 |                     xmlRelaxNGCleanupTypes      (void);
      |                     ^~~~~~~~~~~~~~~~~~~~~~
/home/pbulk/build/lang/php56/work/php-5.6.40/ext/libxml/libxml.c: In function 'zm_startup_libxml':
/home/pbulk/build/lang/php56/work/php-5.6.40/ext/libxml/libxml.c:862:54: error: 'php_libxml_output_buffer_create_filename' undeclared (first use in this function); did you mean 'php_libxml_input_buffer_create_filename'?
  862 |                 xmlOutputBufferCreateFilenameDefault(php_libxml_output_buffer_create_filename);
      |                                                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                                                      php_libxml_input_buffer_create_filename
/home/pbulk/build/lang/php56/work/php-5.6.40/ext/libxml/libxml.c:862:54: note: each undeclared identifier is reported only once for each function it appears in
/home/pbulk/build/lang/php56/work/php-5.6.40/ext/libxml/libxml.c: In function 'zm_activate_libxml':
/home/pbulk/build/lang/php56/work/php-5.6.40/ext/libxml/libxml.c:875:54: error: 'php_libxml_output_buffer_create_filename' undeclared (first use in this function); did you mean 'php_libxml_input_buffer_create_filename'?
  875 |                 xmlOutputBufferCreateFilenameDefault(php_libxml_output_buffer_create_filename);
      |                                                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                                                      php_libxml_input_buffer_create_filename
/home/pbulk/build/lang/php56/work/php-5.6.40/ext/libxml/libxml.c: In function 'zif_libxml_use_internal_errors':
/home/pbulk/build/lang/php56/work/php-5.6.40/ext/libxml/libxml.c:972:48: warning: comparison of distinct pointer types lacks a cast
  972 |         if (current_handler && current_handler == php_libxml_structured_error_handler) {
      |                                                ^~
/home/pbulk/build/lang/php56/work/php-5.6.40/ext/libxml/libxml.c:990:49: warning: passing argument 2 of 'xmlSetStructuredErrorFunc' from incompatible pointer type [-Wincompatible-pointer-types]
  990 |                 xmlSetStructuredErrorFunc(NULL, php_libxml_structured_error_handler);
      |                                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                                                 |
      |                                                 void (*)(void *, xmlError *) {aka void (*)(void *, struct _xmlError *)}
In file included from /home/pbulk/build/lang/php56/work/.buildlink/include/libxml2/libxml/valid.h:16,
                 from /home/pbulk/build/lang/php56/work/.buildlink/include/libxml2/libxml/parser.h:20,
                 from /home/pbulk/build/lang/php56/work/php-5.6.40/ext/libxml/libxml.c:39:
/home/pbulk/build/lang/php56/work/.buildlink/include/libxml2/libxml/xmlerror.h:904:57: note: expected 'xmlStructuredErrorFunc' {aka 'void (*)(void *, const struct _xmlError *)'} but argument is of type 'void (*)(void *, xmlError *)' {aka 'void (*)(void *, struct _xmlError *)'}
  904 |                                  xmlStructuredErrorFunc handler);
      |                                  ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
/home/pbulk/build/lang/php56/work/php-5.6.40/ext/libxml/libxml.c: In function 'zif_libxml_get_last_error':
/home/pbulk/build/lang/php56/work/php-5.6.40/ext/libxml/libxml.c:1006:15: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
 1006 |         error = xmlGetLastError();
      |               ^
gmake: *** [Makefile:439: ext/libxml/libxml.lo] Error 1
gmake: *** Waiting for unfinished jobs....
/home/pbulk/build/lang/php56/work/php-5.6.40/ext/openssl/openssl.c: In function 'add_assoc_name_entry':
/home/pbulk/build/lang/php56/work/php-5.6.40/ext/openssl/openssl.c:797:25: warning: 'ASN1_STRING_data' is deprecated: Since OpenSSL 1.1.0 [-Wdeprecated-declarations]
  797 |                         to_add = ASN1_STRING_data(str);
      |                         ^~~~~~
In file included from /home/pbulk/build/lang/php56/work/.buildlink/include/openssl/objects.h:21,
                 from /home/pbulk/build/lang/php56/work/.buildlink/include/openssl/evp.h:44,
                 from /home/pbulk/build/lang/php56/work/php-5.6.40/ext/openssl/openssl.c:44:
/home/pbulk/build/lang/php56/work/.buildlink/include/openssl/asn1.h:683:40: note: declared here
  683 | OSSL_DEPRECATEDIN_1_1_0 unsigned char *ASN1_STRING_data(ASN1_STRING *x);
      |                                        ^~~~~~~~~~~~~~~~
/home/pbulk/build/lang/php56/work/php-5.6.40/ext/openssl/openssl.c: In function 'asn1_time_to_time_t':
/home/pbulk/build/lang/php56/work/php-5.6.40/ext/openssl/openssl.c:850:9: warning: 'ASN1_STRING_data' is deprecated: Since OpenSSL 1.1.0 [-Wdeprecated-declarations]
  850 |         if (ASN1_STRING_length(timestr) != strlen((const char*)ASN1_STRING_data(timestr))) {
      |         ^~
/home/pbulk/build/lang/php56/work/.buildlink/include/openssl/asn1.h:683:40: note: declared here
  683 | OSSL_DEPRECATEDIN_1_1_0 unsigned char *ASN1_STRING_data(ASN1_STRING *x);
      |                                        ^~~~~~~~~~~~~~~~
/home/pbulk/build/lang/php56/work/php-5.6.40/ext/openssl/openssl.c:865:9: warning: 'ASN1_STRING_data' is deprecated: Since OpenSSL 1.1.0 [-Wdeprecated-declarations]
  865 |         strbuf = estrdup((char *)ASN1_STRING_data(timestr));
      |         ^~~~~~
/home/pbulk/build/lang/php56/work/.buildlink/include/openssl/asn1.h:683:40: note: declared here
  683 | OSSL_DEPRECATEDIN_1_1_0 unsigned char *ASN1_STRING_data(ASN1_STRING *x);
      |                                        ^~~~~~~~~~~~~~~~
/home/pbulk/build/lang/php56/work/php-5.6.40/ext/openssl/openssl.c: In function 'zif_openssl_spki_export_challenge':
/home/pbulk/build/lang/php56/work/php-5.6.40/ext/openssl/openssl.c:1875:9: warning: 'ASN1_STRING_data' is deprecated: Since OpenSSL 1.1.0 [-Wdeprecated-declarations]
 1875 |         RETVAL_STRING((char *) ASN1_STRING_data(spki->spkac->challenge), 1);
      |         ^~~~~~~~~~~~~
/home/pbulk/build/lang/php56/work/.buildlink/include/openssl/asn1.h:683:40: note: declared here
  683 | OSSL_DEPRECATEDIN_1_1_0 unsigned char *ASN1_STRING_data(ASN1_STRING *x);
      |                                        ^~~~~~~~~~~~~~~~
/home/pbulk/build/lang/php56/work/php-5.6.40/ext/openssl/openssl.c: In function 'openssl_x509v3_subjectAltName':
/home/pbulk/build/lang/php56/work/php-5.6.40/ext/openssl/openssl.c:2076:41: warning: 'ASN1_STRING_data' is deprecated: Since OpenSSL 1.1.0 [-Wdeprecated-declarations]
 2076 |                                         BIO_write(bio, ASN1_STRING_data(as),
      |                                         ^~~~~~~~~
/home/pbulk/build/lang/php56/work/.buildlink/include/openssl/asn1.h:683:40: note: declared here
  683 | OSSL_DEPRECATEDIN_1_1_0 unsigned char *ASN1_STRING_data(ASN1_STRING *x);
      |                                        ^~~~~~~~~~~~~~~~
/home/pbulk/build/lang/php56/work/php-5.6.40/ext/openssl/openssl.c:2082:41: warning: 'ASN1_STRING_data' is deprecated: Since OpenSSL 1.1.0 [-Wdeprecated-declarations]
 2082 |                                         BIO_write(bio, ASN1_STRING_data(as),
      |                                         ^~~~~~~~~
/home/pbulk/build/lang/php56/work/.buildlink/include/openssl/asn1.h:683:40: note: declared here
  683 | OSSL_DEPRECATEDIN_1_1_0 unsigned char *ASN1_STRING_data(ASN1_STRING *x);
      |                                        ^~~~~~~~~~~~~~~~
/home/pbulk/build/lang/php56/work/php-5.6.40/ext/openssl/openssl.c:2088:41: warning: 'ASN1_STRING_data' is deprecated: Since OpenSSL 1.1.0 [-Wdeprecated-declarations]
 2088 |                                         BIO_write(bio, ASN1_STRING_data(as),
      |                                         ^~~~~~~~~
/home/pbulk/build/lang/php56/work/.buildlink/include/openssl/asn1.h:683:40: note: declared here
  683 | OSSL_DEPRECATEDIN_1_1_0 unsigned char *ASN1_STRING_data(ASN1_STRING *x);
      |                                        ^~~~~~~~~~~~~~~~
/home/pbulk/build/lang/php56/work/php-5.6.40/ext/openssl/openssl.c: In function 'php_openssl_generate_private_key':
/home/pbulk/build/lang/php56/work/php-5.6.40/ext/openssl/openssl.c:3587:33: warning: 'EVP_PKEY_assign' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 3587 |                                 if (EVP_PKEY_assign_RSA(req->priv_key, RSA_generate_key(req->priv_key_bits, 0x10001, NULL, NULL))) {
      |                                 ^~
/home/pbulk/build/lang/php56/work/.buildlink/include/openssl/evp.h:1345:5: note: declared here
 1345 | int EVP_PKEY_assign(EVP_PKEY *pkey, int type, void *key);
      |     ^~~~~~~~~~~~~~~
/home/pbulk/build/lang/php56/work/php-5.6.40/ext/openssl/openssl.c:3587:33: warning: 'RSA_generate_key' is deprecated: Since OpenSSL 0.9.8 [-Wdeprecated-declarations]
 3587 |                                 if (EVP_PKEY_assign_RSA(req->priv_key, RSA_generate_key(req->priv_key_bits, 0x10001, NULL, NULL))) {
      |                                 ^~
In file included from /home/pbulk/build/lang/php56/work/php-5.6.40/ext/openssl/openssl.c:47:
/home/pbulk/build/lang/php56/work/.buildlink/include/openssl/rsa.h:264:30: note: declared here
  264 | OSSL_DEPRECATEDIN_0_9_8 RSA *RSA_generate_key(int bits, unsigned long e, void
      |                              ^~~~~~~~~~~~~~~~
/home/pbulk/build/lang/php56/work/php-5.6.40/ext/openssl/openssl.c:3595:41: warning: 'DSA_generate_parameters' is deprecated: Since OpenSSL 0.9.8 [-Wdeprecated-declarations]
 3595 |                                         DSA *dsapar = DSA_generate_parameters(req->priv_key_bits, NULL, 0, NULL, NULL, NULL, NULL);
      |                                         ^~~
In file included from /home/pbulk/build/lang/php56/work/php-5.6.40/ext/openssl/openssl.c:48:
/home/pbulk/build/lang/php56/work/.buildlink/include/openssl/dsa.h:164:6: note: declared here
  164 | DSA *DSA_generate_parameters(int bits, unsigned char *seed, int seed_len,
      |      ^~~~~~~~~~~~~~~~~~~~~~~
/home/pbulk/build/lang/php56/work/php-5.6.40/ext/openssl/openssl.c:3597:49: warning: 'DSA_set_method' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 3597 |                                                 DSA_set_method(dsapar, DSA_get_default_method());
      |                                                 ^~~~~~~~~~~~~~
/home/pbulk/build/lang/php56/work/.buildlink/include/openssl/dsa.h:127:27: note: declared here
  127 | OSSL_DEPRECATEDIN_3_0 int DSA_set_method(DSA *dsa, const DSA_METHOD *);
      |                           ^~~~~~~~~~~~~~
/home/pbulk/build/lang/php56/work/php-5.6.40/ext/openssl/openssl.c:3597:49: warning: 'DSA_get_default_method' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 3597 |                                                 DSA_set_method(dsapar, DSA_get_default_method());
      |                                                 ^~~~~~~~~~~~~~
/home/pbulk/build/lang/php56/work/.buildlink/include/openssl/dsa.h:126:41: note: declared here
  126 | OSSL_DEPRECATEDIN_3_0 const DSA_METHOD *DSA_get_default_method(void);
      |                                         ^~~~~~~~~~~~~~~~~~~~~~
/home/pbulk/build/lang/php56/work/php-5.6.40/ext/openssl/openssl.c:3598:49: warning: 'DSA_generate_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 3598 |                                                 if (DSA_generate_key(dsapar)) {
      |                                                 ^~
/home/pbulk/build/lang/php56/work/.buildlink/include/openssl/dsa.h:179:27: note: declared here
  179 | OSSL_DEPRECATEDIN_3_0 int DSA_generate_key(DSA *a);
      |                           ^~~~~~~~~~~~~~~~
/home/pbulk/build/lang/php56/work/php-5.6.40/ext/openssl/openssl.c:3599:57: warning: 'EVP_PKEY_assign' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 3599 |                                                         if (EVP_PKEY_assign_DSA(req->priv_key, dsapar)) {
      |                                                         ^~
/home/pbulk/build/lang/php56/work/.buildlink/include/openssl/evp.h:1345:5: note: declared here
 1345 | int EVP_PKEY_assign(EVP_PKEY *pkey, int type, void *key);
      |     ^~~~~~~~~~~~~~~
/home/pbulk/build/lang/php56/work/php-5.6.40/ext/openssl/openssl.c:3603:57: warning: 'DSA_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 3603 |                                                         DSA_free(dsapar);
      |                                                         ^~~~~~~~
/home/pbulk/build/lang/php56/work/.buildlink/include/openssl/dsa.h:132:28: note: declared here
  132 | OSSL_DEPRECATEDIN_3_0 void DSA_free(DSA *r);
      |                            ^~~~~~~~
/home/pbulk/build/lang/php56/work/php-5.6.40/ext/openssl/openssl.c:3613:41: warning: 'DH_generate_parameters' is deprecated: Since OpenSSL 0.9.8 [-Wdeprecated-declarations]
 3613 |                                         DH *dhpar = DH_generate_parameters(req->priv_key_bits, 2, NULL, NULL);
      |                                         ^~
In file included from /home/pbulk/build/lang/php56/work/.buildlink/include/openssl/dsa.h:31:
/home/pbulk/build/lang/php56/work/.buildlink/include/openssl/dh.h:329:29: note: declared here
  329 | OSSL_DEPRECATEDIN_0_9_8 DH *DH_generate_parameters(int prime_len, int generator,
      |                             ^~~~~~~~~~~~~~~~~~~~~~
/home/pbulk/build/lang/php56/work/php-5.6.40/ext/openssl/openssl.c:3617:49: warning: 'DH_set_method' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 3617 |                                                 DH_set_method(dhpar, DH_get_default_method());
      |                                                 ^~~~~~~~~~~~~
/home/pbulk/build/lang/php56/work/.buildlink/include/openssl/dh.h:207:27: note: declared here
  207 | OSSL_DEPRECATEDIN_3_0 int DH_set_method(DH *dh, const DH_METHOD *meth);
      |                           ^~~~~~~~~~~~~
/home/pbulk/build/lang/php56/work/php-5.6.40/ext/openssl/openssl.c:3617:49: warning: 'DH_get_default_method' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 3617 |                                                 DH_set_method(dhpar, DH_get_default_method());
      |                                                 ^~~~~~~~~~~~~
/home/pbulk/build/lang/php56/work/.buildlink/include/openssl/dh.h:206:40: note: declared here
  206 | OSSL_DEPRECATEDIN_3_0 const DH_METHOD *DH_get_default_method(void);
      |                                        ^~~~~~~~~~~~~~~~~~~~~
/home/pbulk/build/lang/php56/work/php-5.6.40/ext/openssl/openssl.c:3618:49: warning: 'DH_check' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 3618 |                                                 if (DH_check(dhpar, &codes) && codes == 0 && DH_generate_key(dhpar)) {
      |                                                 ^~
/home/pbulk/build/lang/php56/work/.buildlink/include/openssl/dh.h:231:27: note: declared here
  231 | OSSL_DEPRECATEDIN_3_0 int DH_check(const DH *dh, int *codes);
      |                           ^~~~~~~~
/home/pbulk/build/lang/php56/work/php-5.6.40/ext/openssl/openssl.c:3618:49: warning: 'DH_generate_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 3618 |                                                 if (DH_check(dhpar, &codes) && codes == 0 && DH_generate_key(dhpar)) {
      |                                                 ^~
/home/pbulk/build/lang/php56/work/.buildlink/include/openssl/dh.h:234:27: note: declared here
  234 | OSSL_DEPRECATEDIN_3_0 int DH_generate_key(DH *dh);
      |                           ^~~~~~~~~~~~~~~
/home/pbulk/build/lang/php56/work/php-5.6.40/ext/openssl/openssl.c:3619:57: warning: 'EVP_PKEY_assign' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 3619 |                                                         if (EVP_PKEY_assign_DH(req->priv_key, dhpar)) {
      |                                                         ^~
/home/pbulk/build/lang/php56/work/.buildlink/include/openssl/evp.h:1345:5: note: declared here
 1345 | int EVP_PKEY_assign(EVP_PKEY *pkey, int type, void *key);
      |     ^~~~~~~~~~~~~~~
/home/pbulk/build/lang/php56/work/php-5.6.40/ext/openssl/openssl.c:3623:57: warning: 'DH_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 3623 |                                                         DH_free(dhpar);
      |                                                         ^~~~~~~
/home/pbulk/build/lang/php56/work/.buildlink/include/openssl/dh.h:211:28: note: declared here
  211 | OSSL_DEPRECATEDIN_3_0 void DH_free(DH *dh);
      |                            ^~~~~~~
/home/pbulk/build/lang/php56/work/php-5.6.40/ext/openssl/openssl.c: In function 'php_openssl_is_private_key':
/home/pbulk/build/lang/php56/work/php-5.6.40/ext/openssl/openssl.c:3657:33: warning: 'EVP_PKEY_get0_RSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 3657 |                                 RSA *rsa = EVP_PKEY_get0_RSA(pkey);
      |                                 ^~~
/home/pbulk/build/lang/php56/work/.buildlink/include/openssl/evp.h:1363:22: note: declared here
 1363 | const struct rsa_st *EVP_PKEY_get0_RSA(const EVP_PKEY *pkey);
      |                      ^~~~~~~~~~~~~~~~~
/home/pbulk/build/lang/php56/work/php-5.6.40/ext/openssl/openssl.c:3657:44: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
 3657 |                                 RSA *rsa = EVP_PKEY_get0_RSA(pkey);
      |                                            ^~~~~~~~~~~~~~~~~
/home/pbulk/build/lang/php56/work/php-5.6.40/ext/openssl/openssl.c:3661:41: warning: 'RSA_get0_factors' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 3661 |                                         RSA_get0_factors(rsa, &p, &q);
      |                                         ^~~~~~~~~~~~~~~~
/home/pbulk/build/lang/php56/work/.buildlink/include/openssl/rsa.h:231:28: note: declared here
  231 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_factors(const RSA *r,
      |                            ^~~~~~~~~~~~~~~~
/home/pbulk/build/lang/php56/work/php-5.6.40/ext/openssl/openssl.c:3676:33: warning: 'EVP_PKEY_get0_DSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 3676 |                                 DSA *dsa = EVP_PKEY_get0_DSA(pkey);
      |                                 ^~~
/home/pbulk/build/lang/php56/work/.buildlink/include/openssl/evp.h:1372:22: note: declared here
 1372 | const struct dsa_st *EVP_PKEY_get0_DSA(const EVP_PKEY *pkey);
      |                      ^~~~~~~~~~~~~~~~~
/home/pbulk/build/lang/php56/work/php-5.6.40/ext/openssl/openssl.c:3676:44: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
 3676 |                                 DSA *dsa = EVP_PKEY_get0_DSA(pkey);
      |                                            ^~~~~~~~~~~~~~~~~
/home/pbulk/build/lang/php56/work/php-5.6.40/ext/openssl/openssl.c:3680:41: warning: 'DSA_get0_pqg' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 3680 |                                         DSA_get0_pqg(dsa, &p, &q, &g);
      |                                         ^~~~~~~~~~~~
/home/pbulk/build/lang/php56/work/.buildlink/include/openssl/dsa.h:206:28: note: declared here
  206 | OSSL_DEPRECATEDIN_3_0 void DSA_get0_pqg(const DSA *d, const BIGNUM **p,
      |                            ^~~~~~~~~~~~
/home/pbulk/build/lang/php56/work/php-5.6.40/ext/openssl/openssl.c:3685:41: warning: 'DSA_get0_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 3685 |                                         DSA_get0_key(dsa, &pub_key, &priv_key);
      |                                         ^~~~~~~~~~~~
/home/pbulk/build/lang/php56/work/.buildlink/include/openssl/dsa.h:209:28: note: declared here
  209 | OSSL_DEPRECATEDIN_3_0 void DSA_get0_key(const DSA *d, const BIGNUM **pub_key,
      |                            ^~~~~~~~~~~~
/home/pbulk/build/lang/php56/work/php-5.6.40/ext/openssl/openssl.c:3696:33: warning: 'EVP_PKEY_get0_DH' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 3696 |                                 DH *dh = EVP_PKEY_get0_DH(pkey);
      |                                 ^~
/home/pbulk/build/lang/php56/work/.buildlink/include/openssl/evp.h:1380:43: note: declared here
 1380 | OSSL_DEPRECATEDIN_3_0 const struct dh_st *EVP_PKEY_get0_DH(const EVP_PKEY *pkey);
      |                                           ^~~~~~~~~~~~~~~~
/home/pbulk/build/lang/php56/work/php-5.6.40/ext/openssl/openssl.c:3696:42: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
 3696 |                                 DH *dh = EVP_PKEY_get0_DH(pkey);
      |                                          ^~~~~~~~~~~~~~~~
/home/pbulk/build/lang/php56/work/php-5.6.40/ext/openssl/openssl.c:3700:41: warning: 'DH_get0_pqg' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 3700 |                                         DH_get0_pqg(dh, &p, &q, &g);
      |                                         ^~~~~~~~~~~
/home/pbulk/build/lang/php56/work/.buildlink/include/openssl/dh.h:264:28: note: declared here
  264 | OSSL_DEPRECATEDIN_3_0 void DH_get0_pqg(const DH *dh, const BIGNUM **p,
      |                            ^~~~~~~~~~~
/home/pbulk/build/lang/php56/work/php-5.6.40/ext/openssl/openssl.c:3705:41: warning: 'DH_get0_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 3705 |                                         DH_get0_key(dh, &pub_key, &priv_key);
      |                                         ^~~~~~~~~~~
/home/pbulk/build/lang/php56/work/.buildlink/include/openssl/dh.h:267:28: note: declared here
  267 | OSSL_DEPRECATEDIN_3_0 void DH_get0_key(const DH *dh, const BIGNUM **pub_key,
      |                            ^~~~~~~~~~~
/home/pbulk/build/lang/php56/work/php-5.6.40/ext/openssl/openssl.c:3716:33: warning: 'EVP_PKEY_get0_EC_KEY' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 3716 |                                 EC_KEY *ec = EVP_PKEY_get0_EC_KEY(pkey);
      |                                 ^~~~~~
/home/pbulk/build/lang/php56/work/.buildlink/include/openssl/evp.h:1389:25: note: declared here
 1389 | const struct ec_key_st *EVP_PKEY_get0_EC_KEY(const EVP_PKEY *pkey);
      |                         ^~~~~~~~~~~~~~~~~~~~
/home/pbulk/build/lang/php56/work/php-5.6.40/ext/openssl/openssl.c:3716:46: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
 3716 |                                 EC_KEY *ec = EVP_PKEY_get0_EC_KEY(pkey);
      |                                              ^~~~~~~~~~~~~~~~~~~~
/home/pbulk/build/lang/php56/work/php-5.6.40/ext/openssl/openssl.c:3717:33: warning: 'EC_KEY_get0_private_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 3717 |                                 if (ec != NULL && NULL == EC_KEY_get0_private_key(ec)) {
      |                                 ^~
In file included from /home/pbulk/build/lang/php56/work/.buildlink/include/openssl/x509.h:33,
                 from /home/pbulk/build/lang/php56/work/php-5.6.40/ext/openssl/openssl.c:51:
/home/pbulk/build/lang/php56/work/.buildlink/include/openssl/ec.h:1067:37: note: declared here
 1067 | OSSL_DEPRECATEDIN_3_0 const BIGNUM *EC_KEY_get0_private_key(const EC_KEY *key);
      |                                     ^~~~~~~~~~~~~~~~~~~~~~~
/home/pbulk/build/lang/php56/work/php-5.6.40/ext/openssl/openssl.c: In function 'php_openssl_pkey_init_and_assign_rsa':
/home/pbulk/build/lang/php56/work/php-5.6.40/ext/openssl/openssl.c:3763:9: warning: 'RSA_set0_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 3763 |         if (!n || !d || !RSA_set0_key(rsa, n, e, d)) {
      |         ^~
/home/pbulk/build/lang/php56/work/.buildlink/include/openssl/rsa.h:218:27: note: declared here
  218 | OSSL_DEPRECATEDIN_3_0 int RSA_set0_key(RSA *r, BIGNUM *n, BIGNUM *e, BIGNUM *d);
      |                           ^~~~~~~~~~~~
/home/pbulk/build/lang/php56/work/php-5.6.40/ext/openssl/openssl.c:3769:9: warning: 'RSA_set0_factors' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 3769 |         if ((p || q) && !RSA_set0_factors(rsa, p, q)) {
      |         ^~
/home/pbulk/build/lang/php56/work/.buildlink/include/openssl/rsa.h:219:27: note: declared here
  219 | OSSL_DEPRECATEDIN_3_0 int RSA_set0_factors(RSA *r, BIGNUM *p, BIGNUM *q);
      |                           ^~~~~~~~~~~~~~~~
/home/pbulk/build/lang/php56/work/php-5.6.40/ext/openssl/openssl.c:3776:9: warning: 'RSA_set0_crt_params' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 3776 |         if ((dmp1 || dmq1 || iqmp) && !RSA_set0_crt_params(rsa, dmp1, dmq1, iqmp)) {
      |         ^~
/home/pbulk/build/lang/php56/work/.buildlink/include/openssl/rsa.h:220:27: note: declared here
  220 | OSSL_DEPRECATEDIN_3_0 int RSA_set0_crt_params(RSA *r,
      |                           ^~~~~~~~~~~~~~~~~~~
/home/pbulk/build/lang/php56/work/php-5.6.40/ext/openssl/openssl.c:3780:9: warning: 'EVP_PKEY_assign' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 3780 |         if (!EVP_PKEY_assign_RSA(pkey, rsa)) {
      |         ^~
/home/pbulk/build/lang/php56/work/.buildlink/include/openssl/evp.h:1345:5: note: declared here
 1345 | int EVP_PKEY_assign(EVP_PKEY *pkey, int type, void *key);
      |     ^~~~~~~~~~~~~~~
/home/pbulk/build/lang/php56/work/php-5.6.40/ext/openssl/openssl.c: In function 'php_openssl_pkey_init_dsa':
/home/pbulk/build/lang/php56/work/php-5.6.40/ext/openssl/openssl.c:3797:9: warning: 'DSA_set0_pqg' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 3797 |         if (!p || !q || !g || !DSA_set0_pqg(dsa, p, q, g)) {
      |         ^~
/home/pbulk/build/lang/php56/work/.buildlink/include/openssl/dsa.h:208:27: note: declared here
  208 | OSSL_DEPRECATEDIN_3_0 int DSA_set0_pqg(DSA *d, BIGNUM *p, BIGNUM *q, BIGNUM *g);
      |                           ^~~~~~~~~~~~
/home/pbulk/build/lang/php56/work/php-5.6.40/ext/openssl/openssl.c:3804:17: warning: 'DSA_set0_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 3804 |                 return DSA_set0_key(dsa, pub_key, priv_key);
      |                 ^~~~~~
/home/pbulk/build/lang/php56/work/.buildlink/include/openssl/dsa.h:211:27: note: declared here
  211 | OSSL_DEPRECATEDIN_3_0 int DSA_set0_key(DSA *d, BIGNUM *pub_key,
      |                           ^~~~~~~~~~~~
/home/pbulk/build/lang/php56/work/php-5.6.40/ext/openssl/openssl.c:3807:9: warning: 'DSA_generate_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 3807 |         if (!DSA_generate_key(dsa)) {
      |         ^~
/home/pbulk/build/lang/php56/work/.buildlink/include/openssl/dsa.h:179:27: note: declared here
  179 | OSSL_DEPRECATEDIN_3_0 int DSA_generate_key(DSA *a);
      |                           ^~~~~~~~~~~~~~~~
/home/pbulk/build/lang/php56/work/php-5.6.40/ext/openssl/openssl.c:3812:9: warning: 'DSA_get0_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 3812 |         DSA_get0_key(dsa, &pub_key_const, &priv_key_const);
      |         ^~~~~~~~~~~~
/home/pbulk/build/lang/php56/work/.buildlink/include/openssl/dsa.h:209:28: note: declared here
  209 | OSSL_DEPRECATEDIN_3_0 void DSA_get0_key(const DSA *d, const BIGNUM **pub_key,
      |                            ^~~~~~~~~~~~
/home/pbulk/build/lang/php56/work/php-5.6.40/ext/openssl/openssl.c: In function 'php_openssl_pkey_init_dh':
/home/pbulk/build/lang/php56/work/php-5.6.40/ext/openssl/openssl.c:3866:9: warning: 'DH_set0_pqg' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 3866 |         if (!p || !g || !DH_set0_pqg(dh, p, q, g)) {
      |         ^~
/home/pbulk/build/lang/php56/work/.buildlink/include/openssl/dh.h:266:27: note: declared here
  266 | OSSL_DEPRECATEDIN_3_0 int DH_set0_pqg(DH *dh, BIGNUM *p, BIGNUM *q, BIGNUM *g);
      |                           ^~~~~~~~~~~
/home/pbulk/build/lang/php56/work/php-5.6.40/ext/openssl/openssl.c:3873:17: warning: 'DH_set0_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 3873 |                 return DH_set0_key(dh, pub_key, priv_key);
      |                 ^~~~~~
/home/pbulk/build/lang/php56/work/.buildlink/include/openssl/dh.h:269:27: note: declared here
  269 | OSSL_DEPRECATEDIN_3_0 int DH_set0_key(DH *dh, BIGNUM *pub_key, BIGNUM *priv_key);
      |                           ^~~~~~~~~~~
/home/pbulk/build/lang/php56/work/php-5.6.40/ext/openssl/openssl.c:3880:17: warning: 'DH_set0_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 3880 |                 return DH_set0_key(dh, pub_key, priv_key);
      |                 ^~~~~~
/home/pbulk/build/lang/php56/work/.buildlink/include/openssl/dh.h:269:27: note: declared here
  269 | OSSL_DEPRECATEDIN_3_0 int DH_set0_key(DH *dh, BIGNUM *pub_key, BIGNUM *priv_key);
      |                           ^~~~~~~~~~~
/home/pbulk/build/lang/php56/work/php-5.6.40/ext/openssl/openssl.c:3883:9: warning: 'DH_generate_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 3883 |         if (!DH_generate_key(dh)) {
      |         ^~
/home/pbulk/build/lang/php56/work/.buildlink/include/openssl/dh.h:234:27: note: declared here
  234 | OSSL_DEPRECATEDIN_3_0 int DH_generate_key(DH *dh);
      |                           ^~~~~~~~~~~~~~~
/home/pbulk/build/lang/php56/work/php-5.6.40/ext/openssl/openssl.c: In function 'zif_openssl_pkey_new':
/home/pbulk/build/lang/php56/work/php-5.6.40/ext/openssl/openssl.c:3911:33: warning: 'RSA_new' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 3911 |                                 RSA *rsa = RSA_new();
      |                                 ^~~
/home/pbulk/build/lang/php56/work/.buildlink/include/openssl/rsa.h:212:28: note: declared here
  212 | OSSL_DEPRECATEDIN_3_0 RSA *RSA_new(void);
      |                            ^~~~~~~
/home/pbulk/build/lang/php56/work/php-5.6.40/ext/openssl/openssl.c:3916:41: warning: 'RSA_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 3916 |                                         RSA_free(rsa);
      |                                         ^~~~~~~~
/home/pbulk/build/lang/php56/work/.buildlink/include/openssl/rsa.h:304:28: note: declared here
  304 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r);
      |                            ^~~~~~~~
/home/pbulk/build/lang/php56/work/php-5.6.40/ext/openssl/openssl.c:3925:33: warning: 'DSA_new' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 3925 |                                 DSA *dsa = DSA_new();
      |                                 ^~~
/home/pbulk/build/lang/php56/work/.buildlink/include/openssl/dsa.h:130:28: note: declared here
  130 | OSSL_DEPRECATEDIN_3_0 DSA *DSA_new(void);
      |                            ^~~~~~~
/home/pbulk/build/lang/php56/work/php-5.6.40/ext/openssl/openssl.c:3928:49: warning: 'EVP_PKEY_assign' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 3928 |                                                 if (EVP_PKEY_assign_DSA(pkey, dsa)) {
      |                                                 ^~
/home/pbulk/build/lang/php56/work/.buildlink/include/openssl/evp.h:1345:5: note: declared here
 1345 | int EVP_PKEY_assign(EVP_PKEY *pkey, int type, void *key);
      |     ^~~~~~~~~~~~~~~
/home/pbulk/build/lang/php56/work/php-5.6.40/ext/openssl/openssl.c:3932:41: warning: 'DSA_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 3932 |                                         DSA_free(dsa);
      |                                         ^~~~~~~~
/home/pbulk/build/lang/php56/work/.buildlink/include/openssl/dsa.h:132:28: note: declared here
  132 | OSSL_DEPRECATEDIN_3_0 void DSA_free(DSA *r);
      |                            ^~~~~~~~
/home/pbulk/build/lang/php56/work/php-5.6.40/ext/openssl/openssl.c:3941:33: warning: 'DH_new' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 3941 |                                 DH *dh = DH_new();
      |                                 ^~
/home/pbulk/build/lang/php56/work/.buildlink/include/openssl/dh.h:210:27: note: declared here
  210 | OSSL_DEPRECATEDIN_3_0 DH *DH_new(void);
      |                           ^~~~~~
/home/pbulk/build/lang/php56/work/php-5.6.40/ext/openssl/openssl.c:3944:49: warning: 'EVP_PKEY_assign' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 3944 |                                                 if (EVP_PKEY_assign_DH(pkey, dh)) {
      |                                                 ^~
/home/pbulk/build/lang/php56/work/.buildlink/include/openssl/evp.h:1345:5: note: declared here
 1345 | int EVP_PKEY_assign(EVP_PKEY *pkey, int type, void *key);
      |     ^~~~~~~~~~~~~~~
/home/pbulk/build/lang/php56/work/php-5.6.40/ext/openssl/openssl.c:3948:41: warning: 'DH_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 3948 |                                         DH_free(dh);
      |                                         ^~~~~~~
/home/pbulk/build/lang/php56/work/.buildlink/include/openssl/dh.h:211:28: note: declared here
  211 | OSSL_DEPRECATEDIN_3_0 void DH_free(DH *dh);
      |                            ^~~~~~~
/home/pbulk/build/lang/php56/work/php-5.6.40/ext/openssl/openssl.c: In function 'zif_openssl_pkey_export_to_file':
/home/pbulk/build/lang/php56/work/php-5.6.40/ext/openssl/openssl.c:4021:33: warning: 'PEM_write_bio_ECPrivateKey' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 4021 |                                 pem_write = PEM_write_bio_ECPrivateKey(bio_out, EVP_PKEY_get0_EC_KEY(key), cipher, (unsigned char *)passphrase, passphrase_len, NULL, NULL);
      |                                 ^~~~~~~~~
In file included from /home/pbulk/build/lang/php56/work/php-5.6.40/ext/openssl/openssl.c:54:
/home/pbulk/build/lang/php56/work/.buildlink/include/openssl/pem.h:86:9: note: declared here
   86 |     int PEM_##writename##_##name(OUTTYPE *out, const type *x,           \
      |         ^~~~
/home/pbulk/build/lang/php56/work/.buildlink/include/openssl/pem.h:300:10: note: in expansion of macro 'PEM_write_cb_fnsig'
  300 |     attr PEM_write_cb_fnsig(name, type, BIO, write_bio);
      |          ^~~~~~~~~~~~~~~~~~
/home/pbulk/build/lang/php56/work/.buildlink/include/openssl/pem.h:327:5: note: in expansion of macro 'DECLARE_PEM_write_cb_bio_attr'
  327 |     DECLARE_PEM_write_cb_bio_attr(attr, name, type)                         \
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/pbulk/build/lang/php56/work/.buildlink/include/openssl/pem.h:365:5: note: in expansion of macro 'DECLARE_PEM_write_cb_attr'
  365 |     DECLARE_PEM_write_cb_attr(attr, name, type)
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~
/home/pbulk/build/lang/php56/work/.buildlink/include/openssl/pem.h:467:1: note: in expansion of macro 'DECLARE_PEM_rw_cb_attr'
  467 | DECLARE_PEM_rw_cb_attr(OSSL_DEPRECATEDIN_3_0, ECPrivateKey, EC_KEY)
      | ^~~~~~~~~~~~~~~~~~~~~~
/home/pbulk/build/lang/php56/work/php-5.6.40/ext/openssl/openssl.c:4021:33: warning: 'EVP_PKEY_get0_EC_KEY' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 4021 |                                 pem_write = PEM_write_bio_ECPrivateKey(bio_out, EVP_PKEY_get0_EC_KEY(key), cipher, (unsigned char *)passphrase, passphrase_len, NULL, NULL);
      |                                 ^~~~~~~~~
/home/pbulk/build/lang/php56/work/.buildlink/include/openssl/evp.h:1389:25: note: declared here
 1389 | const struct ec_key_st *EVP_PKEY_get0_EC_KEY(const EVP_PKEY *pkey);
      |                         ^~~~~~~~~~~~~~~~~~~~
/home/pbulk/build/lang/php56/work/php-5.6.40/ext/openssl/openssl.c: In function 'zif_openssl_pkey_export':
/home/pbulk/build/lang/php56/work/php-5.6.40/ext/openssl/openssl.c:4090:33: warning: 'PEM_write_bio_ECPrivateKey' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 4090 |                                 pem_write = PEM_write_bio_ECPrivateKey(bio_out, EVP_PKEY_get1_EC_KEY(key), cipher, (unsigned char *)passphrase, passphrase_len, NULL, NULL);
      |                                 ^~~~~~~~~
/home/pbulk/build/lang/php56/work/.buildlink/include/openssl/pem.h:86:9: note: declared here
   86 |     int PEM_##writename##_##name(OUTTYPE *out, const type *x,           \
      |         ^~~~
/home/pbulk/build/lang/php56/work/.buildlink/include/openssl/pem.h:300:10: note: in expansion of macro 'PEM_write_cb_fnsig'
  300 |     attr PEM_write_cb_fnsig(name, type, BIO, write_bio);
      |          ^~~~~~~~~~~~~~~~~~
/home/pbulk/build/lang/php56/work/.buildlink/include/openssl/pem.h:327:5: note: in expansion of macro 'DECLARE_PEM_write_cb_bio_attr'
  327 |     DECLARE_PEM_write_cb_bio_attr(attr, name, type)                         \
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/pbulk/build/lang/php56/work/.buildlink/include/openssl/pem.h:365:5: note: in expansion of macro 'DECLARE_PEM_write_cb_attr'
  365 |     DECLARE_PEM_write_cb_attr(attr, name, type)
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~
/home/pbulk/build/lang/php56/work/.buildlink/include/openssl/pem.h:467:1: note: in expansion of macro 'DECLARE_PEM_rw_cb_attr'
  467 | DECLARE_PEM_rw_cb_attr(OSSL_DEPRECATEDIN_3_0, ECPrivateKey, EC_KEY)
      | ^~~~~~~~~~~~~~~~~~~~~~
/home/pbulk/build/lang/php56/work/php-5.6.40/ext/openssl/openssl.c:4090:33: warning: 'EVP_PKEY_get1_EC_KEY' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 4090 |                                 pem_write = PEM_write_bio_ECPrivateKey(bio_out, EVP_PKEY_get1_EC_KEY(key), cipher, (unsigned char *)passphrase, passphrase_len, NULL, NULL);
      |                                 ^~~~~~~~~
/home/pbulk/build/lang/php56/work/.buildlink/include/openssl/evp.h:1391:19: note: declared here
 1391 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey);
      |                   ^~~~~~~~~~~~~~~~~~~~
/home/pbulk/build/lang/php56/work/php-5.6.40/ext/openssl/openssl.c: In function 'zif_openssl_pkey_get_details':
/home/pbulk/build/lang/php56/work/php-5.6.40/ext/openssl/openssl.c:4212:33: warning: 'EVP_PKEY_get0_RSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 4212 |                                 RSA *rsa = EVP_PKEY_get0_RSA(pkey);
      |                                 ^~~
/home/pbulk/build/lang/php56/work/.buildlink/include/openssl/evp.h:1363:22: note: declared here
 1363 | const struct rsa_st *EVP_PKEY_get0_RSA(const EVP_PKEY *pkey);
      |                      ^~~~~~~~~~~~~~~~~
/home/pbulk/build/lang/php56/work/php-5.6.40/ext/openssl/openssl.c:4212:44: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
 4212 |                                 RSA *rsa = EVP_PKEY_get0_RSA(pkey);
      |                                            ^~~~~~~~~~~~~~~~~
/home/pbulk/build/lang/php56/work/php-5.6.40/ext/openssl/openssl.c:4219:41: warning: 'RSA_get0_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 4219 |                                         RSA_get0_key(rsa, &n, &e, &d);
      |                                         ^~~~~~~~~~~~
/home/pbulk/build/lang/php56/work/.buildlink/include/openssl/rsa.h:228:28: note: declared here
  228 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_key(const RSA *r,
      |                            ^~~~~~~~~~~~
/home/pbulk/build/lang/php56/work/php-5.6.40/ext/openssl/openssl.c:4220:41: warning: 'RSA_get0_factors' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 4220 |                                         RSA_get0_factors(rsa, &p, &q);
      |                                         ^~~~~~~~~~~~~~~~
/home/pbulk/build/lang/php56/work/.buildlink/include/openssl/rsa.h:231:28: note: declared here
  231 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_factors(const RSA *r,
      |                            ^~~~~~~~~~~~~~~~
/home/pbulk/build/lang/php56/work/php-5.6.40/ext/openssl/openssl.c:4221:41: warning: 'RSA_get0_crt_params' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 4221 |                                         RSA_get0_crt_params(rsa, &dmp1, &dmq1, &iqmp);
      |                                         ^~~~~~~~~~~~~~~~~~~
/home/pbulk/build/lang/php56/work/.buildlink/include/openssl/rsa.h:236:28: note: declared here
  236 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_crt_params(const RSA *r,
      |                            ^~~~~~~~~~~~~~~~~~~
/home/pbulk/build/lang/php56/work/php-5.6.40/ext/openssl/openssl.c:4243:33: warning: 'EVP_PKEY_get0_DSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 4243 |                                 DSA *dsa = EVP_PKEY_get0_DSA(pkey);
      |                                 ^~~
/home/pbulk/build/lang/php56/work/.buildlink/include/openssl/evp.h:1372:22: note: declared here
 1372 | const struct dsa_st *EVP_PKEY_get0_DSA(const EVP_PKEY *pkey);
      |                      ^~~~~~~~~~~~~~~~~
/home/pbulk/build/lang/php56/work/php-5.6.40/ext/openssl/openssl.c:4243:44: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
 4243 |                                 DSA *dsa = EVP_PKEY_get0_DSA(pkey);
      |                                            ^~~~~~~~~~~~~~~~~
/home/pbulk/build/lang/php56/work/php-5.6.40/ext/openssl/openssl.c:4250:41: warning: 'DSA_get0_pqg' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 4250 |                                         DSA_get0_pqg(dsa, &p, &q, &g);
      |                                         ^~~~~~~~~~~~
/home/pbulk/build/lang/php56/work/.buildlink/include/openssl/dsa.h:206:28: note: declared here
  206 | OSSL_DEPRECATEDIN_3_0 void DSA_get0_pqg(const DSA *d, const BIGNUM **p,
      |                            ^~~~~~~~~~~~
/home/pbulk/build/lang/php56/work/php-5.6.40/ext/openssl/openssl.c:4251:41: warning: 'DSA_get0_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 4251 |                                         DSA_get0_key(dsa, &pub_key, &priv_key);
      |                                         ^~~~~~~~~~~~
/home/pbulk/build/lang/php56/work/.buildlink/include/openssl/dsa.h:209:28: note: declared here
  209 | OSSL_DEPRECATEDIN_3_0 void DSA_get0_key(const DSA *d, const BIGNUM **pub_key,
      |                            ^~~~~~~~~~~~
/home/pbulk/build/lang/php56/work/php-5.6.40/ext/openssl/openssl.c:4266:33: warning: 'EVP_PKEY_get0_DH' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 4266 |                                 DH *dh = EVP_PKEY_get0_DH(pkey);
      |                                 ^~
/home/pbulk/build/lang/php56/work/.buildlink/include/openssl/evp.h:1380:43: note: declared here
 1380 | OSSL_DEPRECATEDIN_3_0 const struct dh_st *EVP_PKEY_get0_DH(const EVP_PKEY *pkey);
      |                                           ^~~~~~~~~~~~~~~~
/home/pbulk/build/lang/php56/work/php-5.6.40/ext/openssl/openssl.c:4266:42: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
 4266 |                                 DH *dh = EVP_PKEY_get0_DH(pkey);
      |                                          ^~~~~~~~~~~~~~~~
/home/pbulk/build/lang/php56/work/php-5.6.40/ext/openssl/openssl.c:4273:41: warning: 'DH_get0_pqg' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 4273 |                                         DH_get0_pqg(dh, &p, &q, &g);
      |                                         ^~~~~~~~~~~
/home/pbulk/build/lang/php56/work/.buildlink/include/openssl/dh.h:264:28: note: declared here
  264 | OSSL_DEPRECATEDIN_3_0 void DH_get0_pqg(const DH *dh, const BIGNUM **p,
      |                            ^~~~~~~~~~~
/home/pbulk/build/lang/php56/work/php-5.6.40/ext/openssl/openssl.c:4274:41: warning: 'DH_get0_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 4274 |                                         DH_get0_key(dh, &pub_key, &priv_key);
      |                                         ^~~~~~~~~~~
/home/pbulk/build/lang/php56/work/.buildlink/include/openssl/dh.h:267:28: note: declared here
  267 | OSSL_DEPRECATEDIN_3_0 void DH_get0_key(const DH *dh, const BIGNUM **pub_key,
      |                            ^~~~~~~~~~~
/home/pbulk/build/lang/php56/work/php-5.6.40/ext/openssl/openssl.c:4290:25: warning: 'EVP_PKEY_get0_EC_KEY' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 4290 |                         if (EVP_PKEY_get0_EC_KEY(pkey) != NULL) {
      |                         ^~
/home/pbulk/build/lang/php56/work/.buildlink/include/openssl/evp.h:1389:25: note: declared here
 1389 | const struct ec_key_st *EVP_PKEY_get0_EC_KEY(const EVP_PKEY *pkey);
      |                         ^~~~~~~~~~~~~~~~~~~~
/home/pbulk/build/lang/php56/work/php-5.6.40/ext/openssl/openssl.c:4299:33: warning: 'EC_KEY_get0_group' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 4299 |                                 ec_group = EC_KEY_get0_group(EVP_PKEY_get1_EC_KEY(pkey));
      |                                 ^~~~~~~~
/home/pbulk/build/lang/php56/work/.buildlink/include/openssl/ec.h:1053:39: note: declared here
 1053 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key);
      |                                       ^~~~~~~~~~~~~~~~~
/home/pbulk/build/lang/php56/work/php-5.6.40/ext/openssl/openssl.c:4299:33: warning: 'EVP_PKEY_get1_EC_KEY' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 4299 |                                 ec_group = EC_KEY_get0_group(EVP_PKEY_get1_EC_KEY(pkey));
      |                                 ^~~~~~~~
/home/pbulk/build/lang/php56/work/.buildlink/include/openssl/evp.h:1391:19: note: declared here
 1391 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey);
      |                   ^~~~~~~~~~~~~~~~~~~~
/home/pbulk/build/lang/php56/work/php-5.6.40/ext/openssl/openssl.c: In function 'zif_openssl_private_encrypt':
/home/pbulk/build/lang/php56/work/php-5.6.40/ext/openssl/openssl.c:4850:25: warning: 'RSA_private_encrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 4850 |                         successful =  (RSA_private_encrypt(data_len,
      |                         ^~~~~~~~~~
/home/pbulk/build/lang/php56/work/.buildlink/include/openssl/rsa.h:296:5: note: declared here
  296 | int RSA_private_encrypt(int flen, const unsigned char *from, unsigned char *to,
      |     ^~~~~~~~~~~~~~~~~~~
/home/pbulk/build/lang/php56/work/php-5.6.40/ext/openssl/openssl.c:4853:49: warning: 'EVP_PKEY_get0_RSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 4853 |                                                 EVP_PKEY_get0_RSA(pkey),
      |                                                 ^~~~~~~~~~~~~~~~~
/home/pbulk/build/lang/php56/work/.buildlink/include/openssl/evp.h:1363:22: note: declared here
 1363 | const struct rsa_st *EVP_PKEY_get0_RSA(const EVP_PKEY *pkey);
      |                      ^~~~~~~~~~~~~~~~~
/home/pbulk/build/lang/php56/work/php-5.6.40/ext/openssl/openssl.c:4853:49: warning: passing argument 4 of 'RSA_private_encrypt' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
 4853 |                                                 EVP_PKEY_get0_RSA(pkey),
      |                                                 ^~~~~~~~~~~~~~~~~~~~~~~
/home/pbulk/build/lang/php56/work/.buildlink/include/openssl/rsa.h:297:30: note: expected 'RSA *' {aka 'struct rsa_st *'} but argument is of type 'const struct rsa_st *'
  297 |                         RSA *rsa, int padding);
      |                         ~~~~~^~~
/home/pbulk/build/lang/php56/work/php-5.6.40/ext/openssl/openssl.c: In function 'zif_openssl_private_decrypt':
/home/pbulk/build/lang/php56/work/php-5.6.40/ext/openssl/openssl.c:4908:25: warning: 'RSA_private_decrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 4908 |                         cryptedlen = RSA_private_decrypt(data_len,
      |                         ^~~~~~~~~~
/home/pbulk/build/lang/php56/work/.buildlink/include/openssl/rsa.h:302:5: note: declared here
  302 | int RSA_private_decrypt(int flen, const unsigned char *from, unsigned char *to,
      |     ^~~~~~~~~~~~~~~~~~~
/home/pbulk/build/lang/php56/work/php-5.6.40/ext/openssl/openssl.c:4911:41: warning: 'EVP_PKEY_get0_RSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 4911 |                                         EVP_PKEY_get0_RSA(pkey),
      |                                         ^~~~~~~~~~~~~~~~~
/home/pbulk/build/lang/php56/work/.buildlink/include/openssl/evp.h:1363:22: note: declared here
 1363 | const struct rsa_st *EVP_PKEY_get0_RSA(const EVP_PKEY *pkey);
      |                      ^~~~~~~~~~~~~~~~~
/home/pbulk/build/lang/php56/work/php-5.6.40/ext/openssl/openssl.c:4911:41: warning: passing argument 4 of 'RSA_private_decrypt' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
 4911 |                                         EVP_PKEY_get0_RSA(pkey),
      |                                         ^~~~~~~~~~~~~~~~~~~~~~~
/home/pbulk/build/lang/php56/work/.buildlink/include/openssl/rsa.h:303:30: note: expected 'RSA *' {aka 'struct rsa_st *'} but argument is of type 'const struct rsa_st *'
  303 |                         RSA *rsa, int padding);
      |                         ~~~~~^~~
/home/pbulk/build/lang/php56/work/php-5.6.40/ext/openssl/openssl.c: In function 'zif_openssl_public_encrypt':
/home/pbulk/build/lang/php56/work/php-5.6.40/ext/openssl/openssl.c:4973:25: warning: 'RSA_public_encrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 4973 |                         successful = (RSA_public_encrypt(data_len,
      |                         ^~~~~~~~~~
/home/pbulk/build/lang/php56/work/.buildlink/include/openssl/rsa.h:293:5: note: declared here
  293 | int RSA_public_encrypt(int flen, const unsigned char *from, unsigned char *to,
      |     ^~~~~~~~~~~~~~~~~~
/home/pbulk/build/lang/php56/work/php-5.6.40/ext/openssl/openssl.c:4976:49: warning: 'EVP_PKEY_get0_RSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 4976 |                                                 EVP_PKEY_get0_RSA(pkey),
      |                                                 ^~~~~~~~~~~~~~~~~
/home/pbulk/build/lang/php56/work/.buildlink/include/openssl/evp.h:1363:22: note: declared here
 1363 | const struct rsa_st *EVP_PKEY_get0_RSA(const EVP_PKEY *pkey);
      |                      ^~~~~~~~~~~~~~~~~
/home/pbulk/build/lang/php56/work/php-5.6.40/ext/openssl/openssl.c:4976:49: warning: passing argument 4 of 'RSA_public_encrypt' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
 4976 |                                                 EVP_PKEY_get0_RSA(pkey),
      |                                                 ^~~~~~~~~~~~~~~~~~~~~~~
/home/pbulk/build/lang/php56/work/.buildlink/include/openssl/rsa.h:294:29: note: expected 'RSA *' {aka 'struct rsa_st *'} but argument is of type 'const struct rsa_st *'
  294 |                        RSA *rsa, int padding);
      |                        ~~~~~^~~
/home/pbulk/build/lang/php56/work/php-5.6.40/ext/openssl/openssl.c: In function 'zif_openssl_public_decrypt':
/home/pbulk/build/lang/php56/work/php-5.6.40/ext/openssl/openssl.c:5032:25: warning: 'RSA_public_decrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 5032 |                         cryptedlen = RSA_public_decrypt(data_len,
      |                         ^~~~~~~~~~
/home/pbulk/build/lang/php56/work/.buildlink/include/openssl/rsa.h:299:5: note: declared here
  299 | int RSA_public_decrypt(int flen, const unsigned char *from, unsigned char *to,
      |     ^~~~~~~~~~~~~~~~~~
/home/pbulk/build/lang/php56/work/php-5.6.40/ext/openssl/openssl.c:5035:41: warning: 'EVP_PKEY_get0_RSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 5035 |                                         EVP_PKEY_get0_RSA(pkey),
      |                                         ^~~~~~~~~~~~~~~~~
/home/pbulk/build/lang/php56/work/.buildlink/include/openssl/evp.h:1363:22: note: declared here
 1363 | const struct rsa_st *EVP_PKEY_get0_RSA(const EVP_PKEY *pkey);
      |                      ^~~~~~~~~~~~~~~~~
/home/pbulk/build/lang/php56/work/php-5.6.40/ext/openssl/openssl.c:5035:41: warning: passing argument 4 of 'RSA_public_decrypt' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
 5035 |                                         EVP_PKEY_get0_RSA(pkey),
      |                                         ^~~~~~~~~~~~~~~~~~~~~~~
/home/pbulk/build/lang/php56/work/.buildlink/include/openssl/rsa.h:300:29: note: expected 'RSA *' {aka 'struct rsa_st *'} but argument is of type 'const struct rsa_st *'
  300 |                        RSA *rsa, int padding);
      |                        ~~~~~^~~
/home/pbulk/build/lang/php56/work/php-5.6.40/ext/openssl/openssl.c: In function 'zif_openssl_dh_compute_key':
/home/pbulk/build/lang/php56/work/php-5.6.40/ext/openssl/openssl.c:5762:9: warning: 'EVP_PKEY_get0_DH' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 5762 |         dh = EVP_PKEY_get0_DH(pkey);
      |         ^~
/home/pbulk/build/lang/php56/work/.buildlink/include/openssl/evp.h:1380:43: note: declared here
 1380 | OSSL_DEPRECATEDIN_3_0 const struct dh_st *EVP_PKEY_get0_DH(const EVP_PKEY *pkey);
      |                                           ^~~~~~~~~~~~~~~~
/home/pbulk/build/lang/php56/work/php-5.6.40/ext/openssl/openssl.c:5762:12: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
 5762 |         dh = EVP_PKEY_get0_DH(pkey);
      |            ^
/home/pbulk/build/lang/php56/work/php-5.6.40/ext/openssl/openssl.c:5769:9: warning: 'DH_size' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 5769 |         data = emalloc(DH_size(dh) + 1);
      |         ^~~~
/home/pbulk/build/lang/php56/work/.buildlink/include/openssl/dh.h:214:27: note: declared here
  214 | OSSL_DEPRECATEDIN_3_0 int DH_size(const DH *dh);
      |                           ^~~~~~~
/home/pbulk/build/lang/php56/work/php-5.6.40/ext/openssl/openssl.c:5770:9: warning: 'DH_compute_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 5770 |         len = DH_compute_key((unsigned char*)data, pub, dh);
      |         ^~~
/home/pbulk/build/lang/php56/work/.buildlink/include/openssl/dh.h:235:27: note: declared here
  235 | OSSL_DEPRECATEDIN_3_0 int DH_compute_key(unsigned char *key,
      |                           ^~~~~~~~~~~~~~
*** Error code 2

Stop.
bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/php56
*** Error code 1

Stop.
bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/php56