[2024-10-20 05:46:38.678739 tictac] INFO: xbbs.worker: running job JobMessage(project='managarm', job='tool:host-qca', repository='https://github.com/managarm/bootstrap-managarm.git', revision='c3112f6f96263c4012d1f6106f8808dd7440f323', output='tcp://10.0.69.1:16999', build_root='/var/lib/xbbs/tmp/worker', needed_pkgs={}, needed_tools={'host-cmake': {'architecture': {'x86_64'}, 'version': '3.26.4_1'}, 'host-ninja': {'architecture': 'x86_64', 'version': '1.12.1_1'}, 'host-qt6': {'architecture': {'x86_64'}, 'version': '6.6.2_1'}}, prod_pkgs={}, prod_tools={'host-qca': {'architecture': {'x86_64'}, 'version': '2.3.9_1'}}, prod_files=[], tool_repo='https://mirrors.managarm.org/currents/managarm/tool_repo', pkg_repo='https://mirrors.managarm.org/currents/managarm/package_repo', mirror_root='https://mirrors.managarm.org/mirror/', distfile_path='xbbs/x86_64/') [2024-10-20 05:46:38.679386 tictac] INFO: xbbs.worker: running command ['git', 'init'] (params {'cwd': '/var/lib/xbbs/tmp/worker.src'}) hint: Using 'master' as the name for the initial branch. This default branch name hint: is subject to change. To configure the initial branch name to use in all hint: of your new repositories, which will suppress this warning, call: hint: hint: git config --global init.defaultBranch hint: hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and hint: 'development'. The just-created branch can be renamed via this command: hint: hint: git branch -m Initialized empty Git repository in /var/lib/xbbs/tmp/worker.src/.git/ [2024-10-20 05:46:38.694860 tictac] INFO: xbbs.worker: running command ['git', 'remote', 'add', 'origin', 'https://github.com/managarm/bootstrap-managarm.git'] (params {'cwd': '/var/lib/xbbs/tmp/worker.src'}) [2024-10-20 05:46:38.702668 tictac] INFO: xbbs.worker: running command ['git', 'fetch', 'origin'] (params {'cwd': '/var/lib/xbbs/tmp/worker.src'}) From https://github.com/managarm/bootstrap-managarm * [new branch] master -> origin/master [2024-10-20 05:46:39.703921 tictac] INFO: xbbs.worker: running command ['git', 'checkout', '--detach', 'c3112f6f96263c4012d1f6106f8808dd7440f323'] (params {'cwd': '/var/lib/xbbs/tmp/worker.src'}) HEAD is now at c3112f6 Merge pull request #386 from ElectrodeYT/mlibc-build-options-stuff [2024-10-20 05:46:39.767767 tictac] INFO: xbbs.worker: running command ['xbstrap', 'init', '/var/lib/xbbs/tmp/worker.src'] (params {'cwd': '/var/lib/xbbs/tmp/worker'}) Creating cargo-home/config.toml [2024-10-20 05:47:09.872344 tictac] INFO: xbbs.worker: running command ['xbstrap-pipeline', 'run-job', '--keep-going', '--progress-file', 'fd:18', 'tool:host-qca'] (params {'cwd': '/var/lib/xbbs/tmp/worker', 'pass_fds': (18,)}) xbstrap: Running the following plan: fetch qca checkout qca patch qca regenerate qca configure-tool host-qca compile-tool host-qca install-tool host-qca archive-tool host-qca xbstrap: fetch qca [1/8] Initialized empty Git repository in /var/lib/xbbs/tmp/worker.src/ports/qca/.git/ From https://mirrors.managarm.org/mirror/git/qca * [new tag] v2.3.9 -> v2.3.9 xbstrap: checkout qca [2/8] [2024-10-20 05:47:12.872192 tictac] DEBUG: xbbs.worker: got notify {'action': 'fetch', 'artifact_files': [], 'n_all': 8, 'n_this': 1, 'status': 'success', 'subject': 'qca'} HEAD is now at 461942a Increase version number xbstrap: patch qca [3/8] xbstrap: regenerate qca [4/8] [2024-10-20 05:47:12.943708 tictac] DEBUG: xbbs.worker: got notify {'action': 'checkout', 'artifact_files': [], 'n_all': 8, 'n_this': 2, 'status': 'success', 'subject': 'qca'} xbstrap: configure-tool host-qca [5/8] [2024-10-20 05:47:12.945403 tictac] DEBUG: xbbs.worker: got notify {'action': 'patch', 'artifact_files': [], 'n_all': 8, 'n_this': 3, 'status': 'success', 'subject': 'qca'} [2024-10-20 05:47:12.946918 tictac] DEBUG: xbbs.worker: got notify {'action': 'regenerate', 'artifact_files': [], 'n_all': 8, 'n_this': 4, 'status': 'success', 'subject': 'qca'} xbstrap: Running ['cmake', '-GNinja', '-DCMAKE_INSTALL_PREFIX=@PREFIX@/usr', '-DBUILD_WITH_QT6=ON', '-DQCA_FEATURE_INSTALL_DIR=@PREFIX@/usr/lib/qt6/mkspecs/features', '-DQCA_PLUGINS_INSTALL_DIR=@PREFIX@/usr/lib/qt6/plugins', '-DUSE_RELATIVE_PATHS=ON', '-DBUILD_TESTS=OFF', '@THIS_SOURCE_DIR@'] (tools: ['host-cmake', 'host-qt6', 'host-ninja']) via cbuildrt PID init is 2464239 (outside the namespace) -- The C compiler identification is GNU 12.2.0 -- The CXX compiler identification is GNU 12.2.0 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/cc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /usr/bin/c++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done CMake Deprecation Warning at CMakeLists.txt:19 (cmake_policy): The OLD behavior for policy CMP0042 will be removed from a future version of CMake. The cmake-policies(7) manual explains that the OLD behaviors of all policies are deprecated and that a policy should be set to OLD only under specific short-term circumstances. Projects should be ported to the NEW behavior and not rely on setting a policy to OLD. -- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE) -- Building Qt 6 version -- Performing Test CMAKE_HAVE_LIBC_PTHREAD -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success -- Found Threads: TRUE -- Performing Test HAVE_STDATOMIC -- Performing Test HAVE_STDATOMIC - Success -- Found WrapAtomic: TRUE -- Installed package is relocatable -- Checking for certstore.. -- Found system certstore -- certstore path: /etc/ssl/certs/ca-certificates.crt -- Looking for include file sys/filio.h -- Looking for include file sys/filio.h - not found -- Performing Test MLOCK_TAKES_VOID -- Performing Test MLOCK_TAKES_VOID - Success -- Found PkgConfig: /usr/bin/pkg-config (found version "1.8.1") -- Checking for module 'botan-2' -- Package 'botan-2', required by 'virtual:world', not found -- Checking for module 'botan-3' -- Package 'botan-3', required by 'virtual:world', not found -- Checking for module 'libgcrypt' -- Package 'libgcrypt', required by 'virtual:world', not found -- Checking for module 'nss' -- Package 'nss', required by 'virtual:world', not found -- Found OpenSSL: /usr/lib/x86_64-linux-gnu/libcrypto.so (found suitable version "3.0.14", minimum required is "1.1.1") -- Looking for EVP_md2 -- Looking for EVP_md2 - not found CMake Warning at plugins/qca-ossl/CMakeLists.txt:18 (message): qca-ossl will be compiled without MD2 digest algorithm support -- Looking for EVP_aes_128_ctr -- Looking for EVP_aes_128_ctr - found -- Looking for EVP_aes_128_gcm -- Looking for EVP_aes_128_gcm - found -- Looking for EVP_aes_128_ccm -- Looking for EVP_aes_128_ccm - found -- Looking for EVP_sha -- Looking for EVP_sha - not found CMake Warning at plugins/qca-ossl/CMakeLists.txt:46 (message): qca-ossl will be compiled without SHA-0 digest algorithm support -- Found OpenSSL: /usr/lib/x86_64-linux-gnu/libcrypto.so (found version "3.0.14") -- Checking for one of the modules 'libpkcs11-helper-1' Plugins: qca-botan off qca-cyrus-sasl off qca-gcrypt off qca-gnupg on qca-logger on qca-nss off qca-ossl on qca-pkcs11 off qca-softstore on -- Performing Test COMPILER_HAS_HIDDEN_VISIBILITY -- Performing Test COMPILER_HAS_HIDDEN_VISIBILITY - Success -- Performing Test COMPILER_HAS_HIDDEN_INLINE_VISIBILITY -- Performing Test COMPILER_HAS_HIDDEN_INLINE_VISIBILITY - Success -- Performing Test COMPILER_HAS_DEPRECATED_ATTR -- Performing Test COMPILER_HAS_DEPRECATED_ATTR - Success QCA prefix is /var/lib/managarm-buildenv/build/tools/host-qca/usr Plugins will be installed to /var/lib/managarm-buildenv/build/tools/host-qca/usr/lib/qt6/plugins Binary will be installed to /var/lib/managarm-buildenv/build/tools/host-qca/usr/bin Library will be installed to /var/lib/managarm-buildenv/build/tools/host-qca/usr/lib Public headers will be installed to /var/lib/managarm-buildenv/build/tools/host-qca/usr/include/Qca-qt6 Private headers will be installed to /var/lib/managarm-buildenv/build/tools/host-qca/usr/include/Qca-qt6 Feature file will be installed to /var/lib/managarm-buildenv/build/tools/host-qca/usr/lib/qt6/mkspecs/features Documentation will be installed to /var/lib/managarm-buildenv/build/tools/host-qca/usr/share/doc/qca-qt6/html Man page will be installed to /var/lib/managarm-buildenv/build/tools/host-qca/usr/share/man Pkg-config file will be installed to /var/lib/managarm-buildenv/build/tools/host-qca/usr/lib/pkgconfig -- Configuring done (1.8s) -- Generating done (0.0s) -- Build files have been written to: /var/lib/managarm-buildenv/build/tool-builds/host-qca xbstrap: compile-tool ('host-qca', None) [6/8] [2024-10-20 05:47:15.163920 tictac] DEBUG: xbbs.worker: got notify {'action': 'configure-tool', 'artifact_files': [], 'n_all': 8, 'n_this': 5, 'status': 'success', 'subject': 'host-qca'} xbstrap: Running ['ninja'] (tools: ['host-cmake', 'host-qt6', 'host-ninja']) via cbuildrt PID init is 2464470 (outside the namespace) [1/85] Automatic MOC for target qca-qt6 [2/85] Building CXX object src/CMakeFiles/qca-qt6.dir/qca_safeobj.cpp.o [3/85] Building CXX object src/CMakeFiles/qca-qt6.dir/qca_safetimer.cpp.o [4/85] Building CXX object src/CMakeFiles/qca-qt6.dir/qca_textfilter.cpp.o [5/85] Building CXX object src/CMakeFiles/qca-qt6.dir/support/logger.cpp.o [6/85] Building CXX object src/CMakeFiles/qca-qt6.dir/qca_plugin.cpp.o [7/85] Building CXX object src/CMakeFiles/qca-qt6.dir/qca_securemessage.cpp.o [8/85] Building CXX object src/CMakeFiles/qca-qt6.dir/qca_tools.cpp.o /var/lib/managarm-buildenv/src/ports/qca/src/qca_tools.cpp: In function ‘bool QCA::can_lock()’: /var/lib/managarm-buildenv/src/ports/qca/src/qca_tools.cpp:47:14: warning: ‘d’ may be used uninitialized [-Wmaybe-uninitialized] 47 | if (mlock(d, 256) == 0) { | ~~~~~^~~~~~~~ In file included from /var/lib/managarm-buildenv/src/ports/qca/src/qca_tools.cpp:28: /usr/include/x86_64-linux-gnu/sys/mman.h:103:12: note: by argument 1 of type ‘const void*’ to ‘int mlock(const void*, size_t)’ declared here 103 | extern int mlock (const void *__addr, size_t __len) __THROW; | ^~~~~ [9/85] Building CXX object src/CMakeFiles/qca-qt6.dir/support/qpipe.cpp.o [10/85] Building CXX object src/CMakeFiles/qca-qt6.dir/qca_basic.cpp.o [11/85] Building CXX object src/CMakeFiles/qca-qt6.dir/botantools/botan/util.cpp.o [12/85] Building CXX object src/CMakeFiles/qca-qt6.dir/support/synchronizer.cpp.o [13/85] Building CXX object src/CMakeFiles/qca-qt6.dir/botantools/botan/exceptn.cpp.o [14/85] Building CXX object src/CMakeFiles/qca-qt6.dir/botantools/botan/mp_comba.cpp.o [15/85] Building CXX object src/CMakeFiles/qca-qt6.dir/botantools/botan/mutex.cpp.o [16/85] Building CXX object src/CMakeFiles/qca-qt6.dir/botantools/botan/mp_misc.cpp.o [17/85] Building CXX object src/CMakeFiles/qca-qt6.dir/botantools/botan/mp_mul.cpp.o [18/85] Building CXX object src/CMakeFiles/qca-qt6.dir/botantools/botan/mp_shift.cpp.o [19/85] Building CXX object src/CMakeFiles/qca-qt6.dir/botantools/botan/defalloc.cpp.o [20/85] Building CXX object src/CMakeFiles/qca-qt6.dir/botantools/botan/charset.cpp.o [21/85] Building CXX object src/CMakeFiles/qca-qt6.dir/support/console.cpp.o [22/85] Building CXX object src/CMakeFiles/qca-qt6.dir/qca_publickey.cpp.o [23/85] Building CXX object src/CMakeFiles/qca-qt6.dir/qca_default.cpp.o [24/85] Building CXX object src/CMakeFiles/qca-qt6.dir/botantools/botan/divide.cpp.o [25/85] Building CXX object src/CMakeFiles/qca-qt6.dir/qca_securelayer.cpp.o [26/85] Building CXX object src/CMakeFiles/qca-qt6.dir/botantools/botan/big_ops2.cpp.o [27/85] Building CXX object src/CMakeFiles/qca-qt6.dir/botantools/botan/bit_ops.cpp.o [28/85] Building CXX object src/CMakeFiles/qca-qt6.dir/qca-qt6_autogen/mocs_compilation.cpp.o [29/85] Building CXX object src/CMakeFiles/qca-qt6.dir/botantools/botan/big_code.cpp.o [30/85] Building CXX object src/CMakeFiles/qca-qt6.dir/botantools/botan/mux_qt/mux_qt.cpp.o [31/85] Building CXX object src/CMakeFiles/qca-qt6.dir/qca_keystore.cpp.o [32/85] Building CXX object src/CMakeFiles/qca-qt6.dir/botantools/botan/big_base.cpp.o [33/85] Building CXX object src/CMakeFiles/qca-qt6.dir/botantools/botan/mp_asm.cpp.o [34/85] Building CXX object src/CMakeFiles/qca-qt6.dir/botantools/botan/big_io.cpp.o [35/85] Building CXX object src/CMakeFiles/qca-qt6.dir/support/dirwatch.cpp.o [36/85] Building CXX object src/CMakeFiles/qca-qt6.dir/botantools/botan/big_ops3.cpp.o [37/85] Building CXX object src/CMakeFiles/qca-qt6.dir/qca_systemstore_flatfile.cpp.o [38/85] Building CXX object src/CMakeFiles/qca-qt6.dir/botantools/botan/mp_mulop.cpp.o [39/85] Building CXX object src/CMakeFiles/qca-qt6.dir/botantools/botan/ml_unix/mlock.cpp.o [40/85] Building CXX object src/CMakeFiles/qca-qt6.dir/support/syncthread.cpp.o [41/85] Building CXX object src/CMakeFiles/qca-qt6.dir/botantools/botan/modules.cpp.o [42/85] Building CXX object src/CMakeFiles/qca-qt6.dir/botantools/botan/parsing.cpp.o [43/85] Building CXX object src/CMakeFiles/qca-qt6.dir/qca_cert.cpp.o [44/85] Building CXX object src/CMakeFiles/qca-qt6.dir/botantools/botan/libstate.cpp.o [45/85] Building CXX object src/CMakeFiles/qca-qt6.dir/botantools/botan/mem_pool.cpp.o [46/85] Building CXX object src/CMakeFiles/qca-qt6.dir/botantools/botan/alloc_mmap/mmap_mem.cpp.o [47/85] Building CXX object src/CMakeFiles/qca-qt6.dir/qca_core.cpp.o [48/85] Linking CXX shared library lib/libqca-qt6.so.2.3.9 [49/85] Creating library symlink lib/libqca-qt6.so.2 lib/libqca-qt6.so [50/85] Automatic MOC for target mozcerts-qt6 [51/85] Building CXX object tools/mozcerts/CMakeFiles/mozcerts-qt6.dir/mozcerts-qt6_autogen/mocs_compilation.cpp.o [52/85] Automatic MOC for target qca-gnupg [53/85] Automatic MOC for target qca-logger [54/85] Automatic MOC for target qca-softstore [55/85] Automatic MOC for target qcatool-qt6 [56/85] Building CXX object plugins/qca-logger/CMakeFiles/qca-logger.dir/qca-logger_autogen/mocs_compilation.cpp.o [57/85] Building CXX object plugins/qca-softstore/CMakeFiles/qca-softstore.dir/qca-softstore_autogen/mocs_compilation.cpp.o [58/85] Automatic MOC for target qca-ossl [59/85] Building CXX object plugins/qca-ossl/CMakeFiles/qca-ossl.dir/qca-ossl_autogen/mocs_compilation.cpp.o [60/85] Building CXX object plugins/qca-gnupg/CMakeFiles/qca-gnupg.dir/lineconverter.cpp.o [61/85] Building CXX object tools/qcatool/CMakeFiles/qcatool-qt6.dir/qcatool-qt6_autogen/mocs_compilation.cpp.o [62/85] Building CXX object plugins/qca-gnupg/CMakeFiles/qca-gnupg.dir/gpgproc/sprocess.cpp.o [63/85] Building CXX object plugins/qca-gnupg/CMakeFiles/qca-gnupg.dir/utils.cpp.o [64/85] Building CXX object plugins/qca-gnupg/CMakeFiles/qca-gnupg.dir/mykeystoreentry.cpp.o [65/85] Building CXX object plugins/qca-gnupg/CMakeFiles/qca-gnupg.dir/myopenpgpcontext.cpp.o [66/85] Building CXX object plugins/qca-gnupg/CMakeFiles/qca-gnupg.dir/mymessagecontext.cpp.o [67/85] Building CXX object plugins/qca-gnupg/CMakeFiles/qca-gnupg.dir/gpgaction.cpp.o [68/85] Building CXX object plugins/qca-gnupg/CMakeFiles/qca-gnupg.dir/qca-gnupg_autogen/mocs_compilation.cpp.o [69/85] Building CXX object plugins/qca-gnupg/CMakeFiles/qca-gnupg.dir/mykeystorelist.cpp.o [70/85] Building CXX object plugins/qca-gnupg/CMakeFiles/qca-gnupg.dir/qca-gnupg.cpp.o [71/85] Building CXX object plugins/qca-gnupg/CMakeFiles/qca-gnupg.dir/gpgop.cpp.o [72/85] Building CXX object plugins/qca-gnupg/CMakeFiles/qca-gnupg.dir/gpgproc/gpgproc.cpp.o [73/85] Building CXX object plugins/qca-gnupg/CMakeFiles/qca-gnupg.dir/ringwatch.cpp.o [74/85] Building CXX object tools/mozcerts/CMakeFiles/mozcerts-qt6.dir/main.cpp.o [75/85] Building CXX object plugins/qca-gnupg/CMakeFiles/qca-gnupg.dir/mypgpkeycontext.cpp.o [76/85] Building CXX object plugins/qca-logger/CMakeFiles/qca-logger.dir/qca-logger.cpp.o [77/85] Linking CXX executable bin/mozcerts-qt6 [78/85] Linking CXX shared module lib/qca-qt6/crypto/libqca-gnupg.so [79/85] Linking CXX shared module lib/qca-qt6/crypto/libqca-logger.so [80/85] Building CXX object plugins/qca-softstore/CMakeFiles/qca-softstore.dir/qca-softstore.cpp.o [81/85] Linking CXX shared module lib/qca-qt6/crypto/libqca-softstore.so [82/85] Building CXX object plugins/qca-ossl/CMakeFiles/qca-ossl.dir/qca-ossl.cpp.o /var/lib/managarm-buildenv/src/ports/qca/plugins/qca-ossl/qca-ossl.cpp: In member function ‘void {anonymous}::DsaDeleter::operator()(DSA*)’: /var/lib/managarm-buildenv/src/ports/qca/plugins/qca-ossl/qca-ossl.cpp:58:21: warning: ‘void DSA_free(DSA*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 58 | DSA_free(pointer); | ~~~~~~~~^~~~~~~~~ In file included from /usr/include/openssl/x509.h:37, from /usr/include/openssl/pem.h:23, from /var/lib/managarm-buildenv/src/ports/qca/plugins/qca-ossl/qca-ossl.cpp:39: /usr/include/openssl/dsa.h:127:28: note: declared here 127 | OSSL_DEPRECATEDIN_3_0 void DSA_free(DSA *r); | ^~~~~~~~ /var/lib/managarm-buildenv/src/ports/qca/plugins/qca-ossl/qca-ossl.cpp: In constructor ‘opensslQCAPlugin::opensslHMACContext::opensslHMACContext(const EVP_MD*, QCA::Provider*, const QString&)’: /var/lib/managarm-buildenv/src/ports/qca/plugins/qca-ossl/qca-ossl.cpp:1306:35: warning: ‘HMAC_CTX* HMAC_CTX_new()’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1306 | m_context = HMAC_CTX_new(); | ~~~~~~~~~~~~^~ In file included from /var/lib/managarm-buildenv/src/ports/qca/plugins/qca-ossl/qca-ossl.cpp:30: /usr/include/openssl/hmac.h:33:33: note: declared here 33 | OSSL_DEPRECATEDIN_3_0 HMAC_CTX *HMAC_CTX_new(void); | ^~~~~~~~~~~~ /var/lib/managarm-buildenv/src/ports/qca/plugins/qca-ossl/qca-ossl.cpp: In copy constructor ‘opensslQCAPlugin::opensslHMACContext::opensslHMACContext(const opensslQCAPlugin::opensslHMACContext&)’: /var/lib/managarm-buildenv/src/ports/qca/plugins/qca-ossl/qca-ossl.cpp:1313:35: warning: ‘HMAC_CTX* HMAC_CTX_new()’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1313 | m_context = HMAC_CTX_new(); | ~~~~~~~~~~~~^~ /usr/include/openssl/hmac.h:33:33: note: declared here 33 | OSSL_DEPRECATEDIN_3_0 HMAC_CTX *HMAC_CTX_new(void); | ^~~~~~~~~~~~ /var/lib/managarm-buildenv/src/ports/qca/plugins/qca-ossl/qca-ossl.cpp:1314:22: warning: ‘int HMAC_CTX_copy(HMAC_CTX*, HMAC_CTX*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1314 | HMAC_CTX_copy(m_context, other.m_context); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:49:34: note: declared here 49 | OSSL_DEPRECATEDIN_3_0 __owur int HMAC_CTX_copy(HMAC_CTX *dctx, HMAC_CTX *sctx); | ^~~~~~~~~~~~~ /var/lib/managarm-buildenv/src/ports/qca/plugins/qca-ossl/qca-ossl.cpp: In destructor ‘virtual opensslQCAPlugin::opensslHMACContext::~opensslHMACContext()’: /var/lib/managarm-buildenv/src/ports/qca/plugins/qca-ossl/qca-ossl.cpp:1319:22: warning: ‘void HMAC_CTX_free(HMAC_CTX*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1319 | HMAC_CTX_free(m_context); | ~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:35:28: note: declared here 35 | OSSL_DEPRECATEDIN_3_0 void HMAC_CTX_free(HMAC_CTX *ctx); | ^~~~~~~~~~~~~ /var/lib/managarm-buildenv/src/ports/qca/plugins/qca-ossl/qca-ossl.cpp: In member function ‘virtual void opensslQCAPlugin::opensslHMACContext::setup(const QCA::SymmetricKey&)’: /var/lib/managarm-buildenv/src/ports/qca/plugins/qca-ossl/qca-ossl.cpp:1324:21: warning: ‘int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1324 | HMAC_Init_ex(m_context, key.data(), key.size(), m_algorithm, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /var/lib/managarm-buildenv/src/ports/qca/plugins/qca-ossl/qca-ossl.cpp: In member function ‘virtual void opensslQCAPlugin::opensslHMACContext::update(const QCA::MemoryRegion&)’: /var/lib/managarm-buildenv/src/ports/qca/plugins/qca-ossl/qca-ossl.cpp:1334:20: warning: ‘int HMAC_Update(HMAC_CTX*, const unsigned char*, size_t)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1334 | HMAC_Update(m_context, (unsigned char *)a.data(), a.size()); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:45:27: note: declared here 45 | OSSL_DEPRECATEDIN_3_0 int HMAC_Update(HMAC_CTX *ctx, const unsigned char *data, | ^~~~~~~~~~~ /var/lib/managarm-buildenv/src/ports/qca/plugins/qca-ossl/qca-ossl.cpp: In member function ‘virtual void opensslQCAPlugin::opensslHMACContext::final(QCA::MemoryRegion*)’: /var/lib/managarm-buildenv/src/ports/qca/plugins/qca-ossl/qca-ossl.cpp:1340:19: warning: ‘int HMAC_Final(HMAC_CTX*, unsigned char*, unsigned int*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1340 | HMAC_Final(m_context, (unsigned char *)sa.data(), nullptr); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:47:27: note: declared here 47 | OSSL_DEPRECATEDIN_3_0 int HMAC_Final(HMAC_CTX *ctx, unsigned char *md, | ^~~~~~~~~~ /var/lib/managarm-buildenv/src/ports/qca/plugins/qca-ossl/qca-ossl.cpp:1341:23: warning: ‘int HMAC_CTX_reset(HMAC_CTX*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1341 | HMAC_CTX_reset(m_context); | ~~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:34:27: note: declared here 34 | OSSL_DEPRECATEDIN_3_0 int HMAC_CTX_reset(HMAC_CTX *ctx); | ^~~~~~~~~~~~~~ /var/lib/managarm-buildenv/src/ports/qca/plugins/qca-ossl/qca-ossl.cpp: In member function ‘QCA::SecureArray opensslQCAPlugin::EVPKey::endSign()’: /var/lib/managarm-buildenv/src/ports/qca/plugins/qca-ossl/qca-ossl.cpp:1464:55: warning: ‘const rsa_st* EVP_PKEY_get0_RSA(const EVP_PKEY*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1464 | const RSA *rsa = EVP_PKEY_get0_RSA(pkey); | ~~~~~~~~~~~~~~~~~^~~~~~ In file included from /var/lib/managarm-buildenv/src/ports/qca/plugins/qca-ossl/qca-ossl.cpp:29: /usr/include/openssl/evp.h:1348:22: note: declared here 1348 | const struct rsa_st *EVP_PKEY_get0_RSA(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~ /var/lib/managarm-buildenv/src/ports/qca/plugins/qca-ossl/qca-ossl.cpp:1465:44: warning: ‘int RSA_private_encrypt(int, const unsigned char*, unsigned char*, RSA*, int)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1465 | if (RSA_private_encrypt(raw.size(), | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ 1466 | (unsigned char *)raw.data(), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1467 | (unsigned char *)out.data(), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1468 | (RSA *)rsa, | ~~~~~~~~~~~ 1469 | RSA_PKCS1_PADDING) == -1) { | ~~~~~~~~~~~~~~~~~~ In file included from /usr/include/openssl/x509.h:36: /usr/include/openssl/rsa.h:285:5: note: declared here 285 | int RSA_private_encrypt(int flen, const unsigned char *from, unsigned char *to, | ^~~~~~~~~~~~~~~~~~~ /var/lib/managarm-buildenv/src/ports/qca/plugins/qca-ossl/qca-ossl.cpp: In member function ‘bool opensslQCAPlugin::EVPKey::endVerify(const QCA::SecureArray&)’: /var/lib/managarm-buildenv/src/ports/qca/plugins/qca-ossl/qca-ossl.cpp:1503:55: warning: ‘const rsa_st* EVP_PKEY_get0_RSA(const EVP_PKEY*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1503 | const RSA *rsa = EVP_PKEY_get0_RSA(pkey); | ~~~~~~~~~~~~~~~~~^~~~~~ /usr/include/openssl/evp.h:1348:22: note: declared here 1348 | const struct rsa_st *EVP_PKEY_get0_RSA(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~ /var/lib/managarm-buildenv/src/ports/qca/plugins/qca-ossl/qca-ossl.cpp:1504:50: warning: ‘int RSA_public_decrypt(int, const unsigned char*, unsigned char*, RSA*, int)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1504 | if ((len = RSA_public_decrypt(sig.size(), | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ 1505 | (unsigned char *)sig.data(), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1506 | (unsigned char *)out.data(), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1507 | (RSA *)rsa, | ~~~~~~~~~~~ 1508 | RSA_PKCS1_PADDING)) == -1) { | ~~~~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:288:5: note: declared here 288 | int RSA_public_decrypt(int flen, const unsigned char *from, unsigned char *to, | ^~~~~~~~~~~~~~~~~~ /var/lib/managarm-buildenv/src/ports/qca/plugins/qca-ossl/qca-ossl.cpp: In function ‘bool opensslQCAPlugin::make_dlgroup(const QByteArray&, int, int, DLParams*)’: /var/lib/managarm-buildenv/src/ports/qca/plugins/qca-ossl/qca-ossl.cpp:1636:49: warning: ‘DSA* DSA_new()’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1636 | std::unique_ptr dsa(DSA_new()); | ~~~~~~~^~ /usr/include/openssl/dsa.h:125:28: note: declared here 125 | OSSL_DEPRECATEDIN_3_0 DSA *DSA_new(void); | ^~~~~~~ /var/lib/managarm-buildenv/src/ports/qca/plugins/qca-ossl/qca-ossl.cpp:1640:35: warning: ‘int DSA_generate_parameters_ex(DSA*, int, const unsigned char*, int, int*, long unsigned int*, BN_GENCB*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1640 | if (DSA_generate_parameters_ex( | ~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1641 | dsa.get(), bits, (const unsigned char *)seed.data(), seed.size(), &ret_counter, nullptr, nullptr) != 1) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/dsa.h:167:27: note: declared here 167 | OSSL_DEPRECATEDIN_3_0 int DSA_generate_parameters_ex(DSA *dsa, int bits, | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /var/lib/managarm-buildenv/src/ports/qca/plugins/qca-ossl/qca-ossl.cpp:1648:17: warning: ‘void DSA_get0_pqg(const DSA*, const BIGNUM**, const BIGNUM**, const BIGNUM**)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1648 | DSA_get0_pqg(dsa.get(), &bnp, &bnq, &bng); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /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, | ^~~~~~~~~~~~ /var/lib/managarm-buildenv/src/ports/qca/plugins/qca-ossl/qca-ossl.cpp: In lambda function: /var/lib/managarm-buildenv/src/ports/qca/plugins/qca-ossl/qca-ossl.cpp:1823:17: warning: ‘void RSA_free(RSA*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1823 | RSA_free((RSA *)pointer); | ~~~~~~~~^~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:293:28: note: declared here 293 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ /var/lib/managarm-buildenv/src/ports/qca/plugins/qca-ossl/qca-ossl.cpp: In destructor ‘virtual opensslQCAPlugin::RSAKeyMaker::~RSAKeyMaker()’: /var/lib/managarm-buildenv/src/ports/qca/plugins/qca-ossl/qca-ossl.cpp:1851:21: warning: ‘void RSA_free(RSA*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1851 | RSA_free(result); | ~~~~~~~~^~~~~~~~ /usr/include/openssl/rsa.h:293:28: note: declared here 293 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ /var/lib/managarm-buildenv/src/ports/qca/plugins/qca-ossl/qca-ossl.cpp: In member function ‘virtual void opensslQCAPlugin::RSAKeyMaker::run()’: /var/lib/managarm-buildenv/src/ports/qca/plugins/qca-ossl/qca-ossl.cpp:1856:63: warning: ‘RSA* RSA_new()’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1856 | std::unique_ptr rsa(RSA_new(), RsaDeleter); | ~~~~~~~^~ /usr/include/openssl/rsa.h:201:28: note: declared here 201 | OSSL_DEPRECATEDIN_3_0 RSA *RSA_new(void); | ^~~~~~~ /var/lib/managarm-buildenv/src/ports/qca/plugins/qca-ossl/qca-ossl.cpp:1868:32: warning: ‘int RSA_generate_key_ex(RSA*, int, BIGNUM*, BN_GENCB*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1868 | if (RSA_generate_key_ex(rsa.get(), bits, e.get(), nullptr) == 0) { | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:260:27: note: declared here 260 | OSSL_DEPRECATEDIN_3_0 int RSA_generate_key_ex(RSA *rsa, int bits, BIGNUM *e, | ^~~~~~~~~~~~~~~~~~~ /var/lib/managarm-buildenv/src/ports/qca/plugins/qca-ossl/qca-ossl.cpp: In member function ‘virtual void opensslQCAPlugin::RSAKey::convertToPublic()’: /var/lib/managarm-buildenv/src/ports/qca/plugins/qca-ossl/qca-ossl.cpp:1943:52: warning: ‘const rsa_st* EVP_PKEY_get0_RSA(const EVP_PKEY*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1943 | const RSA *rsa_pkey = EVP_PKEY_get0_RSA(evp.pkey); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~ /usr/include/openssl/evp.h:1348:22: note: declared here 1348 | const struct rsa_st *EVP_PKEY_get0_RSA(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~ /var/lib/managarm-buildenv/src/ports/qca/plugins/qca-ossl/qca-ossl.cpp:1944:51: warning: ‘int i2d_RSAPublicKey(const RSA*, unsigned char**)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1944 | int len = i2d_RSAPublicKey(rsa_pkey, nullptr); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/openssl/objects.h:21, from /usr/include/openssl/evp.h:43: /usr/include/openssl/rsa.h:307:1: note: declared here 307 | DECLARE_ASN1_ENCODE_FUNCTIONS_name_attr(OSSL_DEPRECATEDIN_3_0, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/lib/managarm-buildenv/src/ports/qca/plugins/qca-ossl/qca-ossl.cpp:1947:25: warning: ‘int i2d_RSAPublicKey(const RSA*, unsigned char**)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1947 | i2d_RSAPublicKey(rsa_pkey, &p); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:307:1: note: declared here 307 | DECLARE_ASN1_ENCODE_FUNCTIONS_name_attr(OSSL_DEPRECATEDIN_3_0, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/lib/managarm-buildenv/src/ports/qca/plugins/qca-ossl/qca-ossl.cpp:1952:36: warning: ‘RSA* d2i_RSAPublicKey(RSA**, const unsigned char**, long int)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1952 | RSA *rsa = d2i_RSAPublicKey(nullptr, (const unsigned char **)&p, result.size()); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:307:1: note: declared here 307 | DECLARE_ASN1_ENCODE_FUNCTIONS_name_attr(OSSL_DEPRECATEDIN_3_0, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/lib/managarm-buildenv/src/ports/qca/plugins/qca-ossl/qca-ossl.cpp: In member function ‘virtual int opensslQCAPlugin::RSAKey::maximumEncryptSize(QCA::EncryptionAlgorithm) const’: /var/lib/managarm-buildenv/src/ports/qca/plugins/qca-ossl/qca-ossl.cpp:1965:44: warning: ‘const rsa_st* EVP_PKEY_get0_RSA(const EVP_PKEY*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1965 | const RSA *rsa = EVP_PKEY_get0_RSA(evp.pkey); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~ /usr/include/openssl/evp.h:1348:22: note: declared here 1348 | const struct rsa_st *EVP_PKEY_get0_RSA(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~ /var/lib/managarm-buildenv/src/ports/qca/plugins/qca-ossl/qca-ossl.cpp:1969:28: warning: ‘int RSA_size(const RSA*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1969 | size = RSA_size(rsa) - 11 - 1; | ~~~~~~~~^~~~~ /usr/include/openssl/rsa.h:204:27: note: declared here 204 | OSSL_DEPRECATEDIN_3_0 int RSA_size(const RSA *rsa); | ^~~~~~~~ /var/lib/managarm-buildenv/src/ports/qca/plugins/qca-ossl/qca-ossl.cpp:1972:28: warning: ‘int RSA_size(const RSA*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1972 | size = RSA_size(rsa) - 41 - 1; | ~~~~~~~~^~~~~ /usr/include/openssl/rsa.h:204:27: note: declared here 204 | OSSL_DEPRECATEDIN_3_0 int RSA_size(const RSA *rsa); | ^~~~~~~~ /var/lib/managarm-buildenv/src/ports/qca/plugins/qca-ossl/qca-ossl.cpp:1975:28: warning: ‘int RSA_size(const RSA*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1975 | size = RSA_size(rsa) - 11 - 1; | ~~~~~~~~^~~~~ /usr/include/openssl/rsa.h:204:27: note: declared here 204 | OSSL_DEPRECATEDIN_3_0 int RSA_size(const RSA *rsa); | ^~~~~~~~ /var/lib/managarm-buildenv/src/ports/qca/plugins/qca-ossl/qca-ossl.cpp:1978:28: warning: ‘int RSA_size(const RSA*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1978 | size = RSA_size(rsa) - 1; | ~~~~~~~~^~~~~ /usr/include/openssl/rsa.h:204:27: note: declared here 204 | OSSL_DEPRECATEDIN_3_0 int RSA_size(const RSA *rsa); | ^~~~~~~~ /var/lib/managarm-buildenv/src/ports/qca/plugins/qca-ossl/qca-ossl.cpp: In member function ‘virtual QCA::SecureArray opensslQCAPlugin::RSAKey::encrypt(const QCA::SecureArray&, QCA::EncryptionAlgorithm)’: /var/lib/managarm-buildenv/src/ports/qca/plugins/qca-ossl/qca-ossl.cpp:1987:44: warning: ‘const rsa_st* EVP_PKEY_get0_RSA(const EVP_PKEY*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1987 | const RSA *rsa = EVP_PKEY_get0_RSA(evp.pkey); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~ /usr/include/openssl/evp.h:1348:22: note: declared here 1348 | const struct rsa_st *EVP_PKEY_get0_RSA(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~ /var/lib/managarm-buildenv/src/ports/qca/plugins/qca-ossl/qca-ossl.cpp:1993:36: warning: ‘int RSA_size(const RSA*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1993 | SecureArray result(RSA_size(rsa)); | ~~~~~~~~^~~~~ /usr/include/openssl/rsa.h:204:27: note: declared here 204 | OSSL_DEPRECATEDIN_3_0 int RSA_size(const RSA *rsa); | ^~~~~~~~ /var/lib/managarm-buildenv/src/ports/qca/plugins/qca-ossl/qca-ossl.cpp:2020:38: warning: ‘int RSA_private_encrypt(int, const unsigned char*, unsigned char*, RSA*, int)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2020 | ret = RSA_private_encrypt( | ~~~~~~~~~~~~~~~~~~~^ 2021 | buf.size(), (unsigned char *)buf.data(), (unsigned char *)result.data(), (RSA *)rsa, pad); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:285:5: note: declared here 285 | int RSA_private_encrypt(int flen, const unsigned char *from, unsigned char *to, | ^~~~~~~~~~~~~~~~~~~ /var/lib/managarm-buildenv/src/ports/qca/plugins/qca-ossl/qca-ossl.cpp:2023:37: warning: ‘int RSA_public_encrypt(int, const unsigned char*, unsigned char*, RSA*, int)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2023 | ret = RSA_public_encrypt( | ~~~~~~~~~~~~~~~~~~^ 2024 | buf.size(), (unsigned char *)buf.data(), (unsigned char *)result.data(), (RSA *)rsa, pad); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:282:5: note: declared here 282 | int RSA_public_encrypt(int flen, const unsigned char *from, unsigned char *to, | ^~~~~~~~~~~~~~~~~~ /var/lib/managarm-buildenv/src/ports/qca/plugins/qca-ossl/qca-ossl.cpp: In member function ‘virtual bool opensslQCAPlugin::RSAKey::decrypt(const QCA::SecureArray&, QCA::SecureArray*, QCA::EncryptionAlgorithm)’: /var/lib/managarm-buildenv/src/ports/qca/plugins/qca-ossl/qca-ossl.cpp:2035:44: warning: ‘const rsa_st* EVP_PKEY_get0_RSA(const EVP_PKEY*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2035 | const RSA *rsa = EVP_PKEY_get0_RSA(evp.pkey); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~ /usr/include/openssl/evp.h:1348:22: note: declared here 1348 | const struct rsa_st *EVP_PKEY_get0_RSA(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~ /var/lib/managarm-buildenv/src/ports/qca/plugins/qca-ossl/qca-ossl.cpp:2036:36: warning: ‘int RSA_size(const RSA*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2036 | SecureArray result(RSA_size(rsa)); | ~~~~~~~~^~~~~ /usr/include/openssl/rsa.h:204:27: note: declared here 204 | OSSL_DEPRECATEDIN_3_0 int RSA_size(const RSA *rsa); | ^~~~~~~~ /var/lib/managarm-buildenv/src/ports/qca/plugins/qca-ossl/qca-ossl.cpp:2063:38: warning: ‘int RSA_private_decrypt(int, const unsigned char*, unsigned char*, RSA*, int)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2063 | ret = RSA_private_decrypt( | ~~~~~~~~~~~~~~~~~~~^ 2064 | in.size(), (unsigned char *)in.data(), (unsigned char *)result.data(), (RSA *)rsa, pad); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:291:5: note: declared here 291 | int RSA_private_decrypt(int flen, const unsigned char *from, unsigned char *to, | ^~~~~~~~~~~~~~~~~~~ /var/lib/managarm-buildenv/src/ports/qca/plugins/qca-ossl/qca-ossl.cpp:2066:37: warning: ‘int RSA_public_decrypt(int, const unsigned char*, unsigned char*, RSA*, int)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2066 | ret = RSA_public_decrypt( | ~~~~~~~~~~~~~~~~~~^ 2067 | in.size(), (unsigned char *)in.data(), (unsigned char *)result.data(), (RSA *)rsa, pad); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:288:5: note: declared here 288 | int RSA_public_decrypt(int flen, const unsigned char *from, unsigned char *to, | ^~~~~~~~~~~~~~~~~~ /var/lib/managarm-buildenv/src/ports/qca/plugins/qca-ossl/qca-ossl.cpp: In member function ‘virtual void opensslQCAPlugin::RSAKey::createPrivate(const QCA::BigInteger&, const QCA::BigInteger&, const QCA::BigInteger&, const QCA::BigInteger&, const QCA::BigInteger&)’: /var/lib/managarm-buildenv/src/ports/qca/plugins/qca-ossl/qca-ossl.cpp:2172:27: warning: ‘RSA* RSA_new()’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2172 | RSA *rsa = RSA_new(); | ~~~~~~~^~ /usr/include/openssl/rsa.h:201:28: note: declared here 201 | OSSL_DEPRECATEDIN_3_0 RSA *RSA_new(void); | ^~~~~~~ /var/lib/managarm-buildenv/src/ports/qca/plugins/qca-ossl/qca-ossl.cpp:2173:25: warning: ‘int RSA_set0_key(RSA*, BIGNUM*, BIGNUM*, BIGNUM*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2173 | if (RSA_set0_key(rsa, bi2bn(n), bi2bn(e), bi2bn(d)) == 0 || RSA_set0_factors(rsa, bi2bn(p), bi2bn(q)) == 0) { | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /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); | ^~~~~~~~~~~~ /var/lib/managarm-buildenv/src/ports/qca/plugins/qca-ossl/qca-ossl.cpp:2173:85: warning: ‘int RSA_set0_factors(RSA*, BIGNUM*, BIGNUM*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2173 | if (RSA_set0_key(rsa, bi2bn(n), bi2bn(e), bi2bn(d)) == 0 || RSA_set0_factors(rsa, bi2bn(p), bi2bn(q)) == 0) { | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:208:27: note: declared here 208 | OSSL_DEPRECATEDIN_3_0 int RSA_set0_factors(RSA *r, BIGNUM *p, BIGNUM *q); | ^~~~~~~~~~~~~~~~ /var/lib/managarm-buildenv/src/ports/qca/plugins/qca-ossl/qca-ossl.cpp:2175:21: warning: ‘void RSA_free(RSA*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2175 | RSA_free(rsa); | ~~~~~~~~^~~~~ /usr/include/openssl/rsa.h:293:28: note: declared here 293 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ /var/lib/managarm-buildenv/src/ports/qca/plugins/qca-ossl/qca-ossl.cpp:2183:29: warning: ‘void RSA_blinding_off(RSA*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2183 | RSA_blinding_off(rsa); | ~~~~~~~~~~~~~~~~^~~~~ /usr/include/openssl/rsa.h:372:28: note: declared here 372 | OSSL_DEPRECATEDIN_3_0 void RSA_blinding_off(RSA *rsa); | ^~~~~~~~~~~~~~~~ /var/lib/managarm-buildenv/src/ports/qca/plugins/qca-ossl/qca-ossl.cpp: In member function ‘virtual void opensslQCAPlugin::RSAKey::createPublic(const QCA::BigInteger&, const QCA::BigInteger&)’: /var/lib/managarm-buildenv/src/ports/qca/plugins/qca-ossl/qca-ossl.cpp:2194:27: warning: ‘RSA* RSA_new()’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2194 | RSA *rsa = RSA_new(); | ~~~~~~~^~ /usr/include/openssl/rsa.h:201:28: note: declared here 201 | OSSL_DEPRECATEDIN_3_0 RSA *RSA_new(void); | ^~~~~~~ /var/lib/managarm-buildenv/src/ports/qca/plugins/qca-ossl/qca-ossl.cpp:2195:25: warning: ‘int RSA_set0_key(RSA*, BIGNUM*, BIGNUM*, BIGNUM*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2195 | if (RSA_set0_key(rsa, bi2bn(n), bi2bn(e), nullptr) == 0) { | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /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); | ^~~~~~~~~~~~ /var/lib/managarm-buildenv/src/ports/qca/plugins/qca-ossl/qca-ossl.cpp:2196:21: warning: ‘void RSA_free(RSA*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2196 | RSA_free(rsa); | ~~~~~~~~^~~~~ /usr/include/openssl/rsa.h:293:28: note: declared here 293 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ /var/lib/managarm-buildenv/src/ports/qca/plugins/qca-ossl/qca-ossl.cpp: In member function ‘virtual QCA::BigInteger opensslQCAPlugin::RSAKey::n() const’: /var/lib/managarm-buildenv/src/ports/qca/plugins/qca-ossl/qca-ossl.cpp:2207:46: warning: ‘const rsa_st* EVP_PKEY_get0_RSA(const EVP_PKEY*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2207 | const RSA *rsa = EVP_PKEY_get0_RSA(evp.pkey); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~ /usr/include/openssl/evp.h:1348:22: note: declared here 1348 | const struct rsa_st *EVP_PKEY_get0_RSA(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~ /var/lib/managarm-buildenv/src/ports/qca/plugins/qca-ossl/qca-ossl.cpp:2209:21: warning: ‘void RSA_get0_key(const RSA*, const BIGNUM**, const BIGNUM**, const BIGNUM**)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2209 | RSA_get0_key(rsa, &bnn, nullptr, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:217:28: note: declared here 217 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_key(const RSA *r, | ^~~~~~~~~~~~ /var/lib/managarm-buildenv/src/ports/qca/plugins/qca-ossl/qca-ossl.cpp: In member function ‘virtual QCA::BigInteger opensslQCAPlugin::RSAKey::e() const’: /var/lib/managarm-buildenv/src/ports/qca/plugins/qca-ossl/qca-ossl.cpp:2215:46: warning: ‘const rsa_st* EVP_PKEY_get0_RSA(const EVP_PKEY*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2215 | const RSA *rsa = EVP_PKEY_get0_RSA(evp.pkey); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~ /usr/include/openssl/evp.h:1348:22: note: declared here 1348 | const struct rsa_st *EVP_PKEY_get0_RSA(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~ /var/lib/managarm-buildenv/src/ports/qca/plugins/qca-ossl/qca-ossl.cpp:2217:21: warning: ‘void RSA_get0_key(const RSA*, const BIGNUM**, const BIGNUM**, const BIGNUM**)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2217 | RSA_get0_key(rsa, nullptr, &bne, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:217:28: note: declared here 217 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_key(const RSA *r, | ^~~~~~~~~~~~ /var/lib/managarm-buildenv/src/ports/qca/plugins/qca-ossl/qca-ossl.cpp: In member function ‘virtual QCA::BigInteger opensslQCAPlugin::RSAKey::p() const’: /var/lib/managarm-buildenv/src/ports/qca/plugins/qca-ossl/qca-ossl.cpp:2223:46: warning: ‘const rsa_st* EVP_PKEY_get0_RSA(const EVP_PKEY*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2223 | const RSA *rsa = EVP_PKEY_get0_RSA(evp.pkey); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~ /usr/include/openssl/evp.h:1348:22: note: declared here 1348 | const struct rsa_st *EVP_PKEY_get0_RSA(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~ /var/lib/managarm-buildenv/src/ports/qca/plugins/qca-ossl/qca-ossl.cpp:2225:25: warning: ‘void RSA_get0_factors(const RSA*, const BIGNUM**, const BIGNUM**)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2225 | RSA_get0_factors(rsa, &bnp, nullptr); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:220:28: note: declared here 220 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_factors(const RSA *r, | ^~~~~~~~~~~~~~~~ /var/lib/managarm-buildenv/src/ports/qca/plugins/qca-ossl/qca-ossl.cpp: In member function ‘virtual QCA::BigInteger opensslQCAPlugin::RSAKey::q() const’: /var/lib/managarm-buildenv/src/ports/qca/plugins/qca-ossl/qca-ossl.cpp:2231:46: warning: ‘const rsa_st* EVP_PKEY_get0_RSA(const EVP_PKEY*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2231 | const RSA *rsa = EVP_PKEY_get0_RSA(evp.pkey); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~ /usr/include/openssl/evp.h:1348:22: note: declared here 1348 | const struct rsa_st *EVP_PKEY_get0_RSA(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~ /var/lib/managarm-buildenv/src/ports/qca/plugins/qca-ossl/qca-ossl.cpp:2233:25: warning: ‘void RSA_get0_factors(const RSA*, const BIGNUM**, const BIGNUM**)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2233 | RSA_get0_factors(rsa, nullptr, &bnq); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:220:28: note: declared here 220 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_factors(const RSA *r, | ^~~~~~~~~~~~~~~~ /var/lib/managarm-buildenv/src/ports/qca/plugins/qca-ossl/qca-ossl.cpp: In member function ‘virtual QCA::BigInteger opensslQCAPlugin::RSAKey::d() const’: /var/lib/managarm-buildenv/src/ports/qca/plugins/qca-ossl/qca-ossl.cpp:2239:46: warning: ‘const rsa_st* EVP_PKEY_get0_RSA(const EVP_PKEY*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2239 | const RSA *rsa = EVP_PKEY_get0_RSA(evp.pkey); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~ /usr/include/openssl/evp.h:1348:22: note: declared here 1348 | const struct rsa_st *EVP_PKEY_get0_RSA(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~ /var/lib/managarm-buildenv/src/ports/qca/plugins/qca-ossl/qca-ossl.cpp:2241:21: warning: ‘void RSA_get0_key(const RSA*, const BIGNUM**, const BIGNUM**, const BIGNUM**)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2241 | RSA_get0_key(rsa, nullptr, nullptr, &bnd); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:217:28: note: declared here 217 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_key(const RSA *r, | ^~~~~~~~~~~~ /var/lib/managarm-buildenv/src/ports/qca/plugins/qca-ossl/qca-ossl.cpp: In destructor ‘virtual opensslQCAPlugin::DSAKeyMaker::~DSAKeyMaker()’: /var/lib/managarm-buildenv/src/ports/qca/plugins/qca-ossl/qca-ossl.cpp:2287:21: warning: ‘void DSA_free(DSA*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2287 | DSA_free(result); | ~~~~~~~~^~~~~~~~ /usr/include/openssl/dsa.h:127:28: note: declared here 127 | OSSL_DEPRECATEDIN_3_0 void DSA_free(DSA *r); | ^~~~~~~~ /var/lib/managarm-buildenv/src/ports/qca/plugins/qca-ossl/qca-ossl.cpp: In member function ‘virtual void opensslQCAPlugin::DSAKeyMaker::run()’: /var/lib/managarm-buildenv/src/ports/qca/plugins/qca-ossl/qca-ossl.cpp:2292:53: warning: ‘DSA* DSA_new()’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2292 | std::unique_ptr dsa(DSA_new()); | ~~~~~~~^~ /usr/include/openssl/dsa.h:125:28: note: declared here 125 | OSSL_DEPRECATEDIN_3_0 DSA *DSA_new(void); | ^~~~~~~ /var/lib/managarm-buildenv/src/ports/qca/plugins/qca-ossl/qca-ossl.cpp:2295:26: warning: ‘int DSA_set0_pqg(DSA*, BIGNUM*, BIGNUM*, BIGNUM*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2295 | if (!DSA_set0_pqg(dsa.get(), pne, qne, gne)) { | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /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); | ^~~~~~~~~~~~ /var/lib/managarm-buildenv/src/ports/qca/plugins/qca-ossl/qca-ossl.cpp:2298:30: warning: ‘int DSA_generate_key(DSA*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2298 | if (!DSA_generate_key(dsa.get())) { | ~~~~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/dsa.h:174:27: note: declared here 174 | OSSL_DEPRECATEDIN_3_0 int DSA_generate_key(DSA *a); | ^~~~~~~~~~~~~~~~ /var/lib/managarm-buildenv/src/ports/qca/plugins/qca-ossl/qca-ossl.cpp:2310:34: warning: ‘DSA* DSA_new()’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2310 | dsa.reset(DSA_new()); | ~~~~~~~^~ /usr/include/openssl/dsa.h:125:28: note: declared here 125 | OSSL_DEPRECATEDIN_3_0 DSA *DSA_new(void); | ^~~~~~~ /var/lib/managarm-buildenv/src/ports/qca/plugins/qca-ossl/qca-ossl.cpp:2311:47: warning: ‘int DSA_generate_parameters_ex(DSA*, int, const unsigned char*, int, int*, long unsigned int*, BN_GENCB*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2311 | if (DSA_generate_parameters_ex( | ~~~~~~~~~~~~~~~~~~~~~~~~~~^ 2312 | dsa.get(), 512, (const unsigned char *)"THIS_IS_A_DUMMY_SEED", 20, &dummy, nullptr, nullptr) != | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/dsa.h:167:27: note: declared here 167 | OSSL_DEPRECATEDIN_3_0 int DSA_generate_parameters_ex(DSA *dsa, int bits, | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /var/lib/managarm-buildenv/src/ports/qca/plugins/qca-ossl/qca-ossl.cpp:2319:34: warning: ‘int DSA_set0_pqg(DSA*, BIGNUM*, BIGNUM*, BIGNUM*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2319 | if (!DSA_set0_pqg(dsa.get(), pne, qne, gne)) { | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /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); | ^~~~~~~~~~~~ /var/lib/managarm-buildenv/src/ports/qca/plugins/qca-ossl/qca-ossl.cpp:2322:38: warning: ‘int DSA_generate_key(DSA*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2322 | if (!DSA_generate_key(dsa.get())) { | ~~~~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/dsa.h:174:27: note: declared here 174 | OSSL_DEPRECATEDIN_3_0 int DSA_generate_key(DSA *a); | ^~~~~~~~~~~~~~~~ /var/lib/managarm-buildenv/src/ports/qca/plugins/qca-ossl/qca-ossl.cpp: In member function ‘virtual void opensslQCAPlugin::DSAKey::convertToPublic()’: /var/lib/managarm-buildenv/src/ports/qca/plugins/qca-ossl/qca-ossl.cpp:2405:52: warning: ‘const dsa_st* EVP_PKEY_get0_DSA(const EVP_PKEY*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2405 | const DSA *dsa_pkey = EVP_PKEY_get0_DSA(evp.pkey); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~ /usr/include/openssl/evp.h:1357:22: note: declared here 1357 | const struct dsa_st *EVP_PKEY_get0_DSA(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~ /var/lib/managarm-buildenv/src/ports/qca/plugins/qca-ossl/qca-ossl.cpp:2406:51: warning: ‘int i2d_DSAPublicKey(const DSA*, unsigned char**)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2406 | int len = i2d_DSAPublicKey(dsa_pkey, nullptr); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ /usr/include/openssl/dsa.h:148:1: note: declared here 148 | DECLARE_ASN1_ENCODE_FUNCTIONS_only_attr(OSSL_DEPRECATEDIN_3_0, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/lib/managarm-buildenv/src/ports/qca/plugins/qca-ossl/qca-ossl.cpp:2409:25: warning: ‘int i2d_DSAPublicKey(const DSA*, unsigned char**)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2409 | i2d_DSAPublicKey(dsa_pkey, &p); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/openssl/dsa.h:148:1: note: declared here 148 | DECLARE_ASN1_ENCODE_FUNCTIONS_only_attr(OSSL_DEPRECATEDIN_3_0, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/lib/managarm-buildenv/src/ports/qca/plugins/qca-ossl/qca-ossl.cpp:2414:36: warning: ‘DSA* d2i_DSAPublicKey(DSA**, const unsigned char**, long int)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2414 | DSA *dsa = d2i_DSAPublicKey(nullptr, (const unsigned char **)&p, result.size()); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/dsa.h:148:1: note: declared here 148 | DECLARE_ASN1_ENCODE_FUNCTIONS_only_attr(OSSL_DEPRECATEDIN_3_0, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/lib/managarm-buildenv/src/ports/qca/plugins/qca-ossl/qca-ossl.cpp: In member function ‘virtual void opensslQCAPlugin::DSAKey::createPrivate(const QCA::DLGroup&, const QCA::BigInteger&, const QCA::BigInteger&)’: /var/lib/managarm-buildenv/src/ports/qca/plugins/qca-ossl/qca-ossl.cpp:2490:37: warning: ‘DSA* DSA_new()’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2490 | DSA *dsa = DSA_new(); | ~~~~~~~^~ /usr/include/openssl/dsa.h:125:28: note: declared here 125 | OSSL_DEPRECATEDIN_3_0 DSA *DSA_new(void); | ^~~~~~~ /var/lib/managarm-buildenv/src/ports/qca/plugins/qca-ossl/qca-ossl.cpp:2497:26: warning: ‘int DSA_set0_pqg(DSA*, BIGNUM*, BIGNUM*, BIGNUM*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2497 | if (!DSA_set0_pqg(dsa, bnp, bnq, bng) || !DSA_set0_key(dsa, bnpub_key, bnpriv_key)) { | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /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); | ^~~~~~~~~~~~ /var/lib/managarm-buildenv/src/ports/qca/plugins/qca-ossl/qca-ossl.cpp:2497:63: warning: ‘int DSA_set0_key(DSA*, BIGNUM*, BIGNUM*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2497 | if (!DSA_set0_pqg(dsa, bnp, bnq, bng) || !DSA_set0_key(dsa, bnpub_key, bnpriv_key)) { | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/dsa.h:206:27: note: declared here 206 | OSSL_DEPRECATEDIN_3_0 int DSA_set0_key(DSA *d, BIGNUM *pub_key, | ^~~~~~~~~~~~ /var/lib/managarm-buildenv/src/ports/qca/plugins/qca-ossl/qca-ossl.cpp:2498:21: warning: ‘void DSA_free(DSA*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2498 | DSA_free(dsa); | ~~~~~~~~^~~~~ /usr/include/openssl/dsa.h:127:28: note: declared here 127 | OSSL_DEPRECATEDIN_3_0 void DSA_free(DSA *r); | ^~~~~~~~ /var/lib/managarm-buildenv/src/ports/qca/plugins/qca-ossl/qca-ossl.cpp: In member function ‘virtual void opensslQCAPlugin::DSAKey::createPublic(const QCA::DLGroup&, const QCA::BigInteger&)’: /var/lib/managarm-buildenv/src/ports/qca/plugins/qca-ossl/qca-ossl.cpp:2511:36: warning: ‘DSA* DSA_new()’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2511 | DSA *dsa = DSA_new(); | ~~~~~~~^~ /usr/include/openssl/dsa.h:125:28: note: declared here 125 | OSSL_DEPRECATEDIN_3_0 DSA *DSA_new(void); | ^~~~~~~ /var/lib/managarm-buildenv/src/ports/qca/plugins/qca-ossl/qca-ossl.cpp:2517:26: warning: ‘int DSA_set0_pqg(DSA*, BIGNUM*, BIGNUM*, BIGNUM*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2517 | if (!DSA_set0_pqg(dsa, bnp, bnq, bng) || !DSA_set0_key(dsa, bnpub_key, nullptr)) { | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /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); | ^~~~~~~~~~~~ /var/lib/managarm-buildenv/src/ports/qca/plugins/qca-ossl/qca-ossl.cpp:2517:63: warning: ‘int DSA_set0_key(DSA*, BIGNUM*, BIGNUM*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2517 | if (!DSA_set0_pqg(dsa, bnp, bnq, bng) || !DSA_set0_key(dsa, bnpub_key, nullptr)) { | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/dsa.h:206:27: note: declared here 206 | OSSL_DEPRECATEDIN_3_0 int DSA_set0_key(DSA *d, BIGNUM *pub_key, | ^~~~~~~~~~~~ /var/lib/managarm-buildenv/src/ports/qca/plugins/qca-ossl/qca-ossl.cpp:2518:21: warning: ‘void DSA_free(DSA*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2518 | DSA_free(dsa); | ~~~~~~~~^~~~~ /usr/include/openssl/dsa.h:127:28: note: declared here 127 | OSSL_DEPRECATEDIN_3_0 void DSA_free(DSA *r); | ^~~~~~~~ /var/lib/managarm-buildenv/src/ports/qca/plugins/qca-ossl/qca-ossl.cpp: In member function ‘virtual QCA::DLGroup opensslQCAPlugin::DSAKey::domain() const’: /var/lib/managarm-buildenv/src/ports/qca/plugins/qca-ossl/qca-ossl.cpp:2529:46: warning: ‘const dsa_st* EVP_PKEY_get0_DSA(const EVP_PKEY*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2529 | const DSA *dsa = EVP_PKEY_get0_DSA(evp.pkey); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~ /usr/include/openssl/evp.h:1357:22: note: declared here 1357 | const struct dsa_st *EVP_PKEY_get0_DSA(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~ /var/lib/managarm-buildenv/src/ports/qca/plugins/qca-ossl/qca-ossl.cpp:2531:21: warning: ‘void DSA_get0_pqg(const DSA*, const BIGNUM**, const BIGNUM**, const BIGNUM**)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2531 | DSA_get0_pqg(dsa, &bnp, &bnq, &bng); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ /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, | ^~~~~~~~~~~~ /var/lib/managarm-buildenv/src/ports/qca/plugins/qca-ossl/qca-ossl.cpp: In member function ‘virtual QCA::BigInteger opensslQCAPlugin::DSAKey::y() const’: /var/lib/managarm-buildenv/src/ports/qca/plugins/qca-ossl/qca-ossl.cpp:2537:46: warning: ‘const dsa_st* EVP_PKEY_get0_DSA(const EVP_PKEY*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2537 | const DSA *dsa = EVP_PKEY_get0_DSA(evp.pkey); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~ /usr/include/openssl/evp.h:1357:22: note: declared here 1357 | const struct dsa_st *EVP_PKEY_get0_DSA(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~ /var/lib/managarm-buildenv/src/ports/qca/plugins/qca-ossl/qca-ossl.cpp:2539:21: warning: ‘void DSA_get0_key(const DSA*, const BIGNUM**, const BIGNUM**)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2539 | DSA_get0_key(dsa, &bnpub_key, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /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, | ^~~~~~~~~~~~ /var/lib/managarm-buildenv/src/ports/qca/plugins/qca-ossl/qca-ossl.cpp: In member function ‘virtual QCA::BigInteger opensslQCAPlugin::DSAKey::x() const’: /var/lib/managarm-buildenv/src/ports/qca/plugins/qca-ossl/qca-ossl.cpp:2545:46: warning: ‘const dsa_st* EVP_PKEY_get0_DSA(const EVP_PKEY*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2545 | const DSA *dsa = EVP_PKEY_get0_DSA(evp.pkey); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~ /usr/include/openssl/evp.h:1357:22: note: declared here 1357 | const struct dsa_st *EVP_PKEY_get0_DSA(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~ /var/lib/managarm-buildenv/src/ports/qca/plugins/qca-ossl/qca-ossl.cpp:2547:21: warning: ‘void DSA_get0_key(const DSA*, const BIGNUM**, const BIGNUM**)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2547 | DSA_get0_key(dsa, nullptr, &bnpriv_key); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /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, | ^~~~~~~~~~~~ /var/lib/managarm-buildenv/src/ports/qca/plugins/qca-ossl/qca-ossl.cpp: In destructor ‘virtual opensslQCAPlugin::DHKeyMaker::~DHKeyMaker()’: /var/lib/managarm-buildenv/src/ports/qca/plugins/qca-ossl/qca-ossl.cpp:2593:20: warning: ‘void DH_free(DH*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2593 | DH_free(result); | ~~~~~~~^~~~~~~~ In file included from /usr/include/openssl/dsa.h:51: /usr/include/openssl/dh.h:204:28: note: declared here 204 | OSSL_DEPRECATEDIN_3_0 void DH_free(DH *dh); | ^~~~~~~ /var/lib/managarm-buildenv/src/ports/qca/plugins/qca-ossl/qca-ossl.cpp: In member function ‘virtual void opensslQCAPlugin::DHKeyMaker::run()’: /var/lib/managarm-buildenv/src/ports/qca/plugins/qca-ossl/qca-ossl.cpp:2598:29: warning: ‘DH* DH_new()’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2598 | DH *dh = DH_new(); | ~~~~~~^~ /usr/include/openssl/dh.h:203:27: note: declared here 203 | OSSL_DEPRECATEDIN_3_0 DH *DH_new(void); | ^~~~~~ /var/lib/managarm-buildenv/src/ports/qca/plugins/qca-ossl/qca-ossl.cpp:2601:25: warning: ‘int DH_set0_pqg(DH*, BIGNUM*, BIGNUM*, BIGNUM*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2601 | if (!DH_set0_pqg(dh, bnp, nullptr, bng) || !DH_generate_key(dh)) { | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/dh.h:259:27: note: declared here 259 | OSSL_DEPRECATEDIN_3_0 int DH_set0_pqg(DH *dh, BIGNUM *p, BIGNUM *q, BIGNUM *g); | ^~~~~~~~~~~ /var/lib/managarm-buildenv/src/ports/qca/plugins/qca-ossl/qca-ossl.cpp:2601:68: warning: ‘int DH_generate_key(DH*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2601 | if (!DH_set0_pqg(dh, bnp, nullptr, bng) || !DH_generate_key(dh)) { | ~~~~~~~~~~~~~~~^~~~ /usr/include/openssl/dh.h:227:27: note: declared here 227 | OSSL_DEPRECATEDIN_3_0 int DH_generate_key(DH *dh); | ^~~~~~~~~~~~~~~ /var/lib/managarm-buildenv/src/ports/qca/plugins/qca-ossl/qca-ossl.cpp:2602:20: warning: ‘void DH_free(DH*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2602 | DH_free(dh); | ~~~~~~~^~~~ /usr/include/openssl/dh.h:204:28: note: declared here 204 | OSSL_DEPRECATEDIN_3_0 void DH_free(DH *dh); | ^~~~~~~ /var/lib/managarm-buildenv/src/ports/qca/plugins/qca-ossl/qca-ossl.cpp: In member function ‘virtual void opensslQCAPlugin::DHKey::convertToPublic()’: /var/lib/managarm-buildenv/src/ports/qca/plugins/qca-ossl/qca-ossl.cpp:2675:46: warning: ‘const dh_st* EVP_PKEY_get0_DH(const EVP_PKEY*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2675 | const DH *orig = EVP_PKEY_get0_DH(evp.pkey); | ~~~~~~~~~~~~~~~~^~~~~~~~~~ /usr/include/openssl/evp.h:1365:43: note: declared here 1365 | OSSL_DEPRECATEDIN_3_0 const struct dh_st *EVP_PKEY_get0_DH(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~ /var/lib/managarm-buildenv/src/ports/qca/plugins/qca-ossl/qca-ossl.cpp:2676:36: warning: ‘DH* DH_new()’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2676 | DH *dh = DH_new(); | ~~~~~~^~ /usr/include/openssl/dh.h:203:27: note: declared here 203 | OSSL_DEPRECATEDIN_3_0 DH *DH_new(void); | ^~~~~~ /var/lib/managarm-buildenv/src/ports/qca/plugins/qca-ossl/qca-ossl.cpp:2678:20: warning: ‘void DH_get0_pqg(const DH*, const BIGNUM**, const BIGNUM**, const BIGNUM**)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2678 | DH_get0_pqg(orig, &bnp, nullptr, &bng); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/dh.h:257:28: note: declared here 257 | OSSL_DEPRECATEDIN_3_0 void DH_get0_pqg(const DH *dh, const BIGNUM **p, | ^~~~~~~~~~~ /var/lib/managarm-buildenv/src/ports/qca/plugins/qca-ossl/qca-ossl.cpp:2679:20: warning: ‘void DH_get0_key(const DH*, const BIGNUM**, const BIGNUM**)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2679 | DH_get0_key(orig, &bnpub_key, nullptr); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/dh.h:260:28: note: declared here 260 | OSSL_DEPRECATEDIN_3_0 void DH_get0_key(const DH *dh, const BIGNUM **pub_key, | ^~~~~~~~~~~ /var/lib/managarm-buildenv/src/ports/qca/plugins/qca-ossl/qca-ossl.cpp:2681:20: warning: ‘int DH_set0_key(DH*, BIGNUM*, BIGNUM*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2681 | DH_set0_key(dh, BN_dup(bnpub_key), nullptr); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/dh.h:262:27: note: declared here 262 | OSSL_DEPRECATEDIN_3_0 int DH_set0_key(DH *dh, BIGNUM *pub_key, BIGNUM *priv_key); | ^~~~~~~~~~~ /var/lib/managarm-buildenv/src/ports/qca/plugins/qca-ossl/qca-ossl.cpp:2682:20: warning: ‘int DH_set0_pqg(DH*, BIGNUM*, BIGNUM*, BIGNUM*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2682 | DH_set0_pqg(dh, BN_dup(bnp), nullptr, BN_dup(bng)); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/dh.h:259:27: note: declared here 259 | OSSL_DEPRECATEDIN_3_0 int DH_set0_pqg(DH *dh, BIGNUM *p, BIGNUM *q, BIGNUM *g); | ^~~~~~~~~~~ /var/lib/managarm-buildenv/src/ports/qca/plugins/qca-ossl/qca-ossl.cpp: In member function ‘virtual QCA::SymmetricKey opensslQCAPlugin::DHKey::deriveKey(const QCA::PKeyBase&)’: /var/lib/managarm-buildenv/src/ports/qca/plugins/qca-ossl/qca-ossl.cpp:2698:46: warning: ‘const dh_st* EVP_PKEY_get0_DH(const EVP_PKEY*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2698 | const DH *dh = EVP_PKEY_get0_DH(evp.pkey); | ~~~~~~~~~~~~~~~~^~~~~~~~~~ /usr/include/openssl/evp.h:1365:43: note: declared here 1365 | OSSL_DEPRECATEDIN_3_0 const struct dh_st *EVP_PKEY_get0_DH(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~ /var/lib/managarm-buildenv/src/ports/qca/plugins/qca-ossl/qca-ossl.cpp:2699:46: warning: ‘const dh_st* EVP_PKEY_get0_DH(const EVP_PKEY*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2699 | const DH *them = EVP_PKEY_get0_DH(static_cast(&theirs)->evp.pkey); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/evp.h:1365:43: note: declared here 1365 | OSSL_DEPRECATEDIN_3_0 const struct dh_st *EVP_PKEY_get0_DH(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~ /var/lib/managarm-buildenv/src/ports/qca/plugins/qca-ossl/qca-ossl.cpp:2701:20: warning: ‘void DH_get0_key(const DH*, const BIGNUM**, const BIGNUM**)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2701 | DH_get0_key(them, &bnpub_key, nullptr); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/dh.h:260:28: note: declared here 260 | OSSL_DEPRECATEDIN_3_0 void DH_get0_key(const DH *dh, const BIGNUM **pub_key, | ^~~~~~~~~~~ /var/lib/managarm-buildenv/src/ports/qca/plugins/qca-ossl/qca-ossl.cpp:2703:35: warning: ‘int DH_size(const DH*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2703 | SecureArray result(DH_size(dh)); | ~~~~~~~^~~~ /usr/include/openssl/dh.h:207:27: note: declared here 207 | OSSL_DEPRECATEDIN_3_0 int DH_size(const DH *dh); | ^~~~~~~ /var/lib/managarm-buildenv/src/ports/qca/plugins/qca-ossl/qca-ossl.cpp:2704:41: warning: ‘int DH_compute_key(unsigned char*, const BIGNUM*, DH*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2704 | int ret = DH_compute_key((unsigned char *)result.data(), bnpub_key, (DH *)dh); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/dh.h:228:27: note: declared here 228 | OSSL_DEPRECATEDIN_3_0 int DH_compute_key(unsigned char *key, | ^~~~~~~~~~~~~~ /var/lib/managarm-buildenv/src/ports/qca/plugins/qca-ossl/qca-ossl.cpp: In member function ‘virtual void opensslQCAPlugin::DHKey::createPrivate(const QCA::DLGroup&, const QCA::BigInteger&, const QCA::BigInteger&)’: /var/lib/managarm-buildenv/src/ports/qca/plugins/qca-ossl/qca-ossl.cpp:2730:36: warning: ‘DH* DH_new()’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2730 | DH *dh = DH_new(); | ~~~~~~^~ /usr/include/openssl/dh.h:203:27: note: declared here 203 | OSSL_DEPRECATEDIN_3_0 DH *DH_new(void); | ^~~~~~ /var/lib/managarm-buildenv/src/ports/qca/plugins/qca-ossl/qca-ossl.cpp:2736:25: warning: ‘int DH_set0_key(DH*, BIGNUM*, BIGNUM*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2736 | if (!DH_set0_key(dh, bnpub_key, bnpriv_key) || !DH_set0_pqg(dh, bnp, nullptr, bng)) { | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/dh.h:262:27: note: declared here 262 | OSSL_DEPRECATEDIN_3_0 int DH_set0_key(DH *dh, BIGNUM *pub_key, BIGNUM *priv_key); | ^~~~~~~~~~~ /var/lib/managarm-buildenv/src/ports/qca/plugins/qca-ossl/qca-ossl.cpp:2736:68: warning: ‘int DH_set0_pqg(DH*, BIGNUM*, BIGNUM*, BIGNUM*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2736 | if (!DH_set0_key(dh, bnpub_key, bnpriv_key) || !DH_set0_pqg(dh, bnp, nullptr, bng)) { | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/dh.h:259:27: note: declared here 259 | OSSL_DEPRECATEDIN_3_0 int DH_set0_pqg(DH *dh, BIGNUM *p, BIGNUM *q, BIGNUM *g); | ^~~~~~~~~~~ /var/lib/managarm-buildenv/src/ports/qca/plugins/qca-ossl/qca-ossl.cpp:2737:20: warning: ‘void DH_free(DH*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2737 | DH_free(dh); | ~~~~~~~^~~~ /usr/include/openssl/dh.h:204:28: note: declared here 204 | OSSL_DEPRECATEDIN_3_0 void DH_free(DH *dh); | ^~~~~~~ /var/lib/managarm-buildenv/src/ports/qca/plugins/qca-ossl/qca-ossl.cpp: In member function ‘virtual void opensslQCAPlugin::DHKey::createPublic(const QCA::DLGroup&, const QCA::BigInteger&)’: /var/lib/managarm-buildenv/src/ports/qca/plugins/qca-ossl/qca-ossl.cpp:2750:35: warning: ‘DH* DH_new()’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2750 | DH *dh = DH_new(); | ~~~~~~^~ /usr/include/openssl/dh.h:203:27: note: declared here 203 | OSSL_DEPRECATEDIN_3_0 DH *DH_new(void); | ^~~~~~ /var/lib/managarm-buildenv/src/ports/qca/plugins/qca-ossl/qca-ossl.cpp:2755:25: warning: ‘int DH_set0_key(DH*, BIGNUM*, BIGNUM*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2755 | if (!DH_set0_key(dh, bnpub_key, nullptr) || !DH_set0_pqg(dh, bnp, nullptr, bng)) { | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/dh.h:262:27: note: declared here 262 | OSSL_DEPRECATEDIN_3_0 int DH_set0_key(DH *dh, BIGNUM *pub_key, BIGNUM *priv_key); | ^~~~~~~~~~~ /var/lib/managarm-buildenv/src/ports/qca/plugins/qca-ossl/qca-ossl.cpp:2755:65: warning: ‘int DH_set0_pqg(DH*, BIGNUM*, BIGNUM*, BIGNUM*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2755 | if (!DH_set0_key(dh, bnpub_key, nullptr) || !DH_set0_pqg(dh, bnp, nullptr, bng)) { | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/dh.h:259:27: note: declared here 259 | OSSL_DEPRECATEDIN_3_0 int DH_set0_pqg(DH *dh, BIGNUM *p, BIGNUM *q, BIGNUM *g); | ^~~~~~~~~~~ /var/lib/managarm-buildenv/src/ports/qca/plugins/qca-ossl/qca-ossl.cpp:2756:20: warning: ‘void DH_free(DH*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2756 | DH_free(dh); | ~~~~~~~^~~~ /usr/include/openssl/dh.h:204:28: note: declared here 204 | OSSL_DEPRECATEDIN_3_0 void DH_free(DH *dh); | ^~~~~~~ /var/lib/managarm-buildenv/src/ports/qca/plugins/qca-ossl/qca-ossl.cpp: In member function ‘virtual QCA::DLGroup opensslQCAPlugin::DHKey::domain() const’: /var/lib/managarm-buildenv/src/ports/qca/plugins/qca-ossl/qca-ossl.cpp:2767:44: warning: ‘const dh_st* EVP_PKEY_get0_DH(const EVP_PKEY*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2767 | const DH *dh = EVP_PKEY_get0_DH(evp.pkey); | ~~~~~~~~~~~~~~~~^~~~~~~~~~ /usr/include/openssl/evp.h:1365:43: note: declared here 1365 | OSSL_DEPRECATEDIN_3_0 const struct dh_st *EVP_PKEY_get0_DH(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~ /var/lib/managarm-buildenv/src/ports/qca/plugins/qca-ossl/qca-ossl.cpp:2769:20: warning: ‘void DH_get0_pqg(const DH*, const BIGNUM**, const BIGNUM**, const BIGNUM**)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2769 | DH_get0_pqg(dh, &bnp, nullptr, &bng); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/dh.h:257:28: note: declared here 257 | OSSL_DEPRECATEDIN_3_0 void DH_get0_pqg(const DH *dh, const BIGNUM **p, | ^~~~~~~~~~~ /var/lib/managarm-buildenv/src/ports/qca/plugins/qca-ossl/qca-ossl.cpp: In member function ‘virtual QCA::BigInteger opensslQCAPlugin::DHKey::y() const’: /var/lib/managarm-buildenv/src/ports/qca/plugins/qca-ossl/qca-ossl.cpp:2775:44: warning: ‘const dh_st* EVP_PKEY_get0_DH(const EVP_PKEY*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2775 | const DH *dh = EVP_PKEY_get0_DH(evp.pkey); | ~~~~~~~~~~~~~~~~^~~~~~~~~~ /usr/include/openssl/evp.h:1365:43: note: declared here 1365 | OSSL_DEPRECATEDIN_3_0 const struct dh_st *EVP_PKEY_get0_DH(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~ /var/lib/managarm-buildenv/src/ports/qca/plugins/qca-ossl/qca-ossl.cpp:2777:20: warning: ‘void DH_get0_key(const DH*, const BIGNUM**, const BIGNUM**)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2777 | DH_get0_key(dh, &bnpub_key, nullptr); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/dh.h:260:28: note: declared here 260 | OSSL_DEPRECATEDIN_3_0 void DH_get0_key(const DH *dh, const BIGNUM **pub_key, | ^~~~~~~~~~~ /var/lib/managarm-buildenv/src/ports/qca/plugins/qca-ossl/qca-ossl.cpp: In member function ‘virtual QCA::BigInteger opensslQCAPlugin::DHKey::x() const’: /var/lib/managarm-buildenv/src/ports/qca/plugins/qca-ossl/qca-ossl.cpp:2783:44: warning: ‘const dh_st* EVP_PKEY_get0_DH(const EVP_PKEY*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2783 | const DH *dh = EVP_PKEY_get0_DH(evp.pkey); | ~~~~~~~~~~~~~~~~^~~~~~~~~~ /usr/include/openssl/evp.h:1365:43: note: declared here 1365 | OSSL_DEPRECATEDIN_3_0 const struct dh_st *EVP_PKEY_get0_DH(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~ /var/lib/managarm-buildenv/src/ports/qca/plugins/qca-ossl/qca-ossl.cpp:2785:20: warning: ‘void DH_get0_key(const DH*, const BIGNUM**, const BIGNUM**)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2785 | DH_get0_key(dh, nullptr, &bnpriv_key); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/dh.h:260:28: note: declared here 260 | OSSL_DEPRECATEDIN_3_0 void DH_get0_key(const DH *dh, const BIGNUM **pub_key, | ^~~~~~~~~~~ /var/lib/managarm-buildenv/src/ports/qca/plugins/qca-ossl/qca-ossl.cpp: In constructor ‘opensslQCAPlugin::QCA_RSA_METHOD::QCA_RSA_METHOD(const QCA::RSAPrivateKey&, RSA*)’: /var/lib/managarm-buildenv/src/ports/qca/plugins/qca-ossl/qca-ossl.cpp:2823:23: warning: ‘int RSA_set_method(RSA*, const RSA_METHOD*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2823 | RSA_set_method(rsa, rsa_method()); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:302:27: note: declared here 302 | OSSL_DEPRECATEDIN_3_0 int RSA_set_method(RSA *rsa, const RSA_METHOD *meth); | ^~~~~~~~~~~~~~ /var/lib/managarm-buildenv/src/ports/qca/plugins/qca-ossl/qca-ossl.cpp:2828:21: warning: ‘int RSA_set0_key(RSA*, BIGNUM*, BIGNUM*, BIGNUM*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2828 | RSA_set0_key(rsa, bnn, bne, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /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); | ^~~~~~~~~~~~ /var/lib/managarm-buildenv/src/ports/qca/plugins/qca-ossl/qca-ossl.cpp: In member function ‘RSA_METHOD* opensslQCAPlugin::QCA_RSA_METHOD::rsa_method()’: /var/lib/managarm-buildenv/src/ports/qca/plugins/qca-ossl/qca-ossl.cpp:2836:54: warning: ‘const RSA_METHOD* RSA_get_default_method()’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2836 | ops = RSA_meth_dup(RSA_get_default_method()); | ~~~~~~~~~~~~~~~~~~~~~~^~ /usr/include/openssl/rsa.h:299:41: note: declared here 299 | OSSL_DEPRECATEDIN_3_0 const RSA_METHOD *RSA_get_default_method(void); | ^~~~~~~~~~~~~~~~~~~~~~ /var/lib/managarm-buildenv/src/ports/qca/plugins/qca-ossl/qca-ossl.cpp:2836:31: warning: ‘RSA_METHOD* RSA_meth_dup(const RSA_METHOD*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2836 | ops = RSA_meth_dup(RSA_get_default_method()); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:475:35: note: declared here 475 | OSSL_DEPRECATEDIN_3_0 RSA_METHOD *RSA_meth_dup(const RSA_METHOD *meth); | ^~~~~~~~~~~~ /var/lib/managarm-buildenv/src/ports/qca/plugins/qca-ossl/qca-ossl.cpp:2837:34: warning: ‘int RSA_meth_set_priv_enc(RSA_METHOD*, int (*)(int, const unsigned char*, unsigned char*, RSA*, int))’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2837 | RSA_meth_set_priv_enc(ops, nullptr); // pkcs11_rsa_encrypt | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:510:5: note: declared here 510 | int RSA_meth_set_priv_enc(RSA_METHOD *rsa, | ^~~~~~~~~~~~~~~~~~~~~ /var/lib/managarm-buildenv/src/ports/qca/plugins/qca-ossl/qca-ossl.cpp:2838:34: warning: ‘int RSA_meth_set_priv_dec(RSA_METHOD*, int (*)(int, const unsigned char*, unsigned char*, RSA*, int))’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2838 | RSA_meth_set_priv_dec(ops, rsa_priv_dec); // pkcs11_rsa_encrypt | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:520:5: note: declared here 520 | int RSA_meth_set_priv_dec(RSA_METHOD *rsa, | ^~~~~~~~~~~~~~~~~~~~~ /var/lib/managarm-buildenv/src/ports/qca/plugins/qca-ossl/qca-ossl.cpp:2839:30: warning: ‘int RSA_meth_set_sign(RSA_METHOD*, int (*)(int, const unsigned char*, unsigned int, unsigned char*, unsigned int*, const RSA*))’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2839 | RSA_meth_set_sign(ops, nullptr); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:563:5: note: declared here 563 | int RSA_meth_set_sign(RSA_METHOD *rsa, | ^~~~~~~~~~~~~~~~~ /var/lib/managarm-buildenv/src/ports/qca/plugins/qca-ossl/qca-ossl.cpp:2840:32: warning: ‘int RSA_meth_set_verify(RSA_METHOD*, int (*)(int, const unsigned char*, unsigned int, const unsigned char*, unsigned int, const RSA*))’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2840 | RSA_meth_set_verify(ops, nullptr); // pkcs11_rsa_verify | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:576:5: note: declared here 576 | int RSA_meth_set_verify(RSA_METHOD *rsa, | ^~~~~~~~~~~~~~~~~~~ /var/lib/managarm-buildenv/src/ports/qca/plugins/qca-ossl/qca-ossl.cpp:2841:32: warning: ‘int RSA_meth_set_finish(RSA_METHOD*, int (*)(RSA*))’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2841 | RSA_meth_set_finish(ops, rsa_finish); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:554:5: note: declared here 554 | int RSA_meth_set_finish(RSA_METHOD *rsa, int (*finish) (RSA *rsa)); | ^~~~~~~~~~~~~~~~~~~ /var/lib/managarm-buildenv/src/ports/qca/plugins/qca-ossl/qca-ossl.cpp: In function ‘RSA* opensslQCAPlugin::createFromExisting(const QCA::RSAPrivateKey&)’: /var/lib/managarm-buildenv/src/ports/qca/plugins/qca-ossl/qca-ossl.cpp:2886:21: warning: ‘RSA* RSA_new()’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2886 | RSA *r = RSA_new(); | ~~~~~~~^~ /usr/include/openssl/rsa.h:201:28: note: declared here 201 | OSSL_DEPRECATEDIN_3_0 RSA *RSA_new(void); | ^~~~~~~ [83/85] Linking CXX shared module lib/qca-qt6/crypto/libqca-ossl.so [84/85] Building CXX object tools/qcatool/CMakeFiles/qcatool-qt6.dir/main.cpp.o [85/85] Linking CXX executable bin/qcatool-qt6 xbstrap: install-tool ('host-qca', None) [7/8] [2024-10-20 05:47:45.603923 tictac] DEBUG: xbbs.worker: got notify {'action': 'compile-tool', 'artifact_files': [], 'n_all': 8, 'n_this': 6, 'status': 'success', 'subject': ['host-qca', None]} xbstrap: Running ['ninja', 'install'] (tools: ['host-cmake', 'host-qt6', 'host-ninja']) via cbuildrt PID init is 2465004 (outside the namespace) [0/1] Install the project... -- Install configuration: "" -- Installing: /var/lib/managarm-buildenv/build/tools/host-qca/usr/share/man/man1/qcatool-qt6.1 -- Installing: /var/lib/managarm-buildenv/build/tools/host-qca/usr/lib/libqca-qt6.so.2.3.9 -- Installing: /var/lib/managarm-buildenv/build/tools/host-qca/usr/lib/libqca-qt6.so.2 -- Set runtime path of "/var/lib/managarm-buildenv/build/tools/host-qca/usr/lib/libqca-qt6.so.2.3.9" to "" -- Installing: /var/lib/managarm-buildenv/build/tools/host-qca/usr/lib/libqca-qt6.so -- Installing: /var/lib/managarm-buildenv/build/tools/host-qca/usr/include/Qca-qt6/QtCrypto/qca.h -- Installing: /var/lib/managarm-buildenv/build/tools/host-qca/usr/include/Qca-qt6/QtCrypto/qcaprovider.h -- Installing: /var/lib/managarm-buildenv/build/tools/host-qca/usr/include/Qca-qt6/QtCrypto/QtCrypto -- Installing: /var/lib/managarm-buildenv/build/tools/host-qca/usr/include/Qca-qt6/QtCrypto/qca_support.h -- Installing: /var/lib/managarm-buildenv/build/tools/host-qca/usr/include/Qca-qt6/QtCrypto/qca_tools.h -- Installing: /var/lib/managarm-buildenv/build/tools/host-qca/usr/include/Qca-qt6/QtCrypto/qca_core.h -- Installing: /var/lib/managarm-buildenv/build/tools/host-qca/usr/include/Qca-qt6/QtCrypto/qca_textfilter.h -- Installing: /var/lib/managarm-buildenv/build/tools/host-qca/usr/include/Qca-qt6/QtCrypto/qca_basic.h -- Installing: /var/lib/managarm-buildenv/build/tools/host-qca/usr/include/Qca-qt6/QtCrypto/qca_publickey.h -- Installing: /var/lib/managarm-buildenv/build/tools/host-qca/usr/include/Qca-qt6/QtCrypto/qca_cert.h -- Installing: /var/lib/managarm-buildenv/build/tools/host-qca/usr/include/Qca-qt6/QtCrypto/qca_keystore.h -- Installing: /var/lib/managarm-buildenv/build/tools/host-qca/usr/include/Qca-qt6/QtCrypto/qca_securelayer.h -- Installing: /var/lib/managarm-buildenv/build/tools/host-qca/usr/include/Qca-qt6/QtCrypto/qca_securemessage.h -- Installing: /var/lib/managarm-buildenv/build/tools/host-qca/usr/include/Qca-qt6/QtCrypto/qca_version.h -- Installing: /var/lib/managarm-buildenv/build/tools/host-qca/usr/include/Qca-qt6/QtCrypto/qpipe.h -- Installing: /var/lib/managarm-buildenv/build/tools/host-qca/usr/include/Qca-qt6/QtCrypto/qca_safetimer.h -- Installing: /var/lib/managarm-buildenv/build/tools/host-qca/usr/lib/qt6/plugins/crypto/libqca-gnupg.so -- Set runtime path of "/var/lib/managarm-buildenv/build/tools/host-qca/usr/lib/qt6/plugins/crypto/libqca-gnupg.so" to "" -- Installing: /var/lib/managarm-buildenv/build/tools/host-qca/usr/lib/qt6/plugins/crypto/libqca-logger.so -- Set runtime path of "/var/lib/managarm-buildenv/build/tools/host-qca/usr/lib/qt6/plugins/crypto/libqca-logger.so" to "" -- Installing: /var/lib/managarm-buildenv/build/tools/host-qca/usr/lib/qt6/plugins/crypto/libqca-ossl.so -- Set runtime path of "/var/lib/managarm-buildenv/build/tools/host-qca/usr/lib/qt6/plugins/crypto/libqca-ossl.so" to "" -- Installing: /var/lib/managarm-buildenv/build/tools/host-qca/usr/lib/qt6/plugins/crypto/libqca-softstore.so -- Set runtime path of "/var/lib/managarm-buildenv/build/tools/host-qca/usr/lib/qt6/plugins/crypto/libqca-softstore.so" to "" -- Installing: /var/lib/managarm-buildenv/build/tools/host-qca/usr/include/Qca-qt6/QtCrypto/qca_export.h -- Installing: /var/lib/managarm-buildenv/build/tools/host-qca/usr/bin/mozcerts-qt6 -- Set runtime path of "/var/lib/managarm-buildenv/build/tools/host-qca/usr/bin/mozcerts-qt6" to "" -- Installing: /var/lib/managarm-buildenv/build/tools/host-qca/usr/bin/qcatool-qt6 -- Set runtime path of "/var/lib/managarm-buildenv/build/tools/host-qca/usr/bin/qcatool-qt6" to "" -- Installing: /var/lib/managarm-buildenv/build/tools/host-qca/usr/lib/cmake/Qca-qt6/Qca-qt6Targets.cmake -- Installing: /var/lib/managarm-buildenv/build/tools/host-qca/usr/lib/cmake/Qca-qt6/Qca-qt6Targets-noconfig.cmake -- Installing: /var/lib/managarm-buildenv/build/tools/host-qca/usr/lib/cmake/Qca-qt6/Qca-qt6Config.cmake -- Installing: /var/lib/managarm-buildenv/build/tools/host-qca/usr/lib/cmake/Qca-qt6/Qca-qt6ConfigVersion.cmake xbstrap: archive-tool host-qca [8/8] [2024-10-20 05:47:45.924523 tictac] DEBUG: xbbs.worker: got notify {'action': 'install-tool', 'artifact_files': [], 'n_all': 8, 'n_this': 7, 'status': 'success', 'subject': ['host-qca', None]} [2024-10-20 05:47:47.642119 tictac] DEBUG: xbbs.worker: got notify {'action': 'archive-tool', 'architecture': 'noarch', 'artifact_files': [], 'n_all': 8, 'n_this': 8, 'status': 'success', 'subject': 'host-qca'} [2024-10-20 05:47:47.668624 tictac] DEBUG: xbbs.worker: successfully uploaded tool host-qca for JobMessage(project='managarm', job='tool:host-qca', repository='https://github.com/managarm/bootstrap-managarm.git', revision='c3112f6f96263c4012d1f6106f8808dd7440f323', output='tcp://10.0.69.1:16999', build_root='/var/lib/xbbs/tmp/worker', needed_pkgs={}, needed_tools={'host-cmake': {'architecture': {'x86_64'}, 'version': '3.26.4_1'}, 'host-ninja': {'architecture': 'x86_64', 'version': '1.12.1_1'}, 'host-qt6': {'architecture': {'x86_64'}, 'version': '6.6.2_1'}}, prod_pkgs={}, prod_tools={'host-qca': {'architecture': {'x86_64'}, 'version': '2.3.9_1'}}, prod_files=[], tool_repo='https://mirrors.managarm.org/currents/managarm/tool_repo', pkg_repo='https://mirrors.managarm.org/currents/managarm/package_repo', mirror_root='https://mirrors.managarm.org/mirror/', distfile_path='xbbs/x86_64/') [2024-10-20 05:47:47.684255 tictac] INFO: xbbs.worker: job done. return code: 0