Mock Version: 2.15 Mock Version: 2.15 Mock Version: 2.15 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/tinc.spec'], chrootPath='/var/lib/mock/f38-build-715764-95536/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=604800uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/tinc.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'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1674259200 Wrote: /builddir/build/SRPMS/tinc-1.0.36-9.fc38.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/tinc.spec'], chrootPath='/var/lib/mock/f38-build-715764-95536/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=604800uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/tinc.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'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1674259200 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.ADTK13 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf tinc-1.0.36 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/tinc-1.0.36.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd tinc-1.0.36 + /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.KKeQkj + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -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 tinc-1.0.36 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -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 + '[' '-flto=auto -ffat-lto-objectsx' '!=' x ']' ++ find . -type f -name configure -print + for file in $(find . -type f -name configure -print) + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\) = /__attribute__ ((used)) char (*f) () = /g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\);/__attribute__ ((used)) char (*f) ();/g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \$2 \(\);/__attribute__ ((used)) char \$2 ();/g' ./configure + diff -u ./configure.backup ./configure --- ./configure.backup 2019-08-26 06:57:45.000000000 -0400 +++ ./configure 2023-05-22 05:57:05.574717430 -0400 @@ -1894,7 +1894,7 @@ #ifdef __cplusplus extern "C" #endif -char $2 (); +__attribute__ ((used)) char $2 (); /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ + /usr/bin/sed --in-place=.backup '1{$!N;$!N};$!N;s/int x = 1;\nint y = 0;\nint z;\nint nan;/volatile int x = 1; volatile int y = 0; volatile int z, nan;/;P;D' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed --in-place=.backup 's#^lt_cv_sys_global_symbol_to_cdecl=.*#lt_cv_sys_global_symbol_to_cdecl="sed -n -e '\''s/^T .* \\(.*\\)$/extern int \\1();/p'\'' -e '\''s/^$symcode* .* \\(.*\\)$/extern char \\1;/p'\''"#' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./config.sub ++ basename ./config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./config.sub '/usr/lib/rpm/redhat/config.sub' -> './config.sub' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./config.guess ++ basename ./config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./config.guess '/usr/lib/rpm/redhat/config.guess' -> './config.guess' + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' ++ find . -name ltmain.sh ++ grep -q runstatedir=DIR ./configure ++ echo --runstatedir=/run + ./configure --build=riscv64-redhat-linux-gnu --host=riscv64-redhat-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 --runstatedir=/run --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --with-systemd=/usr/lib/systemd/system 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 whether make supports the include directive... yes (GNU style) checking for riscv64-redhat-linux-gnu-gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking whether gcc understands -c and -o together... yes checking dependency style of gcc... none checking how to run the C preprocessor... gcc -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 minix/config.h usability... no checking minix/config.h presence... no checking for minix/config.h... no checking whether it is safe to define __EXTENSIONS__... yes checking for gcc option to accept ISO C99... none needed checking how to run the C preprocessor... gcc -E checking build system type... riscv64-redhat-linux-gnu checking host system type... riscv64-redhat-linux-gnu checking CFLAGS for maximum warnings... -Wall checking whether C compiler accepts -DFORTIFY_SOURCE=2... yes checking whether C compiler accepts -fwrapv... yes checking whether C compiler accepts -fPIE... yes checking whether the linker accepts -pie... yes checking whether the linker accepts -Wl,-z,relro... yes checking whether the linker accepts -Wl,-z,now... yes checking syslog.h usability... yes checking syslog.h presence... yes checking for syslog.h... yes checking sys/file.h usability... yes checking sys/file.h presence... yes checking for sys/file.h... yes checking sys/ioctl.h usability... yes checking sys/ioctl.h presence... yes checking for sys/ioctl.h... yes checking sys/mman.h usability... yes checking sys/mman.h presence... yes checking for sys/mman.h... yes checking sys/param.h usability... yes checking sys/param.h presence... yes checking for sys/param.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 sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking sys/uio.h usability... yes checking sys/uio.h presence... yes checking for sys/uio.h... yes checking sys/wait.h usability... yes checking sys/wait.h presence... yes checking for sys/wait.h... yes checking netdb.h usability... yes checking netdb.h presence... yes checking for netdb.h... yes checking arpa/inet.h usability... yes checking arpa/inet.h presence... yes checking for arpa/inet.h... yes checking arpa/nameser.h usability... yes checking arpa/nameser.h presence... yes checking for arpa/nameser.h... yes checking dirent.h usability... yes checking dirent.h presence... yes checking for dirent.h... yes checking getopt.h usability... yes checking getopt.h presence... yes checking for getopt.h... yes checking for net/if.h... yes checking for net/if_types.h... no checking for linux/if_tun.h... yes checking for net/if_tun.h... no checking for net/if_utun.h... no checking for net/tun/if_tun.h... no checking for net/if_tap.h... no checking for net/tap/if_tap.h... no checking for net/ethernet.h... yes checking for net/if_arp.h... yes checking for netinet/in_systm.h... yes checking for netinet/in.h... yes checking for netinet/in6.h... no checking for netpacket/packet.h... yes checking for netinet/if_ether.h... yes checking for netinet/ip.h... yes checking for netinet/ip6.h... yes checking for resolv.h... yes checking for netinet/tcp.h... yes checking for netinet/ip_icmp.h... yes checking for netinet/icmp6.h... yes checking for pid_t... yes checking for working __malloc__ attribute... yes checking for socklen_t... yes checking for struct ether_header... yes checking for struct arphdr... yes checking for struct ether_arp... yes checking for struct in_addr... yes checking for struct addrinfo... yes checking for struct ip... yes checking for struct icmp... yes checking for struct in6_addr... yes checking for struct sockaddr_in6... yes checking for struct ip6_hdr... yes checking for struct icmp6_hdr... yes checking for struct nd_neighbor_solicit... yes checking for struct nd_opt_hdr... yes checking return type of signal handlers... void checking for asprintf... yes checking for daemon... yes checking for fchmod... yes checking for flock... yes checking for fork... yes checking for gettimeofday... yes checking for mlockall... yes checking for pselect... yes checking for putenv... yes checking for strsignal... yes checking for system... yes checking for unsetenv... yes checking for usleep... yes checking for vsyslog... yes checking for devname... no checking for fdevname... no checking for getopt_long... yes checking for socket... yes checking for gethostbyname... yes checking whether freeaddrinfo is declared... yes checking whether gai_strerror is declared... yes checking whether getaddrinfo is declared... yes checking whether getnameinfo is declared... yes checking whether res_init is declared... yes checking for res_init in -lresolv... no checking zlib.h usability... yes checking zlib.h presence... yes checking for zlib.h... yes checking for compress2 in -lz... yes checking for lzo1x_1_compress in -llzo2... yes checking lzo/lzo1x.h usability... yes checking lzo/lzo1x.h presence... yes checking for lzo/lzo1x.h... yes checking for dlopen... yes checking openssl/evp.h usability... yes checking openssl/evp.h presence... yes checking for openssl/evp.h... yes checking openssl/rsa.h usability... yes checking openssl/rsa.h presence... yes checking for openssl/rsa.h... yes checking openssl/rand.h usability... yes checking openssl/rand.h presence... yes checking for openssl/rand.h... yes checking openssl/err.h usability... yes checking openssl/err.h presence... yes checking for openssl/err.h... yes checking openssl/sha.h usability... yes checking openssl/sha.h presence... yes checking for openssl/sha.h... yes checking openssl/pem.h usability... yes checking openssl/pem.h presence... yes checking for openssl/pem.h... yes checking openssl/engine.h usability... yes checking openssl/engine.h presence... yes checking for openssl/engine.h... yes checking for EVP_EncryptInit_ex in -lcrypto... yes checking for RAND_bytes... yes checking for EVP_EncryptInit_ex... yes checking for EVP_CIPHER_CTX_new... yes checking whether OpenSSL_add_all_algorithms is declared... yes checking whether EVP_aes_256_cfb is declared... yes checking for BN_GENCB_new... yes checking for RSA_set0_key... yes 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 doc/Makefile config.status: creating systemd/Makefile config.status: creating config.h config.status: executing depfiles commands + /usr/bin/make -O -j4 V=1 VERBOSE=1 /usr/bin/make all-recursive Making all in src make[2]: Entering directory '/builddir/build/BUILD/tinc-1.0.36/src' gcc -DHAVE_CONFIG_H -DCONFDIR=\"/etc\" -DRUNSTATEDIR=\"/run\" -DLOCALSTATEDIR=\"/var\" -I /builddir/build/BUILD/tinc-1.0.36/ -DFORTIFY_SOURCE=2 -fwrapv -fPIE -O2 -flto=auto -ffat-lto-objects -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -c -o dropin.o dropin.c make[2]: Leaving directory '/builddir/build/BUILD/tinc-1.0.36/src' dropin.c: warning: -DFORTIFY_SOURCE found on command line, did you mean: -D_FORTIFY_SOURCE ? make[2]: Entering directory '/builddir/build/BUILD/tinc-1.0.36/src' gcc -DHAVE_CONFIG_H -DCONFDIR=\"/etc\" -DRUNSTATEDIR=\"/run\" -DLOCALSTATEDIR=\"/var\" -I /builddir/build/BUILD/tinc-1.0.36/ -DFORTIFY_SOURCE=2 -fwrapv -fPIE -O2 -flto=auto -ffat-lto-objects -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -c -o connection.o connection.c make[2]: Leaving directory '/builddir/build/BUILD/tinc-1.0.36/src' connection.c: warning: -DFORTIFY_SOURCE found on command line, did you mean: -D_FORTIFY_SOURCE ? connection.c: In function 'free_connection_partially': connection.c:111:17: warning: 'RSA_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 111 | RSA_free(c->rsa_key); | ^~~~~~~~ In file included from connection.h:24, from net.h:129, from subnet.h:24, from conf.h:34, from connection.c:25: /usr/include/openssl/rsa.h:298:28: note: declared here 298 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/tinc-1.0.36/src' gcc -DHAVE_CONFIG_H -DCONFDIR=\"/etc\" -DRUNSTATEDIR=\"/run\" -DLOCALSTATEDIR=\"/var\" -I /builddir/build/BUILD/tinc-1.0.36/ -DFORTIFY_SOURCE=2 -fwrapv -fPIE -O2 -flto=auto -ffat-lto-objects -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -c -o dummy_device.o dummy_device.c make[2]: Leaving directory '/builddir/build/BUILD/tinc-1.0.36/src' dummy_device.c: warning: -DFORTIFY_SOURCE found on command line, did you mean: -D_FORTIFY_SOURCE ? make[2]: Entering directory '/builddir/build/BUILD/tinc-1.0.36/src' gcc -DHAVE_CONFIG_H -DCONFDIR=\"/etc\" -DRUNSTATEDIR=\"/run\" -DLOCALSTATEDIR=\"/var\" -I /builddir/build/BUILD/tinc-1.0.36/ -DFORTIFY_SOURCE=2 -fwrapv -fPIE -O2 -flto=auto -ffat-lto-objects -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -c -o avl_tree.o avl_tree.c make[2]: Leaving directory '/builddir/build/BUILD/tinc-1.0.36/src' avl_tree.c: warning: -DFORTIFY_SOURCE found on command line, did you mean: -D_FORTIFY_SOURCE ? make[2]: Entering directory '/builddir/build/BUILD/tinc-1.0.36/src' gcc -DHAVE_CONFIG_H -DCONFDIR=\"/etc\" -DRUNSTATEDIR=\"/run\" -DLOCALSTATEDIR=\"/var\" -I /builddir/build/BUILD/tinc-1.0.36/ -DFORTIFY_SOURCE=2 -fwrapv -fPIE -O2 -flto=auto -ffat-lto-objects -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -c -o event.o event.c make[2]: Leaving directory '/builddir/build/BUILD/tinc-1.0.36/src' event.c: warning: -DFORTIFY_SOURCE found on command line, did you mean: -D_FORTIFY_SOURCE ? make[2]: Entering directory '/builddir/build/BUILD/tinc-1.0.36/src' gcc -DHAVE_CONFIG_H -DCONFDIR=\"/etc\" -DRUNSTATEDIR=\"/run\" -DLOCALSTATEDIR=\"/var\" -I /builddir/build/BUILD/tinc-1.0.36/ -DFORTIFY_SOURCE=2 -fwrapv -fPIE -O2 -flto=auto -ffat-lto-objects -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -c -o conf.o conf.c make[2]: Leaving directory '/builddir/build/BUILD/tinc-1.0.36/src' conf.c: warning: -DFORTIFY_SOURCE found on command line, did you mean: -D_FORTIFY_SOURCE ? conf.c: In function 'ask_and_open': conf.c:575:17: warning: ignoring return value of 'getcwd' declared with attribute 'warn_unused_result' [-Wunused-result] 575 | getcwd(directory, sizeof(directory)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/tinc-1.0.36/src' gcc -DHAVE_CONFIG_H -DCONFDIR=\"/etc\" -DRUNSTATEDIR=\"/run\" -DLOCALSTATEDIR=\"/var\" -I /builddir/build/BUILD/tinc-1.0.36/ -DFORTIFY_SOURCE=2 -fwrapv -fPIE -O2 -flto=auto -ffat-lto-objects -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -c -o fake-getaddrinfo.o fake-getaddrinfo.c make[2]: Leaving directory '/builddir/build/BUILD/tinc-1.0.36/src' fake-getaddrinfo.c: warning: -DFORTIFY_SOURCE found on command line, did you mean: -D_FORTIFY_SOURCE ? make[2]: Entering directory '/builddir/build/BUILD/tinc-1.0.36/src' gcc -DHAVE_CONFIG_H -DCONFDIR=\"/etc\" -DRUNSTATEDIR=\"/run\" -DLOCALSTATEDIR=\"/var\" -I /builddir/build/BUILD/tinc-1.0.36/ -DFORTIFY_SOURCE=2 -fwrapv -fPIE -O2 -flto=auto -ffat-lto-objects -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -c -o edge.o edge.c make[2]: Leaving directory '/builddir/build/BUILD/tinc-1.0.36/src' edge.c: warning: -DFORTIFY_SOURCE found on command line, did you mean: -D_FORTIFY_SOURCE ? make[2]: Entering directory '/builddir/build/BUILD/tinc-1.0.36/src' gcc -DHAVE_CONFIG_H -DCONFDIR=\"/etc\" -DRUNSTATEDIR=\"/run\" -DLOCALSTATEDIR=\"/var\" -I /builddir/build/BUILD/tinc-1.0.36/ -DFORTIFY_SOURCE=2 -fwrapv -fPIE -O2 -flto=auto -ffat-lto-objects -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -c -o fake-getnameinfo.o fake-getnameinfo.c make[2]: Leaving directory '/builddir/build/BUILD/tinc-1.0.36/src' fake-getnameinfo.c: warning: -DFORTIFY_SOURCE found on command line, did you mean: -D_FORTIFY_SOURCE ? make[2]: Entering directory '/builddir/build/BUILD/tinc-1.0.36/src' gcc -DHAVE_CONFIG_H -DCONFDIR=\"/etc\" -DRUNSTATEDIR=\"/run\" -DLOCALSTATEDIR=\"/var\" -I /builddir/build/BUILD/tinc-1.0.36/ -DFORTIFY_SOURCE=2 -fwrapv -fPIE -O2 -flto=auto -ffat-lto-objects -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -c -o list.o list.c make[2]: Leaving directory '/builddir/build/BUILD/tinc-1.0.36/src' list.c: warning: -DFORTIFY_SOURCE found on command line, did you mean: -D_FORTIFY_SOURCE ? make[2]: Entering directory '/builddir/build/BUILD/tinc-1.0.36/src' gcc -DHAVE_CONFIG_H -DCONFDIR=\"/etc\" -DRUNSTATEDIR=\"/run\" -DLOCALSTATEDIR=\"/var\" -I /builddir/build/BUILD/tinc-1.0.36/ -DFORTIFY_SOURCE=2 -fwrapv -fPIE -O2 -flto=auto -ffat-lto-objects -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -c -o logger.o logger.c make[2]: Leaving directory '/builddir/build/BUILD/tinc-1.0.36/src' logger.c: warning: -DFORTIFY_SOURCE found on command line, did you mean: -D_FORTIFY_SOURCE ? make[2]: Entering directory '/builddir/build/BUILD/tinc-1.0.36/src' gcc -DHAVE_CONFIG_H -DCONFDIR=\"/etc\" -DRUNSTATEDIR=\"/run\" -DLOCALSTATEDIR=\"/var\" -I /builddir/build/BUILD/tinc-1.0.36/ -DFORTIFY_SOURCE=2 -fwrapv -fPIE -O2 -flto=auto -ffat-lto-objects -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -c -o graph.o graph.c make[2]: Leaving directory '/builddir/build/BUILD/tinc-1.0.36/src' graph.c: warning: -DFORTIFY_SOURCE found on command line, did you mean: -D_FORTIFY_SOURCE ? make[2]: Entering directory '/builddir/build/BUILD/tinc-1.0.36/src' gcc -DHAVE_CONFIG_H -DCONFDIR=\"/etc\" -DRUNSTATEDIR=\"/run\" -DLOCALSTATEDIR=\"/var\" -I /builddir/build/BUILD/tinc-1.0.36/ -DFORTIFY_SOURCE=2 -fwrapv -fPIE -O2 -flto=auto -ffat-lto-objects -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -c -o meta.o meta.c make[2]: Leaving directory '/builddir/build/BUILD/tinc-1.0.36/src' meta.c: warning: -DFORTIFY_SOURCE found on command line, did you mean: -D_FORTIFY_SOURCE ? make[2]: Entering directory '/builddir/build/BUILD/tinc-1.0.36/src' gcc -DHAVE_CONFIG_H -DCONFDIR=\"/etc\" -DRUNSTATEDIR=\"/run\" -DLOCALSTATEDIR=\"/var\" -I /builddir/build/BUILD/tinc-1.0.36/ -DFORTIFY_SOURCE=2 -fwrapv -fPIE -O2 -flto=auto -ffat-lto-objects -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -c -o multicast_device.o multicast_device.c make[2]: Leaving directory '/builddir/build/BUILD/tinc-1.0.36/src' multicast_device.c: warning: -DFORTIFY_SOURCE found on command line, did you mean: -D_FORTIFY_SOURCE ? make[2]: Entering directory '/builddir/build/BUILD/tinc-1.0.36/src' gcc -DHAVE_CONFIG_H -DCONFDIR=\"/etc\" -DRUNSTATEDIR=\"/run\" -DLOCALSTATEDIR=\"/var\" -I /builddir/build/BUILD/tinc-1.0.36/ -DFORTIFY_SOURCE=2 -fwrapv -fPIE -O2 -flto=auto -ffat-lto-objects -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -c -o net.o net.c make[2]: Leaving directory '/builddir/build/BUILD/tinc-1.0.36/src' net.c: warning: -DFORTIFY_SOURCE found on command line, did you mean: -D_FORTIFY_SOURCE ? make[2]: Entering directory '/builddir/build/BUILD/tinc-1.0.36/src' gcc -DHAVE_CONFIG_H -DCONFDIR=\"/etc\" -DRUNSTATEDIR=\"/run\" -DLOCALSTATEDIR=\"/var\" -I /builddir/build/BUILD/tinc-1.0.36/ -DFORTIFY_SOURCE=2 -fwrapv -fPIE -O2 -flto=auto -ffat-lto-objects -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -c -o net_socket.o net_socket.c make[2]: Leaving directory '/builddir/build/BUILD/tinc-1.0.36/src' net_socket.c: warning: -DFORTIFY_SOURCE found on command line, did you mean: -D_FORTIFY_SOURCE ? make[2]: Entering directory '/builddir/build/BUILD/tinc-1.0.36/src' gcc -DHAVE_CONFIG_H -DCONFDIR=\"/etc\" -DRUNSTATEDIR=\"/run\" -DLOCALSTATEDIR=\"/var\" -I /builddir/build/BUILD/tinc-1.0.36/ -DFORTIFY_SOURCE=2 -fwrapv -fPIE -O2 -flto=auto -ffat-lto-objects -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -c -o net_packet.o net_packet.c net_packet.c: warning: -DFORTIFY_SOURCE found on command line, did you mean: -D_FORTIFY_SOURCE ? make[2]: Leaving directory '/builddir/build/BUILD/tinc-1.0.36/src' make[2]: Entering directory '/builddir/build/BUILD/tinc-1.0.36/src' gcc -DHAVE_CONFIG_H -DCONFDIR=\"/etc\" -DRUNSTATEDIR=\"/run\" -DLOCALSTATEDIR=\"/var\" -I /builddir/build/BUILD/tinc-1.0.36/ -DFORTIFY_SOURCE=2 -fwrapv -fPIE -O2 -flto=auto -ffat-lto-objects -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -c -o pidfile.o pidfile.c pidfile.c: warning: -DFORTIFY_SOURCE found on command line, did you mean: -D_FORTIFY_SOURCE ? make[2]: Leaving directory '/builddir/build/BUILD/tinc-1.0.36/src' make[2]: Entering directory '/builddir/build/BUILD/tinc-1.0.36/src' gcc -DHAVE_CONFIG_H -DCONFDIR=\"/etc\" -DRUNSTATEDIR=\"/run\" -DLOCALSTATEDIR=\"/var\" -I /builddir/build/BUILD/tinc-1.0.36/ -DFORTIFY_SOURCE=2 -fwrapv -fPIE -O2 -flto=auto -ffat-lto-objects -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -c -o netutl.o netutl.c netutl.c: warning: -DFORTIFY_SOURCE found on command line, did you mean: -D_FORTIFY_SOURCE ? make[2]: Leaving directory '/builddir/build/BUILD/tinc-1.0.36/src' make[2]: Entering directory '/builddir/build/BUILD/tinc-1.0.36/src' gcc -DHAVE_CONFIG_H -DCONFDIR=\"/etc\" -DRUNSTATEDIR=\"/run\" -DLOCALSTATEDIR=\"/var\" -I /builddir/build/BUILD/tinc-1.0.36/ -DFORTIFY_SOURCE=2 -fwrapv -fPIE -O2 -flto=auto -ffat-lto-objects -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -c -o node.o node.c node.c: warning: -DFORTIFY_SOURCE found on command line, did you mean: -D_FORTIFY_SOURCE ? make[2]: Leaving directory '/builddir/build/BUILD/tinc-1.0.36/src' make[2]: Entering directory '/builddir/build/BUILD/tinc-1.0.36/src' gcc -DHAVE_CONFIG_H -DCONFDIR=\"/etc\" -DRUNSTATEDIR=\"/run\" -DLOCALSTATEDIR=\"/var\" -I /builddir/build/BUILD/tinc-1.0.36/ -DFORTIFY_SOURCE=2 -fwrapv -fPIE -O2 -flto=auto -ffat-lto-objects -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -c -o net_setup.o net_setup.c net_setup.c: warning: -DFORTIFY_SOURCE found on command line, did you mean: -D_FORTIFY_SOURCE ? net_setup.c: In function 'read_rsa_public_key': net_setup.c:73:17: warning: 'RSA_new' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 73 | c->rsa_key = RSA_new(); | ^ In file included from /usr/include/openssl/x509.h:36, from /usr/include/openssl/pem.h:23, from net_setup.c:25: /usr/include/openssl/rsa.h:206:28: note: declared here 206 | OSSL_DEPRECATEDIN_3_0 RSA *RSA_new(void); | ^~~~~~~ net_setup.c:89:17: warning: 'RSA_set0_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 89 | if(!n || !e || RSA_set0_key(c->rsa_key, n, e, NULL) != 1) { | ^~ /usr/include/openssl/rsa.h:212:27: note: declared here 212 | OSSL_DEPRECATEDIN_3_0 int RSA_set0_key(RSA *r, BIGNUM *n, BIGNUM *e, BIGNUM *d); | ^~~~~~~~~~~~ net_setup.c:110:17: warning: 'PEM_read_RSAPublicKey' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 110 | c->rsa_key = PEM_read_RSAPublicKey(fp, &c->rsa_key, NULL, NULL); | ^ /usr/include/openssl/pem.h:448:1: note: declared here 448 | DECLARE_PEM_rw_attr(OSSL_DEPRECATEDIN_3_0, RSAPublicKey, RSA) | ^~~~~~~~~~~~~~~~~~~ net_setup.c:127:17: warning: 'PEM_read_RSA_PUBKEY' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 127 | c->rsa_key = PEM_read_RSA_PUBKEY(fp, &c->rsa_key, NULL, NULL); | ^ /usr/include/openssl/pem.h:449:1: note: declared here 449 | DECLARE_PEM_rw_attr(OSSL_DEPRECATEDIN_3_0, RSA_PUBKEY, RSA) | ^~~~~~~~~~~~~~~~~~~ net_setup.c:152:9: warning: 'PEM_read_RSAPublicKey' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 152 | c->rsa_key = PEM_read_RSAPublicKey(fp, &c->rsa_key, NULL, NULL); | ^ /usr/include/openssl/pem.h:448:1: note: declared here 448 | DECLARE_PEM_rw_attr(OSSL_DEPRECATEDIN_3_0, RSAPublicKey, RSA) | ^~~~~~~~~~~~~~~~~~~ net_setup.c:171:9: warning: 'PEM_read_RSA_PUBKEY' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 171 | c->rsa_key = PEM_read_RSA_PUBKEY(fp, &c->rsa_key, NULL, NULL); | ^ /usr/include/openssl/pem.h:449:1: note: declared here 449 | DECLARE_PEM_rw_attr(OSSL_DEPRECATEDIN_3_0, RSA_PUBKEY, RSA) | ^~~~~~~~~~~~~~~~~~~ net_setup.c: In function 'read_rsa_private_key': net_setup.c:192:17: warning: 'RSA_new' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 192 | myself->connection->rsa_key = RSA_new(); | ^~~~~~ /usr/include/openssl/rsa.h:206:28: note: declared here 206 | OSSL_DEPRECATEDIN_3_0 RSA *RSA_new(void); | ^~~~~~~ net_setup.c:219:17: warning: 'RSA_set0_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 219 | if(!n || !e || !d || RSA_set0_key(myself->connection->rsa_key, n, e, d) != 1) { | ^~ /usr/include/openssl/rsa.h:212:27: note: declared here 212 | OSSL_DEPRECATEDIN_3_0 int RSA_set0_key(RSA *r, BIGNUM *n, BIGNUM *e, BIGNUM *d); | ^~~~~~~~~~~~ net_setup.c:256:9: warning: 'PEM_read_RSAPrivateKey' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 256 | myself->connection->rsa_key = PEM_read_RSAPrivateKey(fp, NULL, NULL, NULL); | ^~~~~~ /usr/include/openssl/pem.h:447:1: note: declared here 447 | DECLARE_PEM_rw_cb_attr(OSSL_DEPRECATEDIN_3_0, RSAPrivateKey, RSA) | ^~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/tinc-1.0.36/src' make[2]: Entering directory '/builddir/build/BUILD/tinc-1.0.36/src' gcc -DHAVE_CONFIG_H -DCONFDIR=\"/etc\" -DRUNSTATEDIR=\"/run\" -DLOCALSTATEDIR=\"/var\" -I /builddir/build/BUILD/tinc-1.0.36/ -DFORTIFY_SOURCE=2 -fwrapv -fPIE -O2 -flto=auto -ffat-lto-objects -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -c -o process.o process.c make[2]: Leaving directory '/builddir/build/BUILD/tinc-1.0.36/src' process.c: warning: -DFORTIFY_SOURCE found on command line, did you mean: -D_FORTIFY_SOURCE ? make[2]: Entering directory '/builddir/build/BUILD/tinc-1.0.36/src' gcc -DHAVE_CONFIG_H -DCONFDIR=\"/etc\" -DRUNSTATEDIR=\"/run\" -DLOCALSTATEDIR=\"/var\" -I /builddir/build/BUILD/tinc-1.0.36/ -DFORTIFY_SOURCE=2 -fwrapv -fPIE -O2 -flto=auto -ffat-lto-objects -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -c -o protocol.o protocol.c protocol.c: warning: -DFORTIFY_SOURCE found on command line, did you mean: -D_FORTIFY_SOURCE ? make[2]: Leaving directory '/builddir/build/BUILD/tinc-1.0.36/src' make[2]: Entering directory '/builddir/build/BUILD/tinc-1.0.36/src' gcc -DHAVE_CONFIG_H -DCONFDIR=\"/etc\" -DRUNSTATEDIR=\"/run\" -DLOCALSTATEDIR=\"/var\" -I /builddir/build/BUILD/tinc-1.0.36/ -DFORTIFY_SOURCE=2 -fwrapv -fPIE -O2 -flto=auto -ffat-lto-objects -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -c -o protocol_edge.o protocol_edge.c protocol_edge.c: warning: -DFORTIFY_SOURCE found on command line, did you mean: -D_FORTIFY_SOURCE ? make[2]: Leaving directory '/builddir/build/BUILD/tinc-1.0.36/src' make[2]: Entering directory '/builddir/build/BUILD/tinc-1.0.36/src' gcc -DHAVE_CONFIG_H -DCONFDIR=\"/etc\" -DRUNSTATEDIR=\"/run\" -DLOCALSTATEDIR=\"/var\" -I /builddir/build/BUILD/tinc-1.0.36/ -DFORTIFY_SOURCE=2 -fwrapv -fPIE -O2 -flto=auto -ffat-lto-objects -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -c -o protocol_misc.o protocol_misc.c protocol_misc.c: warning: -DFORTIFY_SOURCE found on command line, did you mean: -D_FORTIFY_SOURCE ? make[2]: Leaving directory '/builddir/build/BUILD/tinc-1.0.36/src' make[2]: Entering directory '/builddir/build/BUILD/tinc-1.0.36/src' gcc -DHAVE_CONFIG_H -DCONFDIR=\"/etc\" -DRUNSTATEDIR=\"/run\" -DLOCALSTATEDIR=\"/var\" -I /builddir/build/BUILD/tinc-1.0.36/ -DFORTIFY_SOURCE=2 -fwrapv -fPIE -O2 -flto=auto -ffat-lto-objects -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -c -o protocol_auth.o protocol_auth.c protocol_auth.c: warning: -DFORTIFY_SOURCE found on command line, did you mean: -D_FORTIFY_SOURCE ? protocol_auth.c: In function 'send_metakey': protocol_auth.c:148:9: warning: 'RSA_size' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 148 | int len = RSA_size(c->rsa_key); | ^~~ In file included from connection.h:24, from net.h:129, from subnet.h:24, from conf.h:34, from protocol_auth.c:29: /usr/include/openssl/rsa.h:209:27: note: declared here 209 | OSSL_DEPRECATEDIN_3_0 int RSA_size(const RSA *rsa); | ^~~~~~~~ protocol_auth.c:199:9: warning: 'RSA_public_encrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 199 | if(RSA_public_encrypt(len, (unsigned char *)c->outkey, (unsigned char *)buffer, c->rsa_key, RSA_NO_PADDING) != len) { | ^~ /usr/include/openssl/rsa.h:287:5: note: declared here 287 | int RSA_public_encrypt(int flen, const unsigned char *from, unsigned char *to, | ^~~~~~~~~~~~~~~~~~ protocol_auth.c: In function 'metakey_h': protocol_auth.c:247:9: warning: 'RSA_size' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 247 | len = RSA_size(myself->connection->rsa_key); | ^~~ /usr/include/openssl/rsa.h:209:27: note: declared here 209 | OSSL_DEPRECATEDIN_3_0 int RSA_size(const RSA *rsa); | ^~~~~~~~ protocol_auth.c:277:9: warning: 'RSA_private_decrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 277 | if(RSA_private_decrypt(len, (unsigned char *)buffer, (unsigned char *)c->inkey, myself->connection->rsa_key, RSA_NO_PADDING) != len) { /* See challenge() */ | ^~ /usr/include/openssl/rsa.h:296:5: note: declared here 296 | int RSA_private_decrypt(int flen, const unsigned char *from, unsigned char *to, | ^~~~~~~~~~~~~~~~~~~ protocol_auth.c: In function 'send_challenge': protocol_auth.c:346:9: warning: 'RSA_size' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 346 | int len = RSA_size(c->rsa_key); | ^~~ /usr/include/openssl/rsa.h:209:27: note: declared here 209 | OSSL_DEPRECATEDIN_3_0 int RSA_size(const RSA *rsa); | ^~~~~~~~ protocol_auth.c: In function 'challenge_h': protocol_auth.c:382:9: warning: 'RSA_size' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 382 | len = RSA_size(myself->connection->rsa_key); | ^~~ /usr/include/openssl/rsa.h:209:27: note: declared here 209 | OSSL_DEPRECATEDIN_3_0 int RSA_size(const RSA *rsa); | ^~~~~~~~ protocol_auth.c: In function 'send_chal_reply': protocol_auth.c:427:25: warning: 'RSA_size' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 427 | || !EVP_DigestUpdate(ctx, c->mychallenge, RSA_size(myself->connection->rsa_key)) | ^~ /usr/include/openssl/rsa.h:209:27: note: declared here 209 | OSSL_DEPRECATEDIN_3_0 int RSA_size(const RSA *rsa); | ^~~~~~~~ protocol_auth.c: In function 'chal_reply_h': protocol_auth.c:482:25: warning: 'RSA_size' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 482 | || !EVP_DigestUpdate(ctx, c->hischallenge, RSA_size(c->rsa_key)) | ^~ /usr/include/openssl/rsa.h:209:27: note: declared here 209 | OSSL_DEPRECATEDIN_3_0 int RSA_size(const RSA *rsa); | ^~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/tinc-1.0.36/src' make[2]: Entering directory '/builddir/build/BUILD/tinc-1.0.36/src' gcc -DHAVE_CONFIG_H -DCONFDIR=\"/etc\" -DRUNSTATEDIR=\"/run\" -DLOCALSTATEDIR=\"/var\" -I /builddir/build/BUILD/tinc-1.0.36/ -DFORTIFY_SOURCE=2 -fwrapv -fPIE -O2 -flto=auto -ffat-lto-objects -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -c -o protocol_key.o protocol_key.c protocol_key.c: warning: -DFORTIFY_SOURCE found on command line, did you mean: -D_FORTIFY_SOURCE ? make[2]: Leaving directory '/builddir/build/BUILD/tinc-1.0.36/src' make[2]: Entering directory '/builddir/build/BUILD/tinc-1.0.36/src' gcc -DHAVE_CONFIG_H -DCONFDIR=\"/etc\" -DRUNSTATEDIR=\"/run\" -DLOCALSTATEDIR=\"/var\" -I /builddir/build/BUILD/tinc-1.0.36/ -DFORTIFY_SOURCE=2 -fwrapv -fPIE -O2 -flto=auto -ffat-lto-objects -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -c -o protocol_subnet.o protocol_subnet.c protocol_subnet.c: warning: -DFORTIFY_SOURCE found on command line, did you mean: -D_FORTIFY_SOURCE ? make[2]: Leaving directory '/builddir/build/BUILD/tinc-1.0.36/src' make[2]: Entering directory '/builddir/build/BUILD/tinc-1.0.36/src' gcc -DHAVE_CONFIG_H -DCONFDIR=\"/etc\" -DRUNSTATEDIR=\"/run\" -DLOCALSTATEDIR=\"/var\" -I /builddir/build/BUILD/tinc-1.0.36/ -DFORTIFY_SOURCE=2 -fwrapv -fPIE -O2 -flto=auto -ffat-lto-objects -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -c -o raw_socket_device.o raw_socket_device.c raw_socket_device.c: warning: -DFORTIFY_SOURCE found on command line, did you mean: -D_FORTIFY_SOURCE ? make[2]: Leaving directory '/builddir/build/BUILD/tinc-1.0.36/src' make[2]: Entering directory '/builddir/build/BUILD/tinc-1.0.36/src' gcc -DHAVE_CONFIG_H -DCONFDIR=\"/etc\" -DRUNSTATEDIR=\"/run\" -DLOCALSTATEDIR=\"/var\" -I /builddir/build/BUILD/tinc-1.0.36/ -DFORTIFY_SOURCE=2 -fwrapv -fPIE -O2 -flto=auto -ffat-lto-objects -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -c -o proxy.o proxy.c proxy.c: warning: -DFORTIFY_SOURCE found on command line, did you mean: -D_FORTIFY_SOURCE ? make[2]: Leaving directory '/builddir/build/BUILD/tinc-1.0.36/src' make[2]: Entering directory '/builddir/build/BUILD/tinc-1.0.36/src' gcc -DHAVE_CONFIG_H -DCONFDIR=\"/etc\" -DRUNSTATEDIR=\"/run\" -DLOCALSTATEDIR=\"/var\" -I /builddir/build/BUILD/tinc-1.0.36/ -DFORTIFY_SOURCE=2 -fwrapv -fPIE -O2 -flto=auto -ffat-lto-objects -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -c -o utils.o utils.c utils.c: warning: -DFORTIFY_SOURCE found on command line, did you mean: -D_FORTIFY_SOURCE ? make[2]: Leaving directory '/builddir/build/BUILD/tinc-1.0.36/src' make[2]: Entering directory '/builddir/build/BUILD/tinc-1.0.36/src' gcc -DHAVE_CONFIG_H -DCONFDIR=\"/etc\" -DRUNSTATEDIR=\"/run\" -DLOCALSTATEDIR=\"/var\" -I /builddir/build/BUILD/tinc-1.0.36/ -DFORTIFY_SOURCE=2 -fwrapv -fPIE -O2 -flto=auto -ffat-lto-objects -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -c -o subnet.o subnet.c subnet.c: warning: -DFORTIFY_SOURCE found on command line, did you mean: -D_FORTIFY_SOURCE ? make[2]: Leaving directory '/builddir/build/BUILD/tinc-1.0.36/src' make[2]: Entering directory '/builddir/build/BUILD/tinc-1.0.36/src' gcc -DHAVE_CONFIG_H -DCONFDIR=\"/etc\" -DRUNSTATEDIR=\"/run\" -DLOCALSTATEDIR=\"/var\" -I /builddir/build/BUILD/tinc-1.0.36/ -DFORTIFY_SOURCE=2 -fwrapv -fPIE -O2 -flto=auto -ffat-lto-objects -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -c -o linux/device.o linux/device.c linux/device.c: warning: -DFORTIFY_SOURCE found on command line, did you mean: -D_FORTIFY_SOURCE ? linux/device.c: In function 'write_packet': linux/device.c:245:20: warning: 'write' reading between 2 and 65537 bytes from a region of size 0 [-Wstringop-overread] 245 | if(write(device_fd, packet->data - 2, packet->len + 2) < 0) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from linux/../subnet.h:24, from linux/../conf.h:34, from linux/device.c:30: linux/../net.h:83:17: note: at offset -2 into source object 'data' of size 1661 83 | uint8_t data[MAXSIZE]; | ^~~~ In file included from linux/../have.h:44, from linux/../system.h:26, from linux/device.c:21: /usr/include/unistd.h:378:16: note: in a call to function 'write' declared with attribute 'access (read_only, 2, 3)' 378 | extern ssize_t write (int __fd, const void *__buf, size_t __n) __wur | ^~~~~ linux/device.c: In function 'read_packet': linux/device.c:197:25: warning: 'read' writing 1 byte into a region of size 0 overflows the destination [-Wstringop-overflow=] 197 | lenin = read(device_fd, packet->data - 2, MTU + 2); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ linux/../net.h:83:17: note: at offset -2 into destination object 'data' of size 1661 83 | uint8_t data[MAXSIZE]; | ^~~~ In file included from /usr/include/unistd.h:1214: /usr/include/bits/unistd.h:36:1: note: in a call to function 'read' declared with attribute 'access (write_only, 2)' 36 | read (int __fd, void *__buf, size_t __nbytes) | ^~~~ make[2]: Leaving directory '/builddir/build/BUILD/tinc-1.0.36/src' make[2]: Entering directory '/builddir/build/BUILD/tinc-1.0.36/src' gcc -DHAVE_CONFIG_H -DCONFDIR=\"/etc\" -DRUNSTATEDIR=\"/run\" -DLOCALSTATEDIR=\"/var\" -I /builddir/build/BUILD/tinc-1.0.36/ -DFORTIFY_SOURCE=2 -fwrapv -fPIE -O2 -flto=auto -ffat-lto-objects -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -c -o tincd.o tincd.c make[2]: Leaving directory '/builddir/build/BUILD/tinc-1.0.36/src' tincd.c: warning: -DFORTIFY_SOURCE found on command line, did you mean: -D_FORTIFY_SOURCE ? tincd.c: In function 'keygen': tincd.c:439:9: warning: 'RSA_new' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 439 | rsa_key = RSA_new(); | ^~~~~~~ In file included from tincd.c:37: /usr/include/openssl/rsa.h:206:28: note: declared here 206 | OSSL_DEPRECATEDIN_3_0 RSA *RSA_new(void); | ^~~~~~~ tincd.c:449:9: warning: 'RSA_generate_key_ex' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 449 | result = RSA_generate_key_ex(rsa_key, bits, e, cb); | ^~~~~~ /usr/include/openssl/rsa.h:265:27: note: declared here 265 | OSSL_DEPRECATEDIN_3_0 int RSA_generate_key_ex(RSA *rsa, int bits, BIGNUM *e, | ^~~~~~~~~~~~~~~~~~~ tincd.c:456:17: warning: 'RSA_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 456 | RSA_free(rsa_key); | ^~~~~~~~ /usr/include/openssl/rsa.h:298:28: note: declared here 298 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ tincd.c:466:17: warning: 'RSA_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 466 | RSA_free(rsa_key); | ^~~~~~~~ /usr/include/openssl/rsa.h:298:28: note: declared here 298 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ tincd.c:476:9: warning: 'PEM_write_RSAPrivateKey' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 476 | PEM_write_RSAPrivateKey(f, rsa_key, NULL, NULL, 0, NULL, NULL); | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from tincd.c:38: /usr/include/openssl/pem.h:447:1: note: declared here 447 | DECLARE_PEM_rw_cb_attr(OSSL_DEPRECATEDIN_3_0, RSAPrivateKey, RSA) | ^~~~~~~~~~~~~~~~~~~~~~ tincd.c:491:17: warning: 'RSA_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 491 | RSA_free(rsa_key); | ^~~~~~~~ /usr/include/openssl/rsa.h:298:28: note: declared here 298 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ tincd.c:496:9: warning: 'PEM_write_RSAPublicKey' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 496 | PEM_write_RSAPublicKey(f, rsa_key); | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/pem.h:448:1: note: declared here 448 | DECLARE_PEM_rw_attr(OSSL_DEPRECATEDIN_3_0, RSAPublicKey, RSA) | ^~~~~~~~~~~~~~~~~~~ tincd.c:499:9: warning: 'RSA_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 499 | RSA_free(rsa_key); | ^~~~~~~~ /usr/include/openssl/rsa.h:298:28: note: declared here 298 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ tincd.c: In function 'main': tincd.c:692:9: warning: 'ENGINE_load_builtin_engines' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 692 | ENGINE_load_builtin_engines(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from tincd.c:41: /usr/include/openssl/engine.h:358:28: note: declared here 358 | OSSL_DEPRECATEDIN_3_0 void ENGINE_load_builtin_engines(void); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ tincd.c:693:9: warning: 'ENGINE_register_all_complete' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 693 | ENGINE_register_all_complete(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/engine.h:415:27: note: declared here 415 | OSSL_DEPRECATEDIN_3_0 int ENGINE_register_all_complete(void); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/tinc-1.0.36/src' gcc -DHAVE_CONFIG_H -DCONFDIR=\"/etc\" -DRUNSTATEDIR=\"/run\" -DLOCALSTATEDIR=\"/var\" -I /builddir/build/BUILD/tinc-1.0.36/ -DFORTIFY_SOURCE=2 -fwrapv -fPIE -O2 -flto=auto -ffat-lto-objects -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -c -o route.o route.c make[2]: Leaving directory '/builddir/build/BUILD/tinc-1.0.36/src' route.c: warning: -DFORTIFY_SOURCE found on command line, did you mean: -D_FORTIFY_SOURCE ? make[2]: Entering directory '/builddir/build/BUILD/tinc-1.0.36/src' gcc -O2 -flto=auto -ffat-lto-objects -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -pie -Wl,-z,relro -Wl,-z,now -o tincd avl_tree.o conf.o connection.o dropin.o dummy_device.o edge.o event.o fake-getaddrinfo.o fake-getnameinfo.o graph.o list.o logger.o meta.o multicast_device.o net.o net_packet.o net_setup.o net_socket.o netutl.o node.o pidfile.o process.o protocol.o protocol_auth.o protocol_edge.o protocol_misc.o protocol_key.o protocol_subnet.o proxy.o raw_socket_device.o route.o subnet.o tincd.o utils.o linux/device.o -lcrypto -lz -llzo2 make[2]: Leaving directory '/builddir/build/BUILD/tinc-1.0.36/src' Making all in doc make[2]: Entering directory '/builddir/build/BUILD/tinc-1.0.36/doc' sed -e s,'@PACKAGE\@',"tinc",g -e s,'@VERSION\@',"1.0.36",g -e s,'@sysconfdir\@',"/etc",g -e s,'@runstatedir\@',"/run",g -e s,'@localstatedir\@',"/var",g ./tincd.8.in > tincd.8 make[2]: Leaving directory '/builddir/build/BUILD/tinc-1.0.36/doc' make[2]: Entering directory '/builddir/build/BUILD/tinc-1.0.36/doc' sed -e s,'@PACKAGE\@',"tinc",g -e s,'@VERSION\@',"1.0.36",g -e s,'@sysconfdir\@',"/etc",g -e s,'@runstatedir\@',"/run",g -e s,'@localstatedir\@',"/var",g ./tinc.conf.5.in > tinc.conf.5 make[2]: Leaving directory '/builddir/build/BUILD/tinc-1.0.36/doc' Making all in systemd make[2]: Entering directory '/builddir/build/BUILD/tinc-1.0.36/systemd' sed -e s,'@sbindir\@',"/usr/sbin",g -e s,'@sysconfdir\@',"/etc",g ./tinc.service.in > tinc.service make[2]: Leaving directory '/builddir/build/BUILD/tinc-1.0.36/systemd' make[2]: Entering directory '/builddir/build/BUILD/tinc-1.0.36/systemd' sed -e s,'@sbindir\@',"/usr/sbin",g -e s,'@sysconfdir\@',"/etc",g ./tinc@.service.in > tinc@.service make[2]: Leaving directory '/builddir/build/BUILD/tinc-1.0.36/systemd' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.OBY1bm + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/tinc-1.0.36-9.fc38.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/tinc-1.0.36-9.fc38.riscv64 ++ dirname /builddir/build/BUILDROOT/tinc-1.0.36-9.fc38.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/tinc-1.0.36-9.fc38.riscv64 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -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 tinc-1.0.36 + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/tinc-1.0.36-9.fc38.riscv64 'INSTALL=/usr/bin/install -p' Making install in src make[1]: Entering directory '/builddir/build/BUILD/tinc-1.0.36/src' make[2]: Entering directory '/builddir/build/BUILD/tinc-1.0.36/src' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/tinc-1.0.36-9.fc38.riscv64/usr/sbin' /usr/bin/install -p tincd '/builddir/build/BUILDROOT/tinc-1.0.36-9.fc38.riscv64/usr/sbin' make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/builddir/build/BUILD/tinc-1.0.36/src' make[1]: Leaving directory '/builddir/build/BUILD/tinc-1.0.36/src' Making install in doc make[1]: Entering directory '/builddir/build/BUILD/tinc-1.0.36/doc' make[2]: Entering directory '/builddir/build/BUILD/tinc-1.0.36/doc' make[2]: Nothing to be done for 'install-exec-am'. /usr/bin/mkdir -p '/builddir/build/BUILDROOT/tinc-1.0.36-9.fc38.riscv64/usr/share/info' /usr/bin/install -p -m 644 ./tinc.info '/builddir/build/BUILDROOT/tinc-1.0.36-9.fc38.riscv64/usr/share/info' install-info --info-dir='/builddir/build/BUILDROOT/tinc-1.0.36-9.fc38.riscv64/usr/share/info' '/builddir/build/BUILDROOT/tinc-1.0.36-9.fc38.riscv64/usr/share/info/tinc.info' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/tinc-1.0.36-9.fc38.riscv64/usr/share/man/man5' /usr/bin/install -p -m 644 tinc.conf.5 '/builddir/build/BUILDROOT/tinc-1.0.36-9.fc38.riscv64/usr/share/man/man5' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/tinc-1.0.36-9.fc38.riscv64/usr/share/man/man8' /usr/bin/install -p -m 644 tincd.8 '/builddir/build/BUILDROOT/tinc-1.0.36-9.fc38.riscv64/usr/share/man/man8' make[2]: Leaving directory '/builddir/build/BUILD/tinc-1.0.36/doc' make[1]: Leaving directory '/builddir/build/BUILD/tinc-1.0.36/doc' Making install in systemd make[1]: Entering directory '/builddir/build/BUILD/tinc-1.0.36/systemd' make[2]: Entering directory '/builddir/build/BUILD/tinc-1.0.36/systemd' make[2]: Nothing to be done for 'install-exec-am'. /usr/bin/mkdir -p '/builddir/build/BUILDROOT/tinc-1.0.36-9.fc38.riscv64/usr/lib/systemd/system' /usr/bin/install -p -m 644 tinc.service tinc@.service '/builddir/build/BUILDROOT/tinc-1.0.36-9.fc38.riscv64/usr/lib/systemd/system' make[2]: Leaving directory '/builddir/build/BUILD/tinc-1.0.36/systemd' make[1]: Leaving directory '/builddir/build/BUILD/tinc-1.0.36/systemd' make[1]: Entering directory '/builddir/build/BUILD/tinc-1.0.36' make[2]: Entering directory '/builddir/build/BUILD/tinc-1.0.36' make[2]: Nothing to be done for 'install-exec-am'. make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/builddir/build/BUILD/tinc-1.0.36' make[1]: Leaving directory '/builddir/build/BUILD/tinc-1.0.36' + rm -f /builddir/build/BUILDROOT/tinc-1.0.36-9.fc38.riscv64/usr/share/info/dir + /usr/bin/find-debuginfo -j4 --strict-build-id -m -i --build-id-seed 1.0.36-9.fc38 --unique-debug-suffix -1.0.36-9.fc38.riscv64 --unique-debug-src-base tinc-1.0.36-9.fc38.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/tinc-1.0.36 extracting debug info from /builddir/build/BUILDROOT/tinc-1.0.36-9.fc38.riscv64/usr/sbin/tincd original debug info size: 1840kB, size after compression: 1712kB /usr/bin/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 732 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs + /usr/lib/rpm/brp-remove-la-files + env /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j4 + /usr/lib/rpm/redhat/brp-python-hardlink Processing files: tinc-1.0.36-9.fc38.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.bqTtSW + umask 022 + cd /builddir/build/BUILD + cd tinc-1.0.36 + DOCDIR=/builddir/build/BUILDROOT/tinc-1.0.36-9.fc38.riscv64/usr/share/doc/tinc + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/tinc-1.0.36-9.fc38.riscv64/usr/share/doc/tinc + cp -pr AUTHORS /builddir/build/BUILDROOT/tinc-1.0.36-9.fc38.riscv64/usr/share/doc/tinc + cp -pr COPYING.README /builddir/build/BUILDROOT/tinc-1.0.36-9.fc38.riscv64/usr/share/doc/tinc + cp -pr NEWS /builddir/build/BUILDROOT/tinc-1.0.36-9.fc38.riscv64/usr/share/doc/tinc + cp -pr README /builddir/build/BUILDROOT/tinc-1.0.36-9.fc38.riscv64/usr/share/doc/tinc + cp -pr THANKS /builddir/build/BUILDROOT/tinc-1.0.36-9.fc38.riscv64/usr/share/doc/tinc + cp -pr doc/sample-config /builddir/build/BUILDROOT/tinc-1.0.36-9.fc38.riscv64/usr/share/doc/tinc + cp -pr doc/texinfo.tex /builddir/build/BUILDROOT/tinc-1.0.36-9.fc38.riscv64/usr/share/doc/tinc + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.jeIagC + umask 022 + cd /builddir/build/BUILD + cd tinc-1.0.36 + LICENSEDIR=/builddir/build/BUILDROOT/tinc-1.0.36-9.fc38.riscv64/usr/share/licenses/tinc + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/tinc-1.0.36-9.fc38.riscv64/usr/share/licenses/tinc + cp -pr COPYING /builddir/build/BUILDROOT/tinc-1.0.36-9.fc38.riscv64/usr/share/licenses/tinc + RPM_EC=0 ++ jobs -p + exit 0 Provides: tinc = 1.0.36-9.fc38 tinc(riscv-64) = 1.0.36-9.fc38 Requires(interp): /bin/sh /bin/sh /bin/sh Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(post): /bin/sh systemd Requires(preun): /bin/sh systemd Requires(postun): /bin/sh systemd Requires: ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.34)(64bit) libcrypto.so.3()(64bit) libcrypto.so.3(OPENSSL_3.0.0)(64bit) liblzo2.so.2()(64bit) libz.so.1()(64bit) rtld(GNU_HASH) Processing files: tinc-debugsource-1.0.36-9.fc38.riscv64 Provides: tinc-debugsource = 1.0.36-9.fc38 tinc-debugsource(riscv-64) = 1.0.36-9.fc38 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: tinc-debuginfo-1.0.36-9.fc38.riscv64 Provides: debuginfo(build-id) = f4b69d6d04e1a063639751cf910111aecc98a2aa tinc-debuginfo = 1.0.36-9.fc38 tinc-debuginfo(riscv-64) = 1.0.36-9.fc38 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: tinc-debugsource(riscv-64) = 1.0.36-9.fc38 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/tinc-1.0.36-9.fc38.riscv64 Wrote: /builddir/build/RPMS/tinc-debugsource-1.0.36-9.fc38.riscv64.rpm Wrote: /builddir/build/RPMS/tinc-1.0.36-9.fc38.riscv64.rpm Wrote: /builddir/build/RPMS/tinc-debuginfo-1.0.36-9.fc38.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.N79YFc + umask 022 + cd /builddir/build/BUILD + cd tinc-1.0.36 + /usr/bin/rm -rf /builddir/build/BUILDROOT/tinc-1.0.36-9.fc38.riscv64 + RPM_EC=0 ++ jobs -p + exit 0 Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.DFP5T4 + umask 022 + cd /builddir/build/BUILD + rm -rf tinc-1.0.36 tinc-1.0.36.gemspec + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0