D: [iurt_root_command] chroot warning: Found bdb_ro Packages database while attempting sqlite backend: using bdb_ro backend. Installing /home/iurt/rpmbuild/SRPMS/mosh-1.3.2-11.mga9.src.rpm Building target platforms: aarch64 Building for target aarch64 Executing(%prep): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.Jmmps7 + umask 022 + cd /home/iurt/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/iurt/rpmbuild/BUILD + rm -rf mosh-1.3.2 + /usr/bin/gzip -dc /home/iurt/rpmbuild/SOURCES/mosh-1.3.2.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd mosh-1.3.2 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/cat /home/iurt/rpmbuild/SOURCES/0001-Fix-Debian-GCC7-FTBFS-remove-default-constructors.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/bin/cat /home/iurt/rpmbuild/SOURCES/0001-Fix-gcc8-snprintf-truncation-warning.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.J1lwie + umask 022 + cd /home/iurt/rpmbuild/BUILD + cd mosh-1.3.2 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-all --param ssp-buffer-size=1 -fasynchronous-unwind-tables' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-all --param ssp-buffer-size=1 -fasynchronous-unwind-tables' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-all --param ssp-buffer-size=1 -fasynchronous-unwind-tables ' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-all --param ssp-buffer-size=1 -fasynchronous-unwind-tables ' + export FCFLAGS + LDFLAGS=' -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CONFIGURE_TOP=. + '[' 1 = 1 ']' ++ find . -name config.guess -o -name config.sub + /usr/lib/rpm/mageia/force-as-needed-for-shared-lib-in-libtool Forcing -Wl,--as-needed in configure/libtool to workaround libtool bug (cf http://lists.gnu.org/archive/html/libtool-patches/2004-06/msg00002.html) + /usr/lib/rpm/mageia/drop-ld-no-undefined-for-shared-lib-modules-in-libtool + /usr/lib/rpm/mageia/fix-libtool-ltmain-from-overlinking + /usr/lib/rpm/mageia/fix-libtool-from-moving-options-after-libs . + /usr/lib/rpm/mageia/fix-dlsearch-path-in-libtool-for-multilib . lib64 + ./configure --host=aarch64-mageia-linux-gnu --build=aarch64-mageia-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --disable-silent-rules --enable-ufw --enable-completion --enable-compile-warnings=error checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking whether make supports nested variables... (cached) yes checking for aarch64-mageia-linux-gnu-cc... no checking for aarch64-mageia-linux-gnu-gcc... no checking for aarch64-mageia-linux-gnu-clang... no checking for cc... cc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether cc accepts -g... yes checking for cc option to accept ISO C89... none needed checking whether cc understands -c and -o together... yes checking for style of include used by make... GNU checking dependency style of cc... none checking for aarch64-mageia-linux-gnu-c++... no checking for aarch64-mageia-linux-gnu-g++... no checking for aarch64-mageia-linux-gnu-clang++... no checking for c++... c++ checking whether we are using the GNU C++ compiler... yes checking whether c++ accepts -g... yes checking dependency style of c++... none checking for aarch64-mageia-linux-gnu-ranlib... no checking for ranlib... ranlib checking for protoc... /usr/bin/protoc checking for aarch64-mageia-linux-gnu-ar... no checking for aarch64-mageia-linux-gnu-lib... no checking for aarch64-mageia-linux-gnu-link... no checking for ar... ar checking the archiver (ar) interface... ar checking whether C compiler accepts -fno-strict-overflow... yes checking whether C++ compiler accepts -fno-strict-overflow... yes checking whether C compiler accepts -D_FORTIFY_SOURCE=2... yes checking whether C++ compiler accepts -D_FORTIFY_SOURCE=2... yes checking whether the linker accepts -fstack-protector-all... yes checking whether C compiler accepts -Wstack-protector... yes checking whether C++ compiler accepts -Wstack-protector... yes checking whether C compiler accepts --param ssp-buffer-size=1... yes checking whether C++ compiler accepts --param ssp-buffer-size=1... yes checking whether C compiler accepts -fPIE... yes checking whether C++ compiler accepts -fPIE... yes checking whether the linker accepts -fPIE -pie... yes checking whether the linker accepts -Wl,-z,relro... yes checking whether the linker accepts -Wl,-z,now... yes checking whether C++ compiler accepts -fno-default-inline... yes checking whether C++ compiler accepts -pipe... yes checking for library containing utempter_remove_record... -lutempter checking for library containing compress... -lz checking for library containing socket... none required checking for library containing inet_addr... none required checking for library containing clock_gettime... none required checking how to run the C preprocessor... cc -E checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking langinfo.h usability... yes checking langinfo.h presence... yes checking for langinfo.h... yes checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking locale.h usability... yes checking locale.h presence... yes checking for locale.h... yes checking netdb.h usability... yes checking netdb.h presence... yes checking for netdb.h... yes checking netinet/in.h usability... yes checking netinet/in.h presence... yes checking for netinet/in.h... yes checking stddef.h usability... yes checking stddef.h presence... yes checking for stddef.h... yes checking for stdint.h... (cached) yes checking for inttypes.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking sys/ioctl.h usability... yes checking sys/ioctl.h presence... yes checking for sys/ioctl.h... yes checking sys/resource.h usability... yes checking sys/resource.h presence... yes checking for sys/resource.h... yes checking sys/socket.h usability... yes checking sys/socket.h presence... yes checking for sys/socket.h... yes checking for sys/stat.h... (cached) yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking termios.h usability... yes checking termios.h presence... yes checking for termios.h... yes checking for unistd.h... (cached) yes checking wchar.h usability... yes checking wchar.h presence... yes checking for wchar.h... yes checking wctype.h usability... yes checking wctype.h presence... yes checking for wctype.h... yes checking pty.h usability... yes checking pty.h presence... yes checking for pty.h... yes checking util.h usability... no checking util.h presence... no checking for util.h... no checking libutil.h usability... no checking libutil.h presence... no checking for libutil.h... no checking paths.h usability... yes checking paths.h presence... yes checking for paths.h... yes checking endian.h usability... yes checking endian.h presence... yes checking for endian.h... yes checking sys/endian.h usability... no checking sys/endian.h presence... no checking for sys/endian.h... no checking utmpx.h usability... yes checking utmpx.h presence... yes checking for utmpx.h... yes checking termio.h usability... yes checking termio.h presence... yes checking for termio.h... yes checking sys/uio.h usability... yes checking sys/uio.h presence... yes checking for sys/uio.h... yes checking how to run the C++ preprocessor... c++ -E checking memory usability... yes checking memory presence... yes checking for memory... yes checking tr1/memory usability... yes checking tr1/memory presence... yes checking for tr1/memory... yes checking for stdbool.h that conforms to C99... yes checking for _Bool... yes checking for inline... inline checking for int64_t... yes checking for pid_t... yes checking for C/C++ restrict keyword... __restrict checking for size_t... yes checking for ssize_t... yes checking for uint16_t... yes checking for uint32_t... yes checking for uint64_t... yes checking for uint8_t... yes checking for uintptr_t... yes checking vfork.h usability... no checking vfork.h presence... no checking for vfork.h... no checking for fork... yes checking for vfork... yes checking for working fork... yes checking for working vfork... (cached) yes checking whether mbrtowc and mbstate_t are properly declared... yes checking for gettimeofday... yes checking for setrlimit... yes checking for iswprint... yes checking for memchr... yes checking for memset... yes checking for nl_langinfo... yes checking for posix_memalign... yes checking for setenv... yes checking for setlocale... yes checking for sigaction... yes checking for socket... yes checking for strchr... yes checking for strdup... yes checking for strncasecmp... yes checking for strtok... yes checking for strerror... yes checking for strtol... yes checking for wcwidth... yes checking for cfmakeraw... yes checking for pselect... yes checking for getaddrinfo... yes checking for getnameinfo... yes checking for pledge... no checking for aarch64-mageia-linux-gnu-pkg-config... /usr/bin/aarch64-mageia-linux-gnu-pkg-config checking pkg-config is at least version 0.9.0... yes checking for TINFO... yes checking CommonCrypto/CommonCrypto.h usability... no checking CommonCrypto/CommonCrypto.h presence... no checking for CommonCrypto/CommonCrypto.h... no checking for CRYPTO... yes checking whether forkpty is declared... no checking for library containing forkpty... none required checking whether pipe2(..., O_CLOEXEC) is supported... yes checking whether FD_ISSET() argument is const... yes checking whether std::shared_ptr is available... yes checking whether std::tr1::shared_ptr is available... yes checking whether clock_gettime() is supported... yes checking whether mach_absolute_time is declared... no checking whether __builtin_ctz is declared... yes checking whether ffs is declared... yes checking whether be64toh is declared... yes checking whether betoh64 is declared... no checking whether bswap64 is declared... no checking whether __builtin_bswap64 is declared... yes checking whether IP_MTU_DISCOVER is declared... yes checking whether IP_RECVTOS is declared... yes checking whether __STDC_ISO_10646__ is declared... yes checking whether IUTF8 is declared... yes checking for protobuf... yes checking for BASH_COMPLETION... no checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating src/crypto/Makefile config.status: creating src/frontend/Makefile config.status: creating src/network/Makefile config.status: creating src/protobufs/Makefile config.status: creating src/statesync/Makefile config.status: creating src/terminal/Makefile config.status: creating src/util/Makefile config.status: creating scripts/Makefile config.status: creating src/examples/Makefile config.status: creating src/tests/Makefile config.status: creating man/Makefile config.status: creating conf/Makefile config.status: creating config.h config.status: executing depfiles commands configure: === Configuration results === configure: Version: 1.3.2 configure: c++ compiler: c++ configure: Warning CXXFLAGS: -Wall -Werror configure: Picky CXXFLAGS: -Wextra -pedantic -Wno-long-long -Weffc++ -Wmissing-declarations configure: Harden CFLAGS: -fno-strict-overflow -D_FORTIFY_SOURCE=2 -fstack-protector-all -Wstack-protector --param ssp-buffer-size=1 -fPIE configure: ============================= + /usr/bin/make -O -j8 V=1 VERBOSE=1 /usr/bin/make all-recursive Making all in scripts Making all in src Making all in protobufs make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/mosh-1.3.2/src/protobufs' /usr/bin/protoc --cpp_out=. -I. transportinstruction.proto make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/mosh-1.3.2/src/protobufs' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/mosh-1.3.2/src/protobufs' /usr/bin/protoc --cpp_out=. -I. userinput.proto make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/mosh-1.3.2/src/protobufs' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/mosh-1.3.2/src/protobufs' /usr/bin/protoc --cpp_out=. -I. hostinput.proto make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/mosh-1.3.2/src/protobufs' /usr/bin/make all-am make[4]: Entering directory '/home/iurt/rpmbuild/BUILD/mosh-1.3.2/src/protobufs' c++ -DHAVE_CONFIG_H -I. -I../.. -Wall -Werror -fno-strict-overflow -D_FORTIFY_SOURCE=2 -fstack-protector-all -Wstack-protector --param ssp-buffer-size=1 -fPIE -fno-default-inline -pipe -Wno-error -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-all --param ssp-buffer-size=1 -fasynchronous-unwind-tables -c -o transportinstruction.pb.o transportinstruction.pb.cc make[4]: Leaving directory '/home/iurt/rpmbuild/BUILD/mosh-1.3.2/src/protobufs' make[4]: Entering directory '/home/iurt/rpmbuild/BUILD/mosh-1.3.2/src/protobufs' c++ -DHAVE_CONFIG_H -I. -I../.. -Wall -Werror -fno-strict-overflow -D_FORTIFY_SOURCE=2 -fstack-protector-all -Wstack-protector --param ssp-buffer-size=1 -fPIE -fno-default-inline -pipe -Wno-error -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-all --param ssp-buffer-size=1 -fasynchronous-unwind-tables -c -o userinput.pb.o userinput.pb.cc make[4]: Leaving directory '/home/iurt/rpmbuild/BUILD/mosh-1.3.2/src/protobufs' make[4]: Entering directory '/home/iurt/rpmbuild/BUILD/mosh-1.3.2/src/protobufs' c++ -DHAVE_CONFIG_H -I. -I../.. -Wall -Werror -fno-strict-overflow -D_FORTIFY_SOURCE=2 -fstack-protector-all -Wstack-protector --param ssp-buffer-size=1 -fPIE -fno-default-inline -pipe -Wno-error -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-all --param ssp-buffer-size=1 -fasynchronous-unwind-tables -c -o hostinput.pb.o hostinput.pb.cc make[4]: Leaving directory '/home/iurt/rpmbuild/BUILD/mosh-1.3.2/src/protobufs' make[4]: Entering directory '/home/iurt/rpmbuild/BUILD/mosh-1.3.2/src/protobufs' rm -f libmoshprotos.a ar cru libmoshprotos.a userinput.pb.o hostinput.pb.o transportinstruction.pb.o ranlib libmoshprotos.a make[4]: Leaving directory '/home/iurt/rpmbuild/BUILD/mosh-1.3.2/src/protobufs' Making all in util make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/mosh-1.3.2/src/util' c++ -DHAVE_CONFIG_H -I. -I../.. -Wall -Werror -Wextra -pedantic -Wno-long-long -Weffc++ -Wmissing-declarations -fno-strict-overflow -D_FORTIFY_SOURCE=2 -fstack-protector-all -Wstack-protector --param ssp-buffer-size=1 -fPIE -fno-default-inline -pipe -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-all --param ssp-buffer-size=1 -fasynchronous-unwind-tables -c -o pty_compat.o pty_compat.cc make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/mosh-1.3.2/src/util' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/mosh-1.3.2/src/util' c++ -DHAVE_CONFIG_H -I. -I../.. -Wall -Werror -Wextra -pedantic -Wno-long-long -Weffc++ -Wmissing-declarations -fno-strict-overflow -D_FORTIFY_SOURCE=2 -fstack-protector-all -Wstack-protector --param ssp-buffer-size=1 -fPIE -fno-default-inline -pipe -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-all --param ssp-buffer-size=1 -fasynchronous-unwind-tables -c -o timestamp.o timestamp.cc make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/mosh-1.3.2/src/util' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/mosh-1.3.2/src/util' c++ -DHAVE_CONFIG_H -I. -I../.. -Wall -Werror -Wextra -pedantic -Wno-long-long -Weffc++ -Wmissing-declarations -fno-strict-overflow -D_FORTIFY_SOURCE=2 -fstack-protector-all -Wstack-protector --param ssp-buffer-size=1 -fPIE -fno-default-inline -pipe -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-all --param ssp-buffer-size=1 -fasynchronous-unwind-tables -c -o swrite.o swrite.cc make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/mosh-1.3.2/src/util' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/mosh-1.3.2/src/util' c++ -DHAVE_CONFIG_H -I. -I../.. -Wall -Werror -Wextra -pedantic -Wno-long-long -Weffc++ -Wmissing-declarations -fno-strict-overflow -D_FORTIFY_SOURCE=2 -fstack-protector-all -Wstack-protector --param ssp-buffer-size=1 -fPIE -fno-default-inline -pipe -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-all --param ssp-buffer-size=1 -fasynchronous-unwind-tables -c -o select.o select.cc make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/mosh-1.3.2/src/util' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/mosh-1.3.2/src/util' c++ -DHAVE_CONFIG_H -I. -I../.. -Wall -Werror -Wextra -pedantic -Wno-long-long -Weffc++ -Wmissing-declarations -fno-strict-overflow -D_FORTIFY_SOURCE=2 -fstack-protector-all -Wstack-protector --param ssp-buffer-size=1 -fPIE -fno-default-inline -pipe -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-all --param ssp-buffer-size=1 -fasynchronous-unwind-tables -c -o locale_utils.o locale_utils.cc make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/mosh-1.3.2/src/util' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/mosh-1.3.2/src/util' rm -f libmoshutil.a ar cru libmoshutil.a locale_utils.o swrite.o select.o timestamp.o pty_compat.o ranlib libmoshutil.a make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/mosh-1.3.2/src/util' Making all in crypto make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/mosh-1.3.2/src/crypto' c++ -DHAVE_CONFIG_H -I. -I../.. -I./../util -Wall -Werror -Wextra -pedantic -Wno-long-long -Weffc++ -Wmissing-declarations -fno-strict-overflow -D_FORTIFY_SOURCE=2 -fstack-protector-all -Wstack-protector --param ssp-buffer-size=1 -fPIE -fno-default-inline -pipe -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-all --param ssp-buffer-size=1 -fasynchronous-unwind-tables -c -o base64.o base64.cc make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/mosh-1.3.2/src/crypto' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/mosh-1.3.2/src/crypto' c++ -DHAVE_CONFIG_H -I. -I../.. -I./../util -Wall -Werror -Wextra -pedantic -Wno-long-long -Weffc++ -Wmissing-declarations -fno-strict-overflow -D_FORTIFY_SOURCE=2 -fstack-protector-all -Wstack-protector --param ssp-buffer-size=1 -fPIE -fno-default-inline -pipe -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-all --param ssp-buffer-size=1 -fasynchronous-unwind-tables -c -o ocb.o ocb.cc ocb.cc: In function 'void AES_ecb_encrypt_blks(block*, unsigned int, AES_KEY*)': ocb.cc:360:28: error: 'void AES_encrypt(const unsigned char*, unsigned char*, const AES_KEY*)' is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations] 360 | AES_encrypt((unsigned char *)(blks+nblks), (unsigned char *)(blks+nblks), key); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ocb.cc:354: /usr/include/openssl/aes.h:57:6: note: declared here 57 | void AES_encrypt(const unsigned char *in, unsigned char *out, | ^~~~~~~~~~~ ocb.cc: In function 'void AES_ecb_decrypt_blks(block*, unsigned int, AES_KEY*)': ocb.cc:367:28: error: 'void AES_decrypt(const unsigned char*, unsigned char*, const AES_KEY*)' is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations] 367 | AES_decrypt((unsigned char *)(blks+nblks), (unsigned char *)(blks+nblks), key); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ocb.cc:354: /usr/include/openssl/aes.h:60:6: note: declared here 60 | void AES_decrypt(const unsigned char *in, unsigned char *out, | ^~~~~~~~~~~ ocb.cc: In function 'int ae_init(ae_ctx*, const void*, int, int, int)': ocb.cc:804:24: error: 'int AES_set_encrypt_key(const unsigned char*, int, AES_KEY*)' is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations] 804 | AES_set_encrypt_key((unsigned char *)key, key_len*8, &ctx->encrypt_key); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ocb.cc:354: /usr/include/openssl/aes.h:51:5: note: declared here 51 | int AES_set_encrypt_key(const unsigned char *userKey, const int bits, | ^~~~~~~~~~~~~~~~~~~ ocb.cc:808:24: error: 'int AES_set_decrypt_key(const unsigned char*, int, AES_KEY*)' is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations] 808 | AES_set_decrypt_key((unsigned char *)key, (int)(key_len*8), &ctx->decrypt_key); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ocb.cc:354: /usr/include/openssl/aes.h:54:5: note: declared here 54 | int AES_set_decrypt_key(const unsigned char *userKey, const int bits, | ^~~~~~~~~~~~~~~~~~~ ocb.cc:816:16: error: 'void AES_encrypt(const unsigned char*, unsigned char*, const AES_KEY*)' is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations] 816 | AES_encrypt((unsigned char *)&ctx->cached_Top, | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 817 | (unsigned char *)&ctx->Lstar, &ctx->encrypt_key); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ocb.cc:354: /usr/include/openssl/aes.h:57:6: note: declared here 57 | void AES_encrypt(const unsigned char *in, unsigned char *out, | ^~~~~~~~~~~ ocb.cc: In function 'block gen_offset_from_nonce(ae_ctx*, const void*)': ocb.cc:854:28: error: 'void AES_encrypt(const unsigned char*, unsigned char*, const AES_KEY*)' is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations] 854 | AES_encrypt(tmp.u8, (unsigned char *)&ctx->KtopStr, &ctx->encrypt_key); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ocb.cc:354: /usr/include/openssl/aes.h:57:6: note: declared here 57 | void AES_encrypt(const unsigned char *in, unsigned char *out, | ^~~~~~~~~~~ ocb.cc: In function 'int ae_decrypt(ae_ctx*, const void*, const void*, int, const void*, int, void*, const void*, int)': ocb.cc:1338:44: error: 'void AES_encrypt(const unsigned char*, unsigned char*, const AES_KEY*)' is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations] 1338 | AES_encrypt((unsigned char *)&offset, tmp.u8, &ctx->encrypt_key); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ocb.cc:354: /usr/include/openssl/aes.h:57:6: note: declared here 57 | void AES_encrypt(const unsigned char *in, unsigned char *out, | ^~~~~~~~~~~ ocb.cc:1376:28: error: 'void AES_encrypt(const unsigned char*, unsigned char*, const AES_KEY*)' is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations] 1376 | AES_encrypt(tmp.u8, tmp.u8, &ctx->encrypt_key); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ocb.cc:354: /usr/include/openssl/aes.h:57:6: note: declared here 57 | void AES_encrypt(const unsigned char *in, unsigned char *out, | ^~~~~~~~~~~ cc1plus: all warnings being treated as errors make[3]: *** [Makefile:376: ocb.o] Error 1 make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/mosh-1.3.2/src/crypto' make[3]: *** Waiting for unfinished jobs.... make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/mosh-1.3.2/src/crypto' c++ -DHAVE_CONFIG_H -I. -I../.. -I./../util -Wall -Werror -Wextra -pedantic -Wno-long-long -Weffc++ -Wmissing-declarations -fno-strict-overflow -D_FORTIFY_SOURCE=2 -fstack-protector-all -Wstack-protector --param ssp-buffer-size=1 -fPIE -fno-default-inline -pipe -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-all --param ssp-buffer-size=1 -fasynchronous-unwind-tables -c -o crypto.o crypto.cc make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/mosh-1.3.2/src/crypto' make[2]: *** [Makefile:344: all-recursive] Error 1 make[1]: *** [Makefile:392: all-recursive] Error 1 make: *** [Makefile:333: all] Error 2 error: Bad exit status from /home/iurt/rpmbuild/tmp/rpm-tmp.J1lwie (%build) RPM build errors: Found bdb_ro Packages database while attempting sqlite backend: using bdb_ro backend. Bad exit status from /home/iurt/rpmbuild/tmp/rpm-tmp.J1lwie (%build) I: [iurt_root_command] ERROR: chroot