Mock Version: 6.5 Mock Version: 6.5 Mock Version: 6.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target riscv64 --nodeps /builddir/build/SPECS/cpp-jwt.spec'], chrootPath='/var/lib/mock/f45-build-6982-353/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=864000uid=995gid=135user='mockbuild'unshare_net=TrueprintOutput=Falsenspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.36juxn6k:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.36juxn6k:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'd9851373535448448a4145a98ce2c711', '-D', '/var/lib/mock/f45-build-6982-353/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.36juxn6k:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target riscv64 --nodeps /builddir/build/SPECS/cpp-jwt.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1784073600 Wrote: /builddir/build/SRPMS/cpp-jwt-1.5.1-5.fc45.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target riscv64 --nodeps /builddir/build/SPECS/cpp-jwt.spec'], chrootPath='/var/lib/mock/f45-build-6982-353/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=864000uid=995gid=135user='mockbuild'unshare_net=TrueprintOutput=Falsenspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.36juxn6k:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.36juxn6k:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'b0c42275f6db47778e9d883f3c1966ec', '-D', '/var/lib/mock/f45-build-6982-353/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.36juxn6k:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target riscv64 --nodeps /builddir/build/SPECS/cpp-jwt.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1784073600 Executing(mkbuilddir): /bin/sh -e /var/tmp/rpm-tmp.sxt62S Creating(rpmbuild.env): /builddir/build/BUILD/cpp-jwt-1.5.1-build/rpmbuild.env RPM_SOURCE_DIR="/builddir/build/SOURCES" RPM_BUILD_DIR="/builddir/build/BUILD/cpp-jwt-1.5.1-build" RPM_OPT_FLAGS="-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer" RPM_LD_FLAGS="-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes " RPM_ARCH="riscv64" RPM_OS="linux" RPM_BUILD_NCPUS="8" RPM_SPECPARTS_DIR="/builddir/build/BUILD/cpp-jwt-1.5.1-build/SPECPARTS" export RPM_SOURCE_DIR RPM_BUILD_DIR RPM_OPT_FLAGS RPM_ARCH RPM_OS RPM_BUILD_NCPUS RPM_SPECPARTS_DIR RPM_LD_FLAGS RPM_DOC_DIR="/usr/share/doc" export RPM_DOC_DIR RPM_PACKAGE_NAME="cpp-jwt" RPM_PACKAGE_VERSION="1.5.1" RPM_PACKAGE_RELEASE="5.fc45" export RPM_PACKAGE_NAME RPM_PACKAGE_VERSION RPM_PACKAGE_RELEASE LANG=C.UTF-8 export LANG unset CDPATH DISPLAY ||: unset DEBUGINFOD_URLS ||: unset RPM_CONFIG_DIR ||: RPM_BUILD_ROOT="/builddir/build/BUILD/cpp-jwt-1.5.1-build/BUILDROOT" export RPM_BUILD_ROOT PKG_CONFIG_PATH="${PKG_CONFIG_PATH}:/usr/lib64/pkgconfig:/usr/share/pkgconfig" export PKG_CONFIG_PATH CONFIG_SITE=${CONFIG_SITE:-NONE} export CONFIG_SITE Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.9wKA4Y + umask 022 + cd /builddir/build/BUILD/cpp-jwt-1.5.1-build + cd /builddir/build/BUILD/cpp-jwt-1.5.1-build + rm -rf cpp-jwt-1.5.1 + /usr/bin/rpmuncompress -x /builddir/build/SOURCES/cpp-jwt-1.5.1.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd cpp-jwt-1.5.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.j8MwzZ + umask 022 + cd /builddir/build/BUILD/cpp-jwt-1.5.1-build + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd cpp-jwt-1.5.1 + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + /usr/bin/cmake -S . -B redhat-linux-build -G Ninja -DCMAKE_C_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_CXX_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_Fortran_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON -DCMAKE_INSTALL_DO_STRIP:BOOL=OFF -DCMAKE_INSTALL_PREFIX:PATH=/usr -DCMAKE_INSTALL_FULL_SBINDIR:PATH=/usr/bin -DCMAKE_INSTALL_SBINDIR:PATH=bin -DINCLUDE_INSTALL_DIR:PATH=/usr/include -DLIB_INSTALL_DIR:PATH=/usr/lib64 -DSYSCONF_INSTALL_DIR:PATH=/etc -DSHARE_INSTALL_PREFIX:PATH=/usr/share -DLIB_SUFFIX=64 -DBUILD_SHARED_LIBS:BOOL=ON -- The C compiler identification is GNU 16.1.1 -- The CXX compiler identification is GNU 16.1.1 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/gcc - 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/g++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Found OpenSSL: /usr/lib64/libcrypto.so (found version "4.0.2") found components: SSL -- Found GTest: /usr/lib64/cmake/GTest/GTestConfig.cmake (found version "1.17.0") -- Configuring done (3.6s) -- Generating done (0.1s) CMake Warning: Manually-specified variables were not used by the project: CMAKE_CXX_FLAGS_RELEASE CMAKE_C_FLAGS_RELEASE CMAKE_Fortran_FLAGS_RELEASE CMAKE_INSTALL_DO_STRIP CMAKE_VERBOSE_MAKEFILE INCLUDE_INSTALL_DIR LIB_INSTALL_DIR LIB_SUFFIX SHARE_INSTALL_PREFIX SYSCONF_INSTALL_DIR -- Build files have been written to: /builddir/build/BUILD/cpp-jwt-1.5.1-build/cpp-jwt-1.5.1/redhat-linux-build + /usr/bin/cmake --build redhat-linux-build -j8 --verbose Change Dir: '/builddir/build/BUILD/cpp-jwt-1.5.1-build/cpp-jwt-1.5.1/redhat-linux-build' Run Build Command(s): /usr/bin/ninja-build -v -j 8 [1/20] /usr/bin/g++ -DCPP_JWT_USE_VENDORED_NLOHMANN_JSON -DGTEST_LINKED_AS_SHARED_LIBRARY=1 -I/builddir/build/BUILD/cpp-jwt-1.5.1-build/cpp-jwt-1.5.1/include -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wextra -DCERT_ROOT_DIR="\"/builddir/build/BUILD/cpp-jwt-1.5.1-build/cpp-jwt-1.5.1/tests/certs\"" -std=gnu++17 -MD -MT tests/CMakeFiles/test_jwt_object.dir/test_jwt_object.cc.o -MF tests/CMakeFiles/test_jwt_object.dir/test_jwt_object.cc.o.d -o tests/CMakeFiles/test_jwt_object.dir/test_jwt_object.cc.o -c /builddir/build/BUILD/cpp-jwt-1.5.1-build/cpp-jwt-1.5.1/tests/test_jwt_object.cc In file included from /builddir/build/BUILD/cpp-jwt-1.5.1-build/cpp-jwt-1.5.1/include/jwt/jwt.hpp:37, from /builddir/build/BUILD/cpp-jwt-1.5.1-build/cpp-jwt-1.5.1/tests/test_jwt_object.cc:2: /builddir/build/BUILD/cpp-jwt-1.5.1-build/cpp-jwt-1.5.1/include/jwt/algorithm.hpp: In function ‘void jwt::ec_key_deletor(EC_KEY*)’: /builddir/build/BUILD/cpp-jwt-1.5.1-build/cpp-jwt-1.5.1/include/jwt/algorithm.hpp:288:23: warning: ‘void EC_KEY_free(EC_KEY*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 288 | if (ptr) EC_KEY_free(ptr); | ~~~~~~~~~~~^~~~~ In file included from /usr/include/openssl/x509.h:35, from /usr/include/openssl/pem.h:23, from /builddir/build/BUILD/cpp-jwt-1.5.1-build/cpp-jwt-1.5.1/include/jwt/algorithm.hpp:39: /usr/include/openssl/ec.h:1022:28: note: declared here 1022 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key); | ^~~~~~~~~~~ In file included from /builddir/build/BUILD/cpp-jwt-1.5.1-build/cpp-jwt-1.5.1/include/jwt/algorithm.hpp:554: /builddir/build/BUILD/cpp-jwt-1.5.1-build/cpp-jwt-1.5.1/include/jwt/impl/algorithm.ipp: In static member function ‘static jwt::verify_result_t jwt::PEMSign::verify(jwt::string_view, jwt::string_view, jwt::string_view)’: /builddir/build/BUILD/cpp-jwt-1.5.1-build/cpp-jwt-1.5.1/include/jwt/impl/algorithm.ipp:138:44: warning: ‘ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 138 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey.get()), ec_key_deletor}; | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ In file included from /usr/include/openssl/pem.h:22: /usr/include/openssl/evp.h:1331:19: note: declared here 1331 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/cpp-jwt-1.5.1-build/cpp-jwt-1.5.1/include/jwt/impl/algorithm.ipp:144:26: warning: ‘const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 144 | EC_KEY_get0_group(ec_key.get())); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1047:39: note: declared here 1047 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/cpp-jwt-1.5.1-build/cpp-jwt-1.5.1/include/jwt/impl/algorithm.ipp: In static member function ‘static std::string jwt::PEMSign::public_key_ser(EVP_PKEY*, jwt::string_view, std::error_code&)’: /builddir/build/BUILD/cpp-jwt-1.5.1-build/cpp-jwt-1.5.1/include/jwt/impl/algorithm.ipp:289:42: warning: ‘ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 289 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey), ec_key_deletor}; | ~~~~~~~~~~~~~~~~~~~~^~~~~~ /usr/include/openssl/evp.h:1331:19: note: declared here 1331 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/cpp-jwt-1.5.1-build/cpp-jwt-1.5.1/include/jwt/impl/algorithm.ipp:296:58: warning: ‘const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 296 | uint32_t degree = EC_GROUP_get_degree(EC_KEY_get0_group(ec_key.get())); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1047:39: note: declared here 1047 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ [2/20] /usr/bin/g++ -DCPP_JWT_USE_VENDORED_NLOHMANN_JSON -I/builddir/build/BUILD/cpp-jwt-1.5.1-build/cpp-jwt-1.5.1/include -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wextra -DCERT_ROOT_DIR="\"/builddir/build/BUILD/cpp-jwt-1.5.1-build/cpp-jwt-1.5.1/examples/rsa_256\"" -std=gnu++14 -MD -MT examples/CMakeFiles/simple_ex2.dir/simple_ex2.cc.o -MF examples/CMakeFiles/simple_ex2.dir/simple_ex2.cc.o.d -o examples/CMakeFiles/simple_ex2.dir/simple_ex2.cc.o -c /builddir/build/BUILD/cpp-jwt-1.5.1-build/cpp-jwt-1.5.1/examples/simple_ex2.cc In file included from /builddir/build/BUILD/cpp-jwt-1.5.1-build/cpp-jwt-1.5.1/include/jwt/jwt.hpp:37, from /builddir/build/BUILD/cpp-jwt-1.5.1-build/cpp-jwt-1.5.1/examples/simple_ex2.cc:4: /builddir/build/BUILD/cpp-jwt-1.5.1-build/cpp-jwt-1.5.1/include/jwt/algorithm.hpp: In function ‘void jwt::ec_key_deletor(EC_KEY*)’: /builddir/build/BUILD/cpp-jwt-1.5.1-build/cpp-jwt-1.5.1/include/jwt/algorithm.hpp:288:23: warning: ‘void EC_KEY_free(EC_KEY*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 288 | if (ptr) EC_KEY_free(ptr); | ~~~~~~~~~~~^~~~~ In file included from /usr/include/openssl/x509.h:35, from /usr/include/openssl/pem.h:23, from /builddir/build/BUILD/cpp-jwt-1.5.1-build/cpp-jwt-1.5.1/include/jwt/algorithm.hpp:39: /usr/include/openssl/ec.h:1022:28: note: declared here 1022 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key); | ^~~~~~~~~~~ In file included from /builddir/build/BUILD/cpp-jwt-1.5.1-build/cpp-jwt-1.5.1/include/jwt/algorithm.hpp:554: /builddir/build/BUILD/cpp-jwt-1.5.1-build/cpp-jwt-1.5.1/include/jwt/impl/algorithm.ipp: In static member function ‘static jwt::verify_result_t jwt::PEMSign::verify(jwt::string_view, jwt::string_view, jwt::string_view)’: /builddir/build/BUILD/cpp-jwt-1.5.1-build/cpp-jwt-1.5.1/include/jwt/impl/algorithm.ipp:138:44: warning: ‘ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 138 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey.get()), ec_key_deletor}; | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ In file included from /usr/include/openssl/pem.h:22: /usr/include/openssl/evp.h:1331:19: note: declared here 1331 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/cpp-jwt-1.5.1-build/cpp-jwt-1.5.1/include/jwt/impl/algorithm.ipp:144:26: warning: ‘const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 144 | EC_KEY_get0_group(ec_key.get())); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1047:39: note: declared here 1047 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/cpp-jwt-1.5.1-build/cpp-jwt-1.5.1/include/jwt/impl/algorithm.ipp: In static member function ‘static std::string jwt::PEMSign::public_key_ser(EVP_PKEY*, jwt::string_view, std::error_code&)’: /builddir/build/BUILD/cpp-jwt-1.5.1-build/cpp-jwt-1.5.1/include/jwt/impl/algorithm.ipp:289:42: warning: ‘ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 289 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey), ec_key_deletor}; | ~~~~~~~~~~~~~~~~~~~~^~~~~~ /usr/include/openssl/evp.h:1331:19: note: declared here 1331 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/cpp-jwt-1.5.1-build/cpp-jwt-1.5.1/include/jwt/impl/algorithm.ipp:296:58: warning: ‘const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 296 | uint32_t degree = EC_GROUP_get_degree(EC_KEY_get0_group(ec_key.get())); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1047:39: note: declared here 1047 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ [3/20] /usr/bin/g++ -DCPP_JWT_USE_VENDORED_NLOHMANN_JSON -DGTEST_LINKED_AS_SHARED_LIBRARY=1 -I/builddir/build/BUILD/cpp-jwt-1.5.1-build/cpp-jwt-1.5.1/include -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wextra -DCERT_ROOT_DIR="\"/builddir/build/BUILD/cpp-jwt-1.5.1-build/cpp-jwt-1.5.1/tests/certs\"" -std=gnu++17 -MD -MT tests/CMakeFiles/test_jwt_rsa.dir/test_jwt_rsa.cc.o -MF tests/CMakeFiles/test_jwt_rsa.dir/test_jwt_rsa.cc.o.d -o tests/CMakeFiles/test_jwt_rsa.dir/test_jwt_rsa.cc.o -c /builddir/build/BUILD/cpp-jwt-1.5.1-build/cpp-jwt-1.5.1/tests/test_jwt_rsa.cc In file included from /builddir/build/BUILD/cpp-jwt-1.5.1-build/cpp-jwt-1.5.1/include/jwt/jwt.hpp:37, from /builddir/build/BUILD/cpp-jwt-1.5.1-build/cpp-jwt-1.5.1/tests/test_jwt_rsa.cc:7: /builddir/build/BUILD/cpp-jwt-1.5.1-build/cpp-jwt-1.5.1/include/jwt/algorithm.hpp: In function ‘void jwt::ec_key_deletor(EC_KEY*)’: /builddir/build/BUILD/cpp-jwt-1.5.1-build/cpp-jwt-1.5.1/include/jwt/algorithm.hpp:288:23: warning: ‘void EC_KEY_free(EC_KEY*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 288 | if (ptr) EC_KEY_free(ptr); | ~~~~~~~~~~~^~~~~ In file included from /usr/include/openssl/x509.h:35, from /usr/include/openssl/pem.h:23, from /builddir/build/BUILD/cpp-jwt-1.5.1-build/cpp-jwt-1.5.1/include/jwt/algorithm.hpp:39: /usr/include/openssl/ec.h:1022:28: note: declared here 1022 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key); | ^~~~~~~~~~~ In file included from /builddir/build/BUILD/cpp-jwt-1.5.1-build/cpp-jwt-1.5.1/include/jwt/algorithm.hpp:554: /builddir/build/BUILD/cpp-jwt-1.5.1-build/cpp-jwt-1.5.1/include/jwt/impl/algorithm.ipp: In static member function ‘static jwt::verify_result_t jwt::PEMSign::verify(jwt::string_view, jwt::string_view, jwt::string_view)’: /builddir/build/BUILD/cpp-jwt-1.5.1-build/cpp-jwt-1.5.1/include/jwt/impl/algorithm.ipp:138:44: warning: ‘ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 138 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey.get()), ec_key_deletor}; | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ In file included from /usr/include/openssl/pem.h:22: /usr/include/openssl/evp.h:1331:19: note: declared here 1331 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/cpp-jwt-1.5.1-build/cpp-jwt-1.5.1/include/jwt/impl/algorithm.ipp:144:26: warning: ‘const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 144 | EC_KEY_get0_group(ec_key.get())); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1047:39: note: declared here 1047 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/cpp-jwt-1.5.1-build/cpp-jwt-1.5.1/include/jwt/impl/algorithm.ipp: In static member function ‘static std::string jwt::PEMSign::public_key_ser(EVP_PKEY*, jwt::string_view, std::error_code&)’: /builddir/build/BUILD/cpp-jwt-1.5.1-build/cpp-jwt-1.5.1/include/jwt/impl/algorithm.ipp:289:42: warning: ‘ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 289 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey), ec_key_deletor}; | ~~~~~~~~~~~~~~~~~~~~^~~~~~ /usr/include/openssl/evp.h:1331:19: note: declared here 1331 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/cpp-jwt-1.5.1-build/cpp-jwt-1.5.1/include/jwt/impl/algorithm.ipp:296:58: warning: ‘const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 296 | uint32_t degree = EC_GROUP_get_degree(EC_KEY_get0_group(ec_key.get())); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1047:39: note: declared here 1047 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ [4/20] : && /usr/bin/g++ -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wextra -DCERT_ROOT_DIR="\"/builddir/build/BUILD/cpp-jwt-1.5.1-build/cpp-jwt-1.5.1/tests/certs\"" -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -Wl,--dependency-file=tests/CMakeFiles/test_jwt_object.dir/link.d tests/CMakeFiles/test_jwt_object.dir/test_jwt_object.cc.o -o tests/test_jwt_object /usr/lib64/libgtest_main.so.1.17.0 /usr/lib64/libgtest.so.1.17.0 /usr/lib64/libssl.so /usr/lib64/libcrypto.so && : [5/20] /usr/bin/g++ -DCPP_JWT_USE_VENDORED_NLOHMANN_JSON -I/builddir/build/BUILD/cpp-jwt-1.5.1-build/cpp-jwt-1.5.1/include -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wextra -DCERT_ROOT_DIR="\"/builddir/build/BUILD/cpp-jwt-1.5.1-build/cpp-jwt-1.5.1/examples/rsa_256\"" -std=gnu++14 -MD -MT examples/CMakeFiles/simple_ex1.dir/simple_ex1.cc.o -MF examples/CMakeFiles/simple_ex1.dir/simple_ex1.cc.o.d -o examples/CMakeFiles/simple_ex1.dir/simple_ex1.cc.o -c /builddir/build/BUILD/cpp-jwt-1.5.1-build/cpp-jwt-1.5.1/examples/simple_ex1.cc In file included from /builddir/build/BUILD/cpp-jwt-1.5.1-build/cpp-jwt-1.5.1/include/jwt/jwt.hpp:37, from /builddir/build/BUILD/cpp-jwt-1.5.1-build/cpp-jwt-1.5.1/examples/simple_ex1.cc:2: /builddir/build/BUILD/cpp-jwt-1.5.1-build/cpp-jwt-1.5.1/include/jwt/algorithm.hpp: In function ‘void jwt::ec_key_deletor(EC_KEY*)’: /builddir/build/BUILD/cpp-jwt-1.5.1-build/cpp-jwt-1.5.1/include/jwt/algorithm.hpp:288:23: warning: ‘void EC_KEY_free(EC_KEY*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 288 | if (ptr) EC_KEY_free(ptr); | ~~~~~~~~~~~^~~~~ In file included from /usr/include/openssl/x509.h:35, from /usr/include/openssl/pem.h:23, from /builddir/build/BUILD/cpp-jwt-1.5.1-build/cpp-jwt-1.5.1/include/jwt/algorithm.hpp:39: /usr/include/openssl/ec.h:1022:28: note: declared here 1022 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key); | ^~~~~~~~~~~ In file included from /builddir/build/BUILD/cpp-jwt-1.5.1-build/cpp-jwt-1.5.1/include/jwt/algorithm.hpp:554: /builddir/build/BUILD/cpp-jwt-1.5.1-build/cpp-jwt-1.5.1/include/jwt/impl/algorithm.ipp: In static member function ‘static jwt::verify_result_t jwt::PEMSign::verify(jwt::string_view, jwt::string_view, jwt::string_view)’: /builddir/build/BUILD/cpp-jwt-1.5.1-build/cpp-jwt-1.5.1/include/jwt/impl/algorithm.ipp:138:44: warning: ‘ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 138 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey.get()), ec_key_deletor}; | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ In file included from /usr/include/openssl/pem.h:22: /usr/include/openssl/evp.h:1331:19: note: declared here 1331 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/cpp-jwt-1.5.1-build/cpp-jwt-1.5.1/include/jwt/impl/algorithm.ipp:144:26: warning: ‘const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 144 | EC_KEY_get0_group(ec_key.get())); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1047:39: note: declared here 1047 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/cpp-jwt-1.5.1-build/cpp-jwt-1.5.1/include/jwt/impl/algorithm.ipp: In static member function ‘static std::string jwt::PEMSign::public_key_ser(EVP_PKEY*, jwt::string_view, std::error_code&)’: /builddir/build/BUILD/cpp-jwt-1.5.1-build/cpp-jwt-1.5.1/include/jwt/impl/algorithm.ipp:289:42: warning: ‘ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 289 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey), ec_key_deletor}; | ~~~~~~~~~~~~~~~~~~~~^~~~~~ /usr/include/openssl/evp.h:1331:19: note: declared here 1331 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/cpp-jwt-1.5.1-build/cpp-jwt-1.5.1/include/jwt/impl/algorithm.ipp:296:58: warning: ‘const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 296 | uint32_t degree = EC_GROUP_get_degree(EC_KEY_get0_group(ec_key.get())); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1047:39: note: declared here 1047 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ [6/20] : && /usr/bin/g++ -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wextra -DCERT_ROOT_DIR="\"/builddir/build/BUILD/cpp-jwt-1.5.1-build/cpp-jwt-1.5.1/tests/certs\"" -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -Wl,--dependency-file=tests/CMakeFiles/test_jwt_rsa.dir/link.d tests/CMakeFiles/test_jwt_rsa.dir/test_jwt_rsa.cc.o -o tests/test_jwt_rsa /usr/lib64/libgtest_main.so.1.17.0 /usr/lib64/libgtest.so.1.17.0 /usr/lib64/libssl.so /usr/lib64/libcrypto.so && : [7/20] : && /usr/bin/g++ -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wextra -DCERT_ROOT_DIR="\"/builddir/build/BUILD/cpp-jwt-1.5.1-build/cpp-jwt-1.5.1/examples/rsa_256\"" -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -Wl,--dependency-file=examples/CMakeFiles/simple_ex1.dir/link.d examples/CMakeFiles/simple_ex1.dir/simple_ex1.cc.o -o examples/simple_ex1 /usr/lib64/libssl.so /usr/lib64/libcrypto.so && : [8/20] : && /usr/bin/g++ -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wextra -DCERT_ROOT_DIR="\"/builddir/build/BUILD/cpp-jwt-1.5.1-build/cpp-jwt-1.5.1/examples/rsa_256\"" -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -Wl,--dependency-file=examples/CMakeFiles/simple_ex2.dir/link.d examples/CMakeFiles/simple_ex2.dir/simple_ex2.cc.o -o examples/simple_ex2 /usr/lib64/libssl.so /usr/lib64/libcrypto.so && : [9/20] /usr/bin/g++ -DCPP_JWT_USE_VENDORED_NLOHMANN_JSON -DGTEST_LINKED_AS_SHARED_LIBRARY=1 -I/builddir/build/BUILD/cpp-jwt-1.5.1-build/cpp-jwt-1.5.1/include -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wextra -DCERT_ROOT_DIR="\"/builddir/build/BUILD/cpp-jwt-1.5.1-build/cpp-jwt-1.5.1/tests/certs\"" -std=gnu++17 -MD -MT tests/CMakeFiles/test_jwt_decode.dir/test_jwt_decode.cc.o -MF tests/CMakeFiles/test_jwt_decode.dir/test_jwt_decode.cc.o.d -o tests/CMakeFiles/test_jwt_decode.dir/test_jwt_decode.cc.o -c /builddir/build/BUILD/cpp-jwt-1.5.1-build/cpp-jwt-1.5.1/tests/test_jwt_decode.cc In file included from /builddir/build/BUILD/cpp-jwt-1.5.1-build/cpp-jwt-1.5.1/include/jwt/jwt.hpp:37, from /builddir/build/BUILD/cpp-jwt-1.5.1-build/cpp-jwt-1.5.1/tests/test_jwt_decode.cc:3: /builddir/build/BUILD/cpp-jwt-1.5.1-build/cpp-jwt-1.5.1/include/jwt/algorithm.hpp: In function ‘void jwt::ec_key_deletor(EC_KEY*)’: /builddir/build/BUILD/cpp-jwt-1.5.1-build/cpp-jwt-1.5.1/include/jwt/algorithm.hpp:288:23: warning: ‘void EC_KEY_free(EC_KEY*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 288 | if (ptr) EC_KEY_free(ptr); | ~~~~~~~~~~~^~~~~ In file included from /usr/include/openssl/x509.h:35, from /usr/include/openssl/pem.h:23, from /builddir/build/BUILD/cpp-jwt-1.5.1-build/cpp-jwt-1.5.1/include/jwt/algorithm.hpp:39: /usr/include/openssl/ec.h:1022:28: note: declared here 1022 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key); | ^~~~~~~~~~~ In file included from /builddir/build/BUILD/cpp-jwt-1.5.1-build/cpp-jwt-1.5.1/include/jwt/algorithm.hpp:554: /builddir/build/BUILD/cpp-jwt-1.5.1-build/cpp-jwt-1.5.1/include/jwt/impl/algorithm.ipp: In static member function ‘static jwt::verify_result_t jwt::PEMSign::verify(jwt::string_view, jwt::string_view, jwt::string_view)’: /builddir/build/BUILD/cpp-jwt-1.5.1-build/cpp-jwt-1.5.1/include/jwt/impl/algorithm.ipp:138:44: warning: ‘ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 138 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey.get()), ec_key_deletor}; | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ In file included from /usr/include/openssl/pem.h:22: /usr/include/openssl/evp.h:1331:19: note: declared here 1331 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/cpp-jwt-1.5.1-build/cpp-jwt-1.5.1/include/jwt/impl/algorithm.ipp:144:26: warning: ‘const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 144 | EC_KEY_get0_group(ec_key.get())); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1047:39: note: declared here 1047 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/cpp-jwt-1.5.1-build/cpp-jwt-1.5.1/include/jwt/impl/algorithm.ipp: In static member function ‘static std::string jwt::PEMSign::public_key_ser(EVP_PKEY*, jwt::string_view, std::error_code&)’: /builddir/build/BUILD/cpp-jwt-1.5.1-build/cpp-jwt-1.5.1/include/jwt/impl/algorithm.ipp:289:42: warning: ‘ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 289 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey), ec_key_deletor}; | ~~~~~~~~~~~~~~~~~~~~^~~~~~ /usr/include/openssl/evp.h:1331:19: note: declared here 1331 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/cpp-jwt-1.5.1-build/cpp-jwt-1.5.1/include/jwt/impl/algorithm.ipp:296:58: warning: ‘const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 296 | uint32_t degree = EC_GROUP_get_degree(EC_KEY_get0_group(ec_key.get())); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1047:39: note: declared here 1047 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ [10/20] /usr/bin/g++ -DCPP_JWT_USE_VENDORED_NLOHMANN_JSON -DGTEST_LINKED_AS_SHARED_LIBRARY=1 -I/builddir/build/BUILD/cpp-jwt-1.5.1-build/cpp-jwt-1.5.1/include -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wextra -DCERT_ROOT_DIR="\"/builddir/build/BUILD/cpp-jwt-1.5.1-build/cpp-jwt-1.5.1/tests/certs\"" -std=gnu++17 -MD -MT tests/CMakeFiles/test_jwt_es.dir/test_jwt_es.cc.o -MF tests/CMakeFiles/test_jwt_es.dir/test_jwt_es.cc.o.d -o tests/CMakeFiles/test_jwt_es.dir/test_jwt_es.cc.o -c /builddir/build/BUILD/cpp-jwt-1.5.1-build/cpp-jwt-1.5.1/tests/test_jwt_es.cc In file included from /builddir/build/BUILD/cpp-jwt-1.5.1-build/cpp-jwt-1.5.1/include/jwt/jwt.hpp:37, from /builddir/build/BUILD/cpp-jwt-1.5.1-build/cpp-jwt-1.5.1/tests/test_jwt_es.cc:7: /builddir/build/BUILD/cpp-jwt-1.5.1-build/cpp-jwt-1.5.1/include/jwt/algorithm.hpp: In function ‘void jwt::ec_key_deletor(EC_KEY*)’: /builddir/build/BUILD/cpp-jwt-1.5.1-build/cpp-jwt-1.5.1/include/jwt/algorithm.hpp:288:23: warning: ‘void EC_KEY_free(EC_KEY*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 288 | if (ptr) EC_KEY_free(ptr); | ~~~~~~~~~~~^~~~~ In file included from /usr/include/openssl/x509.h:35, from /usr/include/openssl/pem.h:23, from /builddir/build/BUILD/cpp-jwt-1.5.1-build/cpp-jwt-1.5.1/include/jwt/algorithm.hpp:39: /usr/include/openssl/ec.h:1022:28: note: declared here 1022 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key); | ^~~~~~~~~~~ In file included from /builddir/build/BUILD/cpp-jwt-1.5.1-build/cpp-jwt-1.5.1/include/jwt/algorithm.hpp:554: /builddir/build/BUILD/cpp-jwt-1.5.1-build/cpp-jwt-1.5.1/include/jwt/impl/algorithm.ipp: In static member function ‘static jwt::verify_result_t jwt::PEMSign::verify(jwt::string_view, jwt::string_view, jwt::string_view)’: /builddir/build/BUILD/cpp-jwt-1.5.1-build/cpp-jwt-1.5.1/include/jwt/impl/algorithm.ipp:138:44: warning: ‘ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 138 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey.get()), ec_key_deletor}; | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ In file included from /usr/include/openssl/pem.h:22: /usr/include/openssl/evp.h:1331:19: note: declared here 1331 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/cpp-jwt-1.5.1-build/cpp-jwt-1.5.1/include/jwt/impl/algorithm.ipp:144:26: warning: ‘const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 144 | EC_KEY_get0_group(ec_key.get())); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1047:39: note: declared here 1047 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/cpp-jwt-1.5.1-build/cpp-jwt-1.5.1/include/jwt/impl/algorithm.ipp: In static member function ‘static std::string jwt::PEMSign::public_key_ser(EVP_PKEY*, jwt::string_view, std::error_code&)’: /builddir/build/BUILD/cpp-jwt-1.5.1-build/cpp-jwt-1.5.1/include/jwt/impl/algorithm.ipp:289:42: warning: ‘ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 289 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey), ec_key_deletor}; | ~~~~~~~~~~~~~~~~~~~~^~~~~~ /usr/include/openssl/evp.h:1331:19: note: declared here 1331 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/cpp-jwt-1.5.1-build/cpp-jwt-1.5.1/include/jwt/impl/algorithm.ipp:296:58: warning: ‘const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 296 | uint32_t degree = EC_GROUP_get_degree(EC_KEY_get0_group(ec_key.get())); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1047:39: note: declared here 1047 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ [11/20] : && /usr/bin/g++ -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wextra -DCERT_ROOT_DIR="\"/builddir/build/BUILD/cpp-jwt-1.5.1-build/cpp-jwt-1.5.1/tests/certs\"" -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -Wl,--dependency-file=tests/CMakeFiles/test_jwt_decode.dir/link.d tests/CMakeFiles/test_jwt_decode.dir/test_jwt_decode.cc.o -o tests/test_jwt_decode /usr/lib64/libgtest_main.so.1.17.0 /usr/lib64/libgtest.so.1.17.0 /usr/lib64/libssl.so /usr/lib64/libcrypto.so && : [12/20] /usr/bin/g++ -DCPP_JWT_USE_VENDORED_NLOHMANN_JSON -DGTEST_LINKED_AS_SHARED_LIBRARY=1 -I/builddir/build/BUILD/cpp-jwt-1.5.1-build/cpp-jwt-1.5.1/include -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wextra -DCERT_ROOT_DIR="\"/builddir/build/BUILD/cpp-jwt-1.5.1-build/cpp-jwt-1.5.1/tests/certs\"" -std=gnu++17 -MD -MT tests/CMakeFiles/test_jwt_encode.dir/test_jwt_encode.cc.o -MF tests/CMakeFiles/test_jwt_encode.dir/test_jwt_encode.cc.o.d -o tests/CMakeFiles/test_jwt_encode.dir/test_jwt_encode.cc.o -c /builddir/build/BUILD/cpp-jwt-1.5.1-build/cpp-jwt-1.5.1/tests/test_jwt_encode.cc In file included from /builddir/build/BUILD/cpp-jwt-1.5.1-build/cpp-jwt-1.5.1/include/jwt/jwt.hpp:37, from /builddir/build/BUILD/cpp-jwt-1.5.1-build/cpp-jwt-1.5.1/tests/test_jwt_encode.cc:5: /builddir/build/BUILD/cpp-jwt-1.5.1-build/cpp-jwt-1.5.1/include/jwt/algorithm.hpp: In function ‘void jwt::ec_key_deletor(EC_KEY*)’: /builddir/build/BUILD/cpp-jwt-1.5.1-build/cpp-jwt-1.5.1/include/jwt/algorithm.hpp:288:23: warning: ‘void EC_KEY_free(EC_KEY*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 288 | if (ptr) EC_KEY_free(ptr); | ~~~~~~~~~~~^~~~~ In file included from /usr/include/openssl/x509.h:35, from /usr/include/openssl/pem.h:23, from /builddir/build/BUILD/cpp-jwt-1.5.1-build/cpp-jwt-1.5.1/include/jwt/algorithm.hpp:39: /usr/include/openssl/ec.h:1022:28: note: declared here 1022 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key); | ^~~~~~~~~~~ In file included from /builddir/build/BUILD/cpp-jwt-1.5.1-build/cpp-jwt-1.5.1/include/jwt/algorithm.hpp:554: /builddir/build/BUILD/cpp-jwt-1.5.1-build/cpp-jwt-1.5.1/include/jwt/impl/algorithm.ipp: In static member function ‘static jwt::verify_result_t jwt::PEMSign::verify(jwt::string_view, jwt::string_view, jwt::string_view)’: /builddir/build/BUILD/cpp-jwt-1.5.1-build/cpp-jwt-1.5.1/include/jwt/impl/algorithm.ipp:138:44: warning: ‘ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 138 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey.get()), ec_key_deletor}; | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ In file included from /usr/include/openssl/pem.h:22: /usr/include/openssl/evp.h:1331:19: note: declared here 1331 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/cpp-jwt-1.5.1-build/cpp-jwt-1.5.1/include/jwt/impl/algorithm.ipp:144:26: warning: ‘const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 144 | EC_KEY_get0_group(ec_key.get())); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1047:39: note: declared here 1047 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/cpp-jwt-1.5.1-build/cpp-jwt-1.5.1/include/jwt/impl/algorithm.ipp: In static member function ‘static std::string jwt::PEMSign::public_key_ser(EVP_PKEY*, jwt::string_view, std::error_code&)’: /builddir/build/BUILD/cpp-jwt-1.5.1-build/cpp-jwt-1.5.1/include/jwt/impl/algorithm.ipp:289:42: warning: ‘ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 289 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey), ec_key_deletor}; | ~~~~~~~~~~~~~~~~~~~~^~~~~~ /usr/include/openssl/evp.h:1331:19: note: declared here 1331 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/cpp-jwt-1.5.1-build/cpp-jwt-1.5.1/include/jwt/impl/algorithm.ipp:296:58: warning: ‘const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 296 | uint32_t degree = EC_GROUP_get_degree(EC_KEY_get0_group(ec_key.get())); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1047:39: note: declared here 1047 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ [13/20] /usr/bin/g++ -DCPP_JWT_USE_VENDORED_NLOHMANN_JSON -DGTEST_LINKED_AS_SHARED_LIBRARY=1 -I/builddir/build/BUILD/cpp-jwt-1.5.1-build/cpp-jwt-1.5.1/include -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wextra -DCERT_ROOT_DIR="\"/builddir/build/BUILD/cpp-jwt-1.5.1-build/cpp-jwt-1.5.1/tests/certs\"" -std=gnu++17 -MD -MT tests/CMakeFiles/test_jwt_decode_verifiy.dir/test_jwt_decode_verifiy.cc.o -MF tests/CMakeFiles/test_jwt_decode_verifiy.dir/test_jwt_decode_verifiy.cc.o.d -o tests/CMakeFiles/test_jwt_decode_verifiy.dir/test_jwt_decode_verifiy.cc.o -c /builddir/build/BUILD/cpp-jwt-1.5.1-build/cpp-jwt-1.5.1/tests/test_jwt_decode_verifiy.cc In file included from /builddir/build/BUILD/cpp-jwt-1.5.1-build/cpp-jwt-1.5.1/include/jwt/jwt.hpp:37, from /builddir/build/BUILD/cpp-jwt-1.5.1-build/cpp-jwt-1.5.1/tests/test_jwt_decode_verifiy.cc:5: /builddir/build/BUILD/cpp-jwt-1.5.1-build/cpp-jwt-1.5.1/include/jwt/algorithm.hpp: In function ‘void jwt::ec_key_deletor(EC_KEY*)’: /builddir/build/BUILD/cpp-jwt-1.5.1-build/cpp-jwt-1.5.1/include/jwt/algorithm.hpp:288:23: warning: ‘void EC_KEY_free(EC_KEY*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 288 | if (ptr) EC_KEY_free(ptr); | ~~~~~~~~~~~^~~~~ In file included from /usr/include/openssl/x509.h:35, from /usr/include/openssl/pem.h:23, from /builddir/build/BUILD/cpp-jwt-1.5.1-build/cpp-jwt-1.5.1/include/jwt/algorithm.hpp:39: /usr/include/openssl/ec.h:1022:28: note: declared here 1022 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key); | ^~~~~~~~~~~ In file included from /builddir/build/BUILD/cpp-jwt-1.5.1-build/cpp-jwt-1.5.1/include/jwt/algorithm.hpp:554: /builddir/build/BUILD/cpp-jwt-1.5.1-build/cpp-jwt-1.5.1/include/jwt/impl/algorithm.ipp: In static member function ‘static jwt::verify_result_t jwt::PEMSign::verify(jwt::string_view, jwt::string_view, jwt::string_view)’: /builddir/build/BUILD/cpp-jwt-1.5.1-build/cpp-jwt-1.5.1/include/jwt/impl/algorithm.ipp:138:44: warning: ‘ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 138 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey.get()), ec_key_deletor}; | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ In file included from /usr/include/openssl/pem.h:22: /usr/include/openssl/evp.h:1331:19: note: declared here 1331 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/cpp-jwt-1.5.1-build/cpp-jwt-1.5.1/include/jwt/impl/algorithm.ipp:144:26: warning: ‘const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 144 | EC_KEY_get0_group(ec_key.get())); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1047:39: note: declared here 1047 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/cpp-jwt-1.5.1-build/cpp-jwt-1.5.1/include/jwt/impl/algorithm.ipp: In static member function ‘static std::string jwt::PEMSign::public_key_ser(EVP_PKEY*, jwt::string_view, std::error_code&)’: /builddir/build/BUILD/cpp-jwt-1.5.1-build/cpp-jwt-1.5.1/include/jwt/impl/algorithm.ipp:289:42: warning: ‘ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 289 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey), ec_key_deletor}; | ~~~~~~~~~~~~~~~~~~~~^~~~~~ /usr/include/openssl/evp.h:1331:19: note: declared here 1331 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/cpp-jwt-1.5.1-build/cpp-jwt-1.5.1/include/jwt/impl/algorithm.ipp:296:58: warning: ‘const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 296 | uint32_t degree = EC_GROUP_get_degree(EC_KEY_get0_group(ec_key.get())); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1047:39: note: declared here 1047 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ [14/20] : && /usr/bin/g++ -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wextra -DCERT_ROOT_DIR="\"/builddir/build/BUILD/cpp-jwt-1.5.1-build/cpp-jwt-1.5.1/tests/certs\"" -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -Wl,--dependency-file=tests/CMakeFiles/test_jwt_es.dir/link.d tests/CMakeFiles/test_jwt_es.dir/test_jwt_es.cc.o -o tests/test_jwt_es /usr/lib64/libgtest_main.so.1.17.0 /usr/lib64/libgtest.so.1.17.0 /usr/lib64/libssl.so /usr/lib64/libcrypto.so && : [15/20] : && /usr/bin/g++ -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wextra -DCERT_ROOT_DIR="\"/builddir/build/BUILD/cpp-jwt-1.5.1-build/cpp-jwt-1.5.1/tests/certs\"" -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -Wl,--dependency-file=tests/CMakeFiles/test_jwt_encode.dir/link.d tests/CMakeFiles/test_jwt_encode.dir/test_jwt_encode.cc.o -o tests/test_jwt_encode /usr/lib64/libgtest_main.so.1.17.0 /usr/lib64/libgtest.so.1.17.0 /usr/lib64/libssl.so /usr/lib64/libcrypto.so && : [16/20] /usr/bin/g++ -DCPP_JWT_USE_VENDORED_NLOHMANN_JSON -DGTEST_LINKED_AS_SHARED_LIBRARY=1 -I/builddir/build/BUILD/cpp-jwt-1.5.1-build/cpp-jwt-1.5.1/include -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wextra -DCERT_ROOT_DIR="\"/builddir/build/BUILD/cpp-jwt-1.5.1-build/cpp-jwt-1.5.1/tests/certs\"" -std=gnu++17 -MD -MT tests/CMakeFiles/test_jwt_decode_verifiy_with_exception.dir/test_jwt_decode_verifiy_with_exception.cc.o -MF tests/CMakeFiles/test_jwt_decode_verifiy_with_exception.dir/test_jwt_decode_verifiy_with_exception.cc.o.d -o tests/CMakeFiles/test_jwt_decode_verifiy_with_exception.dir/test_jwt_decode_verifiy_with_exception.cc.o -c /builddir/build/BUILD/cpp-jwt-1.5.1-build/cpp-jwt-1.5.1/tests/test_jwt_decode_verifiy_with_exception.cc In file included from /builddir/build/BUILD/cpp-jwt-1.5.1-build/cpp-jwt-1.5.1/include/jwt/jwt.hpp:37, from /builddir/build/BUILD/cpp-jwt-1.5.1-build/cpp-jwt-1.5.1/tests/test_jwt_decode_verifiy_with_exception.cc:5: /builddir/build/BUILD/cpp-jwt-1.5.1-build/cpp-jwt-1.5.1/include/jwt/algorithm.hpp: In function ‘void jwt::ec_key_deletor(EC_KEY*)’: /builddir/build/BUILD/cpp-jwt-1.5.1-build/cpp-jwt-1.5.1/include/jwt/algorithm.hpp:288:23: warning: ‘void EC_KEY_free(EC_KEY*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 288 | if (ptr) EC_KEY_free(ptr); | ~~~~~~~~~~~^~~~~ In file included from /usr/include/openssl/x509.h:35, from /usr/include/openssl/pem.h:23, from /builddir/build/BUILD/cpp-jwt-1.5.1-build/cpp-jwt-1.5.1/include/jwt/algorithm.hpp:39: /usr/include/openssl/ec.h:1022:28: note: declared here 1022 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key); | ^~~~~~~~~~~ In file included from /builddir/build/BUILD/cpp-jwt-1.5.1-build/cpp-jwt-1.5.1/include/jwt/algorithm.hpp:554: /builddir/build/BUILD/cpp-jwt-1.5.1-build/cpp-jwt-1.5.1/include/jwt/impl/algorithm.ipp: In static member function ‘static jwt::verify_result_t jwt::PEMSign::verify(jwt::string_view, jwt::string_view, jwt::string_view)’: /builddir/build/BUILD/cpp-jwt-1.5.1-build/cpp-jwt-1.5.1/include/jwt/impl/algorithm.ipp:138:44: warning: ‘ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 138 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey.get()), ec_key_deletor}; | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ In file included from /usr/include/openssl/pem.h:22: /usr/include/openssl/evp.h:1331:19: note: declared here 1331 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/cpp-jwt-1.5.1-build/cpp-jwt-1.5.1/include/jwt/impl/algorithm.ipp:144:26: warning: ‘const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 144 | EC_KEY_get0_group(ec_key.get())); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1047:39: note: declared here 1047 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/cpp-jwt-1.5.1-build/cpp-jwt-1.5.1/include/jwt/impl/algorithm.ipp: In static member function ‘static std::string jwt::PEMSign::public_key_ser(EVP_PKEY*, jwt::string_view, std::error_code&)’: /builddir/build/BUILD/cpp-jwt-1.5.1-build/cpp-jwt-1.5.1/include/jwt/impl/algorithm.ipp:289:42: warning: ‘ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 289 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey), ec_key_deletor}; | ~~~~~~~~~~~~~~~~~~~~^~~~~~ /usr/include/openssl/evp.h:1331:19: note: declared here 1331 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/cpp-jwt-1.5.1-build/cpp-jwt-1.5.1/include/jwt/impl/algorithm.ipp:296:58: warning: ‘const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 296 | uint32_t degree = EC_GROUP_get_degree(EC_KEY_get0_group(ec_key.get())); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1047:39: note: declared here 1047 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ [17/20] : && /usr/bin/g++ -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wextra -DCERT_ROOT_DIR="\"/builddir/build/BUILD/cpp-jwt-1.5.1-build/cpp-jwt-1.5.1/tests/certs\"" -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -Wl,--dependency-file=tests/CMakeFiles/test_jwt_decode_verifiy.dir/link.d tests/CMakeFiles/test_jwt_decode_verifiy.dir/test_jwt_decode_verifiy.cc.o -o tests/test_jwt_decode_verifiy /usr/lib64/libgtest_main.so.1.17.0 /usr/lib64/libgtest.so.1.17.0 /usr/lib64/libssl.so /usr/lib64/libcrypto.so && : [18/20] : && /usr/bin/g++ -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wextra -DCERT_ROOT_DIR="\"/builddir/build/BUILD/cpp-jwt-1.5.1-build/cpp-jwt-1.5.1/tests/certs\"" -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -Wl,--dependency-file=tests/CMakeFiles/test_jwt_decode_verifiy_with_exception.dir/link.d tests/CMakeFiles/test_jwt_decode_verifiy_with_exception.dir/test_jwt_decode_verifiy_with_exception.cc.o -o tests/test_jwt_decode_verifiy_with_exception /usr/lib64/libgtest_main.so.1.17.0 /usr/lib64/libgtest.so.1.17.0 /usr/lib64/libssl.so /usr/lib64/libcrypto.so && : [19/20] /usr/bin/g++ -DCPP_JWT_USE_VENDORED_NLOHMANN_JSON -I/builddir/build/BUILD/cpp-jwt-1.5.1-build/cpp-jwt-1.5.1/include -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wextra -DCERT_ROOT_DIR="\"/builddir/build/BUILD/cpp-jwt-1.5.1-build/cpp-jwt-1.5.1/examples/rsa_256\"" -std=gnu++14 -MD -MT examples/CMakeFiles/simple_ex3_rsa.dir/simple_ex3_rsa.cc.o -MF examples/CMakeFiles/simple_ex3_rsa.dir/simple_ex3_rsa.cc.o.d -o examples/CMakeFiles/simple_ex3_rsa.dir/simple_ex3_rsa.cc.o -c /builddir/build/BUILD/cpp-jwt-1.5.1-build/cpp-jwt-1.5.1/examples/simple_ex3_rsa.cc In file included from /builddir/build/BUILD/cpp-jwt-1.5.1-build/cpp-jwt-1.5.1/include/jwt/jwt.hpp:37, from /builddir/build/BUILD/cpp-jwt-1.5.1-build/cpp-jwt-1.5.1/examples/simple_ex3_rsa.cc:6: /builddir/build/BUILD/cpp-jwt-1.5.1-build/cpp-jwt-1.5.1/include/jwt/algorithm.hpp: In function ‘void jwt::ec_key_deletor(EC_KEY*)’: /builddir/build/BUILD/cpp-jwt-1.5.1-build/cpp-jwt-1.5.1/include/jwt/algorithm.hpp:288:23: warning: ‘void EC_KEY_free(EC_KEY*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 288 | if (ptr) EC_KEY_free(ptr); | ~~~~~~~~~~~^~~~~ In file included from /usr/include/openssl/x509.h:35, from /usr/include/openssl/pem.h:23, from /builddir/build/BUILD/cpp-jwt-1.5.1-build/cpp-jwt-1.5.1/include/jwt/algorithm.hpp:39: /usr/include/openssl/ec.h:1022:28: note: declared here 1022 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key); | ^~~~~~~~~~~ In file included from /builddir/build/BUILD/cpp-jwt-1.5.1-build/cpp-jwt-1.5.1/include/jwt/algorithm.hpp:554: /builddir/build/BUILD/cpp-jwt-1.5.1-build/cpp-jwt-1.5.1/include/jwt/impl/algorithm.ipp: In static member function ‘static jwt::verify_result_t jwt::PEMSign::verify(jwt::string_view, jwt::string_view, jwt::string_view)’: /builddir/build/BUILD/cpp-jwt-1.5.1-build/cpp-jwt-1.5.1/include/jwt/impl/algorithm.ipp:138:44: warning: ‘ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 138 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey.get()), ec_key_deletor}; | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ In file included from /usr/include/openssl/pem.h:22: /usr/include/openssl/evp.h:1331:19: note: declared here 1331 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/cpp-jwt-1.5.1-build/cpp-jwt-1.5.1/include/jwt/impl/algorithm.ipp:144:26: warning: ‘const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 144 | EC_KEY_get0_group(ec_key.get())); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1047:39: note: declared here 1047 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/cpp-jwt-1.5.1-build/cpp-jwt-1.5.1/include/jwt/impl/algorithm.ipp: In static member function ‘static std::string jwt::PEMSign::public_key_ser(EVP_PKEY*, jwt::string_view, std::error_code&)’: /builddir/build/BUILD/cpp-jwt-1.5.1-build/cpp-jwt-1.5.1/include/jwt/impl/algorithm.ipp:289:42: warning: ‘ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 289 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey), ec_key_deletor}; | ~~~~~~~~~~~~~~~~~~~~^~~~~~ /usr/include/openssl/evp.h:1331:19: note: declared here 1331 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/cpp-jwt-1.5.1-build/cpp-jwt-1.5.1/include/jwt/impl/algorithm.ipp:296:58: warning: ‘const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 296 | uint32_t degree = EC_GROUP_get_degree(EC_KEY_get0_group(ec_key.get())); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1047:39: note: declared here 1047 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ [20/20] : && /usr/bin/g++ -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wextra -DCERT_ROOT_DIR="\"/builddir/build/BUILD/cpp-jwt-1.5.1-build/cpp-jwt-1.5.1/examples/rsa_256\"" -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -Wl,--dependency-file=examples/CMakeFiles/simple_ex3_rsa.dir/link.d examples/CMakeFiles/simple_ex3_rsa.dir/simple_ex3_rsa.cc.o -o examples/simple_ex3_rsa /usr/lib64/libssl.so /usr/lib64/libcrypto.so && : + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.NlIyNY + umask 022 + cd /builddir/build/BUILD/cpp-jwt-1.5.1-build + '[' /builddir/build/BUILD/cpp-jwt-1.5.1-build/BUILDROOT '!=' / ']' + rm -rf /builddir/build/BUILD/cpp-jwt-1.5.1-build/BUILDROOT ++ dirname /builddir/build/BUILD/cpp-jwt-1.5.1-build/BUILDROOT + mkdir -p /builddir/build/BUILD/cpp-jwt-1.5.1-build + mkdir /builddir/build/BUILD/cpp-jwt-1.5.1-build/BUILDROOT + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd cpp-jwt-1.5.1 + DESTDIR=/builddir/build/BUILD/cpp-jwt-1.5.1-build/BUILDROOT + /usr/bin/cmake --install redhat-linux-build -- Install configuration: "" -- Installing: /builddir/build/BUILD/cpp-jwt-1.5.1-build/BUILDROOT/usr/share/cmake/cpp-jwt/cpp-jwtTargets.cmake -- Installing: /builddir/build/BUILD/cpp-jwt-1.5.1-build/BUILDROOT/usr/share/cmake/cpp-jwt/cpp-jwtConfig.cmake -- Installing: /builddir/build/BUILD/cpp-jwt-1.5.1-build/BUILDROOT/usr/share/cmake/cpp-jwt/cpp-jwtConfigVersion.cmake -- Installing: /builddir/build/BUILD/cpp-jwt-1.5.1-build/BUILDROOT/usr/include/jwt -- Installing: /builddir/build/BUILD/cpp-jwt-1.5.1-build/BUILDROOT/usr/include/jwt/algorithm.hpp -- Installing: /builddir/build/BUILD/cpp-jwt-1.5.1-build/BUILDROOT/usr/include/jwt/assertions.hpp -- Installing: /builddir/build/BUILD/cpp-jwt-1.5.1-build/BUILDROOT/usr/include/jwt/base64.hpp -- Installing: /builddir/build/BUILD/cpp-jwt-1.5.1-build/BUILDROOT/usr/include/jwt/config.hpp -- Installing: /builddir/build/BUILD/cpp-jwt-1.5.1-build/BUILDROOT/usr/include/jwt/detail -- Installing: /builddir/build/BUILD/cpp-jwt-1.5.1-build/BUILDROOT/usr/include/jwt/detail/meta.hpp -- Installing: /builddir/build/BUILD/cpp-jwt-1.5.1-build/BUILDROOT/usr/include/jwt/error_codes.hpp -- Installing: /builddir/build/BUILD/cpp-jwt-1.5.1-build/BUILDROOT/usr/include/jwt/exceptions.hpp -- Installing: /builddir/build/BUILD/cpp-jwt-1.5.1-build/BUILDROOT/usr/include/jwt/impl -- Installing: /builddir/build/BUILD/cpp-jwt-1.5.1-build/BUILDROOT/usr/include/jwt/impl/algorithm.ipp -- Installing: /builddir/build/BUILD/cpp-jwt-1.5.1-build/BUILDROOT/usr/include/jwt/impl/error_codes.ipp -- Installing: /builddir/build/BUILD/cpp-jwt-1.5.1-build/BUILDROOT/usr/include/jwt/impl/jwt.ipp -- Installing: /builddir/build/BUILD/cpp-jwt-1.5.1-build/BUILDROOT/usr/include/jwt/impl/stack_alloc.ipp -- Installing: /builddir/build/BUILD/cpp-jwt-1.5.1-build/BUILDROOT/usr/include/jwt/impl/string_view.ipp -- Installing: /builddir/build/BUILD/cpp-jwt-1.5.1-build/BUILDROOT/usr/include/jwt/json -- Installing: /builddir/build/BUILD/cpp-jwt-1.5.1-build/BUILDROOT/usr/include/jwt/json/json.hpp -- Installing: /builddir/build/BUILD/cpp-jwt-1.5.1-build/BUILDROOT/usr/include/jwt/jwt.hpp -- Installing: /builddir/build/BUILD/cpp-jwt-1.5.1-build/BUILDROOT/usr/include/jwt/parameters.hpp -- Installing: /builddir/build/BUILD/cpp-jwt-1.5.1-build/BUILDROOT/usr/include/jwt/short_string.hpp -- Installing: /builddir/build/BUILD/cpp-jwt-1.5.1-build/BUILDROOT/usr/include/jwt/stack_alloc.hpp -- Installing: /builddir/build/BUILD/cpp-jwt-1.5.1-build/BUILDROOT/usr/include/jwt/string_view.hpp + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + COMPRESS='gzip -9 -n' + COMPRESS_EXT=.gz + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip /usr/bin/strip + /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs + /usr/lib/rpm/brp-remove-la-files + /usr/lib/rpm/redhat/brp-python-rpm-in-distinfo + env /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j8 + /usr/lib/rpm/redhat/brp-python-hardlink + /usr/bin/add-det --brp -j8 /builddir/build/BUILD/cpp-jwt-1.5.1-build/BUILDROOT Scanned 10 directories and 21 files, processed 0 inodes, 0 modified (0 replaced + 0 rewritten), 0 unsupported format, 0 errors + /usr/bin/linkdupes --brp /builddir/build/BUILD/cpp-jwt-1.5.1-build/BUILDROOT/usr Scanned 9 directories and 21 files, considered 21 files, read 0 files, linked 0 files, 0 errors sum of sizes of linked files: 0 bytes Reading /builddir/build/BUILD/cpp-jwt-1.5.1-build/SPECPARTS/rpm-debuginfo.specpart Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.XNPsPS + umask 022 + cd /builddir/build/BUILD/cpp-jwt-1.5.1-build + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd cpp-jwt-1.5.1 + /usr/bin/ctest --test-dir redhat-linux-build --output-on-failure --force-new-ctest-process --timeout 6000 -j8 Test project /builddir/build/BUILD/cpp-jwt-1.5.1-build/cpp-jwt-1.5.1/redhat-linux-build Start 1: test_jwt_object Start 2: test_jwt_encode Start 3: test_jwt_decode Start 4: test_jwt_decode_verifiy Start 5: test_jwt_decode_verifiy_with_exception Start 6: test_jwt_rsa Start 7: test_jwt_es Start 8: simple_ex1 1/10 Test #1: test_jwt_object .......................... Passed 0.05 sec 2/10 Test #2: test_jwt_encode .......................... Passed 0.05 sec 3/10 Test #3: test_jwt_decode .......................... Passed 0.04 sec 4/10 Test #4: test_jwt_decode_verifiy .................. Passed 0.04 sec Start 9: simple_ex2 Start 10: simple_ex3_rsa 5/10 Test #8: simple_ex1 ............................... Passed 0.03 sec 6/10 Test #9: simple_ex2 ............................... Passed 0.02 sec 7/10 Test #5: test_jwt_decode_verifiy_with_exception ... Passed 0.06 sec 8/10 Test #10: simple_ex3_rsa ........................... Passed 0.02 sec 9/10 Test #7: test_jwt_es .............................. Passed 0.11 sec 10/10 Test #6: test_jwt_rsa ............................. Passed 0.68 sec 100% tests passed, 0 tests failed out of 10 Total Test time (real) = 0.71 sec + RPM_EC=0 ++ jobs -p + exit 0 Processing files: cpp-jwt-devel-1.5.1-5.fc45.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.VfwyN1 + umask 022 + cd /builddir/build/BUILD/cpp-jwt-1.5.1-build + cd cpp-jwt-1.5.1 + DOCDIR=/builddir/build/BUILD/cpp-jwt-1.5.1-build/BUILDROOT/usr/share/doc/cpp-jwt-devel + export LC_ALL=C.UTF-8 + LC_ALL=C.UTF-8 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILD/cpp-jwt-1.5.1-build/BUILDROOT/usr/share/doc/cpp-jwt-devel + cp -pr /builddir/build/BUILD/cpp-jwt-1.5.1-build/cpp-jwt-1.5.1/README.md /builddir/build/BUILD/cpp-jwt-1.5.1-build/BUILDROOT/usr/share/doc/cpp-jwt-devel + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.leXUqf + umask 022 + cd /builddir/build/BUILD/cpp-jwt-1.5.1-build + cd cpp-jwt-1.5.1 + LICENSEDIR=/builddir/build/BUILD/cpp-jwt-1.5.1-build/BUILDROOT/usr/share/licenses/cpp-jwt-devel + export LC_ALL=C.UTF-8 + LC_ALL=C.UTF-8 + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILD/cpp-jwt-1.5.1-build/BUILDROOT/usr/share/licenses/cpp-jwt-devel + cp -pr /builddir/build/BUILD/cpp-jwt-1.5.1-build/cpp-jwt-1.5.1/LICENSE /builddir/build/BUILD/cpp-jwt-1.5.1-build/BUILDROOT/usr/share/licenses/cpp-jwt-devel + RPM_EC=0 ++ jobs -p + exit 0 Provides: cmake(cpp-jwt) = 1.5.0 cpp-jwt-devel = 1.5.1-5.fc45 cpp-jwt-devel(riscv-64) = 1.5.1-5.fc45 cpp-jwt-static = 1.5.1-5.fc45 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cmake-filesystem Recommends: cmake Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILD/cpp-jwt-1.5.1-build/BUILDROOT Wrote: /builddir/build/RPMS/cpp-jwt-devel-1.5.1-5.fc45.riscv64.rpm Child return code was: 0