+ 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=74 WRKLOG=/tmp/bulklog/php74-7.4.33nb1/work.log + su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent PHP_VERSION_REQD=74 WRKLOG=/tmp/bulklog/php74-7.4.33nb1/work.log ===> Building for php74-7.4.33nb1 /usr/bin/bash /home/pbulk/build/lang/php74/work/php-7.4.33/libtool --silent --preserve-dup-deps --mode=compile gcc -Iext/date/lib -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -DHAVE_TIMELIB_CONFIG_H=1 -Iext/date/ -I/home/pbulk/build/lang/php74/work/php-7.4.33/ext/date/ -DPHP_ATOM_INC -I/home/pbulk/build/lang/php74/work/php-7.4.33/include -I/home/pbulk/build/lang/php74/work/php-7.4.33/main -I/home/pbulk/build/lang/php74/work/php-7.4.33 -I/home/pbulk/build/lang/php74/work/php-7.4.33/ext/date/lib -I/opt/pkg/include/libxml2 -I/opt/pkg/include -I/home/pbulk/build/lang/php74/work/php-7.4.33/TSRM -I/home/pbulk/build/lang/php74/work/php-7.4.33/Zend -I/opt/pkg/include -I/opt/pkg/include/libxml2 -I/opt/pkg/include/ncurses -I/usr/include -D_POSIX_PTHREAD_SEMANTICS -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/libxml2 -I/opt/pkg/include/ncurses -I/usr/include -fvisibility=hidden -Wall -Wno-strict-aliasing -DZEND_SIGNALS -c /home/pbulk/build/lang/php74/work/php-7.4.33/ext/date/php_date.c -o ext/date/php_date.lo /usr/bin/bash /home/pbulk/build/lang/php74/work/php-7.4.33/libtool --silent --preserve-dup-deps --mode=compile gcc -Iext/date/lib -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -DHAVE_TIMELIB_CONFIG_H=1 -Iext/date/ -I/home/pbulk/build/lang/php74/work/php-7.4.33/ext/date/ -DPHP_ATOM_INC -I/home/pbulk/build/lang/php74/work/php-7.4.33/include -I/home/pbulk/build/lang/php74/work/php-7.4.33/main -I/home/pbulk/build/lang/php74/work/php-7.4.33 -I/home/pbulk/build/lang/php74/work/php-7.4.33/ext/date/lib -I/opt/pkg/include/libxml2 -I/opt/pkg/include -I/home/pbulk/build/lang/php74/work/php-7.4.33/TSRM -I/home/pbulk/build/lang/php74/work/php-7.4.33/Zend -I/opt/pkg/include -I/opt/pkg/include/libxml2 -I/opt/pkg/include/ncurses -I/usr/include -D_POSIX_PTHREAD_SEMANTICS -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/libxml2 -I/opt/pkg/include/ncurses -I/usr/include -fvisibility=hidden -Wall -Wno-strict-aliasing -DZEND_SIGNALS -c /home/pbulk/build/lang/php74/work/php-7.4.33/ext/date/lib/astro.c -o ext/date/lib/astro.lo /usr/bin/bash /home/pbulk/build/lang/php74/work/php-7.4.33/libtool --silent --preserve-dup-deps --mode=compile gcc -Iext/date/lib -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -DHAVE_TIMELIB_CONFIG_H=1 -Iext/date/ -I/home/pbulk/build/lang/php74/work/php-7.4.33/ext/date/ -DPHP_ATOM_INC -I/home/pbulk/build/lang/php74/work/php-7.4.33/include -I/home/pbulk/build/lang/php74/work/php-7.4.33/main -I/home/pbulk/build/lang/php74/work/php-7.4.33 -I/home/pbulk/build/lang/php74/work/php-7.4.33/ext/date/lib -I/opt/pkg/include/libxml2 -I/opt/pkg/include -I/home/pbulk/build/lang/php74/work/php-7.4.33/TSRM -I/home/pbulk/build/lang/php74/work/php-7.4.33/Zend -I/opt/pkg/include -I/opt/pkg/include/libxml2 -I/opt/pkg/include/ncurses -I/usr/include -D_POSIX_PTHREAD_SEMANTICS -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/libxml2 -I/opt/pkg/include/ncurses -I/usr/include -fvisibility=hidden -Wall -Wno-strict-aliasing -DZEND_SIGNALS -c /home/pbulk/build/lang/php74/work/php-7.4.33/ext/date/lib/dow.c -o ext/date/lib/dow.lo /usr/bin/bash /home/pbulk/build/lang/php74/work/php-7.4.33/libtool --silent --preserve-dup-deps --mode=compile gcc -Iext/date/lib -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -DHAVE_TIMELIB_CONFIG_H=1 -Iext/date/ -I/home/pbulk/build/lang/php74/work/php-7.4.33/ext/date/ -DPHP_ATOM_INC -I/home/pbulk/build/lang/php74/work/php-7.4.33/include -I/home/pbulk/build/lang/php74/work/php-7.4.33/main -I/home/pbulk/build/lang/php74/work/php-7.4.33 -I/home/pbulk/build/lang/php74/work/php-7.4.33/ext/date/lib -I/opt/pkg/include/libxml2 -I/opt/pkg/include -I/home/pbulk/build/lang/php74/work/php-7.4.33/TSRM -I/home/pbulk/build/lang/php74/work/php-7.4.33/Zend -I/opt/pkg/include -I/opt/pkg/include/libxml2 -I/opt/pkg/include/ncurses -I/usr/include -D_POSIX_PTHREAD_SEMANTICS -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/libxml2 -I/opt/pkg/include/ncurses -I/usr/include -fvisibility=hidden -Wall -Wno-strict-aliasing -DZEND_SIGNALS -c /home/pbulk/build/lang/php74/work/php-7.4.33/ext/date/lib/parse_date.c -o ext/date/lib/parse_date.lo /usr/bin/bash /home/pbulk/build/lang/php74/work/php-7.4.33/libtool --silent --preserve-dup-deps --mode=compile gcc -Iext/date/lib -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -DHAVE_TIMELIB_CONFIG_H=1 -Iext/date/ -I/home/pbulk/build/lang/php74/work/php-7.4.33/ext/date/ -DPHP_ATOM_INC -I/home/pbulk/build/lang/php74/work/php-7.4.33/include -I/home/pbulk/build/lang/php74/work/php-7.4.33/main -I/home/pbulk/build/lang/php74/work/php-7.4.33 -I/home/pbulk/build/lang/php74/work/php-7.4.33/ext/date/lib -I/opt/pkg/include/libxml2 -I/opt/pkg/include -I/home/pbulk/build/lang/php74/work/php-7.4.33/TSRM -I/home/pbulk/build/lang/php74/work/php-7.4.33/Zend -I/opt/pkg/include -I/opt/pkg/include/libxml2 -I/opt/pkg/include/ncurses -I/usr/include -D_POSIX_PTHREAD_SEMANTICS -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/libxml2 -I/opt/pkg/include/ncurses -I/usr/include -fvisibility=hidden -Wall -Wno-strict-aliasing -DZEND_SIGNALS -c /home/pbulk/build/lang/php74/work/php-7.4.33/ext/date/lib/parse_tz.c -o ext/date/lib/parse_tz.lo /usr/bin/bash /home/pbulk/build/lang/php74/work/php-7.4.33/libtool --silent --preserve-dup-deps --mode=compile gcc -Iext/date/lib -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -DHAVE_TIMELIB_CONFIG_H=1 -Iext/date/ -I/home/pbulk/build/lang/php74/work/php-7.4.33/ext/date/ -DPHP_ATOM_INC -I/home/pbulk/build/lang/php74/work/php-7.4.33/include -I/home/pbulk/build/lang/php74/work/php-7.4.33/main -I/home/pbulk/build/lang/php74/work/php-7.4.33 -I/home/pbulk/build/lang/php74/work/php-7.4.33/ext/date/lib -I/opt/pkg/include/libxml2 -I/opt/pkg/include -I/home/pbulk/build/lang/php74/work/php-7.4.33/TSRM -I/home/pbulk/build/lang/php74/work/php-7.4.33/Zend -I/opt/pkg/include -I/opt/pkg/include/libxml2 -I/opt/pkg/include/ncurses -I/usr/include -D_POSIX_PTHREAD_SEMANTICS -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/libxml2 -I/opt/pkg/include/ncurses -I/usr/include -fvisibility=hidden -Wall -Wno-strict-aliasing -DZEND_SIGNALS -c /home/pbulk/build/lang/php74/work/php-7.4.33/ext/date/lib/timelib.c -o ext/date/lib/timelib.lo /usr/bin/bash /home/pbulk/build/lang/php74/work/php-7.4.33/libtool --silent --preserve-dup-deps --mode=compile gcc -Iext/date/lib -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -DHAVE_TIMELIB_CONFIG_H=1 -Iext/date/ -I/home/pbulk/build/lang/php74/work/php-7.4.33/ext/date/ -DPHP_ATOM_INC -I/home/pbulk/build/lang/php74/work/php-7.4.33/include -I/home/pbulk/build/lang/php74/work/php-7.4.33/main -I/home/pbulk/build/lang/php74/work/php-7.4.33 -I/home/pbulk/build/lang/php74/work/php-7.4.33/ext/date/lib -I/opt/pkg/include/libxml2 -I/opt/pkg/include -I/home/pbulk/build/lang/php74/work/php-7.4.33/TSRM -I/home/pbulk/build/lang/php74/work/php-7.4.33/Zend -I/opt/pkg/include -I/opt/pkg/include/libxml2 -I/opt/pkg/include/ncurses -I/usr/include -D_POSIX_PTHREAD_SEMANTICS -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/libxml2 -I/opt/pkg/include/ncurses -I/usr/include -fvisibility=hidden -Wall -Wno-strict-aliasing -DZEND_SIGNALS -c /home/pbulk/build/lang/php74/work/php-7.4.33/ext/date/lib/tm2unixtime.c -o ext/date/lib/tm2unixtime.lo /usr/bin/bash /home/pbulk/build/lang/php74/work/php-7.4.33/libtool --silent --preserve-dup-deps --mode=compile gcc -Iext/date/lib -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -DHAVE_TIMELIB_CONFIG_H=1 -Iext/date/ -I/home/pbulk/build/lang/php74/work/php-7.4.33/ext/date/ -DPHP_ATOM_INC -I/home/pbulk/build/lang/php74/work/php-7.4.33/include -I/home/pbulk/build/lang/php74/work/php-7.4.33/main -I/home/pbulk/build/lang/php74/work/php-7.4.33 -I/home/pbulk/build/lang/php74/work/php-7.4.33/ext/date/lib -I/opt/pkg/include/libxml2 -I/opt/pkg/include -I/home/pbulk/build/lang/php74/work/php-7.4.33/TSRM -I/home/pbulk/build/lang/php74/work/php-7.4.33/Zend -I/opt/pkg/include -I/opt/pkg/include/libxml2 -I/opt/pkg/include/ncurses -I/usr/include -D_POSIX_PTHREAD_SEMANTICS -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/libxml2 -I/opt/pkg/include/ncurses -I/usr/include -fvisibility=hidden -Wall -Wno-strict-aliasing -DZEND_SIGNALS -c /home/pbulk/build/lang/php74/work/php-7.4.33/ext/date/lib/unixtime2tm.c -o ext/date/lib/unixtime2tm.lo /usr/bin/bash /home/pbulk/build/lang/php74/work/php-7.4.33/libtool --silent --preserve-dup-deps --mode=compile gcc -Iext/date/lib -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -DHAVE_TIMELIB_CONFIG_H=1 -Iext/date/ -I/home/pbulk/build/lang/php74/work/php-7.4.33/ext/date/ -DPHP_ATOM_INC -I/home/pbulk/build/lang/php74/work/php-7.4.33/include -I/home/pbulk/build/lang/php74/work/php-7.4.33/main -I/home/pbulk/build/lang/php74/work/php-7.4.33 -I/home/pbulk/build/lang/php74/work/php-7.4.33/ext/date/lib -I/opt/pkg/include/libxml2 -I/opt/pkg/include -I/home/pbulk/build/lang/php74/work/php-7.4.33/TSRM -I/home/pbulk/build/lang/php74/work/php-7.4.33/Zend -I/opt/pkg/include -I/opt/pkg/include/libxml2 -I/opt/pkg/include/ncurses -I/usr/include -D_POSIX_PTHREAD_SEMANTICS -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/libxml2 -I/opt/pkg/include/ncurses -I/usr/include -fvisibility=hidden -Wall -Wno-strict-aliasing -DZEND_SIGNALS -c /home/pbulk/build/lang/php74/work/php-7.4.33/ext/date/lib/parse_iso_intervals.c -o ext/date/lib/parse_iso_intervals.lo /usr/bin/bash /home/pbulk/build/lang/php74/work/php-7.4.33/libtool --silent --preserve-dup-deps --mode=compile gcc -Iext/date/lib -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -DHAVE_TIMELIB_CONFIG_H=1 -Iext/date/ -I/home/pbulk/build/lang/php74/work/php-7.4.33/ext/date/ -DPHP_ATOM_INC -I/home/pbulk/build/lang/php74/work/php-7.4.33/include -I/home/pbulk/build/lang/php74/work/php-7.4.33/main -I/home/pbulk/build/lang/php74/work/php-7.4.33 -I/home/pbulk/build/lang/php74/work/php-7.4.33/ext/date/lib -I/opt/pkg/include/libxml2 -I/opt/pkg/include -I/home/pbulk/build/lang/php74/work/php-7.4.33/TSRM -I/home/pbulk/build/lang/php74/work/php-7.4.33/Zend -I/opt/pkg/include -I/opt/pkg/include/libxml2 -I/opt/pkg/include/ncurses -I/usr/include -D_POSIX_PTHREAD_SEMANTICS -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/libxml2 -I/opt/pkg/include/ncurses -I/usr/include -fvisibility=hidden -Wall -Wno-strict-aliasing -DZEND_SIGNALS -c /home/pbulk/build/lang/php74/work/php-7.4.33/ext/date/lib/interval.c -o ext/date/lib/interval.lo /usr/bin/bash /home/pbulk/build/lang/php74/work/php-7.4.33/libtool --silent --preserve-dup-deps --mode=compile gcc -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -Iext/libxml/ -I/home/pbulk/build/lang/php74/work/php-7.4.33/ext/libxml/ -DPHP_ATOM_INC -I/home/pbulk/build/lang/php74/work/php-7.4.33/include -I/home/pbulk/build/lang/php74/work/php-7.4.33/main -I/home/pbulk/build/lang/php74/work/php-7.4.33 -I/home/pbulk/build/lang/php74/work/php-7.4.33/ext/date/lib -I/opt/pkg/include/libxml2 -I/opt/pkg/include -I/home/pbulk/build/lang/php74/work/php-7.4.33/TSRM -I/home/pbulk/build/lang/php74/work/php-7.4.33/Zend -I/opt/pkg/include -I/opt/pkg/include/libxml2 -I/opt/pkg/include/ncurses -I/usr/include -D_POSIX_PTHREAD_SEMANTICS -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/libxml2 -I/opt/pkg/include/ncurses -I/usr/include -fvisibility=hidden -Wall -Wno-strict-aliasing -DZEND_SIGNALS -c /home/pbulk/build/lang/php74/work/php-7.4.33/ext/libxml/libxml.c -o ext/libxml/libxml.lo /usr/bin/bash /home/pbulk/build/lang/php74/work/php-7.4.33/libtool --silent --preserve-dup-deps --mode=compile gcc -Iext/openssl/ -I/home/pbulk/build/lang/php74/work/php-7.4.33/ext/openssl/ -DPHP_ATOM_INC -I/home/pbulk/build/lang/php74/work/php-7.4.33/include -I/home/pbulk/build/lang/php74/work/php-7.4.33/main -I/home/pbulk/build/lang/php74/work/php-7.4.33 -I/home/pbulk/build/lang/php74/work/php-7.4.33/ext/date/lib -I/opt/pkg/include/libxml2 -I/opt/pkg/include -I/home/pbulk/build/lang/php74/work/php-7.4.33/TSRM -I/home/pbulk/build/lang/php74/work/php-7.4.33/Zend -I/opt/pkg/include -I/opt/pkg/include/libxml2 -I/opt/pkg/include/ncurses -I/usr/include -D_POSIX_PTHREAD_SEMANTICS -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/libxml2 -I/opt/pkg/include/ncurses -I/usr/include -fvisibility=hidden -Wall -Wno-strict-aliasing -DZEND_SIGNALS -c /home/pbulk/build/lang/php74/work/php-7.4.33/ext/openssl/openssl.c -o ext/openssl/openssl.lo /usr/bin/bash /home/pbulk/build/lang/php74/work/php-7.4.33/libtool --silent --preserve-dup-deps --mode=compile gcc -Iext/openssl/ -I/home/pbulk/build/lang/php74/work/php-7.4.33/ext/openssl/ -DPHP_ATOM_INC -I/home/pbulk/build/lang/php74/work/php-7.4.33/include -I/home/pbulk/build/lang/php74/work/php-7.4.33/main -I/home/pbulk/build/lang/php74/work/php-7.4.33 -I/home/pbulk/build/lang/php74/work/php-7.4.33/ext/date/lib -I/opt/pkg/include/libxml2 -I/opt/pkg/include -I/home/pbulk/build/lang/php74/work/php-7.4.33/TSRM -I/home/pbulk/build/lang/php74/work/php-7.4.33/Zend -I/opt/pkg/include -I/opt/pkg/include/libxml2 -I/opt/pkg/include/ncurses -I/usr/include -D_POSIX_PTHREAD_SEMANTICS -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/libxml2 -I/opt/pkg/include/ncurses -I/usr/include -fvisibility=hidden -Wall -Wno-strict-aliasing -DZEND_SIGNALS -c /home/pbulk/build/lang/php74/work/php-7.4.33/ext/openssl/xp_ssl.c -o ext/openssl/xp_ssl.lo /home/pbulk/build/lang/php74/work/php-7.4.33/ext/libxml/libxml.c:479:47: error: expected ';', ',' or ')' before 'ATTRIBUTE_UNUSED' 479 | int compression ATTRIBUTE_UNUSED) | ^~~~~~~~~~~~~~~~ /home/pbulk/build/lang/php74/work/php-7.4.33/ext/libxml/libxml.c: In function 'php_libxml_shutdown': /home/pbulk/build/lang/php74/work/php-7.4.33/ext/libxml/libxml.c:826:17: warning: 'xmlRelaxNGCleanupTypes' is deprecated [-Wdeprecated-declarations] 826 | xmlRelaxNGCleanupTypes(); | ^~~~~~~~~~~~~~~~~~~~~~ In file included from /home/pbulk/build/lang/php74/work/php-7.4.33/ext/libxml/libxml.c:41: /home/pbulk/build/lang/php74/work/.buildlink/include/libxml2/libxml/relaxng.h:125:21: note: declared here 125 | xmlRelaxNGCleanupTypes (void); | ^~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/lang/php74/work/php-7.4.33/ext/libxml/libxml.c: In function 'zm_startup_libxml': /home/pbulk/build/lang/php74/work/php-7.4.33/ext/libxml/libxml.c:920:54: error: 'php_libxml_output_buffer_create_filename' undeclared (first use in this function); did you mean 'php_libxml_input_buffer_create_filename'? 920 | xmlOutputBufferCreateFilenameDefault(php_libxml_output_buffer_create_filename); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | php_libxml_input_buffer_create_filename /home/pbulk/build/lang/php74/work/php-7.4.33/ext/libxml/libxml.c:920:54: note: each undeclared identifier is reported only once for each function it appears in /home/pbulk/build/lang/php74/work/php-7.4.33/ext/libxml/libxml.c: In function 'zm_activate_libxml': /home/pbulk/build/lang/php74/work/php-7.4.33/ext/libxml/libxml.c:933:54: error: 'php_libxml_output_buffer_create_filename' undeclared (first use in this function); did you mean 'php_libxml_input_buffer_create_filename'? 933 | xmlOutputBufferCreateFilenameDefault(php_libxml_output_buffer_create_filename); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | php_libxml_input_buffer_create_filename /home/pbulk/build/lang/php74/work/php-7.4.33/ext/libxml/libxml.c: In function 'zif_libxml_use_internal_errors': /home/pbulk/build/lang/php74/work/php-7.4.33/ext/libxml/libxml.c:1032:48: warning: comparison of distinct pointer types lacks a cast 1032 | if (current_handler && current_handler == php_libxml_structured_error_handler) { | ^~ /home/pbulk/build/lang/php74/work/php-7.4.33/ext/libxml/libxml.c:1050:49: warning: passing argument 2 of 'xmlSetStructuredErrorFunc' from incompatible pointer type [-Wincompatible-pointer-types] 1050 | xmlSetStructuredErrorFunc(NULL, php_libxml_structured_error_handler); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | void (*)(void *, xmlError *) {aka void (*)(void *, struct _xmlError *)} In file included from /home/pbulk/build/lang/php74/work/.buildlink/include/libxml2/libxml/valid.h:16, from /home/pbulk/build/lang/php74/work/.buildlink/include/libxml2/libxml/parser.h:20, from /home/pbulk/build/lang/php74/work/php-7.4.33/ext/libxml/libxml.c:34: /home/pbulk/build/lang/php74/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/php74/work/php-7.4.33/ext/libxml/libxml.c: In function 'zif_libxml_get_last_error': /home/pbulk/build/lang/php74/work/php-7.4.33/ext/libxml/libxml.c:1066:15: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1066 | error = xmlGetLastError(); | ^ /home/pbulk/build/lang/php74/work/php-7.4.33/ext/libxml/libxml.c: At top level: /home/pbulk/build/lang/php74/work/php-7.4.33/ext/libxml/libxml.c:387:12: warning: 'php_libxml_streams_IO_write' defined but not used [-Wunused-function] 387 | static int php_libxml_streams_IO_write(void *context, const char *buffer, int len) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/lang/php74/work/php-7.4.33/ext/libxml/libxml.c:377:14: warning: 'php_libxml_streams_IO_open_write_wrapper' defined but not used [-Wunused-function] 377 | static void *php_libxml_streams_IO_open_write_wrapper(const char *filename) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gmake: *** [Makefile:559: ext/libxml/libxml.lo] Error 1 gmake: *** Waiting for unfinished jobs.... /home/pbulk/build/lang/php74/work/php-7.4.33/ext/openssl/openssl.c: In function 'php_openssl_generate_private_key': /home/pbulk/build/lang/php74/work/php-7.4.33/ext/openssl/openssl.c:4023:49: warning: 'RSA_new' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4023 | rsaparam = RSA_new(); | ^~~~~~~~ In file included from /home/pbulk/build/lang/php74/work/php-7.4.33/ext/openssl/openssl.c:46: /home/pbulk/build/lang/php74/work/.buildlink/include/openssl/rsa.h:212:28: note: declared here 212 | OSSL_DEPRECATEDIN_3_0 RSA *RSA_new(void); | ^~~~~~~ /home/pbulk/build/lang/php74/work/php-7.4.33/ext/openssl/openssl.c:4025:49: warning: 'RSA_generate_key_ex' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4025 | if (rsaparam == NULL || !RSA_generate_key_ex(rsaparam, req->priv_key_bits, bne, NULL)) { | ^~ /home/pbulk/build/lang/php74/work/.buildlink/include/openssl/rsa.h:271:27: note: declared here 271 | OSSL_DEPRECATEDIN_3_0 int RSA_generate_key_ex(RSA *rsa, int bits, BIGNUM *e, | ^~~~~~~~~~~~~~~~~~~ /home/pbulk/build/lang/php74/work/php-7.4.33/ext/openssl/openssl.c:4027:57: warning: 'RSA_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4027 | RSA_free(rsaparam); | ^~~~~~~~ /home/pbulk/build/lang/php74/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/php74/work/php-7.4.33/ext/openssl/openssl.c:4033:41: warning: 'EVP_PKEY_assign' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4033 | if (rsaparam && EVP_PKEY_assign_RSA(req->priv_key, rsaparam)) { | ^~ In file included from /home/pbulk/build/lang/php74/work/php-7.4.33/ext/openssl/openssl.c:44: /home/pbulk/build/lang/php74/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/php74/work/php-7.4.33/ext/openssl/openssl.c:4044:41: warning: 'DSA_new' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4044 | DSA *dsaparam = DSA_new(); | ^~~ In file included from /home/pbulk/build/lang/php74/work/php-7.4.33/ext/openssl/openssl.c:47: /home/pbulk/build/lang/php74/work/.buildlink/include/openssl/dsa.h:130:28: note: declared here 130 | OSSL_DEPRECATEDIN_3_0 DSA *DSA_new(void); | ^~~~~~~ /home/pbulk/build/lang/php74/work/php-7.4.33/ext/openssl/openssl.c:4045:41: warning: 'DSA_generate_parameters_ex' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4045 | if (dsaparam && DSA_generate_parameters_ex(dsaparam, req->priv_key_bits, NULL, 0, NULL, NULL, NULL)) { | ^~ /home/pbulk/build/lang/php74/work/.buildlink/include/openssl/dsa.h:172:27: note: declared here 172 | OSSL_DEPRECATEDIN_3_0 int DSA_generate_parameters_ex(DSA *dsa, int bits, | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/lang/php74/work/php-7.4.33/ext/openssl/openssl.c:4046:49: warning: 'DSA_set_method' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4046 | DSA_set_method(dsaparam, DSA_get_default_method()); | ^~~~~~~~~~~~~~ /home/pbulk/build/lang/php74/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/php74/work/php-7.4.33/ext/openssl/openssl.c:4046:49: warning: 'DSA_get_default_method' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4046 | DSA_set_method(dsaparam, DSA_get_default_method()); | ^~~~~~~~~~~~~~ /home/pbulk/build/lang/php74/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/php74/work/php-7.4.33/ext/openssl/openssl.c:4047:49: warning: 'DSA_generate_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4047 | if (DSA_generate_key(dsaparam)) { | ^~ /home/pbulk/build/lang/php74/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/php74/work/php-7.4.33/ext/openssl/openssl.c:4048:57: warning: 'EVP_PKEY_assign' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4048 | if (EVP_PKEY_assign_DSA(req->priv_key, dsaparam)) { | ^~ /home/pbulk/build/lang/php74/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/php74/work/php-7.4.33/ext/openssl/openssl.c:4055:57: warning: 'DSA_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4055 | DSA_free(dsaparam); | ^~~~~~~~ /home/pbulk/build/lang/php74/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/php74/work/php-7.4.33/ext/openssl/openssl.c:4068:41: warning: 'DH_new' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4068 | DH *dhparam = DH_new(); | ^~ In file included from /home/pbulk/build/lang/php74/work/.buildlink/include/openssl/dsa.h:31: /home/pbulk/build/lang/php74/work/.buildlink/include/openssl/dh.h:210:27: note: declared here 210 | OSSL_DEPRECATEDIN_3_0 DH *DH_new(void); | ^~~~~~ /home/pbulk/build/lang/php74/work/php-7.4.33/ext/openssl/openssl.c:4069:41: warning: 'DH_generate_parameters_ex' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4069 | if (dhparam && DH_generate_parameters_ex(dhparam, req->priv_key_bits, 2, NULL)) { | ^~ /home/pbulk/build/lang/php74/work/.buildlink/include/openssl/dh.h:223:27: note: declared here 223 | OSSL_DEPRECATEDIN_3_0 int DH_generate_parameters_ex(DH *dh, int prime_len, | ^~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/lang/php74/work/php-7.4.33/ext/openssl/openssl.c:4070:49: warning: 'DH_set_method' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4070 | DH_set_method(dhparam, DH_get_default_method()); | ^~~~~~~~~~~~~ /home/pbulk/build/lang/php74/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/php74/work/php-7.4.33/ext/openssl/openssl.c:4070:49: warning: 'DH_get_default_method' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4070 | DH_set_method(dhparam, DH_get_default_method()); | ^~~~~~~~~~~~~ /home/pbulk/build/lang/php74/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/php74/work/php-7.4.33/ext/openssl/openssl.c:4071:49: warning: 'DH_check' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4071 | if (DH_check(dhparam, &codes) && codes == 0 && DH_generate_key(dhparam)) { | ^~ /home/pbulk/build/lang/php74/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/php74/work/php-7.4.33/ext/openssl/openssl.c:4071:49: warning: 'DH_generate_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4071 | if (DH_check(dhparam, &codes) && codes == 0 && DH_generate_key(dhparam)) { | ^~ /home/pbulk/build/lang/php74/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/php74/work/php-7.4.33/ext/openssl/openssl.c:4072:57: warning: 'EVP_PKEY_assign' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4072 | if (EVP_PKEY_assign_DH(req->priv_key, dhparam)) { | ^~ /home/pbulk/build/lang/php74/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/php74/work/php-7.4.33/ext/openssl/openssl.c:4079:57: warning: 'DH_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4079 | DH_free(dhparam); | ^~~~~~~ /home/pbulk/build/lang/php74/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/php74/work/php-7.4.33/ext/openssl/openssl.c:4095:41: warning: 'EC_KEY_new_by_curve_name' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4095 | eckey = EC_KEY_new_by_curve_name(req->curve_name); | ^~~~~ In file included from /home/pbulk/build/lang/php74/work/.buildlink/include/openssl/x509.h:33, from /home/pbulk/build/lang/php74/work/php-7.4.33/ext/openssl/openssl.c:49: /home/pbulk/build/lang/php74/work/.buildlink/include/openssl/ec.h:1017:31: note: declared here 1017 | OSSL_DEPRECATEDIN_3_0 EC_KEY *EC_KEY_new_by_curve_name(int nid); | ^~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/lang/php74/work/php-7.4.33/ext/openssl/openssl.c:4097:49: warning: 'EC_KEY_set_asn1_flag' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4097 | EC_KEY_set_asn1_flag(eckey, OPENSSL_EC_NAMED_CURVE); | ^~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/lang/php74/work/.buildlink/include/openssl/ec.h:1106:28: note: declared here 1106 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_set_asn1_flag(EC_KEY *eckey, int asn1_flag); | ^~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/lang/php74/work/php-7.4.33/ext/openssl/openssl.c:4098:49: warning: 'EC_KEY_generate_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4098 | if (EC_KEY_generate_key(eckey) && | ^~ /home/pbulk/build/lang/php74/work/.buildlink/include/openssl/ec.h:1120:27: note: declared here 1120 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_generate_key(EC_KEY *key); | ^~~~~~~~~~~~~~~~~~~ /home/pbulk/build/lang/php74/work/php-7.4.33/ext/openssl/openssl.c:4099:57: warning: 'EVP_PKEY_assign' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4099 | EVP_PKEY_assign_EC_KEY(req->priv_key, eckey)) { | ^~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/lang/php74/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/php74/work/php-7.4.33/ext/openssl/openssl.c:4102:57: warning: 'EC_KEY_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4102 | EC_KEY_free(eckey); | ^~~~~~~~~~~ /home/pbulk/build/lang/php74/work/.buildlink/include/openssl/ec.h:1022:28: note: declared here 1022 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key); | ^~~~~~~~~~~ /home/pbulk/build/lang/php74/work/php-7.4.33/ext/openssl/openssl.c: In function 'php_openssl_is_private_key': /home/pbulk/build/lang/php74/work/php-7.4.33/ext/openssl/xp_ssl.c: In function 'php_openssl_set_server_dh_param': /home/pbulk/build/lang/php74/work/php-7.4.33/ext/openssl/xp_ssl.c:1229:9: warning: 'PEM_read_bio_DHparams' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1229 | dh = PEM_read_bio_DHparams(bio, NULL, NULL, NULL); | ^~ In file included from /home/pbulk/build/lang/php74/work/.buildlink/include/openssl/ssl.h:37, from /home/pbulk/build/lang/php74/work/php-7.4.33/ext/openssl/xp_ssl.c:33: /home/pbulk/build/lang/php74/work/.buildlink/include/openssl/pem.h:75:11: note: declared here 75 | type *PEM_##readname##_##name(INTYPE *out, type **x, \ | ^~~~ /home/pbulk/build/lang/php74/work/.buildlink/include/openssl/pem.h:273:10: note: in expansion of macro 'PEM_read_cb_fnsig' 273 | attr PEM_read_cb_fnsig(name, type, BIO, read_bio); | ^~~~~~~~~~~~~~~~~ /home/pbulk/build/lang/php74/work/.buildlink/include/openssl/pem.h:337:5: note: in expansion of macro 'DECLARE_PEM_read_bio_attr' 337 | DECLARE_PEM_read_bio_attr(attr, name, type) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/lang/php74/work/.buildlink/include/openssl/pem.h:347:5: note: in expansion of macro 'DECLARE_PEM_read_attr' 347 | DECLARE_PEM_read_attr(attr, name, type) \ | ^~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/lang/php74/work/.buildlink/include/openssl/pem.h:474:1: note: in expansion of macro 'DECLARE_PEM_rw_attr' 474 | DECLARE_PEM_rw_attr(OSSL_DEPRECATEDIN_3_0, DHparams, DH) | ^~~~~~~~~~~~~~~~~~~ /home/pbulk/build/lang/php74/work/php-7.4.33/ext/openssl/xp_ssl.c:1239:17: warning: 'DH_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1239 | DH_free(dh); | ^~~~~~~ In file included from /home/pbulk/build/lang/php74/work/.buildlink/include/openssl/dsa.h:31, from /home/pbulk/build/lang/php74/work/.buildlink/include/openssl/x509.h:37, from /home/pbulk/build/lang/php74/work/.buildlink/include/openssl/ssl.h:32: /home/pbulk/build/lang/php74/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/php74/work/php-7.4.33/ext/openssl/xp_ssl.c:1243:9: warning: 'DH_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1243 | DH_free(dh); | ^~~~~~~ /home/pbulk/build/lang/php74/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/php74/work/php-7.4.33/ext/openssl/openssl.c:4137:33: warning: 'EVP_PKEY_get0_RSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4137 | RSA *rsa = EVP_PKEY_get0_RSA(pkey); | ^~~ /home/pbulk/build/lang/php74/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/php74/work/php-7.4.33/ext/openssl/openssl.c:4137:44: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 4137 | RSA *rsa = EVP_PKEY_get0_RSA(pkey); | ^~~~~~~~~~~~~~~~~ /home/pbulk/build/lang/php74/work/php-7.4.33/ext/openssl/openssl.c:4141:41: warning: 'RSA_get0_factors' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4141 | RSA_get0_factors(rsa, &p, &q); | ^~~~~~~~~~~~~~~~ /home/pbulk/build/lang/php74/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/php74/work/php-7.4.33/ext/openssl/openssl.c:4154:33: warning: 'EVP_PKEY_get0_DSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4154 | DSA *dsa = EVP_PKEY_get0_DSA(pkey); | ^~~ /home/pbulk/build/lang/php74/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/php74/work/php-7.4.33/ext/openssl/openssl.c:4154:44: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 4154 | DSA *dsa = EVP_PKEY_get0_DSA(pkey); | ^~~~~~~~~~~~~~~~~ /home/pbulk/build/lang/php74/work/php-7.4.33/ext/openssl/openssl.c:4158:41: warning: 'DSA_get0_pqg' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4158 | DSA_get0_pqg(dsa, &p, &q, &g); | ^~~~~~~~~~~~ /home/pbulk/build/lang/php74/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/php74/work/php-7.4.33/ext/openssl/openssl.c:4163:41: warning: 'DSA_get0_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4163 | DSA_get0_key(dsa, &pub_key, &priv_key); | ^~~~~~~~~~~~ /home/pbulk/build/lang/php74/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/php74/work/php-7.4.33/ext/openssl/openssl.c:4172:33: warning: 'EVP_PKEY_get0_DH' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4172 | DH *dh = EVP_PKEY_get0_DH(pkey); | ^~ /home/pbulk/build/lang/php74/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/php74/work/php-7.4.33/ext/openssl/openssl.c:4172:42: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 4172 | DH *dh = EVP_PKEY_get0_DH(pkey); | ^~~~~~~~~~~~~~~~ /home/pbulk/build/lang/php74/work/php-7.4.33/ext/openssl/openssl.c:4176:41: warning: 'DH_get0_pqg' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4176 | DH_get0_pqg(dh, &p, &q, &g); | ^~~~~~~~~~~ /home/pbulk/build/lang/php74/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/php74/work/php-7.4.33/ext/openssl/openssl.c:4181:41: warning: 'DH_get0_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4181 | DH_get0_key(dh, &pub_key, &priv_key); | ^~~~~~~~~~~ /home/pbulk/build/lang/php74/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/php74/work/php-7.4.33/ext/openssl/openssl.c:4191:33: warning: 'EVP_PKEY_get0_EC_KEY' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4191 | EC_KEY *ec = EVP_PKEY_get0_EC_KEY(pkey); | ^~~~~~ /home/pbulk/build/lang/php74/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/php74/work/php-7.4.33/ext/openssl/openssl.c:4191:46: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 4191 | EC_KEY *ec = EVP_PKEY_get0_EC_KEY(pkey); | ^~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/lang/php74/work/php-7.4.33/ext/openssl/openssl.c:4192:33: warning: 'EC_KEY_get0_private_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4192 | if (ec != NULL && NULL == EC_KEY_get0_private_key(ec)) { | ^~ /home/pbulk/build/lang/php74/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/php74/work/php-7.4.33/ext/openssl/openssl.c: In function 'php_openssl_pkey_init_and_assign_rsa': /home/pbulk/build/lang/php74/work/php-7.4.33/ext/openssl/openssl.c:4238:9: warning: 'RSA_set0_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4238 | if (!n || !d || !RSA_set0_key(rsa, n, e, d)) { | ^~ /home/pbulk/build/lang/php74/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/php74/work/php-7.4.33/ext/openssl/openssl.c:4244:9: warning: 'RSA_set0_factors' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4244 | if ((p || q) && !RSA_set0_factors(rsa, p, q)) { | ^~ /home/pbulk/build/lang/php74/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/php74/work/php-7.4.33/ext/openssl/openssl.c:4251:9: warning: 'RSA_set0_crt_params' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4251 | if ((dmp1 || dmq1 || iqmp) && !RSA_set0_crt_params(rsa, dmp1, dmq1, iqmp)) { | ^~ /home/pbulk/build/lang/php74/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/php74/work/php-7.4.33/ext/openssl/openssl.c:4255:9: warning: 'EVP_PKEY_assign' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4255 | if (!EVP_PKEY_assign_RSA(pkey, rsa)) { | ^~ /home/pbulk/build/lang/php74/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/php74/work/php-7.4.33/ext/openssl/openssl.c: In function 'php_openssl_pkey_init_dsa': /home/pbulk/build/lang/php74/work/php-7.4.33/ext/openssl/openssl.c:4272:9: warning: 'DSA_set0_pqg' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4272 | if (!p || !q || !g || !DSA_set0_pqg(dsa, p, q, g)) { | ^~ /home/pbulk/build/lang/php74/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/php74/work/php-7.4.33/ext/openssl/openssl.c:4279:17: warning: 'DSA_set0_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4279 | return DSA_set0_key(dsa, pub_key, priv_key); | ^~~~~~ /home/pbulk/build/lang/php74/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/php74/work/php-7.4.33/ext/openssl/openssl.c:4284:9: warning: 'DSA_generate_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4284 | if (!DSA_generate_key(dsa)) { | ^~ /home/pbulk/build/lang/php74/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/php74/work/php-7.4.33/ext/openssl/openssl.c:4291:9: warning: 'DSA_get0_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4291 | DSA_get0_key(dsa, &pub_key_const, &priv_key_const); | ^~~~~~~~~~~~ /home/pbulk/build/lang/php74/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/php74/work/php-7.4.33/ext/openssl/openssl.c: In function 'php_openssl_pkey_init_dh': /home/pbulk/build/lang/php74/work/php-7.4.33/ext/openssl/openssl.c:4349:9: warning: 'DH_set0_pqg' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4349 | if (!p || !g || !DH_set0_pqg(dh, p, q, g)) { | ^~ /home/pbulk/build/lang/php74/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/php74/work/php-7.4.33/ext/openssl/openssl.c:4356:17: warning: 'DH_set0_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4356 | return DH_set0_key(dh, pub_key, priv_key); | ^~~~~~ /home/pbulk/build/lang/php74/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/php74/work/php-7.4.33/ext/openssl/openssl.c:4363:17: warning: 'DH_set0_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4363 | return DH_set0_key(dh, pub_key, priv_key); | ^~~~~~ /home/pbulk/build/lang/php74/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/php74/work/php-7.4.33/ext/openssl/openssl.c:4368:9: warning: 'DH_generate_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4368 | if (!DH_generate_key(dh)) { | ^~ /home/pbulk/build/lang/php74/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/php74/work/php-7.4.33/ext/openssl/openssl.c: In function 'zif_openssl_pkey_new': /home/pbulk/build/lang/php74/work/php-7.4.33/ext/openssl/openssl.c:4397:33: warning: 'RSA_new' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4397 | RSA *rsa = RSA_new(); | ^~~ /home/pbulk/build/lang/php74/work/.buildlink/include/openssl/rsa.h:212:28: note: declared here 212 | OSSL_DEPRECATEDIN_3_0 RSA *RSA_new(void); | ^~~~~~~ /home/pbulk/build/lang/php74/work/php-7.4.33/ext/openssl/openssl.c:4402:41: warning: 'RSA_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4402 | RSA_free(rsa); | ^~~~~~~~ /home/pbulk/build/lang/php74/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/php74/work/php-7.4.33/ext/openssl/openssl.c:4415:33: warning: 'DSA_new' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4415 | DSA *dsa = DSA_new(); | ^~~ /home/pbulk/build/lang/php74/work/.buildlink/include/openssl/dsa.h:130:28: note: declared here 130 | OSSL_DEPRECATEDIN_3_0 DSA *DSA_new(void); | ^~~~~~~ /home/pbulk/build/lang/php74/work/php-7.4.33/ext/openssl/openssl.c:4418:49: warning: 'EVP_PKEY_assign' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4418 | if (EVP_PKEY_assign_DSA(pkey, dsa)) { | ^~ /home/pbulk/build/lang/php74/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/php74/work/php-7.4.33/ext/openssl/openssl.c:4424:41: warning: 'DSA_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4424 | DSA_free(dsa); | ^~~~~~~~ /home/pbulk/build/lang/php74/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/php74/work/php-7.4.33/ext/openssl/openssl.c:4437:33: warning: 'DH_new' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4437 | DH *dh = DH_new(); | ^~ /home/pbulk/build/lang/php74/work/.buildlink/include/openssl/dh.h:210:27: note: declared here 210 | OSSL_DEPRECATEDIN_3_0 DH *DH_new(void); | ^~~~~~ /home/pbulk/build/lang/php74/work/php-7.4.33/ext/openssl/openssl.c:4440:49: warning: 'EVP_PKEY_assign' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4440 | if (EVP_PKEY_assign_DH(pkey, dh)) { | ^~ /home/pbulk/build/lang/php74/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/php74/work/php-7.4.33/ext/openssl/openssl.c:4447:41: warning: 'DH_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4447 | DH_free(dh); | ^~~~~~~ /home/pbulk/build/lang/php74/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/php74/work/php-7.4.33/ext/openssl/openssl.c:4465:33: warning: 'EC_KEY_new' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4465 | eckey = EC_KEY_new(); | ^~~~~ /home/pbulk/build/lang/php74/work/.buildlink/include/openssl/ec.h:987:31: note: declared here 987 | OSSL_DEPRECATEDIN_3_0 EC_KEY *EC_KEY_new(void); | ^~~~~~~~~~ /home/pbulk/build/lang/php74/work/php-7.4.33/ext/openssl/openssl.c:4483:57: warning: 'EC_KEY_set_group' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4483 | if (!EC_KEY_set_group(eckey, group)) { | ^~ /home/pbulk/build/lang/php74/work/.buildlink/include/openssl/ec.h:1061:27: note: declared here 1061 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_set_group(EC_KEY *key, const EC_GROUP *group); | ^~~~~~~~~~~~~~~~ /home/pbulk/build/lang/php74/work/php-7.4.33/ext/openssl/openssl.c:4499:49: warning: 'EC_KEY_set_private_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4499 | if (!EC_KEY_set_private_key(eckey, d)) { | ^~ /home/pbulk/build/lang/php74/work/.buildlink/include/openssl/ec.h:1075:27: note: declared here 1075 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_set_private_key(EC_KEY *key, const BIGNUM *prv); | ^~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/lang/php74/work/php-7.4.33/ext/openssl/openssl.c:4521:49: warning: 'EC_POINT_set_affine_coordinates_GFp' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4521 | if (!EC_POINT_set_affine_coordinates_GFp( | ^~ /home/pbulk/build/lang/php74/work/.buildlink/include/openssl/ec.h:665:27: note: declared here 665 | OSSL_DEPRECATEDIN_3_0 int EC_POINT_set_affine_coordinates_GFp | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/lang/php74/work/php-7.4.33/ext/openssl/openssl.c:4530:49: warning: 'EC_KEY_set_public_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4530 | if (!EC_KEY_set_public_key(eckey, pnt)) { | ^~ /home/pbulk/build/lang/php74/work/.buildlink/include/openssl/ec.h:1089:27: note: declared here 1089 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_set_public_key(EC_KEY *key, const EC_POINT *pub); | ^~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/lang/php74/work/php-7.4.33/ext/openssl/openssl.c:4538:41: warning: 'EC_KEY_check_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4538 | if (!EC_KEY_check_key(eckey)) { | ^~ /home/pbulk/build/lang/php74/work/.buildlink/include/openssl/ec.h:1126:27: note: declared here 1126 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_check_key(const EC_KEY *key); | ^~~~~~~~~~~~~~~~ /home/pbulk/build/lang/php74/work/php-7.4.33/ext/openssl/openssl.c:4540:49: warning: 'EC_KEY_generate_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4540 | EC_KEY_generate_key(eckey); | ^~~~~~~~~~~~~~~~~~~ /home/pbulk/build/lang/php74/work/.buildlink/include/openssl/ec.h:1120:27: note: declared here 1120 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_generate_key(EC_KEY *key); | ^~~~~~~~~~~~~~~~~~~ /home/pbulk/build/lang/php74/work/php-7.4.33/ext/openssl/openssl.c:4543:41: warning: 'EC_KEY_check_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4543 | if (EC_KEY_check_key(eckey) && EVP_PKEY_assign_EC_KEY(pkey, eckey)) { | ^~ /home/pbulk/build/lang/php74/work/.buildlink/include/openssl/ec.h:1126:27: note: declared here 1126 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_check_key(const EC_KEY *key); | ^~~~~~~~~~~~~~~~ /home/pbulk/build/lang/php74/work/php-7.4.33/ext/openssl/openssl.c:4543:41: warning: 'EVP_PKEY_assign' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4543 | if (EC_KEY_check_key(eckey) && EVP_PKEY_assign_EC_KEY(pkey, eckey)) { | ^~ /home/pbulk/build/lang/php74/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/php74/work/php-7.4.33/ext/openssl/openssl.c:4566:33: warning: 'EC_KEY_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4566 | EC_KEY_free(eckey); | ^~~~~~~~~~~ /home/pbulk/build/lang/php74/work/.buildlink/include/openssl/ec.h:1022:28: note: declared here 1022 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key); | ^~~~~~~~~~~ /home/pbulk/build/lang/php74/work/php-7.4.33/ext/openssl/openssl.c: In function 'zif_openssl_pkey_export_to_file': /home/pbulk/build/lang/php74/work/php-7.4.33/ext/openssl/openssl.c:4645:33: warning: 'PEM_write_bio_ECPrivateKey' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4645 | pem_write = PEM_write_bio_ECPrivateKey( | ^~~~~~~~~ In file included from /home/pbulk/build/lang/php74/work/php-7.4.33/ext/openssl/openssl.c:52: /home/pbulk/build/lang/php74/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/php74/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/php74/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/php74/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/php74/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/php74/work/php-7.4.33/ext/openssl/openssl.c:4646:49: warning: 'EVP_PKEY_get0_EC_KEY' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4646 | bio_out, EVP_PKEY_get0_EC_KEY(key), cipher, | ^~~~~~~ /home/pbulk/build/lang/php74/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/php74/work/php-7.4.33/ext/openssl/openssl.c: In function 'zif_openssl_pkey_export': /home/pbulk/build/lang/php74/work/php-7.4.33/ext/openssl/openssl.c:4722:33: warning: 'PEM_write_bio_ECPrivateKey' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4722 | pem_write = PEM_write_bio_ECPrivateKey( | ^~~~~~~~~ /home/pbulk/build/lang/php74/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/php74/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/php74/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/php74/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/php74/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/php74/work/php-7.4.33/ext/openssl/openssl.c:4723:49: warning: 'EVP_PKEY_get0_EC_KEY' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4723 | bio_out, EVP_PKEY_get0_EC_KEY(key), cipher, | ^~~~~~~ /home/pbulk/build/lang/php74/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/php74/work/php-7.4.33/ext/openssl/openssl.c: In function 'zif_openssl_pkey_get_details': /home/pbulk/build/lang/php74/work/php-7.4.33/ext/openssl/openssl.c:4855:33: warning: 'EVP_PKEY_get0_RSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4855 | RSA *rsa = EVP_PKEY_get0_RSA(pkey); | ^~~ /home/pbulk/build/lang/php74/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/php74/work/php-7.4.33/ext/openssl/openssl.c:4855:44: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 4855 | RSA *rsa = EVP_PKEY_get0_RSA(pkey); | ^~~~~~~~~~~~~~~~~ /home/pbulk/build/lang/php74/work/php-7.4.33/ext/openssl/openssl.c:4862:41: warning: 'RSA_get0_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4862 | RSA_get0_key(rsa, &n, &e, &d); | ^~~~~~~~~~~~ /home/pbulk/build/lang/php74/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/php74/work/php-7.4.33/ext/openssl/openssl.c:4863:41: warning: 'RSA_get0_factors' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4863 | RSA_get0_factors(rsa, &p, &q); | ^~~~~~~~~~~~~~~~ /home/pbulk/build/lang/php74/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/php74/work/php-7.4.33/ext/openssl/openssl.c:4864:41: warning: 'RSA_get0_crt_params' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4864 | RSA_get0_crt_params(rsa, &dmp1, &dmq1, &iqmp); | ^~~~~~~~~~~~~~~~~~~ /home/pbulk/build/lang/php74/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/php74/work/php-7.4.33/ext/openssl/openssl.c:4884:33: warning: 'EVP_PKEY_get0_DSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4884 | DSA *dsa = EVP_PKEY_get0_DSA(pkey); | ^~~ /home/pbulk/build/lang/php74/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/php74/work/php-7.4.33/ext/openssl/openssl.c:4884:44: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 4884 | DSA *dsa = EVP_PKEY_get0_DSA(pkey); | ^~~~~~~~~~~~~~~~~ /home/pbulk/build/lang/php74/work/php-7.4.33/ext/openssl/openssl.c:4891:41: warning: 'DSA_get0_pqg' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4891 | DSA_get0_pqg(dsa, &p, &q, &g); | ^~~~~~~~~~~~ /home/pbulk/build/lang/php74/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/php74/work/php-7.4.33/ext/openssl/openssl.c:4892:41: warning: 'DSA_get0_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4892 | DSA_get0_key(dsa, &pub_key, &priv_key); | ^~~~~~~~~~~~ /home/pbulk/build/lang/php74/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/php74/work/php-7.4.33/ext/openssl/openssl.c:4906:33: warning: 'EVP_PKEY_get0_DH' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4906 | DH *dh = EVP_PKEY_get0_DH(pkey); | ^~ /home/pbulk/build/lang/php74/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/php74/work/php-7.4.33/ext/openssl/openssl.c:4906:42: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 4906 | DH *dh = EVP_PKEY_get0_DH(pkey); | ^~~~~~~~~~~~~~~~ /home/pbulk/build/lang/php74/work/php-7.4.33/ext/openssl/openssl.c:4913:41: warning: 'DH_get0_pqg' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4913 | DH_get0_pqg(dh, &p, &q, &g); | ^~~~~~~~~~~ /home/pbulk/build/lang/php74/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/php74/work/php-7.4.33/ext/openssl/openssl.c:4914:41: warning: 'DH_get0_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4914 | DH_get0_key(dh, &pub_key, &priv_key); | ^~~~~~~~~~~ /home/pbulk/build/lang/php74/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/php74/work/php-7.4.33/ext/openssl/openssl.c:4928:25: warning: 'EVP_PKEY_get0_EC_KEY' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4928 | if (EVP_PKEY_get0_EC_KEY(pkey) != NULL) { | ^~ /home/pbulk/build/lang/php74/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/php74/work/php-7.4.33/ext/openssl/openssl.c:4937:33: warning: 'EVP_PKEY_get0_EC_KEY' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4937 | const EC_KEY *ec_key = EVP_PKEY_get0_EC_KEY(pkey); | ^~~~~ /home/pbulk/build/lang/php74/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/php74/work/php-7.4.33/ext/openssl/openssl.c:4942:33: warning: 'EC_KEY_get0_group' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4942 | ec_group = EC_KEY_get0_group(ec_key); | ^~~~~~~~ /home/pbulk/build/lang/php74/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/php74/work/php-7.4.33/ext/openssl/openssl.c:4964:33: warning: 'EC_KEY_get0_public_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4964 | pub = EC_KEY_get0_public_key(ec_key); | ^~~ /home/pbulk/build/lang/php74/work/.buildlink/include/openssl/ec.h:1081:39: note: declared here 1081 | OSSL_DEPRECATEDIN_3_0 const EC_POINT *EC_KEY_get0_public_key(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/lang/php74/work/php-7.4.33/ext/openssl/openssl.c:4966:33: warning: 'EC_POINT_get_affine_coordinates_GFp' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4966 | if (EC_POINT_get_affine_coordinates_GFp(ec_group, pub, x, y, NULL)) { | ^~ /home/pbulk/build/lang/php74/work/.buildlink/include/openssl/ec.h:678:27: note: declared here 678 | OSSL_DEPRECATEDIN_3_0 int EC_POINT_get_affine_coordinates_GFp | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/lang/php74/work/php-7.4.33/ext/openssl/openssl.c:4973:33: warning: 'EC_KEY_get0_private_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4973 | if ((d = EC_KEY_get0_private_key(EVP_PKEY_get0_EC_KEY(pkey))) != NULL) { | ^~ /home/pbulk/build/lang/php74/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/php74/work/php-7.4.33/ext/openssl/openssl.c:4973:33: warning: 'EVP_PKEY_get0_EC_KEY' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4973 | if ((d = EC_KEY_get0_private_key(EVP_PKEY_get0_EC_KEY(pkey))) != NULL) { | ^~ /home/pbulk/build/lang/php74/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/php74/work/php-7.4.33/ext/openssl/openssl.c: In function 'zif_openssl_dh_compute_key': /home/pbulk/build/lang/php74/work/php-7.4.33/ext/openssl/openssl.c:5016:9: warning: 'EVP_PKEY_get0_DH' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5016 | dh = EVP_PKEY_get0_DH(pkey); | ^~ /home/pbulk/build/lang/php74/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/php74/work/php-7.4.33/ext/openssl/openssl.c:5016:12: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 5016 | dh = EVP_PKEY_get0_DH(pkey); | ^ /home/pbulk/build/lang/php74/work/php-7.4.33/ext/openssl/openssl.c:5024:9: warning: 'DH_size' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5024 | data = zend_string_alloc(DH_size(dh), 0); | ^~~~ /home/pbulk/build/lang/php74/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/php74/work/php-7.4.33/ext/openssl/openssl.c:5025:9: warning: 'DH_compute_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5025 | len = DH_compute_key((unsigned char*)ZSTR_VAL(data), pub, dh); | ^~~ /home/pbulk/build/lang/php74/work/.buildlink/include/openssl/dh.h:235:27: note: declared here 235 | OSSL_DEPRECATEDIN_3_0 int DH_compute_key(unsigned char *key, | ^~~~~~~~~~~~~~ /home/pbulk/build/lang/php74/work/php-7.4.33/ext/openssl/openssl.c: In function 'zif_openssl_private_encrypt': /home/pbulk/build/lang/php74/work/php-7.4.33/ext/openssl/openssl.c:5769:25: warning: 'RSA_private_encrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5769 | successful = (RSA_private_encrypt((int)data_len, | ^~~~~~~~~~ /home/pbulk/build/lang/php74/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/php74/work/php-7.4.33/ext/openssl/openssl.c:5772:49: warning: 'EVP_PKEY_get0_RSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5772 | EVP_PKEY_get0_RSA(pkey), | ^~~~~~~~~~~~~~~~~ /home/pbulk/build/lang/php74/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/php74/work/php-7.4.33/ext/openssl/openssl.c:5772:49: warning: passing argument 4 of 'RSA_private_encrypt' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 5772 | EVP_PKEY_get0_RSA(pkey), | ^~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/lang/php74/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/php74/work/php-7.4.33/ext/openssl/openssl.c: In function 'zif_openssl_private_decrypt': /home/pbulk/build/lang/php74/work/php-7.4.33/ext/openssl/openssl.c:5830:25: warning: 'RSA_private_decrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5830 | cryptedlen = RSA_private_decrypt((int)data_len, | ^~~~~~~~~~ /home/pbulk/build/lang/php74/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/php74/work/php-7.4.33/ext/openssl/openssl.c:5833:41: warning: 'EVP_PKEY_get0_RSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5833 | EVP_PKEY_get0_RSA(pkey), | ^~~~~~~~~~~~~~~~~ /home/pbulk/build/lang/php74/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/php74/work/php-7.4.33/ext/openssl/openssl.c:5833:41: warning: passing argument 4 of 'RSA_private_decrypt' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 5833 | EVP_PKEY_get0_RSA(pkey), | ^~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/lang/php74/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/php74/work/php-7.4.33/ext/openssl/openssl.c: In function 'zif_openssl_public_encrypt': /home/pbulk/build/lang/php74/work/php-7.4.33/ext/openssl/openssl.c:5897:25: warning: 'RSA_public_encrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5897 | successful = (RSA_public_encrypt((int)data_len, | ^~~~~~~~~~ /home/pbulk/build/lang/php74/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/php74/work/php-7.4.33/ext/openssl/openssl.c:5900:49: warning: 'EVP_PKEY_get0_RSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5900 | EVP_PKEY_get0_RSA(pkey), | ^~~~~~~~~~~~~~~~~ /home/pbulk/build/lang/php74/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/php74/work/php-7.4.33/ext/openssl/openssl.c:5900:49: warning: passing argument 4 of 'RSA_public_encrypt' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 5900 | EVP_PKEY_get0_RSA(pkey), | ^~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/lang/php74/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/php74/work/php-7.4.33/ext/openssl/openssl.c: In function 'zif_openssl_public_decrypt': /home/pbulk/build/lang/php74/work/php-7.4.33/ext/openssl/openssl.c:5959:25: warning: 'RSA_public_decrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5959 | cryptedlen = RSA_public_decrypt((int)data_len, | ^~~~~~~~~~ /home/pbulk/build/lang/php74/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/php74/work/php-7.4.33/ext/openssl/openssl.c:5962:41: warning: 'EVP_PKEY_get0_RSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5962 | EVP_PKEY_get0_RSA(pkey), | ^~~~~~~~~~~~~~~~~ /home/pbulk/build/lang/php74/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/php74/work/php-7.4.33/ext/openssl/openssl.c:5962:41: warning: passing argument 4 of 'RSA_public_decrypt' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 5962 | EVP_PKEY_get0_RSA(pkey), | ^~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/lang/php74/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); | ~~~~~^~~ *** Error code 2 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/php74 *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/php74