D: [iurt_root_command] chroot warning: Found bdb_ro Packages database while attempting sqlite backend: using bdb_ro backend. Installing /home/iurt/rpmbuild/SRPMS/xca-2.3.0-2.mga9.src.rpm Building target platforms: aarch64 Building for target aarch64 Executing(%prep): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.7lklbV + umask 022 + cd /home/iurt/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/iurt/rpmbuild/BUILD + rm -rf xca-2.3.0 + /usr/bin/gzip -dc /home/iurt/rpmbuild/SOURCES/xca-2.3.0.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd xca-2.3.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + perl -n -i -e '$/="\r\n";chomp;print;print "\n"' COPYRIGHT + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.pjUzIY + umask 022 + cd /home/iurt/rpmbuild/BUILD + cd xca-2.3.0 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables ' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables ' + export FCFLAGS + LDFLAGS=' -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CONFIGURE_TOP=. + '[' 1 = 1 ']' ++ find . -name config.guess -o -name config.sub + /usr/lib/rpm/mageia/force-as-needed-for-shared-lib-in-libtool Forcing -Wl,--as-needed in configure/libtool to workaround libtool bug (cf http://lists.gnu.org/archive/html/libtool-patches/2004-06/msg00002.html) + /usr/lib/rpm/mageia/drop-ld-no-undefined-for-shared-lib-modules-in-libtool + /usr/lib/rpm/mageia/fix-libtool-ltmain-from-overlinking + /usr/lib/rpm/mageia/fix-libtool-from-moving-options-after-libs . + /usr/lib/rpm/mageia/fix-dlsearch-path-in-libtool-for-multilib . lib64 + ./configure --host=aarch64-mageia-linux-gnu --build=aarch64-mageia-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info 'CXXFLAGS=-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables' STRIP=: configure: WARNING: unrecognized options: --disable-dependency-tracking configure: *************************************************** configure: * X Certificate and Key management 2.3.0 configure: *************************************************** checking for aarch64-mageia-linux-gnu-g++... no checking for aarch64-mageia-linux-gnu-c++... no checking for aarch64-mageia-linux-gnu-gpp... no checking for aarch64-mageia-linux-gnu-aCC... no checking for aarch64-mageia-linux-gnu-CC... no checking for aarch64-mageia-linux-gnu-cxx... no checking for aarch64-mageia-linux-gnu-cc++... no checking for aarch64-mageia-linux-gnu-cl.exe... no checking for aarch64-mageia-linux-gnu-FCC... no checking for aarch64-mageia-linux-gnu-KCC... no checking for aarch64-mageia-linux-gnu-RCC... no checking for aarch64-mageia-linux-gnu-xlC_r... no checking for aarch64-mageia-linux-gnu-xlC... no checking for g++... g++ 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 g++ accepts -g... yes checking for aarch64-mageia-linux-gnu-strip... : checking for aarch64-mageia-linux-gnu-windres... no checking for windres... no ./configure: line 2812: shasum: command not found configure: Compiling for host: LINUX checking for aarch64-mageia-linux-gnu-pkg-config... /usr/bin/aarch64-mageia-linux-gnu-pkg-config checking pkg-config is at least version 0.9.0... yes checking for OpenSSL... yes checking for Qt5... yes checking for lrelease-qt5... /usr/lib64/qt5/bin/lrelease-qt5 checking for lconvert-qt5... /usr/lib64/qt5/bin/lconvert-qt5 checking for rcc-qt5... /usr/lib64/qt5/bin/rcc-qt5 checking for lt_dlopen in -lltdl... yes checking how to run the C++ preprocessor... g++ -E checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E 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 ltdl.h usability... yes checking ltdl.h presence... yes checking for ltdl.h... yes configure: The Versions of the used libraries are: configure: Header: configure: OpenSSL 3.0.0 7 sep 2021 0x30000000L configure: QT: 5.15.2 configure: Libraries: configure: OpenSSL 3.0.0 7 sep 2021 configure: QT: 5.15.2 configure: ECC With RFC 5639 Brainpool curves enabled checking for GNU make... make configure: A usable 'make' executable was found in /usr/bin/make checking for linuxdoc... linuxdoc configure: creating ./config.status config.status: creating Local.mak config.status: creating misc/Info.plist config.status: creating misc/variables.wxi config.status: creating local.h configure: WARNING: unrecognized options: --disable-dependency-tracking + /usr/bin/make -O -j4 V=1 VERBOSE=1 GEN commithash.h MAN [doc] xca.1.gz UIC [ui] ui_CaProperties.h UIC [ui] ui_CertDetail.h UIC [ui] ui_CertExtend.h LANG [lang] xca_de.qm UIC [ui] ui_CrlDetail.h UIC [ui] ui_ExportDialog.h LANG [lang] xca_ru.qm UIC [ui] ui_Help.h UIC [ui] ui_ImportMulti.h LANG [lang] xca_hr.qm UIC [ui] ui_KeyDetail.h UIC [ui] ui_MainWindow.h LANG [lang] xca_pl.qm UIC [ui] ui_NewCrl.h UIC [ui] ui_NewKey.h LANG [lang] xca_pt_BR.qm UIC [ui] ui_Options.h UIC [ui] ui_NewX509.h UIC [ui] ui_PwDialog.h UIC [ui] ui_Revoke.h LANG [lang] xca_it.qm LANG [lang] xca_es.qm UIC [ui] ui_SelectToken.h UIC [ui] ui_XcaDialog.h UIC [ui] ui_v3ext.h LANG [lang] xca_zh_CN.qm UIC [ui] ui_SearchPkcs11.h UIC [ui] ui_RevocationList.h LANG [lang] xca_nl.qm LANG [lang] xca_ja.qm UIC [ui] ui_OidResolver.h UIC [ui] ui_OpenDb.h UIC [ui] ui_ItemProperties.h LANG [lang] xca_tr.qm LANG [lang] xca_fr.qm MOC [lib] moc_db_crl.cpp MOC [widgets] moc_MainWindow.cpp MOC [widgets] moc_KeyDetail.cpp MOC [lib] moc_db_key.cpp MOC [widgets] moc_clicklabel.cpp LANG [lang] xca_sk.qm MOC [widgets] moc_XcaTreeView.cpp MOC [lib] moc_db_temp.cpp MOC [widgets] moc_NewX509.cpp MOC [widgets] moc_validity.cpp MOC [lib] moc_db_x509.cpp MOC [widgets] moc_v3ext.cpp MOC [widgets] moc_distname.cpp RCC [img] imgres.cpp MOC [lib] moc_db_x509req.cpp MOC [widgets] moc_CertDetail.cpp MOC [widgets] moc_CertExtend.cpp MOC [lib] moc_db_x509super.cpp MOC [widgets] moc_PwDialog.cpp MOC [widgets] moc_ImportMulti.cpp MOC [lib] moc_db_base.cpp MOC [widgets] moc_CrlDetail.cpp MOC [widgets] moc_ExportDialog.cpp MOC [lib] moc_db_token.cpp MOC [widgets] moc_hashBox.cpp DEP [img] MOC [widgets] moc_Options.cpp MOC [lib] moc_pki_temp.cpp MOC [widgets] moc_NewKey.cpp MOC [widgets] moc_kvView.cpp MOC [lib] moc_pki_x509.cpp MOC [widgets] moc_NewCrl.cpp MOC [widgets] moc_SearchPkcs11.cpp MOC [lib] moc_pki_crl.cpp MOC [widgets] moc_RevocationList.cpp MOC [widgets] moc_XcaProxyModel.cpp MOC [lib] moc_pki_x509req.cpp MOC [widgets] moc_XcaHeaderView.cpp MOC [widgets] moc_KeyTreeView.cpp MOC [lib] moc_pki_key.cpp MOC [widgets] moc_TempTreeView.cpp MOC [widgets] moc_ReqTreeView.cpp MOC [lib] moc_pki_x509super.cpp MOC [widgets] moc_X509SuperTreeView.cpp MOC [widgets] moc_CertTreeView.cpp MOC [lib] moc_pki_pkcs12.cpp MOC [widgets] moc_OidResolver.cpp MOC [widgets] moc_OpenDb.cpp MOC [lib] moc_pki_base.cpp MOC [lib] moc_pki_multi.cpp MOC [lib] moc_pki_evp.cpp MOC [lib] moc_pki_scard.cpp MOC [lib] moc_pass_info.cpp MOC [lib] moc_pki_pkcs7.cpp MOC [lib] moc_main.cpp DOC [doc] xca.html DONE [misc] GEN [misc] dn.txt GEN [misc] oids.txt GEN [misc] eku.txt CC [img] imgres.o DONE [img] DEP [widgets] DEP [lib] CC [widgets] moc_clicklabel.o CC [widgets] moc_KeyDetail.o CC [widgets] moc_MainWindow.o CC [widgets] moc_XcaTreeView.o CC [widgets] moc_NewX509.o CC [lib] db_crl.o CC [widgets] moc_validity.o CC [widgets] moc_distname.o CC [widgets] moc_v3ext.o CC [lib] db_key.o CC [widgets] moc_CertDetail.o CC [lib] db_temp.o CC [widgets] moc_CertExtend.o CC [widgets] moc_PwDialog.o CC [lib] db_x509req.o CC [widgets] moc_ImportMulti.o CC [lib] db_x509.o CC [widgets] moc_CrlDetail.o CC [widgets] moc_ExportDialog.o CC [lib] db_x509super.o CC [widgets] moc_hashBox.o CC [lib] db_token.o CC [lib] db_base.o CC [widgets] moc_Options.o CC [widgets] moc_NewKey.o CC [lib] pki_temp.o CC [widgets] moc_kvView.o CC [lib] pki_x509.o pki_x509.cpp: In member function 'bool pki_x509::compareNameAndKey(pki_x509*)': pki_x509.cpp:799:25: warning: 'int EVP_PKEY_cmp(const EVP_PKEY*, const EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 799 | r = EVP_PKEY_cmp(pub1, pub2); | ~~~~~~~~~~~~^~~~~~~~~~~~ In file included from /usr/include/openssl/x509.h:29, from pki_x509.h:12, from pki_x509.cpp:9: /usr/include/openssl/evp.h:1418:5: note: declared here 1418 | int EVP_PKEY_cmp(const EVP_PKEY *a, const EVP_PKEY *b); | ^~~~~~~~~~~~ CC [lib] pki_crl.o CC [widgets] moc_NewCrl.o CC [lib] pki_x509req.o CC [lib] pki_key.o pki_key.cpp: In member function 'virtual BIO* pki_key::pem(BIO*, int)': pki_key.cpp:114:50: warning: 'const rsa_st* EVP_PKEY_get0_RSA(const EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 114 | EVP_PKEY_get0_RSA(pkey), | ~~~~~~~~~~~~~~~~~^~~~~~ In file included from /usr/include/openssl/pem.h:22, from pki_key.h:14, from pki_key.cpp:9: /usr/include/openssl/evp.h:1346:22: note: declared here 1346 | const struct rsa_st *EVP_PKEY_get0_RSA(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~ pki_key.cpp:113:52: warning: 'int PEM_write_bio_RSAPrivateKey(BIO*, const RSA*, const EVP_CIPHER*, const unsigned char*, int, int (*)(char*, int, int, void*), void*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 113 | PEM_write_bio_RSAPrivateKey(b, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ 114 | EVP_PKEY_get0_RSA(pkey), | ~~~~~~~~~~~~~~~~~~~~~~~~ 115 | NULL, NULL, 0, NULL, NULL); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from pki_key.h:14, from pki_key.cpp:9: /usr/include/openssl/pem.h:447:1: note: declared here 447 | DECLARE_PEM_rw_cb_attr(OSSL_DEPRECATEDIN_3_0, RSAPrivateKey, RSA) | ^~~~~~~~~~~~~~~~~~~~~~ pki_key.cpp:119:50: warning: 'const dsa_st* EVP_PKEY_get0_DSA(const EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 119 | EVP_PKEY_get0_DSA(pkey), | ~~~~~~~~~~~~~~~~~^~~~~~ In file included from /usr/include/openssl/pem.h:22, from pki_key.h:14, from pki_key.cpp:9: /usr/include/openssl/evp.h:1355:22: note: declared here 1355 | const struct dsa_st *EVP_PKEY_get0_DSA(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~ pki_key.cpp:118:52: warning: 'int PEM_write_bio_DSAPrivateKey(BIO*, const DSA*, const EVP_CIPHER*, const unsigned char*, int, int (*)(char*, int, int, void*), void*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 118 | PEM_write_bio_DSAPrivateKey(b, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ 119 | EVP_PKEY_get0_DSA(pkey), | ~~~~~~~~~~~~~~~~~~~~~~~~ 120 | NULL, NULL, 0, NULL, NULL); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from pki_key.h:14, from pki_key.cpp:9: /usr/include/openssl/pem.h:453:1: note: declared here 453 | DECLARE_PEM_rw_cb_attr(OSSL_DEPRECATEDIN_3_0, DSAPrivateKey, DSA) | ^~~~~~~~~~~~~~~~~~~~~~ pki_key.cpp:125:53: warning: 'const ec_key_st* EVP_PKEY_get0_EC_KEY(const EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 125 | EVP_PKEY_get0_EC_KEY(pkey), | ~~~~~~~~~~~~~~~~~~~~^~~~~~ In file included from /usr/include/openssl/pem.h:22, from pki_key.h:14, from pki_key.cpp:9: /usr/include/openssl/evp.h:1372:25: note: declared here 1372 | const struct ec_key_st *EVP_PKEY_get0_EC_KEY(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ pki_key.cpp:124:51: warning: 'int PEM_write_bio_ECPrivateKey(BIO*, const EC_KEY*, const EVP_CIPHER*, const unsigned char*, int, int (*)(char*, int, int, void*), void*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 124 | PEM_write_bio_ECPrivateKey(b, | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ 125 | EVP_PKEY_get0_EC_KEY(pkey), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 126 | NULL, NULL, 0, NULL, NULL); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from pki_key.h:14, from pki_key.cpp:9: /usr/include/openssl/pem.h:462:1: note: declared here 462 | DECLARE_PEM_rw_cb_attr(OSSL_DEPRECATEDIN_3_0, ECPrivateKey, EC_KEY) | ^~~~~~~~~~~~~~~~~~~~~~ pki_key.cpp: In member function 'QString pki_key::length() const': pki_key.cpp:150:45: warning: 'const dsa_st* EVP_PKEY_get0_DSA(const EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 150 | DSA *dsa = EVP_PKEY_get0_DSA(key); | ~~~~~~~~~~~~~~~~~^~~~~ In file included from /usr/include/openssl/pem.h:22, from pki_key.h:14, from pki_key.cpp:9: /usr/include/openssl/evp.h:1355:22: note: declared here 1355 | const struct dsa_st *EVP_PKEY_get0_DSA(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~ pki_key.cpp:150:45: error: invalid conversion from 'const dsa_st*' to 'DSA*' {aka 'dsa_st*'} [-fpermissive] 150 | DSA *dsa = EVP_PKEY_get0_DSA(key); | ~~~~~~~~~~~~~~~~~^~~~~ | | | const dsa_st* pki_key.cpp:152:37: warning: 'void DSA_get0_pqg(const DSA*, const BIGNUM**, const BIGNUM**, const BIGNUM**)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 152 | DSA_get0_pqg(dsa, &p, NULL, NULL); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/openssl/x509.h:37, from /usr/include/openssl/pem.h:23, from pki_key.h:14, from pki_key.cpp:9: /usr/include/openssl/dsa.h:201:28: note: declared here 201 | OSSL_DEPRECATEDIN_3_0 void DSA_get0_pqg(const DSA *d, const BIGNUM **p, | ^~~~~~~~~~~~ pki_key.cpp: In member function 'QString pki_key::modulus() const': pki_key.cpp:267:45: warning: 'const rsa_st* EVP_PKEY_get0_RSA(const EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 267 | RSA *rsa = EVP_PKEY_get0_RSA(key); | ~~~~~~~~~~~~~~~~~^~~~~ In file included from /usr/include/openssl/pem.h:22, from pki_key.h:14, from pki_key.cpp:9: /usr/include/openssl/evp.h:1346:22: note: declared here 1346 | const struct rsa_st *EVP_PKEY_get0_RSA(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~ pki_key.cpp:267:45: error: invalid conversion from 'const rsa_st*' to 'RSA*' {aka 'rsa_st*'} [-fpermissive] 267 | RSA *rsa = EVP_PKEY_get0_RSA(key); | ~~~~~~~~~~~~~~~~~^~~~~ | | | const rsa_st* pki_key.cpp:268:29: warning: 'void RSA_get0_key(const RSA*, const BIGNUM**, const BIGNUM**, const BIGNUM**)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 268 | RSA_get0_key(rsa, &n, NULL, NULL); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ In file included from pki_key.h:12, from pki_key.cpp:9: /usr/include/openssl/rsa.h:217:28: note: declared here 217 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_key(const RSA *r, | ^~~~~~~~~~~~ pki_key.cpp: In member function 'QString pki_key::pubEx() const': pki_key.cpp:278:45: warning: 'const rsa_st* EVP_PKEY_get0_RSA(const EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 278 | RSA *rsa = EVP_PKEY_get0_RSA(key); | ~~~~~~~~~~~~~~~~~^~~~~ In file included from /usr/include/openssl/pem.h:22, from pki_key.h:14, from pki_key.cpp:9: /usr/include/openssl/evp.h:1346:22: note: declared here 1346 | const struct rsa_st *EVP_PKEY_get0_RSA(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~ pki_key.cpp:278:45: error: invalid conversion from 'const rsa_st*' to 'RSA*' {aka 'rsa_st*'} [-fpermissive] 278 | RSA *rsa = EVP_PKEY_get0_RSA(key); | ~~~~~~~~~~~~~~~~~^~~~~ | | | const rsa_st* pki_key.cpp:279:29: warning: 'void RSA_get0_key(const RSA*, const BIGNUM**, const BIGNUM**, const BIGNUM**)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 279 | RSA_get0_key(rsa, NULL, &e, NULL); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ In file included from pki_key.h:12, from pki_key.cpp:9: /usr/include/openssl/rsa.h:217:28: note: declared here 217 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_key(const RSA *r, | ^~~~~~~~~~~~ pki_key.cpp: In member function 'QString pki_key::subprime() const': pki_key.cpp:289:45: warning: 'const dsa_st* EVP_PKEY_get0_DSA(const EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 289 | DSA *dsa = EVP_PKEY_get0_DSA(key); | ~~~~~~~~~~~~~~~~~^~~~~ In file included from /usr/include/openssl/pem.h:22, from pki_key.h:14, from pki_key.cpp:9: /usr/include/openssl/evp.h:1355:22: note: declared here 1355 | const struct dsa_st *EVP_PKEY_get0_DSA(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~ pki_key.cpp:289:45: error: invalid conversion from 'const dsa_st*' to 'DSA*' {aka 'dsa_st*'} [-fpermissive] 289 | DSA *dsa = EVP_PKEY_get0_DSA(key); | ~~~~~~~~~~~~~~~~~^~~~~ | | | const dsa_st* pki_key.cpp:291:37: warning: 'void DSA_get0_pqg(const DSA*, const BIGNUM**, const BIGNUM**, const BIGNUM**)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 291 | DSA_get0_pqg(dsa, NULL, &q, NULL); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/openssl/x509.h:37, from /usr/include/openssl/pem.h:23, from pki_key.h:14, from pki_key.cpp:9: /usr/include/openssl/dsa.h:201:28: note: declared here 201 | OSSL_DEPRECATEDIN_3_0 void DSA_get0_pqg(const DSA *d, const BIGNUM **p, | ^~~~~~~~~~~~ pki_key.cpp: In member function 'QString pki_key::pubkey() const': pki_key.cpp:301:45: warning: 'const dsa_st* EVP_PKEY_get0_DSA(const EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 301 | DSA *dsa = EVP_PKEY_get0_DSA(key); | ~~~~~~~~~~~~~~~~~^~~~~ In file included from /usr/include/openssl/pem.h:22, from pki_key.h:14, from pki_key.cpp:9: /usr/include/openssl/evp.h:1355:22: note: declared here 1355 | const struct dsa_st *EVP_PKEY_get0_DSA(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~ pki_key.cpp:301:45: error: invalid conversion from 'const dsa_st*' to 'DSA*' {aka 'dsa_st*'} [-fpermissive] 301 | DSA *dsa = EVP_PKEY_get0_DSA(key); | ~~~~~~~~~~~~~~~~~^~~~~ | | | const dsa_st* pki_key.cpp:303:37: warning: 'void DSA_get0_key(const DSA*, const BIGNUM**, const BIGNUM**)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 303 | DSA_get0_key(dsa, &pubkey, NULL); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/openssl/x509.h:37, from /usr/include/openssl/pem.h:23, from pki_key.h:14, from pki_key.cpp:9: /usr/include/openssl/dsa.h:204:28: note: declared here 204 | OSSL_DEPRECATEDIN_3_0 void DSA_get0_key(const DSA *d, const BIGNUM **pub_key, | ^~~~~~~~~~~~ pki_key.cpp: In member function 'int pki_key::ecParamNid() const': pki_key.cpp:315:34: warning: 'const ec_key_st* EVP_PKEY_get0_EC_KEY(const EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 315 | ec = EVP_PKEY_get0_EC_KEY(key); | ~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from /usr/include/openssl/pem.h:22, from pki_key.h:14, from pki_key.cpp:9: /usr/include/openssl/evp.h:1372:25: note: declared here 1372 | const struct ec_key_st *EVP_PKEY_get0_EC_KEY(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ pki_key.cpp:316:57: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 316 | return EC_GROUP_get_curve_name(EC_KEY_get0_group(ec)); | ~~~~~~~~~~~~~~~~~^~~~ In file included from /usr/include/openssl/x509.h:33, from /usr/include/openssl/pem.h:23, from pki_key.h:14, from pki_key.cpp:9: /usr/include/openssl/ec.h:1032:39: note: declared here 1032 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ pki_key.cpp: In member function 'BIGNUM* pki_key::ecPubKeyBN() const': pki_key.cpp:324:48: warning: 'const ec_key_st* EVP_PKEY_get0_EC_KEY(const EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 324 | const EC_KEY *ec = EVP_PKEY_get0_EC_KEY(key); | ~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from /usr/include/openssl/pem.h:22, from pki_key.h:14, from pki_key.cpp:9: /usr/include/openssl/evp.h:1372:25: note: declared here 1372 | const struct ec_key_st *EVP_PKEY_get0_EC_KEY(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ pki_key.cpp:325:51: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 325 | return EC_POINT_point2bn(EC_KEY_get0_group(ec), | ~~~~~~~~~~~~~~~~~^~~~ In file included from /usr/include/openssl/x509.h:33, from /usr/include/openssl/pem.h:23, from pki_key.h:14, from pki_key.cpp:9: /usr/include/openssl/ec.h:1032:39: note: declared here 1032 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ pki_key.cpp:326:56: warning: 'const EC_POINT* EC_KEY_get0_public_key(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 326 | EC_KEY_get0_public_key(ec), | ~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /usr/include/openssl/x509.h:33, from /usr/include/openssl/pem.h:23, from pki_key.h:14, from pki_key.cpp:9: /usr/include/openssl/ec.h:1060:39: note: declared here 1060 | OSSL_DEPRECATEDIN_3_0 const EC_POINT *EC_KEY_get0_public_key(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~~~~~~ pki_key.cpp:327:54: warning: 'point_conversion_form_t EC_KEY_get_conv_form(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 327 | EC_KEY_get_conv_form(ec), NULL, NULL); | ~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /usr/include/openssl/x509.h:33, from /usr/include/openssl/pem.h:23, from pki_key.h:14, from pki_key.cpp:9: /usr/include/openssl/ec.h:1072:47: note: declared here 1072 | OSSL_DEPRECATEDIN_3_0 point_conversion_form_t EC_KEY_get_conv_form(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~~~~ pki_key.cpp:325:33: warning: 'BIGNUM* EC_POINT_point2bn(const EC_GROUP*, const EC_POINT*, point_conversion_form_t, BIGNUM*, BN_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 325 | return EC_POINT_point2bn(EC_KEY_get0_group(ec), | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ 326 | EC_KEY_get0_public_key(ec), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 327 | EC_KEY_get_conv_form(ec), NULL, NULL); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/openssl/x509.h:33, from /usr/include/openssl/pem.h:23, from pki_key.h:14, from pki_key.cpp:9: /usr/include/openssl/ec.h:768:31: note: declared here 768 | OSSL_DEPRECATEDIN_3_0 BIGNUM *EC_POINT_point2bn(const EC_GROUP *, | ^~~~~~~~~~~~~~~~~ pki_key.cpp: In member function 'virtual bool pki_key::compare(const pki_base*) const': pki_key.cpp:376:29: warning: 'int EVP_PKEY_cmp(const EVP_PKEY*, const EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 376 | int r = EVP_PKEY_cmp(key, kref->key); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~ In file included from /usr/include/openssl/pem.h:22, from pki_key.h:14, from pki_key.cpp:9: /usr/include/openssl/evp.h:1418:5: note: declared here 1418 | int EVP_PKEY_cmp(const EVP_PKEY *a, const EVP_PKEY *b); | ^~~~~~~~~~~~ pki_key.cpp: In member function 'EVP_PKEY* pki_key::load_ssh2_key(XFile&)': pki_key.cpp:573:31: warning: 'QStringList QString::split(const QString&, QString::SplitBehavior, Qt::CaseSensitivity) const' is deprecated: Use Qt::SplitBehavior variant instead [-Wdeprecated-declarations] 573 | sl = QString(ba).split(" ", QString::SkipEmptyParts); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/QString:1, from pki_key.h:10, from pki_key.cpp:9: /usr/include/qt5/QtCore/qstring.h:609:17: note: declared here 609 | QStringList split(const QString &sep, SplitBehavior behavior, | ^~~~~ pki_key.cpp:584:35: warning: 'RSA* RSA_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 584 | RSA *rsa = RSA_new(); | ~~~~~~~^~ In file included from pki_key.h:12, from pki_key.cpp:9: /usr/include/openssl/rsa.h:201:28: note: declared here 201 | OSSL_DEPRECATEDIN_3_0 RSA *RSA_new(void); | ^~~~~~~ pki_key.cpp:586:29: warning: 'int RSA_set0_key(RSA*, BIGNUM*, BIGNUM*, BIGNUM*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 586 | RSA_set0_key(rsa, n, e, NULL); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ In file included from pki_key.h:12, from pki_key.cpp:9: /usr/include/openssl/rsa.h:207:27: note: declared here 207 | OSSL_DEPRECATEDIN_3_0 int RSA_set0_key(RSA *r, BIGNUM *n, BIGNUM *e, BIGNUM *d); | ^~~~~~~~~~~~ pki_key.cpp:596:35: warning: 'DSA* DSA_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 596 | DSA *dsa = DSA_new(); | ~~~~~~~^~ In file included from /usr/include/openssl/x509.h:37, from /usr/include/openssl/pem.h:23, from pki_key.h:14, from pki_key.cpp:9: /usr/include/openssl/dsa.h:125:28: note: declared here 125 | OSSL_DEPRECATEDIN_3_0 DSA *DSA_new(void); | ^~~~~~~ pki_key.cpp:599:29: warning: 'int DSA_set0_pqg(DSA*, BIGNUM*, BIGNUM*, BIGNUM*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 599 | DSA_set0_pqg(dsa, p, q, g); | ~~~~~~~~~~~~^~~~~~~~~~~~~~ In file included from /usr/include/openssl/x509.h:37, from /usr/include/openssl/pem.h:23, from pki_key.h:14, from pki_key.cpp:9: /usr/include/openssl/dsa.h:203:27: note: declared here 203 | OSSL_DEPRECATEDIN_3_0 int DSA_set0_pqg(DSA *d, BIGNUM *p, BIGNUM *q, BIGNUM *g); | ^~~~~~~~~~~~ pki_key.cpp:600:29: warning: 'int DSA_set0_key(DSA*, BIGNUM*, BIGNUM*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 600 | DSA_set0_key(dsa, pubkey, NULL); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/openssl/x509.h:37, from /usr/include/openssl/pem.h:23, from pki_key.h:14, from pki_key.cpp:9: /usr/include/openssl/dsa.h:206:27: note: declared here 206 | OSSL_DEPRECATEDIN_3_0 int DSA_set0_key(DSA *d, BIGNUM *pub_key, | ^~~~~~~~~~~~ pki_key.cpp:614:46: warning: 'EC_KEY* EC_KEY_new_by_curve_name(int)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 614 | ec = EC_KEY_new_by_curve_name(NID_X9_62_prime256v1); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/openssl/x509.h:33, from /usr/include/openssl/pem.h:23, from pki_key.h:14, from pki_key.cpp:9: /usr/include/openssl/ec.h:996:31: note: declared here 996 | OSSL_DEPRECATEDIN_3_0 EC_KEY *EC_KEY_new_by_curve_name(int nid); | ^~~~~~~~~~~~~~~~~~~~~~~~ pki_key.cpp:616:37: warning: 'void EC_KEY_set_asn1_flag(EC_KEY*, int)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 616 | EC_KEY_set_asn1_flag(ec, OPENSSL_EC_NAMED_CURVE); | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/openssl/x509.h:33, from /usr/include/openssl/pem.h:23, from pki_key.h:14, from pki_key.cpp:9: /usr/include/openssl/ec.h:1085:28: note: declared here 1085 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_set_asn1_flag(EC_KEY *eckey, int asn1_flag); | ^~~~~~~~~~~~~~~~~~~~ pki_key.cpp:618:58: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 618 | EC_KEY_get0_group(ec), bn, NULL, NULL)); | ~~~~~~~~~~~~~~~~~^~~~ In file included from /usr/include/openssl/x509.h:33, from /usr/include/openssl/pem.h:23, from pki_key.h:14, from pki_key.cpp:9: /usr/include/openssl/ec.h:1032:39: note: declared here 1032 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ pki_key.cpp:617:60: warning: 'EC_POINT* EC_POINT_bn2point(const EC_GROUP*, const BIGNUM*, EC_POINT*, BN_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 617 | EC_KEY_set_public_key(ec, EC_POINT_bn2point( | ~~~~~~~~~~~~~~~~~^ 618 | EC_KEY_get0_group(ec), bn, NULL, NULL)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/openssl/x509.h:33, from /usr/include/openssl/pem.h:23, from pki_key.h:14, from pki_key.cpp:9: /usr/include/openssl/ec.h:772:33: note: declared here 772 | OSSL_DEPRECATEDIN_3_0 EC_POINT *EC_POINT_bn2point(const EC_GROUP *, | ^~~~~~~~~~~~~~~~~ pki_key.cpp:617:38: warning: 'int EC_KEY_set_public_key(EC_KEY*, const EC_POINT*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 617 | EC_KEY_set_public_key(ec, EC_POINT_bn2point( | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ 618 | EC_KEY_get0_group(ec), bn, NULL, NULL)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/openssl/x509.h:33, from /usr/include/openssl/pem.h:23, from pki_key.h:14, from pki_key.cpp:9: /usr/include/openssl/ec.h:1068:27: note: declared here 1068 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_set_public_key(EC_KEY *key, const EC_POINT *pub); | ^~~~~~~~~~~~~~~~~~~~~ pki_key.cpp: In member function 'QByteArray pki_key::SSH2publicQByteArray(bool) const': pki_key.cpp:681:53: warning: 'const rsa_st* EVP_PKEY_get0_RSA(const EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 681 | RSA *rsa = EVP_PKEY_get0_RSA(key); | ~~~~~~~~~~~~~~~~~^~~~~ In file included from /usr/include/openssl/pem.h:22, from pki_key.h:14, from pki_key.cpp:9: /usr/include/openssl/evp.h:1346:22: note: declared here 1346 | const struct rsa_st *EVP_PKEY_get0_RSA(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~ pki_key.cpp:681:53: error: invalid conversion from 'const rsa_st*' to 'RSA*' {aka 'rsa_st*'} [-fpermissive] 681 | RSA *rsa = EVP_PKEY_get0_RSA(key); | ~~~~~~~~~~~~~~~~~^~~~~ | | | const rsa_st* pki_key.cpp:683:37: warning: 'void RSA_get0_key(const RSA*, const BIGNUM**, const BIGNUM**, const BIGNUM**)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 683 | RSA_get0_key(rsa, &n, &e, NULL); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ In file included from pki_key.h:12, from pki_key.cpp:9: /usr/include/openssl/rsa.h:217:28: note: declared here 217 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_key(const RSA *r, | ^~~~~~~~~~~~ pki_key.cpp:692:53: warning: 'const dsa_st* EVP_PKEY_get0_DSA(const EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 692 | DSA *dsa = EVP_PKEY_get0_DSA(key); | ~~~~~~~~~~~~~~~~~^~~~~ In file included from /usr/include/openssl/pem.h:22, from pki_key.h:14, from pki_key.cpp:9: /usr/include/openssl/evp.h:1355:22: note: declared here 1355 | const struct dsa_st *EVP_PKEY_get0_DSA(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~ pki_key.cpp:692:53: error: invalid conversion from 'const dsa_st*' to 'DSA*' {aka 'dsa_st*'} [-fpermissive] 692 | DSA *dsa = EVP_PKEY_get0_DSA(key); | ~~~~~~~~~~~~~~~~~^~~~~ | | | const dsa_st* pki_key.cpp:694:37: warning: 'void DSA_get0_pqg(const DSA*, const BIGNUM**, const BIGNUM**, const BIGNUM**)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 694 | DSA_get0_pqg(dsa, &p, &q, &g); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/include/openssl/x509.h:37, from /usr/include/openssl/pem.h:23, from pki_key.h:14, from pki_key.cpp:9: /usr/include/openssl/dsa.h:201:28: note: declared here 201 | OSSL_DEPRECATEDIN_3_0 void DSA_get0_pqg(const DSA *d, const BIGNUM **p, | ^~~~~~~~~~~~ pki_key.cpp:695:37: warning: 'void DSA_get0_key(const DSA*, const BIGNUM**, const BIGNUM**)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 695 | DSA_get0_key(dsa, &pubkey, NULL); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/openssl/x509.h:37, from /usr/include/openssl/pem.h:23, from pki_key.h:14, from pki_key.cpp:9: /usr/include/openssl/dsa.h:204:28: note: declared here 204 | OSSL_DEPRECATEDIN_3_0 void DSA_get0_key(const DSA *d, const BIGNUM **pub_key, | ^~~~~~~~~~~~ pki_key.cpp: In member function 'bool pki_key::verify(EVP_PKEY*) const': pki_key.cpp:747:47: warning: 'const rsa_st* EVP_PKEY_get0_RSA(const EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 747 | RSA_get0_key(EVP_PKEY_get0_RSA(pkey), &a, &b, NULL); | ~~~~~~~~~~~~~~~~~^~~~~~ In file included from /usr/include/openssl/pem.h:22, from pki_key.h:14, from pki_key.cpp:9: /usr/include/openssl/evp.h:1346:22: note: declared here 1346 | const struct rsa_st *EVP_PKEY_get0_RSA(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~ pki_key.cpp:747:29: warning: 'void RSA_get0_key(const RSA*, const BIGNUM**, const BIGNUM**, const BIGNUM**)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 747 | RSA_get0_key(EVP_PKEY_get0_RSA(pkey), &a, &b, NULL); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from pki_key.h:12, from pki_key.cpp:9: /usr/include/openssl/rsa.h:217:28: note: declared here 217 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_key(const RSA *r, | ^~~~~~~~~~~~ pki_key.cpp:751:47: warning: 'const dsa_st* EVP_PKEY_get0_DSA(const EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 751 | DSA_get0_pqg(EVP_PKEY_get0_DSA(pkey), &a, &b, &c); | ~~~~~~~~~~~~~~~~~^~~~~~ In file included from /usr/include/openssl/pem.h:22, from pki_key.h:14, from pki_key.cpp:9: /usr/include/openssl/evp.h:1355:22: note: declared here 1355 | const struct dsa_st *EVP_PKEY_get0_DSA(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~ pki_key.cpp:751:29: warning: 'void DSA_get0_pqg(const DSA*, const BIGNUM**, const BIGNUM**, const BIGNUM**)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 751 | DSA_get0_pqg(EVP_PKEY_get0_DSA(pkey), &a, &b, &c); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/openssl/x509.h:37, from /usr/include/openssl/pem.h:23, from pki_key.h:14, from pki_key.cpp:9: /usr/include/openssl/dsa.h:201:28: note: declared here 201 | OSSL_DEPRECATEDIN_3_0 void DSA_get0_pqg(const DSA *d, const BIGNUM **p, | ^~~~~~~~~~~~ pki_key.cpp:756:63: warning: 'const ec_key_st* EVP_PKEY_get0_EC_KEY(const EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 756 | verify = EC_KEY_check_key(EVP_PKEY_get0_EC_KEY(pkey)) == 1; | ~~~~~~~~~~~~~~~~~~~~^~~~~~ In file included from /usr/include/openssl/pem.h:22, from pki_key.h:14, from pki_key.cpp:9: /usr/include/openssl/evp.h:1372:25: note: declared here 1372 | const struct ec_key_st *EVP_PKEY_get0_EC_KEY(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ pki_key.cpp:756:42: warning: 'int EC_KEY_check_key(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 756 | verify = EC_KEY_check_key(EVP_PKEY_get0_EC_KEY(pkey)) == 1; | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/openssl/x509.h:33, from /usr/include/openssl/pem.h:23, from pki_key.h:14, from pki_key.cpp:9: /usr/include/openssl/ec.h:1105:27: note: declared here 1105 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_check_key(const EC_KEY *key); | ^~~~~~~~~~~~~~~~ make[1]: *** [/home/iurt/rpmbuild/BUILD/xca-2.3.0/Rules.mak:30: pki_key.o] Error 1 make[1]: *** Waiting for unfinished jobs.... CC [lib] pki_x509super.o make: *** [Makefile:81: lib/.build-stamp] Error 2 make: *** Waiting for unfinished jobs.... CC [widgets] moc_XcaProxyModel.o CC [widgets] moc_SearchPkcs11.o CC [widgets] moc_XcaHeaderView.o CC [widgets] moc_RevocationList.o CC [widgets] moc_KeyTreeView.o CC [widgets] moc_TempTreeView.o CC [widgets] moc_ReqTreeView.o CC [widgets] moc_X509SuperTreeView.o CC [widgets] moc_OidResolver.o CC [widgets] moc_OpenDb.o CC [widgets] moc_CertTreeView.o CC [widgets] clicklabel.o CC [widgets] KeyDetail.o CC [widgets] XcaTreeView.o CC [widgets] validity.o CC [widgets] MainWindow.o In file included from MainWindow.cpp:12: dhgen.h: In member function 'virtual void DHgen::run()': dhgen.h:43:36: warning: 'DH* DH_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 43 | dh = DH_new(); | ~~~~~~^~ In file included from /usr/include/openssl/dsa.h:51, from /usr/include/openssl/x509.h:37, from /home/iurt/rpmbuild/BUILD/xca-2.3.0/lib/pki_x509.h:12, from /home/iurt/rpmbuild/BUILD/xca-2.3.0/widgets/ItemCombo.h:15, from /home/iurt/rpmbuild/BUILD/xca-2.3.0/ui/ui_NewX509.h:32, from NewX509.h:12, from MainWindow.h:11, from MainWindow.cpp:10: /usr/include/openssl/dh.h:199:27: note: declared here 199 | OSSL_DEPRECATEDIN_3_0 DH *DH_new(void); | ^~~~~~ In file included from MainWindow.cpp:12: dhgen.h:45:50: warning: 'int DH_generate_parameters_ex(DH*, int, int, BN_GENCB*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 45 | DH_generate_parameters_ex(dh, bits, 2, NULL); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/openssl/dsa.h:51, from /usr/include/openssl/x509.h:37, from /home/iurt/rpmbuild/BUILD/xca-2.3.0/lib/pki_x509.h:12, from /home/iurt/rpmbuild/BUILD/xca-2.3.0/widgets/ItemCombo.h:15, from /home/iurt/rpmbuild/BUILD/xca-2.3.0/ui/ui_NewX509.h:32, from NewX509.h:12, from MainWindow.h:11, from MainWindow.cpp:10: /usr/include/openssl/dh.h:212:27: note: declared here 212 | OSSL_DEPRECATEDIN_3_0 int DH_generate_parameters_ex(DH *dh, int prime_len, | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from MainWindow.cpp:12: dhgen.h:54:43: warning: 'int PEM_write_DHparams(FILE*, const DH*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 54 | PEM_write_DHparams(file.fp(), dh); | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ In file included from /home/iurt/rpmbuild/BUILD/xca-2.3.0/lib/pki_x509.h:14, from /home/iurt/rpmbuild/BUILD/xca-2.3.0/widgets/ItemCombo.h:15, from /home/iurt/rpmbuild/BUILD/xca-2.3.0/ui/ui_NewX509.h:32, from NewX509.h:12, from MainWindow.h:11, from MainWindow.cpp:10: /usr/include/openssl/pem.h:469:1: note: declared here 469 | DECLARE_PEM_rw_attr(OSSL_DEPRECATEDIN_3_0, DHparams, DH) | ^~~~~~~~~~~~~~~~~~~ In file included from MainWindow.cpp:12: dhgen.h:60:32: warning: 'void DH_free(DH*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 60 | DH_free(dh); | ~~~~~~~^~~~ In file included from /usr/include/openssl/dsa.h:51, from /usr/include/openssl/x509.h:37, from /home/iurt/rpmbuild/BUILD/xca-2.3.0/lib/pki_x509.h:12, from /home/iurt/rpmbuild/BUILD/xca-2.3.0/widgets/ItemCombo.h:15, from /home/iurt/rpmbuild/BUILD/xca-2.3.0/ui/ui_NewX509.h:32, from NewX509.h:12, from MainWindow.h:11, from MainWindow.cpp:10: /usr/include/openssl/dh.h:200:28: note: declared here 200 | OSSL_DEPRECATEDIN_3_0 void DH_free(DH *dh); | ^~~~~~~ CC [widgets] v3ext.o CC [widgets] distname.o CC [widgets] CertDetail.o CC [widgets] NewX509.o NewX509.cpp: In function 'int lb2int(QListWidget*)': NewX509.cpp:462:39: warning: 'bool QListWidget::isItemSelected(const QListWidgetItem*) const' is deprecated: Use QListWidgetItem::isSelected() instead [-Wdeprecated-declarations] 462 | if (lb->isItemSelected(item)){ | ~~~~~~~~~~~~~~~~~~^~~~~~ In file included from /usr/include/qt5/QtWidgets/QListWidget:1, from /home/iurt/rpmbuild/BUILD/xca-2.3.0/ui/ui_NewX509.h:24, from NewX509.h:12, from NewX509.cpp:9: /usr/include/qt5/QtWidgets/qlistwidget.h:261:10: note: declared here 261 | bool isItemSelected(const QListWidgetItem *item) const; | ^~~~~~~~~~~~~~ NewX509.cpp: In function 'void int2lb(QListWidget*, int)': NewX509.cpp:476:36: warning: 'void QListWidget::setItemSelected(const QListWidgetItem*, bool)' is deprecated: Use QListWidgetItem::setSelected() instead [-Wdeprecated-declarations] 476 | lb->setItemSelected(item, (1<setItemSelected(items[0], 1); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ In file included from /usr/include/qt5/QtWidgets/QListWidget:1, from /home/iurt/rpmbuild/BUILD/xca-2.3.0/ui/ui_NewX509.h:24, from NewX509.h:12, from NewX509.cpp:9: /usr/include/qt5/QtWidgets/qlistwidget.h:263:10: note: declared here 263 | void setItemSelected(const QListWidgetItem *item, bool select); | ^~~~~~~~~~~~~~~ NewX509.cpp: In function 'QString lb2QString(QListWidget*)': NewX509.cpp:499:39: warning: 'bool QListWidget::isItemSelected(const QListWidgetItem*) const' is deprecated: Use QListWidgetItem::isSelected() instead [-Wdeprecated-declarations] 499 | if (lb->isItemSelected(item)) { | ~~~~~~~~~~~~~~~~~~^~~~~~ In file included from /usr/include/qt5/QtWidgets/QListWidget:1, from /home/iurt/rpmbuild/BUILD/xca-2.3.0/ui/ui_NewX509.h:24, from NewX509.h:12, from NewX509.cpp:9: /usr/include/qt5/QtWidgets/qlistwidget.h:261:10: note: declared here 261 | bool isItemSelected(const QListWidgetItem *item) const; | ^~~~~~~~~~~~~~ CC [widgets] PwDialog.o CC [widgets] CertExtend.o CC [widgets] CrlDetail.o CC [widgets] hashBox.o CC [widgets] ImportMulti.o CC [widgets] kvView.o CC [widgets] ExportDialog.o CC [widgets] NewKey.o CC [widgets] SearchPkcs11.o SearchPkcs11.cpp: In member function 'void SearchPkcs11::updateCurrFile(QString)': SearchPkcs11.cpp:118:46: warning: 'int QFontMetrics::width(const QString&, int) const' is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations] 118 | while ((currFile->width() < (fm.width(reduced) -10)) && (len > 0)) { | ~~~~~~~~^~~~~~~~~ In file included from /usr/include/qt5/QtWidgets/qwidget.h:50, from /usr/include/qt5/QtWidgets/qabstractbutton.h:46, from /usr/include/qt5/QtWidgets/qcheckbox.h:44, from /usr/include/qt5/QtWidgets/QCheckBox:1, from /home/iurt/rpmbuild/BUILD/xca-2.3.0/ui/ui_SearchPkcs11.h:14, from SearchPkcs11.h:12, from SearchPkcs11.cpp:9: /usr/include/qt5/QtGui/qfontmetrics.h:106:9: note: declared here 106 | int width(const QString &, int len = -1) const; | ^~~~~ CC [widgets] Options.o Options.cpp: In member function 'void Options::on_removeButton_clicked()': Options.cpp:189:47: warning: 'template class qGreater' is deprecated: Use std::greater [-Wdeprecated-declarations] 189 | qSort(indexes.begin(), indexes.end(), qGreater()); | ^~~~~~~~ In file included from /usr/include/qt5/QtCore/qlist.h:43, from /usr/include/qt5/QtCore/qstringlist.h:41, from /usr/include/qt5/QtGui/qcolor.h:46, from /usr/include/qt5/QtGui/qpixmap.h:45, from /usr/include/qt5/QtGui/QPixmap:1, from /home/iurt/rpmbuild/BUILD/xca-2.3.0/lib/func.h:13, from Options.cpp:8: /usr/include/qt5/QtCore/qalgorithms.h:163:43: note: declared here 163 | class QT_DEPRECATED_X("Use std::greater") qGreater | ^~~~~~~~ Options.cpp:189:14: warning: 'void qSort(RandomAccessIterator, RandomAccessIterator, LessThan) [with RandomAccessIterator = QList::iterator; LessThan = qGreater]' is deprecated: Use std::sort [-Wdeprecated-declarations] 189 | qSort(indexes.begin(), indexes.end(), qGreater()); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qlist.h:43, from /usr/include/qt5/QtCore/qstringlist.h:41, from /usr/include/qt5/QtGui/qcolor.h:46, from /usr/include/qt5/QtGui/qpixmap.h:45, from /usr/include/qt5/QtGui/QPixmap:1, from /home/iurt/rpmbuild/BUILD/xca-2.3.0/lib/func.h:13, from Options.cpp:8: /usr/include/qt5/QtCore/qalgorithms.h:181:46: note: declared here 181 | QT_DEPRECATED_X("Use std::sort") inline void qSort(RandomAccessIterator start, RandomAccessIterator end, LessThan lessThan) | ^~~~~ CC [widgets] NewCrl.o CC [widgets] XcaProxyModel.o CC [widgets] XcaHeaderView.o CC [widgets] RevocationList.o CC [widgets] KeyTreeView.o CC [widgets] TempTreeView.o CC [widgets] ReqTreeView.o CC [widgets] X509SuperTreeView.o CC [widgets] CertTreeView.o CC [widgets] OidResolver.o CC [widgets] NewX509_ext.o NewX509_ext.cpp: In member function 'x509v3ext NewX509::getKeyUsage()': NewX509_ext.cpp:90:45: warning: 'bool QListWidget::isItemSelected(const QListWidgetItem*) const' is deprecated: Use QListWidgetItem::isSelected() instead [-Wdeprecated-declarations] 90 | if (keyUsage->isItemSelected(keyUsage->item(i))) { | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtWidgets/QListWidget:1, from /home/iurt/rpmbuild/BUILD/xca-2.3.0/ui/ui_NewX509.h:24, from NewX509.h:12, from NewX509_ext.cpp:9: /usr/include/qt5/QtWidgets/qlistwidget.h:261:10: note: declared here 261 | bool isItemSelected(const QListWidgetItem *item) const; | ^~~~~~~~~~~~~~ NewX509_ext.cpp: In member function 'x509v3ext NewX509::getEkeyUsage()': NewX509_ext.cpp:107:46: warning: 'bool QListWidget::isItemSelected(const QListWidgetItem*) const' is deprecated: Use QListWidgetItem::isSelected() instead [-Wdeprecated-declarations] 107 | if (ekeyUsage->isItemSelected(ekeyUsage->item(i))) { | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtWidgets/QListWidget:1, from /home/iurt/rpmbuild/BUILD/xca-2.3.0/ui/ui_NewX509.h:24, from NewX509.h:12, from NewX509_ext.cpp:9: /usr/include/qt5/QtWidgets/qlistwidget.h:261:10: note: declared here 261 | bool isItemSelected(const QListWidgetItem *item) const; | ^~~~~~~~~~~~~~ NewX509_ext.cpp: In member function 'extList NewX509::getNetscapeExt()': NewX509_ext.cpp:273:47: warning: 'bool QListWidget::isItemSelected(const QListWidgetItem*) const' is deprecated: Use QListWidgetItem::isSelected() instead [-Wdeprecated-declarations] 273 | if (nsCertType->isItemSelected(nsCertType->item(i))) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtWidgets/QListWidget:1, from /home/iurt/rpmbuild/BUILD/xca-2.3.0/ui/ui_NewX509.h:24, from NewX509.h:12, from NewX509_ext.cpp:9: /usr/include/qt5/QtWidgets/qlistwidget.h:261:10: note: declared here 261 | bool isItemSelected(const QListWidgetItem *item) const; | ^~~~~~~~~~~~~~ CC [widgets] OpenDb.o CC [widgets] MW_menu.o CC [widgets] MW_help.o MW_help.cpp: In member function 'void MainWindow::help()': MW_help.cpp:170:41: warning: 'constexpr QFlags::QFlags(QFlags::Zero) [with Enum = Qt::WindowType; QFlags::Zero = int QFlags::Private::*]' is deprecated: Use default constructor instead [-Wdeprecated-declarations] 170 | QDialog *h = new QDialog(this, 0); | ^ In file included from /usr/include/qt5/QtCore/qglobal.h:1299, from /usr/include/qt5/QtCore/qatomic.h:41, from /usr/include/qt5/QtCore/qvariant.h:43, from /usr/include/qt5/QtCore/QVariant:1, from /home/iurt/rpmbuild/BUILD/xca-2.3.0/ui/ui_NewX509.h:12, from NewX509.h:12, from MainWindow.h:11, from MW_help.cpp:9: /usr/include/qt5/QtCore/qflags.h:123:80: note: declared here 123 | QT_DEPRECATED_X("Use default constructor instead") Q_DECL_CONSTEXPR inline QFlags(Zero) noexcept : i(0) {} | ^~~~~~ CC [widgets] MW_database.o DONE [widgets] error: Bad exit status from /home/iurt/rpmbuild/tmp/rpm-tmp.pjUzIY (%build) RPM build errors: Found bdb_ro Packages database while attempting sqlite backend: using bdb_ro backend. Bad exit status from /home/iurt/rpmbuild/tmp/rpm-tmp.pjUzIY (%build) I: [iurt_root_command] ERROR: chroot