<86>Jul 20 00:41:51 userdel[4186123]: delete user 'rooter' <86>Jul 20 00:41:51 userdel[4186123]: removed group 'rooter' owned by 'rooter' <86>Jul 20 00:41:51 userdel[4186123]: removed shadow group 'rooter' owned by 'rooter' <86>Jul 20 00:41:51 groupadd[4186170]: group added to /etc/group: name=rooter, GID=1862 <86>Jul 20 00:41:51 groupadd[4186170]: group added to /etc/gshadow: name=rooter <86>Jul 20 00:41:51 groupadd[4186170]: new group: name=rooter, GID=1862 <86>Jul 20 00:41:51 useradd[4186190]: new user: name=rooter, UID=1862, GID=1862, home=/root, shell=/bin/bash, from=none <86>Jul 20 00:41:51 userdel[4186260]: delete user 'builder' <86>Jul 20 00:41:51 userdel[4186260]: removed group 'builder' owned by 'builder' <86>Jul 20 00:41:51 userdel[4186260]: removed shadow group 'builder' owned by 'builder' <86>Jul 20 00:41:51 groupadd[4186323]: group added to /etc/group: name=builder, GID=1863 <86>Jul 20 00:41:51 groupadd[4186323]: group added to /etc/gshadow: name=builder <86>Jul 20 00:41:51 groupadd[4186323]: new group: name=builder, GID=1863 <86>Jul 20 00:41:51 useradd[4186347]: new user: name=builder, UID=1863, GID=1863, home=/usr/src, shell=/bin/bash, from=none <13>Jul 20 00:41:54 rpmi: rpm-build-php-8.2-alt1 sisyphus+311117.100.1.1 1670059123 installed <13>Jul 20 00:41:54 rpmi: rpm-build-php7-version-7.4.33-alt1 sisyphus+309451.100.2.1 1667544394 installed <13>Jul 20 00:41:55 rpmi: php-base-2.7-alt3 sisyphus+277003.100.1.2 1625345319 installed <13>Jul 20 00:41:55 rpmi: shtool-2.0.8-alt2 sisyphus+278038.4400.1.2 1625984147 installed <13>Jul 20 00:41:55 rpmi: libsqlite3-3.42.0-alt1 sisyphus+321513.100.1.1 1684602997 installed <13>Jul 20 00:41:55 rpmi: libmm-1.4.2-alt4 sisyphus+286825.100.2.1 1633968675 installed <13>Jul 20 00:41:55 rpmi: libargon2-20190702-alt1 sisyphus+278291.100.1.1 1626084451 installed <13>Jul 20 00:41:56 rpmi: php7-libs-7.4.33-alt1 sisyphus+309451.100.2.1 1667544394 installed <13>Jul 20 00:41:56 rpmi: libp11-kit-1:0.24.1-alt2 sisyphus+324666.100.1.1 1689083439 installed <13>Jul 20 00:41:56 rpmi: libtasn1-4.19.0-alt2 sisyphus+323514.100.1.1 1687445894 installed <13>Jul 20 00:41:56 rpmi: rpm-macros-alternatives-0.5.2-alt2 sisyphus+315270.200.2.1 1676457367 installed <13>Jul 20 00:41:56 rpmi: alternatives-0.5.2-alt2 sisyphus+315270.200.2.1 1676457367 installed <13>Jul 20 00:41:56 rpmi: ca-certificates-2022.12.14-alt1 sisyphus+311754.200.1.1 1671046143 installed <13>Jul 20 00:41:56 rpmi: ca-trust-0.1.4-alt1 sisyphus+308690.100.1.1 1666182992 installed <13>Jul 20 00:41:56 rpmi: p11-kit-trust-1:0.24.1-alt2 sisyphus+324666.100.1.1 1689083439 installed <13>Jul 20 00:41:56 rpmi: libcrypto3-3.1.1-alt3 sisyphus+325072.200.2.1 1689602870 installed <13>Jul 20 00:41:56 rpmi: libssl3-3.1.1-alt3 sisyphus+325072.200.2.1 1689602870 installed <13>Jul 20 00:41:56 rpmi: php7-7.4.33-alt1 sisyphus+309451.100.2.1 1667544394 installed <13>Jul 20 00:41:58 rpmi: php7-devel-7.4.33-alt1 sisyphus+309451.100.2.1 1667544394 installed <13>Jul 20 00:41:58 rpmi: libssl-devel-3.1.1-alt3 sisyphus+325072.200.2.1 1689602870 installed egrep: warning: egrep is obsolescent; using grep -E Building target platforms: x86_64 Building for target x86_64 Wrote: /usr/src/in/nosrpm/php7-openssl-7.4.33-alt1.nosrc.rpm (w1.gzdio) Installing php7-openssl-7.4.33-alt1.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.8518 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf php7-openssl-7.4.33 + /bin/mkdir -p php7-openssl-7.4.33 + cd php7-openssl-7.4.33 + /bin/chmod -c -Rf u+rwX,go-w . + cp -pr /usr/src/php7-devel/ext/openssl/CREDITS /usr/src/php7-devel/ext/openssl/config.w32 /usr/src/php7-devel/ext/openssl/config0.m4 /usr/src/php7-devel/ext/openssl/openssl.c /usr/src/php7-devel/ext/openssl/openssl.cs /usr/src/php7-devel/ext/openssl/php_openssl.h /usr/src/php7-devel/ext/openssl/tests /usr/src/php7-devel/ext/openssl/xp_ssl.c /usr/src/php7-devel/ext/openssl/xp_ssl.cs . + mv config0.m4 config.m4 + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.8518 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd php7-openssl-7.4.33 + phpize Configuring for: PHP Api Version: 20190902 Zend Module Api No: 20190902 Zend Extension Api No: 320190902 ++ echo openssl ++ tr '[:lower:]-' '[:upper:]_' + BUILD_HAVE=OPENSSL + export LDFLAGS=-lphp-7.4.33 + LDFLAGS=-lphp-7.4.33 + CFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fPIC -L/usr/lib64' + export CFLAGS + CXXFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fPIC -L/usr/lib64' + export CXXFLAGS + FFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fPIC -L/usr/lib64' + export FFLAGS + FCFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fPIC -L/usr/lib64' + export FCFLAGS + '[' -n '' ']' ++ printf %s '-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fPIC -L/usr/lib64' ++ sed -r 's/(^|[[:space:]]+)-[^m][^[:space:]]*//g' + ASFLAGS= + export ASFLAGS + export lt_cv_deplibs_check_method=pass_all + lt_cv_deplibs_check_method=pass_all + readlink -e -- ./configure + xargs -ri dirname -- '{}' + xargs -ri find '{}' -type f '(' -name config.sub -or -name config.guess ')' -printf '%h/\n' + sort -u + xargs -rn1 install -pm755 -- /usr/share/gnu-config/config.sub /usr/share/gnu-config/config.guess + ./configure --build=x86_64-alt-linux --host=x86_64-alt-linux --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/lib --localstatedir=/var/lib --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --disable-dependency-tracking --disable-silent-rules --without-included-gettext --with-openssl=/usr --with-libdir=lib64 configure: WARNING: unrecognized options: --disable-dependency-tracking, --disable-silent-rules, --without-included-gettext checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for a sed that does not truncate output... /bin/sed checking for x86_64-alt-linux-pkg-config... no checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for x86_64-alt-linux-cc... no checking for x86_64-alt-linux-gcc... x86_64-alt-linux-gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether x86_64-alt-linux-gcc accepts -g... yes checking for x86_64-alt-linux-gcc option to accept ISO C89... none needed checking how to run the C preprocessor... x86_64-alt-linux-gcc -E checking for icc... no checking for suncc... no checking for system library directory... lib64 checking if compiler supports -R... no checking if compiler supports -Wl,-rpath,... yes checking build system type... x86_64-alt-linux-gnu checking host system type... x86_64-alt-linux-gnu checking target system type... x86_64-alt-linux-gnu checking for PHP prefix... /usr checking for PHP includes... -I/usr/include/php/7.4.33 -I/usr/include/php/7.4.33/main -I/usr/include/php/7.4.33/TSRM -I/usr/include/php/7.4.33/Zend -I/usr/include/php/7.4.33/ext -I/usr/include/php/7.4.33/ext/date/lib checking for PHP extension directory... /usr/lib64/php/7.4.33/extensions checking for PHP installed headers prefix... /usr/include/php/7.4.33 checking if debug is enabled... no checking if zts is enabled... no checking for gawk... gawk checking for OpenSSL support... yes, shared checking for Kerberos support... no checking whether to use system default cipher list instead of hardcoded value... no checking for openssl >= 1.0.1... yes checking for RAND_egd... no checking how to print strings... printf checking for a sed that does not truncate output... (cached) /bin/sed checking for fgrep... /bin/grep -F checking for ld used by x86_64-alt-linux-gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking how to convert x86_64-alt-linux-gnu file names to x86_64-alt-linux-gnu format... func_convert_file_noop checking how to convert x86_64-alt-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for x86_64-alt-linux-file... no checking for file... file checking for x86_64-alt-linux-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... (cached) pass_all checking for x86_64-alt-linux-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for x86_64-alt-linux-ar... no checking for ar... ar checking for archiver @FILE support... @ checking for x86_64-alt-linux-strip... no checking for strip... strip checking for x86_64-alt-linux-ranlib... no checking for ranlib... ranlib checking for gawk... (cached) gawk checking command to parse /usr/bin/nm -B output from x86_64-alt-linux-gcc object... ok checking for sysroot... no checking for a working dd... /bin/dd checking how to truncate binary pipes... /bin/dd bs=4096 count=1 checking for x86_64-alt-linux-mt... no checking for mt... no checking if : is a manifest tool... no checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for dlfcn.h... yes checking for objdir... .libs checking if x86_64-alt-linux-gcc supports -fno-rtti -fno-exceptions... no checking for x86_64-alt-linux-gcc option to produce PIC... -fPIC -DPIC checking if x86_64-alt-linux-gcc PIC flag -fPIC -DPIC works... yes checking if x86_64-alt-linux-gcc static flag -static works... no checking if x86_64-alt-linux-gcc supports -c -o file.o... yes checking if x86_64-alt-linux-gcc supports -c -o file.o... (cached) yes checking whether the x86_64-alt-linux-gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no configure: patching config.h.in configure: creating ./config.status config.status: creating config.h config.status: executing libtool commands configure: WARNING: unrecognized options: --disable-dependency-tracking, --disable-silent-rules, --without-included-gettext + BUILD_ENV_VARS='EXTENSION_DIR=/usr/lib64/php/7.4.33/extensions INSTALL_ROOT=/usr/src/tmp/php7-openssl-buildroot PEAR_INSTALLDIR=/usr/share/php/pear' + make -j16 EXTENSION_DIR=/usr/lib64/php/7.4.33/extensions INSTALL_ROOT=/usr/src/tmp/php7-openssl-buildroot PEAR_INSTALLDIR=/usr/share/php/pear make: Entering directory '/usr/src/RPM/BUILD/php7-openssl-7.4.33' /bin/sh /usr/src/RPM/BUILD/php7-openssl-7.4.33/libtool --mode=compile x86_64-alt-linux-gcc -I. -I/usr/src/RPM/BUILD/php7-openssl-7.4.33 -DPHP_ATOM_INC -I/usr/src/RPM/BUILD/php7-openssl-7.4.33/include -I/usr/src/RPM/BUILD/php7-openssl-7.4.33/main -I/usr/src/RPM/BUILD/php7-openssl-7.4.33 -I/usr/include/php/7.4.33 -I/usr/include/php/7.4.33/main -I/usr/include/php/7.4.33/TSRM -I/usr/include/php/7.4.33/Zend -I/usr/include/php/7.4.33/ext -I/usr/include/php/7.4.33/ext/date/lib -DHAVE_CONFIG_H -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fPIC -L/usr/lib64 -c /usr/src/RPM/BUILD/php7-openssl-7.4.33/xp_ssl.c -o xp_ssl.lo libtool: compile: x86_64-alt-linux-gcc -I. -I/usr/src/RPM/BUILD/php7-openssl-7.4.33 -DPHP_ATOM_INC -I/usr/src/RPM/BUILD/php7-openssl-7.4.33/include -I/usr/src/RPM/BUILD/php7-openssl-7.4.33/main -I/usr/src/RPM/BUILD/php7-openssl-7.4.33 -I/usr/include/php/7.4.33 -I/usr/include/php/7.4.33/main -I/usr/include/php/7.4.33/TSRM -I/usr/include/php/7.4.33/Zend -I/usr/include/php/7.4.33/ext -I/usr/include/php/7.4.33/ext/date/lib -DHAVE_CONFIG_H -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fPIC -L/usr/lib64 -c /usr/src/RPM/BUILD/php7-openssl-7.4.33/xp_ssl.c -fPIC -DPIC -o .libs/xp_ssl.o /usr/src/RPM/BUILD/php7-openssl-7.4.33/xp_ssl.c: In function 'php_openssl_set_server_dh_param': /usr/src/RPM/BUILD/php7-openssl-7.4.33/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 /usr/include/openssl/ssl.h:36, from /usr/src/RPM/BUILD/php7-openssl-7.4.33/xp_ssl.c:33: /usr/include/openssl/pem.h:472:1: note: declared here 472 | DECLARE_PEM_rw_attr(OSSL_DEPRECATEDIN_3_0, DHparams, DH) | ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/php7-openssl-7.4.33/xp_ssl.c:1239:17: warning: 'DH_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1239 | DH_free(dh); | ^~~~~~~ In file included from /usr/include/openssl/dsa.h:31, from /usr/include/openssl/x509.h:37, from /usr/include/openssl/ssl.h:31: /usr/include/openssl/dh.h:203:28: note: declared here 203 | OSSL_DEPRECATEDIN_3_0 void DH_free(DH *dh); | ^~~~~~~ /usr/src/RPM/BUILD/php7-openssl-7.4.33/xp_ssl.c:1243:9: warning: 'DH_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1243 | DH_free(dh); | ^~~~~~~ /usr/include/openssl/dh.h:203:28: note: declared here 203 | OSSL_DEPRECATEDIN_3_0 void DH_free(DH *dh); | ^~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/php7-openssl-7.4.33' make: Entering directory '/usr/src/RPM/BUILD/php7-openssl-7.4.33' /bin/sh /usr/src/RPM/BUILD/php7-openssl-7.4.33/libtool --mode=compile x86_64-alt-linux-gcc -I. -I/usr/src/RPM/BUILD/php7-openssl-7.4.33 -DPHP_ATOM_INC -I/usr/src/RPM/BUILD/php7-openssl-7.4.33/include -I/usr/src/RPM/BUILD/php7-openssl-7.4.33/main -I/usr/src/RPM/BUILD/php7-openssl-7.4.33 -I/usr/include/php/7.4.33 -I/usr/include/php/7.4.33/main -I/usr/include/php/7.4.33/TSRM -I/usr/include/php/7.4.33/Zend -I/usr/include/php/7.4.33/ext -I/usr/include/php/7.4.33/ext/date/lib -DHAVE_CONFIG_H -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fPIC -L/usr/lib64 -c /usr/src/RPM/BUILD/php7-openssl-7.4.33/openssl.c -o openssl.lo libtool: compile: x86_64-alt-linux-gcc -I. -I/usr/src/RPM/BUILD/php7-openssl-7.4.33 -DPHP_ATOM_INC -I/usr/src/RPM/BUILD/php7-openssl-7.4.33/include -I/usr/src/RPM/BUILD/php7-openssl-7.4.33/main -I/usr/src/RPM/BUILD/php7-openssl-7.4.33 -I/usr/include/php/7.4.33 -I/usr/include/php/7.4.33/main -I/usr/include/php/7.4.33/TSRM -I/usr/include/php/7.4.33/Zend -I/usr/include/php/7.4.33/ext -I/usr/include/php/7.4.33/ext/date/lib -DHAVE_CONFIG_H -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fPIC -L/usr/lib64 -c /usr/src/RPM/BUILD/php7-openssl-7.4.33/openssl.c -fPIC -DPIC -o .libs/openssl.o In file included from /usr/include/php/7.4.33/main/php.h:441, from /usr/src/RPM/BUILD/php7-openssl-7.4.33/openssl.c:28: /usr/src/RPM/BUILD/php7-openssl-7.4.33/openssl.c: In function 'zm_startup_openssl': /usr/src/RPM/BUILD/php7-openssl-7.4.33/openssl.c:1520:58: error: 'RSA_SSLV23_PADDING' undeclared (first use in this function); did you mean 'RSA_PKCS1_PADDING'? 1520 | REGISTER_LONG_CONSTANT("OPENSSL_SSLV23_PADDING", RSA_SSLV23_PADDING, CONST_CS|CONST_PERSISTENT); | ^~~~~~~~~~~~~~~~~~ /usr/include/php/7.4.33/Zend/zend_constants.h:53:105: note: in definition of macro 'REGISTER_LONG_CONSTANT' 53 | #define REGISTER_LONG_CONSTANT(name, lval, flags) zend_register_long_constant((name), sizeof(name)-1, (lval), (flags), module_number) | ^~~~ /usr/src/RPM/BUILD/php7-openssl-7.4.33/openssl.c:1520:58: note: each undeclared identifier is reported only once for each function it appears in 1520 | REGISTER_LONG_CONSTANT("OPENSSL_SSLV23_PADDING", RSA_SSLV23_PADDING, CONST_CS|CONST_PERSISTENT); | ^~~~~~~~~~~~~~~~~~ /usr/include/php/7.4.33/Zend/zend_constants.h:53:105: note: in definition of macro 'REGISTER_LONG_CONSTANT' 53 | #define REGISTER_LONG_CONSTANT(name, lval, flags) zend_register_long_constant((name), sizeof(name)-1, (lval), (flags), module_number) | ^~~~ /usr/src/RPM/BUILD/php7-openssl-7.4.33/openssl.c: In function 'php_openssl_generate_private_key': /usr/src/RPM/BUILD/php7-openssl-7.4.33/openssl.c:4021:49: warning: 'RSA_new' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4021 | rsaparam = RSA_new(); | ^~~~~~~~ In file included from /usr/src/RPM/BUILD/php7-openssl-7.4.33/openssl.c:46: /usr/include/openssl/rsa.h:207:28: note: declared here 207 | OSSL_DEPRECATEDIN_3_0 RSA *RSA_new(void); | ^~~~~~~ /usr/src/RPM/BUILD/php7-openssl-7.4.33/openssl.c:4023:49: warning: 'RSA_generate_key_ex' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4023 | if (rsaparam == NULL || !RSA_generate_key_ex(rsaparam, req->priv_key_bits, bne, NULL)) { | ^~ /usr/include/openssl/rsa.h:266:27: note: declared here 266 | OSSL_DEPRECATEDIN_3_0 int RSA_generate_key_ex(RSA *rsa, int bits, BIGNUM *e, | ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/php7-openssl-7.4.33/openssl.c:4025:57: warning: 'RSA_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4025 | RSA_free(rsaparam); | ^~~~~~~~ /usr/include/openssl/rsa.h:299:28: note: declared here 299 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ /usr/src/RPM/BUILD/php7-openssl-7.4.33/openssl.c:4031:41: warning: 'EVP_PKEY_assign' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4031 | if (rsaparam && EVP_PKEY_assign_RSA(req->priv_key, rsaparam)) { | ^~ In file included from /usr/src/RPM/BUILD/php7-openssl-7.4.33/openssl.c:44: /usr/include/openssl/evp.h:1331:5: note: declared here 1331 | int EVP_PKEY_assign(EVP_PKEY *pkey, int type, void *key); | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/php7-openssl-7.4.33/openssl.c:4042:41: warning: 'DSA_new' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4042 | DSA *dsaparam = DSA_new(); | ^~~ In file included from /usr/src/RPM/BUILD/php7-openssl-7.4.33/openssl.c:47: /usr/include/openssl/dsa.h:130:28: note: declared here 130 | OSSL_DEPRECATEDIN_3_0 DSA *DSA_new(void); | ^~~~~~~ /usr/src/RPM/BUILD/php7-openssl-7.4.33/openssl.c:4043:41: warning: 'DSA_generate_parameters_ex' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4043 | if (dsaparam && DSA_generate_parameters_ex(dsaparam, req->priv_key_bits, NULL, 0, NULL, NULL, NULL)) { | ^~ /usr/include/openssl/dsa.h:172:27: note: declared here 172 | OSSL_DEPRECATEDIN_3_0 int DSA_generate_parameters_ex(DSA *dsa, int bits, | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/php7-openssl-7.4.33/openssl.c:4044:49: warning: 'DSA_set_method' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4044 | DSA_set_method(dsaparam, DSA_get_default_method()); | ^~~~~~~~~~~~~~ /usr/include/openssl/dsa.h:127:27: note: declared here 127 | OSSL_DEPRECATEDIN_3_0 int DSA_set_method(DSA *dsa, const DSA_METHOD *); | ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/php7-openssl-7.4.33/openssl.c:4044:49: warning: 'DSA_get_default_method' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4044 | DSA_set_method(dsaparam, DSA_get_default_method()); | ^~~~~~~~~~~~~~ /usr/include/openssl/dsa.h:126:41: note: declared here 126 | OSSL_DEPRECATEDIN_3_0 const DSA_METHOD *DSA_get_default_method(void); | ^~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/php7-openssl-7.4.33/openssl.c:4045:49: warning: 'DSA_generate_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4045 | if (DSA_generate_key(dsaparam)) { | ^~ /usr/include/openssl/dsa.h:179:27: note: declared here 179 | OSSL_DEPRECATEDIN_3_0 int DSA_generate_key(DSA *a); | ^~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/php7-openssl-7.4.33/openssl.c:4046:57: warning: 'EVP_PKEY_assign' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4046 | if (EVP_PKEY_assign_DSA(req->priv_key, dsaparam)) { | ^~ /usr/include/openssl/evp.h:1331:5: note: declared here 1331 | int EVP_PKEY_assign(EVP_PKEY *pkey, int type, void *key); | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/php7-openssl-7.4.33/openssl.c:4053:57: warning: 'DSA_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4053 | DSA_free(dsaparam); | ^~~~~~~~ /usr/include/openssl/dsa.h:132:28: note: declared here 132 | OSSL_DEPRECATEDIN_3_0 void DSA_free(DSA *r); | ^~~~~~~~ /usr/src/RPM/BUILD/php7-openssl-7.4.33/openssl.c:4066:41: warning: 'DH_new' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4066 | DH *dhparam = DH_new(); | ^~ In file included from /usr/include/openssl/dsa.h:31: /usr/include/openssl/dh.h:202:27: note: declared here 202 | OSSL_DEPRECATEDIN_3_0 DH *DH_new(void); | ^~~~~~ /usr/src/RPM/BUILD/php7-openssl-7.4.33/openssl.c:4067:41: warning: 'DH_generate_parameters_ex' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4067 | if (dhparam && DH_generate_parameters_ex(dhparam, req->priv_key_bits, 2, NULL)) { | ^~ /usr/include/openssl/dh.h:215:27: note: declared here 215 | OSSL_DEPRECATEDIN_3_0 int DH_generate_parameters_ex(DH *dh, int prime_len, | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/php7-openssl-7.4.33/openssl.c:4068:49: warning: 'DH_set_method' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4068 | DH_set_method(dhparam, DH_get_default_method()); | ^~~~~~~~~~~~~ /usr/include/openssl/dh.h:199:27: note: declared here 199 | OSSL_DEPRECATEDIN_3_0 int DH_set_method(DH *dh, const DH_METHOD *meth); | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/php7-openssl-7.4.33/openssl.c:4068:49: warning: 'DH_get_default_method' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4068 | DH_set_method(dhparam, DH_get_default_method()); | ^~~~~~~~~~~~~ /usr/include/openssl/dh.h:198:40: note: declared here 198 | OSSL_DEPRECATEDIN_3_0 const DH_METHOD *DH_get_default_method(void); | ^~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/php7-openssl-7.4.33/openssl.c:4069:49: warning: 'DH_check' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4069 | if (DH_check(dhparam, &codes) && codes == 0 && DH_generate_key(dhparam)) { | ^~ /usr/include/openssl/dh.h:223:27: note: declared here 223 | OSSL_DEPRECATEDIN_3_0 int DH_check(const DH *dh, int *codes); | ^~~~~~~~ /usr/src/RPM/BUILD/php7-openssl-7.4.33/openssl.c:4069:49: warning: 'DH_generate_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4069 | if (DH_check(dhparam, &codes) && codes == 0 && DH_generate_key(dhparam)) { | ^~ /usr/include/openssl/dh.h:226:27: note: declared here 226 | OSSL_DEPRECATEDIN_3_0 int DH_generate_key(DH *dh); | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/php7-openssl-7.4.33/openssl.c:4070:57: warning: 'EVP_PKEY_assign' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4070 | if (EVP_PKEY_assign_DH(req->priv_key, dhparam)) { | ^~ /usr/include/openssl/evp.h:1331:5: note: declared here 1331 | int EVP_PKEY_assign(EVP_PKEY *pkey, int type, void *key); | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/php7-openssl-7.4.33/openssl.c:4077:57: warning: 'DH_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4077 | DH_free(dhparam); | ^~~~~~~ /usr/include/openssl/dh.h:203:28: note: declared here 203 | OSSL_DEPRECATEDIN_3_0 void DH_free(DH *dh); | ^~~~~~~ /usr/src/RPM/BUILD/php7-openssl-7.4.33/openssl.c:4093:41: warning: 'EC_KEY_new_by_curve_name' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4093 | eckey = EC_KEY_new_by_curve_name(req->curve_name); | ^~~~~ In file included from /usr/include/openssl/x509.h:33, from /usr/src/RPM/BUILD/php7-openssl-7.4.33/openssl.c:49: /usr/include/openssl/ec.h:1001:31: note: declared here 1001 | OSSL_DEPRECATEDIN_3_0 EC_KEY *EC_KEY_new_by_curve_name(int nid); | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/php7-openssl-7.4.33/openssl.c:4095:49: warning: 'EC_KEY_set_asn1_flag' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4095 | EC_KEY_set_asn1_flag(eckey, OPENSSL_EC_NAMED_CURVE); | ^~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1090:28: note: declared here 1090 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_set_asn1_flag(EC_KEY *eckey, int asn1_flag); | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/php7-openssl-7.4.33/openssl.c:4096:49: warning: 'EC_KEY_generate_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4096 | if (EC_KEY_generate_key(eckey) && | ^~ /usr/include/openssl/ec.h:1104:27: note: declared here 1104 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_generate_key(EC_KEY *key); | ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/php7-openssl-7.4.33/openssl.c:4097:57: warning: 'EVP_PKEY_assign' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4097 | EVP_PKEY_assign_EC_KEY(req->priv_key, eckey)) { | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/evp.h:1331:5: note: declared here 1331 | int EVP_PKEY_assign(EVP_PKEY *pkey, int type, void *key); | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/php7-openssl-7.4.33/openssl.c:4100:57: warning: 'EC_KEY_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4100 | EC_KEY_free(eckey); | ^~~~~~~~~~~ /usr/include/openssl/ec.h:1006:28: note: declared here 1006 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key); | ^~~~~~~~~~~ /usr/src/RPM/BUILD/php7-openssl-7.4.33/openssl.c: In function 'php_openssl_is_private_key': /usr/src/RPM/BUILD/php7-openssl-7.4.33/openssl.c:4135:33: warning: 'EVP_PKEY_get0_RSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4135 | RSA *rsa = EVP_PKEY_get0_RSA(pkey); | ^~~ /usr/include/openssl/evp.h:1349:22: note: declared here 1349 | const struct rsa_st *EVP_PKEY_get0_RSA(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/php7-openssl-7.4.33/openssl.c:4135:44: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 4135 | RSA *rsa = EVP_PKEY_get0_RSA(pkey); | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/php7-openssl-7.4.33/openssl.c:4139:41: warning: 'RSA_get0_factors' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4139 | RSA_get0_factors(rsa, &p, &q); | ^~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:226:28: note: declared here 226 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_factors(const RSA *r, | ^~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/php7-openssl-7.4.33/openssl.c:4152:33: warning: 'EVP_PKEY_get0_DSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4152 | DSA *dsa = EVP_PKEY_get0_DSA(pkey); | ^~~ /usr/include/openssl/evp.h:1358:22: note: declared here 1358 | const struct dsa_st *EVP_PKEY_get0_DSA(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/php7-openssl-7.4.33/openssl.c:4152:44: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 4152 | DSA *dsa = EVP_PKEY_get0_DSA(pkey); | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/php7-openssl-7.4.33/openssl.c:4156:41: warning: 'DSA_get0_pqg' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4156 | DSA_get0_pqg(dsa, &p, &q, &g); | ^~~~~~~~~~~~ /usr/include/openssl/dsa.h:206:28: note: declared here 206 | OSSL_DEPRECATEDIN_3_0 void DSA_get0_pqg(const DSA *d, const BIGNUM **p, | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/php7-openssl-7.4.33/openssl.c:4161:41: warning: 'DSA_get0_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4161 | DSA_get0_key(dsa, &pub_key, &priv_key); | ^~~~~~~~~~~~ /usr/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, | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/php7-openssl-7.4.33/openssl.c:4170:33: warning: 'EVP_PKEY_get0_DH' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4170 | DH *dh = EVP_PKEY_get0_DH(pkey); | ^~ /usr/include/openssl/evp.h:1366:43: note: declared here 1366 | OSSL_DEPRECATEDIN_3_0 const struct dh_st *EVP_PKEY_get0_DH(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/php7-openssl-7.4.33/openssl.c:4170:42: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 4170 | DH *dh = EVP_PKEY_get0_DH(pkey); | ^~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/php7-openssl-7.4.33/openssl.c:4174:41: warning: 'DH_get0_pqg' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4174 | DH_get0_pqg(dh, &p, &q, &g); | ^~~~~~~~~~~ /usr/include/openssl/dh.h:256:28: note: declared here 256 | OSSL_DEPRECATEDIN_3_0 void DH_get0_pqg(const DH *dh, const BIGNUM **p, | ^~~~~~~~~~~ /usr/src/RPM/BUILD/php7-openssl-7.4.33/openssl.c:4179:41: warning: 'DH_get0_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4179 | DH_get0_key(dh, &pub_key, &priv_key); | ^~~~~~~~~~~ /usr/include/openssl/dh.h:259:28: note: declared here 259 | OSSL_DEPRECATEDIN_3_0 void DH_get0_key(const DH *dh, const BIGNUM **pub_key, | ^~~~~~~~~~~ /usr/src/RPM/BUILD/php7-openssl-7.4.33/openssl.c:4189:33: warning: 'EVP_PKEY_get0_EC_KEY' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4189 | EC_KEY *ec = EVP_PKEY_get0_EC_KEY(pkey); | ^~~~~~ /usr/include/openssl/evp.h:1375:25: note: declared here 1375 | const struct ec_key_st *EVP_PKEY_get0_EC_KEY(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/php7-openssl-7.4.33/openssl.c:4189:46: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 4189 | EC_KEY *ec = EVP_PKEY_get0_EC_KEY(pkey); | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/php7-openssl-7.4.33/openssl.c:4190:33: warning: 'EC_KEY_get0_private_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4190 | if (ec != NULL && NULL == EC_KEY_get0_private_key(ec)) { | ^~ /usr/include/openssl/ec.h:1051:37: note: declared here 1051 | OSSL_DEPRECATEDIN_3_0 const BIGNUM *EC_KEY_get0_private_key(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/php7-openssl-7.4.33/openssl.c: In function 'php_openssl_pkey_init_and_assign_rsa': /usr/src/RPM/BUILD/php7-openssl-7.4.33/openssl.c:4236:9: warning: 'RSA_set0_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4236 | if (!n || !d || !RSA_set0_key(rsa, n, e, d)) { | ^~ /usr/include/openssl/rsa.h:213:27: note: declared here 213 | OSSL_DEPRECATEDIN_3_0 int RSA_set0_key(RSA *r, BIGNUM *n, BIGNUM *e, BIGNUM *d); | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/php7-openssl-7.4.33/openssl.c:4242:9: warning: 'RSA_set0_factors' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4242 | if ((p || q) && !RSA_set0_factors(rsa, p, q)) { | ^~ /usr/include/openssl/rsa.h:214:27: note: declared here 214 | OSSL_DEPRECATEDIN_3_0 int RSA_set0_factors(RSA *r, BIGNUM *p, BIGNUM *q); | ^~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/php7-openssl-7.4.33/openssl.c:4249:9: warning: 'RSA_set0_crt_params' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4249 | if ((dmp1 || dmq1 || iqmp) && !RSA_set0_crt_params(rsa, dmp1, dmq1, iqmp)) { | ^~ /usr/include/openssl/rsa.h:215:27: note: declared here 215 | OSSL_DEPRECATEDIN_3_0 int RSA_set0_crt_params(RSA *r, | ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/php7-openssl-7.4.33/openssl.c:4253:9: warning: 'EVP_PKEY_assign' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4253 | if (!EVP_PKEY_assign_RSA(pkey, rsa)) { | ^~ /usr/include/openssl/evp.h:1331:5: note: declared here 1331 | int EVP_PKEY_assign(EVP_PKEY *pkey, int type, void *key); | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/php7-openssl-7.4.33/openssl.c: In function 'php_openssl_pkey_init_dsa': /usr/src/RPM/BUILD/php7-openssl-7.4.33/openssl.c:4270:9: warning: 'DSA_set0_pqg' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4270 | if (!p || !q || !g || !DSA_set0_pqg(dsa, p, q, g)) { | ^~ /usr/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); | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/php7-openssl-7.4.33/openssl.c:4277:17: warning: 'DSA_set0_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4277 | return DSA_set0_key(dsa, pub_key, priv_key); | ^~~~~~ /usr/include/openssl/dsa.h:211:27: note: declared here 211 | OSSL_DEPRECATEDIN_3_0 int DSA_set0_key(DSA *d, BIGNUM *pub_key, | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/php7-openssl-7.4.33/openssl.c:4282:9: warning: 'DSA_generate_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4282 | if (!DSA_generate_key(dsa)) { | ^~ /usr/include/openssl/dsa.h:179:27: note: declared here 179 | OSSL_DEPRECATEDIN_3_0 int DSA_generate_key(DSA *a); | ^~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/php7-openssl-7.4.33/openssl.c:4289:9: warning: 'DSA_get0_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4289 | DSA_get0_key(dsa, &pub_key_const, &priv_key_const); | ^~~~~~~~~~~~ /usr/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, | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/php7-openssl-7.4.33/openssl.c: In function 'php_openssl_pkey_init_dh': /usr/src/RPM/BUILD/php7-openssl-7.4.33/openssl.c:4347:9: warning: 'DH_set0_pqg' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4347 | if (!p || !g || !DH_set0_pqg(dh, p, q, g)) { | ^~ /usr/include/openssl/dh.h:258:27: note: declared here 258 | OSSL_DEPRECATEDIN_3_0 int DH_set0_pqg(DH *dh, BIGNUM *p, BIGNUM *q, BIGNUM *g); | ^~~~~~~~~~~ /usr/src/RPM/BUILD/php7-openssl-7.4.33/openssl.c:4354:17: warning: 'DH_set0_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4354 | return DH_set0_key(dh, pub_key, priv_key); | ^~~~~~ /usr/include/openssl/dh.h:261:27: note: declared here 261 | OSSL_DEPRECATEDIN_3_0 int DH_set0_key(DH *dh, BIGNUM *pub_key, BIGNUM *priv_key); | ^~~~~~~~~~~ /usr/src/RPM/BUILD/php7-openssl-7.4.33/openssl.c:4361:17: warning: 'DH_set0_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4361 | return DH_set0_key(dh, pub_key, priv_key); | ^~~~~~ /usr/include/openssl/dh.h:261:27: note: declared here 261 | OSSL_DEPRECATEDIN_3_0 int DH_set0_key(DH *dh, BIGNUM *pub_key, BIGNUM *priv_key); | ^~~~~~~~~~~ /usr/src/RPM/BUILD/php7-openssl-7.4.33/openssl.c:4366:9: warning: 'DH_generate_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4366 | if (!DH_generate_key(dh)) { | ^~ /usr/include/openssl/dh.h:226:27: note: declared here 226 | OSSL_DEPRECATEDIN_3_0 int DH_generate_key(DH *dh); | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/php7-openssl-7.4.33/openssl.c: In function 'zif_openssl_pkey_new': /usr/src/RPM/BUILD/php7-openssl-7.4.33/openssl.c:4395:33: warning: 'RSA_new' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4395 | RSA *rsa = RSA_new(); | ^~~ /usr/include/openssl/rsa.h:207:28: note: declared here 207 | OSSL_DEPRECATEDIN_3_0 RSA *RSA_new(void); | ^~~~~~~ /usr/src/RPM/BUILD/php7-openssl-7.4.33/openssl.c:4400:41: warning: 'RSA_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4400 | RSA_free(rsa); | ^~~~~~~~ /usr/include/openssl/rsa.h:299:28: note: declared here 299 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ /usr/src/RPM/BUILD/php7-openssl-7.4.33/openssl.c:4413:33: warning: 'DSA_new' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4413 | DSA *dsa = DSA_new(); | ^~~ /usr/include/openssl/dsa.h:130:28: note: declared here 130 | OSSL_DEPRECATEDIN_3_0 DSA *DSA_new(void); | ^~~~~~~ /usr/src/RPM/BUILD/php7-openssl-7.4.33/openssl.c:4416:49: warning: 'EVP_PKEY_assign' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4416 | if (EVP_PKEY_assign_DSA(pkey, dsa)) { | ^~ /usr/include/openssl/evp.h:1331:5: note: declared here 1331 | int EVP_PKEY_assign(EVP_PKEY *pkey, int type, void *key); | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/php7-openssl-7.4.33/openssl.c:4422:41: warning: 'DSA_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4422 | DSA_free(dsa); | ^~~~~~~~ /usr/include/openssl/dsa.h:132:28: note: declared here 132 | OSSL_DEPRECATEDIN_3_0 void DSA_free(DSA *r); | ^~~~~~~~ /usr/src/RPM/BUILD/php7-openssl-7.4.33/openssl.c:4435:33: warning: 'DH_new' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4435 | DH *dh = DH_new(); | ^~ /usr/include/openssl/dh.h:202:27: note: declared here 202 | OSSL_DEPRECATEDIN_3_0 DH *DH_new(void); | ^~~~~~ /usr/src/RPM/BUILD/php7-openssl-7.4.33/openssl.c:4438:49: warning: 'EVP_PKEY_assign' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4438 | if (EVP_PKEY_assign_DH(pkey, dh)) { | ^~ /usr/include/openssl/evp.h:1331:5: note: declared here 1331 | int EVP_PKEY_assign(EVP_PKEY *pkey, int type, void *key); | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/php7-openssl-7.4.33/openssl.c:4445:41: warning: 'DH_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4445 | DH_free(dh); | ^~~~~~~ /usr/include/openssl/dh.h:203:28: note: declared here 203 | OSSL_DEPRECATEDIN_3_0 void DH_free(DH *dh); | ^~~~~~~ /usr/src/RPM/BUILD/php7-openssl-7.4.33/openssl.c:4463:33: warning: 'EC_KEY_new' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4463 | eckey = EC_KEY_new(); | ^~~~~ /usr/include/openssl/ec.h:971:31: note: declared here 971 | OSSL_DEPRECATEDIN_3_0 EC_KEY *EC_KEY_new(void); | ^~~~~~~~~~ /usr/src/RPM/BUILD/php7-openssl-7.4.33/openssl.c:4481:57: warning: 'EC_KEY_set_group' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4481 | if (!EC_KEY_set_group(eckey, group)) { | ^~ /usr/include/openssl/ec.h:1045:27: note: declared here 1045 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_set_group(EC_KEY *key, const EC_GROUP *group); | ^~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/php7-openssl-7.4.33/openssl.c:4497:49: warning: 'EC_KEY_set_private_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4497 | if (!EC_KEY_set_private_key(eckey, d)) { | ^~ /usr/include/openssl/ec.h:1059:27: note: declared here 1059 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_set_private_key(EC_KEY *key, const BIGNUM *prv); | ^~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/php7-openssl-7.4.33/openssl.c:4519:49: warning: 'EC_POINT_set_affine_coordinates_GFp' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4519 | if (!EC_POINT_set_affine_coordinates_GFp( | ^~ /usr/include/openssl/ec.h:649:27: note: declared here 649 | OSSL_DEPRECATEDIN_3_0 int EC_POINT_set_affine_coordinates_GFp | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/php7-openssl-7.4.33/openssl.c:4528:49: warning: 'EC_KEY_set_public_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4528 | if (!EC_KEY_set_public_key(eckey, pnt)) { | ^~ /usr/include/openssl/ec.h:1073:27: note: declared here 1073 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_set_public_key(EC_KEY *key, const EC_POINT *pub); | ^~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/php7-openssl-7.4.33/openssl.c:4536:41: warning: 'EC_KEY_check_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4536 | if (!EC_KEY_check_key(eckey)) { | ^~ /usr/include/openssl/ec.h:1110:27: note: declared here 1110 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_check_key(const EC_KEY *key); | ^~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/php7-openssl-7.4.33/openssl.c:4538:49: warning: 'EC_KEY_generate_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4538 | EC_KEY_generate_key(eckey); | ^~~~~~~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1104:27: note: declared here 1104 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_generate_key(EC_KEY *key); | ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/php7-openssl-7.4.33/openssl.c:4541:41: warning: 'EC_KEY_check_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4541 | if (EC_KEY_check_key(eckey) && EVP_PKEY_assign_EC_KEY(pkey, eckey)) { | ^~ /usr/include/openssl/ec.h:1110:27: note: declared here 1110 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_check_key(const EC_KEY *key); | ^~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/php7-openssl-7.4.33/openssl.c:4541:41: warning: 'EVP_PKEY_assign' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4541 | if (EC_KEY_check_key(eckey) && EVP_PKEY_assign_EC_KEY(pkey, eckey)) { | ^~ /usr/include/openssl/evp.h:1331:5: note: declared here 1331 | int EVP_PKEY_assign(EVP_PKEY *pkey, int type, void *key); | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/php7-openssl-7.4.33/openssl.c:4564:33: warning: 'EC_KEY_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4564 | EC_KEY_free(eckey); | ^~~~~~~~~~~ /usr/include/openssl/ec.h:1006:28: note: declared here 1006 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key); | ^~~~~~~~~~~ /usr/src/RPM/BUILD/php7-openssl-7.4.33/openssl.c: In function 'zif_openssl_pkey_export_to_file': /usr/src/RPM/BUILD/php7-openssl-7.4.33/openssl.c:4643:33: warning: 'PEM_write_bio_ECPrivateKey' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4643 | pem_write = PEM_write_bio_ECPrivateKey( | ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/php7-openssl-7.4.33/openssl.c:52: /usr/include/openssl/pem.h:465:1: note: declared here 465 | DECLARE_PEM_rw_cb_attr(OSSL_DEPRECATEDIN_3_0, ECPrivateKey, EC_KEY) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/php7-openssl-7.4.33/openssl.c:4644:49: warning: 'EVP_PKEY_get0_EC_KEY' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4644 | bio_out, EVP_PKEY_get0_EC_KEY(key), cipher, | ^~~~~~~ /usr/include/openssl/evp.h:1375:25: note: declared here 1375 | const struct ec_key_st *EVP_PKEY_get0_EC_KEY(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/php7-openssl-7.4.33/openssl.c: In function 'zif_openssl_pkey_export': /usr/src/RPM/BUILD/php7-openssl-7.4.33/openssl.c:4720:33: warning: 'PEM_write_bio_ECPrivateKey' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4720 | pem_write = PEM_write_bio_ECPrivateKey( | ^~~~~~~~~ /usr/include/openssl/pem.h:465:1: note: declared here 465 | DECLARE_PEM_rw_cb_attr(OSSL_DEPRECATEDIN_3_0, ECPrivateKey, EC_KEY) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/php7-openssl-7.4.33/openssl.c:4721:49: warning: 'EVP_PKEY_get0_EC_KEY' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4721 | bio_out, EVP_PKEY_get0_EC_KEY(key), cipher, | ^~~~~~~ /usr/include/openssl/evp.h:1375:25: note: declared here 1375 | const struct ec_key_st *EVP_PKEY_get0_EC_KEY(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/php7-openssl-7.4.33/openssl.c: In function 'zif_openssl_pkey_get_details': /usr/src/RPM/BUILD/php7-openssl-7.4.33/openssl.c:4853:33: warning: 'EVP_PKEY_get0_RSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4853 | RSA *rsa = EVP_PKEY_get0_RSA(pkey); | ^~~ /usr/include/openssl/evp.h:1349:22: note: declared here 1349 | const struct rsa_st *EVP_PKEY_get0_RSA(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/php7-openssl-7.4.33/openssl.c:4853:44: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 4853 | RSA *rsa = EVP_PKEY_get0_RSA(pkey); | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/php7-openssl-7.4.33/openssl.c:4860:41: warning: 'RSA_get0_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4860 | RSA_get0_key(rsa, &n, &e, &d); | ^~~~~~~~~~~~ /usr/include/openssl/rsa.h:223:28: note: declared here 223 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_key(const RSA *r, | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/php7-openssl-7.4.33/openssl.c:4861:41: warning: 'RSA_get0_factors' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4861 | RSA_get0_factors(rsa, &p, &q); | ^~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:226:28: note: declared here 226 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_factors(const RSA *r, | ^~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/php7-openssl-7.4.33/openssl.c:4862:41: warning: 'RSA_get0_crt_params' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4862 | RSA_get0_crt_params(rsa, &dmp1, &dmq1, &iqmp); | ^~~~~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:231:28: note: declared here 231 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_crt_params(const RSA *r, | ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/php7-openssl-7.4.33/openssl.c:4882:33: warning: 'EVP_PKEY_get0_DSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4882 | DSA *dsa = EVP_PKEY_get0_DSA(pkey); | ^~~ /usr/include/openssl/evp.h:1358:22: note: declared here 1358 | const struct dsa_st *EVP_PKEY_get0_DSA(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/php7-openssl-7.4.33/openssl.c:4882:44: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 4882 | DSA *dsa = EVP_PKEY_get0_DSA(pkey); | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/php7-openssl-7.4.33/openssl.c:4889:41: warning: 'DSA_get0_pqg' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4889 | DSA_get0_pqg(dsa, &p, &q, &g); | ^~~~~~~~~~~~ /usr/include/openssl/dsa.h:206:28: note: declared here 206 | OSSL_DEPRECATEDIN_3_0 void DSA_get0_pqg(const DSA *d, const BIGNUM **p, | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/php7-openssl-7.4.33/openssl.c:4890:41: warning: 'DSA_get0_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4890 | DSA_get0_key(dsa, &pub_key, &priv_key); | ^~~~~~~~~~~~ /usr/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, | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/php7-openssl-7.4.33/openssl.c:4904:33: warning: 'EVP_PKEY_get0_DH' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4904 | DH *dh = EVP_PKEY_get0_DH(pkey); | ^~ /usr/include/openssl/evp.h:1366:43: note: declared here 1366 | OSSL_DEPRECATEDIN_3_0 const struct dh_st *EVP_PKEY_get0_DH(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/php7-openssl-7.4.33/openssl.c:4904:42: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 4904 | DH *dh = EVP_PKEY_get0_DH(pkey); | ^~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/php7-openssl-7.4.33/openssl.c:4911:41: warning: 'DH_get0_pqg' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4911 | DH_get0_pqg(dh, &p, &q, &g); | ^~~~~~~~~~~ /usr/include/openssl/dh.h:256:28: note: declared here 256 | OSSL_DEPRECATEDIN_3_0 void DH_get0_pqg(const DH *dh, const BIGNUM **p, | ^~~~~~~~~~~ /usr/src/RPM/BUILD/php7-openssl-7.4.33/openssl.c:4912:41: warning: 'DH_get0_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4912 | DH_get0_key(dh, &pub_key, &priv_key); | ^~~~~~~~~~~ /usr/include/openssl/dh.h:259:28: note: declared here 259 | OSSL_DEPRECATEDIN_3_0 void DH_get0_key(const DH *dh, const BIGNUM **pub_key, | ^~~~~~~~~~~ /usr/src/RPM/BUILD/php7-openssl-7.4.33/openssl.c:4926:25: warning: 'EVP_PKEY_get0_EC_KEY' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4926 | if (EVP_PKEY_get0_EC_KEY(pkey) != NULL) { | ^~ /usr/include/openssl/evp.h:1375:25: note: declared here 1375 | const struct ec_key_st *EVP_PKEY_get0_EC_KEY(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/php7-openssl-7.4.33/openssl.c:4935:33: warning: 'EVP_PKEY_get0_EC_KEY' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4935 | const EC_KEY *ec_key = EVP_PKEY_get0_EC_KEY(pkey); | ^~~~~ /usr/include/openssl/evp.h:1375:25: note: declared here 1375 | const struct ec_key_st *EVP_PKEY_get0_EC_KEY(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/php7-openssl-7.4.33/openssl.c:4940:33: warning: 'EC_KEY_get0_group' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4940 | ec_group = EC_KEY_get0_group(ec_key); | ^~~~~~~~ /usr/include/openssl/ec.h:1037:39: note: declared here 1037 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/php7-openssl-7.4.33/openssl.c:4962:33: warning: 'EC_KEY_get0_public_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4962 | pub = EC_KEY_get0_public_key(ec_key); | ^~~ /usr/include/openssl/ec.h:1065:39: note: declared here 1065 | OSSL_DEPRECATEDIN_3_0 const EC_POINT *EC_KEY_get0_public_key(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/php7-openssl-7.4.33/openssl.c:4964:33: warning: 'EC_POINT_get_affine_coordinates_GFp' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4964 | if (EC_POINT_get_affine_coordinates_GFp(ec_group, pub, x, y, NULL)) { | ^~ /usr/include/openssl/ec.h:662:27: note: declared here 662 | OSSL_DEPRECATEDIN_3_0 int EC_POINT_get_affine_coordinates_GFp | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/php7-openssl-7.4.33/openssl.c:4971:33: warning: 'EC_KEY_get0_private_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4971 | if ((d = EC_KEY_get0_private_key(EVP_PKEY_get0_EC_KEY(pkey))) != NULL) { | ^~ /usr/include/openssl/ec.h:1051:37: note: declared here 1051 | OSSL_DEPRECATEDIN_3_0 const BIGNUM *EC_KEY_get0_private_key(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/php7-openssl-7.4.33/openssl.c:4971:33: warning: 'EVP_PKEY_get0_EC_KEY' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4971 | if ((d = EC_KEY_get0_private_key(EVP_PKEY_get0_EC_KEY(pkey))) != NULL) { | ^~ /usr/include/openssl/evp.h:1375:25: note: declared here 1375 | const struct ec_key_st *EVP_PKEY_get0_EC_KEY(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/php7-openssl-7.4.33/openssl.c: In function 'zif_openssl_dh_compute_key': /usr/src/RPM/BUILD/php7-openssl-7.4.33/openssl.c:5014:9: warning: 'EVP_PKEY_get0_DH' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5014 | dh = EVP_PKEY_get0_DH(pkey); | ^~ /usr/include/openssl/evp.h:1366:43: note: declared here 1366 | OSSL_DEPRECATEDIN_3_0 const struct dh_st *EVP_PKEY_get0_DH(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/php7-openssl-7.4.33/openssl.c:5014:12: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 5014 | dh = EVP_PKEY_get0_DH(pkey); | ^ /usr/src/RPM/BUILD/php7-openssl-7.4.33/openssl.c:5022:9: warning: 'DH_size' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5022 | data = zend_string_alloc(DH_size(dh), 0); | ^~~~ /usr/include/openssl/dh.h:206:27: note: declared here 206 | OSSL_DEPRECATEDIN_3_0 int DH_size(const DH *dh); | ^~~~~~~ /usr/src/RPM/BUILD/php7-openssl-7.4.33/openssl.c:5023:9: warning: 'DH_compute_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5023 | len = DH_compute_key((unsigned char*)ZSTR_VAL(data), pub, dh); | ^~~ /usr/include/openssl/dh.h:227:27: note: declared here 227 | OSSL_DEPRECATEDIN_3_0 int DH_compute_key(unsigned char *key, | ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/php7-openssl-7.4.33/openssl.c: In function 'zif_openssl_private_encrypt': /usr/src/RPM/BUILD/php7-openssl-7.4.33/openssl.c:5767:25: warning: 'RSA_private_encrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5767 | successful = (RSA_private_encrypt((int)data_len, | ^~~~~~~~~~ /usr/include/openssl/rsa.h:291:5: note: declared here 291 | int RSA_private_encrypt(int flen, const unsigned char *from, unsigned char *to, | ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/php7-openssl-7.4.33/openssl.c:5770:49: warning: 'EVP_PKEY_get0_RSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5770 | EVP_PKEY_get0_RSA(pkey), | ^~~~~~~~~~~~~~~~~ /usr/include/openssl/evp.h:1349:22: note: declared here 1349 | const struct rsa_st *EVP_PKEY_get0_RSA(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/php7-openssl-7.4.33/openssl.c:5770:49: warning: passing argument 4 of 'RSA_private_encrypt' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 5770 | EVP_PKEY_get0_RSA(pkey), | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:292:30: note: expected 'RSA *' {aka 'struct rsa_st *'} but argument is of type 'const struct rsa_st *' 292 | RSA *rsa, int padding); | ~~~~~^~~ /usr/src/RPM/BUILD/php7-openssl-7.4.33/openssl.c: In function 'zif_openssl_private_decrypt': /usr/src/RPM/BUILD/php7-openssl-7.4.33/openssl.c:5828:25: warning: 'RSA_private_decrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5828 | cryptedlen = RSA_private_decrypt((int)data_len, | ^~~~~~~~~~ /usr/include/openssl/rsa.h:297:5: note: declared here 297 | int RSA_private_decrypt(int flen, const unsigned char *from, unsigned char *to, | ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/php7-openssl-7.4.33/openssl.c:5831:41: warning: 'EVP_PKEY_get0_RSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5831 | EVP_PKEY_get0_RSA(pkey), | ^~~~~~~~~~~~~~~~~ /usr/include/openssl/evp.h:1349:22: note: declared here 1349 | const struct rsa_st *EVP_PKEY_get0_RSA(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/php7-openssl-7.4.33/openssl.c:5831:41: warning: passing argument 4 of 'RSA_private_decrypt' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 5831 | EVP_PKEY_get0_RSA(pkey), | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:298:30: note: expected 'RSA *' {aka 'struct rsa_st *'} but argument is of type 'const struct rsa_st *' 298 | RSA *rsa, int padding); | ~~~~~^~~ /usr/src/RPM/BUILD/php7-openssl-7.4.33/openssl.c: In function 'zif_openssl_public_encrypt': /usr/src/RPM/BUILD/php7-openssl-7.4.33/openssl.c:5895:25: warning: 'RSA_public_encrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5895 | successful = (RSA_public_encrypt((int)data_len, | ^~~~~~~~~~ /usr/include/openssl/rsa.h:288:5: note: declared here 288 | int RSA_public_encrypt(int flen, const unsigned char *from, unsigned char *to, | ^~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/php7-openssl-7.4.33/openssl.c:5898:49: warning: 'EVP_PKEY_get0_RSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5898 | EVP_PKEY_get0_RSA(pkey), | ^~~~~~~~~~~~~~~~~ /usr/include/openssl/evp.h:1349:22: note: declared here 1349 | const struct rsa_st *EVP_PKEY_get0_RSA(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/php7-openssl-7.4.33/openssl.c:5898:49: warning: passing argument 4 of 'RSA_public_encrypt' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 5898 | EVP_PKEY_get0_RSA(pkey), | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:289:29: note: expected 'RSA *' {aka 'struct rsa_st *'} but argument is of type 'const struct rsa_st *' 289 | RSA *rsa, int padding); | ~~~~~^~~ /usr/src/RPM/BUILD/php7-openssl-7.4.33/openssl.c: In function 'zif_openssl_public_decrypt': /usr/src/RPM/BUILD/php7-openssl-7.4.33/openssl.c:5957:25: warning: 'RSA_public_decrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5957 | cryptedlen = RSA_public_decrypt((int)data_len, | ^~~~~~~~~~ /usr/include/openssl/rsa.h:294:5: note: declared here 294 | int RSA_public_decrypt(int flen, const unsigned char *from, unsigned char *to, | ^~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/php7-openssl-7.4.33/openssl.c:5960:41: warning: 'EVP_PKEY_get0_RSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5960 | EVP_PKEY_get0_RSA(pkey), | ^~~~~~~~~~~~~~~~~ /usr/include/openssl/evp.h:1349:22: note: declared here 1349 | const struct rsa_st *EVP_PKEY_get0_RSA(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/php7-openssl-7.4.33/openssl.c:5960:41: warning: passing argument 4 of 'RSA_public_decrypt' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 5960 | EVP_PKEY_get0_RSA(pkey), | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:295:29: note: expected 'RSA *' {aka 'struct rsa_st *'} but argument is of type 'const struct rsa_st *' 295 | RSA *rsa, int padding); | ~~~~~^~~ make: *** [Makefile:194: openssl.lo] Error 1 make: Leaving directory '/usr/src/RPM/BUILD/php7-openssl-7.4.33' error: Bad exit status from /usr/src/tmp/rpm-tmp.8518 (%build) RPM build errors: Bad exit status from /usr/src/tmp/rpm-tmp.8518 (%build) Command exited with non-zero status 1 1.75user 1.43system 0:02.92elapsed 109%CPU (0avgtext+0avgdata 68592maxresident)k 0inputs+0outputs (0major+446650minor)pagefaults 0swaps hsh-rebuild: rebuild of `php7-openssl-7.4.33-alt1.src.rpm' failed. Command exited with non-zero status 1 4.83user 1.82system 0:14.68elapsed 45%CPU (0avgtext+0avgdata 126400maxresident)k 57176inputs+0outputs (0major+264494minor)pagefaults 0swaps