Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/tunsafe.spec'], chrootPath='/var/lib/mock/openeuler-24.03_LTS-x86_64-1767011944.047430/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=0uid=1000gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=True) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/tunsafe.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: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/tunsafe-1.5rc2-1.src.rpm Child return code was: 0 Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/tunsafe.spec'], chrootPath='/var/lib/mock/openeuler-24.03_LTS-x86_64-1767011944.047430/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=0uid=1000gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=True) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/tunsafe.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: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/tunsafe-1.5rc2-1.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/tunsafe.spec'], chrootPath='/var/lib/mock/openeuler-24.03_LTS-x86_64-1767011944.047430/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=0uid=1000gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=True) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/tunsafe.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: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.olyx4P + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf TunSafe-85a871c1d226956df7c1308a1e5527556fe35fe1 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/85a871c1d226956df7c1308a1e5527556fe35fe1.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd TunSafe-85a871c1d226956df7c1308a1e5527556fe35fe1 + /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.kmO2qX + umask 022 + cd /builddir/build/BUILD + cd TunSafe-85a871c1d226956df7c1308a1e5527556fe35fe1 + sed -i 's|clang++-6.0|clang++ -g -O2 -g -grecord-gcc-switches -pipe -fstack-protector-strong -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/generic-hardened-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection |;s|-lrt|-lrt -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/generic-hardened-ld|' build_linux.sh + make sh ./build_linux.sh clang++: warning: argument unused during compilation: '-grecord-gcc-switches' [-Wunused-command-line-argument] clang++: warning: argument unused during compilation: '-fstack-protector-strong' [-Wunused-command-line-argument] clang++: warning: argument unused during compilation: '-Wp,-D_FORTIFY_SOURCE=2' [-Wunused-command-line-argument] clang++: warning: argument unused during compilation: '-Wp,-D_GLIBCXX_ASSERTIONS' [-Wunused-command-line-argument] clang++: warning: argument unused during compilation: '-specs=/usr/lib/rpm/generic-hardened-cc1' [-Wunused-command-line-argument] clang++: warning: argument unused during compilation: '-mtune=generic' [-Wunused-command-line-argument] clang++: warning: argument unused during compilation: '-fasynchronous-unwind-tables' [-Wunused-command-line-argument] clang++: warning: argument unused during compilation: '-fstack-clash-protection' [-Wunused-command-line-argument] clang++: warning: argument unused during compilation: '-specs=/usr/lib/rpm/generic-hardened-cc1' [-Wunused-command-line-argument] clang++: warning: argument unused during compilation: '-specs=/usr/lib/rpm/generic-hardened-ld' [-Wunused-command-line-argument] In file included from tunsafe_amalgam.cpp:15: In file included from ./wireguard.cpp:4: In file included from ./wireguard.h:6: In file included from ./wireguard_proto.h:6: ./netapi.h:18:9: warning: unknown pragma ignored [-Wunknown-pragmas] 18 | #pragma warning (disable: 4200) | ^ In file included from tunsafe_amalgam.cpp:15: In file included from ./wireguard.cpp:4: In file included from ./wireguard.h:6: In file included from ./wireguard_proto.h:9: ./tunsafe_threading.h:78:33: warning: unused variable 'rv' [-Wunused-variable] 78 | void AcquireExclusive() { int rv = pthread_rwlock_wrlock(&lock_); assert(rv == 0); } | ^~ ./tunsafe_threading.h:79:33: warning: unused variable 'rv' [-Wunused-variable] 79 | void AcquireShared() { int rv = pthread_rwlock_rdlock(&lock_); assert(rv == 0); } | ^~ ./tunsafe_threading.h:80:33: warning: unused variable 'rv' [-Wunused-variable] 80 | void ReleaseExclusive() { int rv = pthread_rwlock_unlock(&lock_); assert(rv == 0); } | ^~ ./tunsafe_threading.h:81:33: warning: unused variable 'rv' [-Wunused-variable] 81 | void ReleaseShared() { int rv = pthread_rwlock_unlock(&lock_); assert(rv == 0); } | ^~ ./tunsafe_threading.h:106:9: warning: unused variable 'rv' [-Wunused-variable] 106 | int rv = pthread_mutex_lock(&lock_); | ^~ ./tunsafe_threading.h:112:9: warning: unused variable 'rv' [-Wunused-variable] 112 | int rv = pthread_mutex_unlock(&lock_); | ^~ In file included from tunsafe_amalgam.cpp:15: ./wireguard.cpp:119:19: warning: suggest braces around initialization of subobject [-Wmissing-braces] 119 | WgCidrAddr r = {0}; | ^ | {} In file included from tunsafe_amalgam.cpp:16: ./wireguard_proto.cpp:847:26: warning: unused variable 'dst_end' [-Wunused-variable] 847 | uint8 *dst_org = dst, *dst_end = dst + MAX_SIZE_OF_HANDSHAKE_EXTENSION; | ^~~~~~~ ./wireguard_proto.cpp:1276:10: warning: unused variable 'rv' [-Wunused-variable] 1276 | uint32 rv = 0; | ^~ In file included from tunsafe_amalgam.cpp:18: ./tunsafe_wg_plugin.cpp:106:30: warning: initializer order does not match the declaration order [-Wreorder-ctor] 106 | TotpTokenAuthenticator() : secret_size_(0), window_size_(30), block_reuse_(false), digits_(6), precision_(0), next_allowed_code_(0) {} | ^~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~ | window_size_(30) precision_(0) secret_size_(0) ./tunsafe_wg_plugin.cpp:106:30: note: field 'secret_size_' will be initialized after field 'window_size_' 106 | TotpTokenAuthenticator() : secret_size_(0), window_size_(30), block_reuse_(false), digits_(6), precision_(0), next_allowed_code_(0) {} | ^~~~~~~~~~~~~~~ ./tunsafe_wg_plugin.cpp:106:86: note: field 'digits_' will be initialized after field 'precision_' 106 | TotpTokenAuthenticator() : secret_size_(0), window_size_(30), block_reuse_(false), digits_(6), precision_(0), next_allowed_code_(0) {} | ^~~~~~~~~~ ./tunsafe_wg_plugin.cpp:168:57: warning: field 'plugin' will be initialized after field 'peer' [-Wreorder-ctor] 168 | PluginPeer(TunsafePluginImpl *plugin, WgPeer *peer) : plugin(plugin), peer(peer), token_client_handler(this) {} | ^~~~~~~~~~~~~~ ~~~~~~~~~~ | peer(peer) plugin(plugin) ./tunsafe_wg_plugin.cpp:172:5: warning: delete called on non-final 'PluginPeer' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 172 | delete this; | ^ In file included from tunsafe_amalgam.cpp:19: ./util.cpp:146:15: warning: unused variable 'fmt_org' [-Wunused-variable] 146 | const char *fmt_org = fmt; | ^~~~~~~ In file included from tunsafe_amalgam.cpp:21: ./tunsafe_cpu.cpp:37:18: warning: variable 'nExIds' set but not used [-Wunused-but-set-variable] 37 | unsigned nIds, nExIds; | ^ In file included from tunsafe_amalgam.cpp:22: ./ip_to_peer_map.cpp:72:9: warning: unknown pragma ignored [-Wunknown-pragmas] 72 | #pragma warning (disable: 4200) // warning C4200: nonstandard extension used: zero-sized array in struct/union | ^ ./ip_to_peer_map.cpp:481:8: warning: variable 'did_inflate' set but not used [-Wunused-but-set-variable] 481 | bool did_inflate = false; | ^ In file included from tunsafe_amalgam.cpp:30: ./network_common.cpp:127:6: warning: initializer order does not match the declaration order [-Wreorder-ctor] 126 | : queue_(packet_pool), | ~~~~~~~~~~~~~~~~~~~ | obfuscation_mode_(kObfuscationMode_None) 127 | tls_queue_(packet_pool), | ^~~~~~~~~~~~~~~~~~~~~~~ | write_state_(is_incoming) 128 | write_state_(is_incoming), | ~~~~~~~~~~~~~~~~~~~~~~~~~ | queue_(packet_pool) 129 | obfuscation_mode_(kObfuscationMode_None) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | tls_queue_(packet_pool) ./network_common.cpp:127:6: note: field 'tls_queue_' will be initialized after field 'write_state_' 127 | tls_queue_(packet_pool), | ^~~~~~~~~~~~~~~~~~~~~~~ ./network_common.cpp:128:6: note: field 'write_state_' will be initialized after field 'obfuscation_mode_' 128 | write_state_(is_incoming), | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from tunsafe_amalgam.cpp:33: In file included from ./network_bsd.cpp:3: ./network_bsd.h:15:1: warning: class 'Packet' was previously declared as a struct; this is valid, but may result in linker errors under the Microsoft C++ ABI [-Wmismatched-tags] 15 | class Packet; | ^ ./netapi.h:54:8: note: previous use is here 54 | struct Packet : QueuedItem { | ^ ./network_bsd.h:15:1: note: did you mean struct here? 15 | class Packet; | ^~~~~ | struct ./network_bsd.h:87:99: warning: field 'fd_' will be initialized after field 'network_' [-Wreorder-ctor] 87 | BaseSocketBsd(NetworkBsd *network) : pollfd_slot_(-1), roundrobin_slot_(-1), endloop_slot_(-1), fd_(-1), network_(network) {} | ~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~ ^~~~~~~ ~~~~~~~~~~~~~~~~~ | network_(network) pollfd_slot_(-1) roundrobin_slot_(-1) endloop_slot_(-1) fd_(-1) In file included from tunsafe_amalgam.cpp:33: ./network_bsd.cpp:90:7: warning: initializer order does not match the declaration order [-Wreorder-ctor] 87 | : exit_(false), | ~~~~~~~~~~~~ | read_packet_(NULL) 88 | overload_(false), | ~~~~~~~~~~~~~~~~ | exit_(false) 89 | sigalarm_flag_(false), | ~~~~~~~~~~~~~~~~~~~~~ | overload_(false) 90 | num_roundrobin_(0), | ^~~~~~~~~~~~~~~~~~ | sigalarm_flag_(false) 91 | num_sock_(0), 92 | num_endloop_(0), | ~~~~~~~~~~~~~~~ | num_roundrobin_(0) 93 | read_packet_(NULL), | ~~~~~~~~~~~~~~~~~~ | num_endloop_(0) 94 | tcp_sockets_(NULL), | ~~~~~~~~~~~~~~~~~~ | max_sockets_(max_sockets) 95 | delegate_(delegate), 96 | max_sockets_(max_sockets) { | ~~~~~~~~~~~~~~~~~~~~~~~~~ | tcp_sockets_(NULL) ./network_bsd.cpp:90:7: note: field 'num_roundrobin_' will be initialized after field 'num_sock_' 90 | num_roundrobin_(0), | ^~~~~~~~~~~~~~~~~~ ./network_bsd.cpp:92:7: note: field 'num_endloop_' will be initialized after field 'read_packet_' 92 | num_endloop_(0), | ^~~~~~~~~~~~~~~ ./network_bsd.cpp:94:7: note: field 'tcp_sockets_' will be initialized after field 'delegate_' 94 | tcp_sockets_(NULL), | ^~~~~~~~~~~~~~~~~~ ./network_bsd.cpp:95:7: note: field 'delegate_' will be initialized after field 'max_sockets_' 95 | delegate_(delegate), | ^~~~~~~~~~~~~~~~~~~ ./network_bsd.cpp:155:7: warning: struct 'BaseSocketBsd' was previously declared as a class; this is valid, but may result in linker errors under the Microsoft C++ ABI [-Wmismatched-tags] 155 | struct BaseSocketBsd **socks = sockets_; | ^ ./network_bsd.h:84:7: note: previous use is here 84 | class BaseSocketBsd { | ^ ./network_bsd.cpp:155:7: note: did you mean class here? 155 | struct BaseSocketBsd **socks = sockets_; | ^~~~~~ | class ./network_bsd.cpp:181:7: warning: struct 'BaseSocketBsd' was previously declared as a class; this is valid, but may result in linker errors under the Microsoft C++ ABI [-Wmismatched-tags] 181 | struct BaseSocketBsd **socks = sockets_; | ^ ./network_bsd.h:84:7: note: previous use is here 84 | class BaseSocketBsd { | ^ ./network_bsd.cpp:181:7: note: did you mean class here? 181 | struct BaseSocketBsd **socks = sockets_; | ^~~~~~ | class ./network_bsd.cpp:196:7: warning: struct 'BaseSocketBsd' was previously declared as a class; this is valid, but may result in linker errors under the Microsoft C++ ABI [-Wmismatched-tags] 196 | struct BaseSocketBsd **rrlist = roundrobin_; | ^ ./network_bsd.h:84:7: note: previous use is here 84 | class BaseSocketBsd { | ^ ./network_bsd.cpp:196:7: note: did you mean class here? 196 | struct BaseSocketBsd **rrlist = roundrobin_; | ^~~~~~ | class ./network_bsd.cpp:205:5: warning: struct 'BaseSocketBsd' was previously declared as a class; this is valid, but may result in linker errors under the Microsoft C++ ABI [-Wmismatched-tags] 205 | struct BaseSocketBsd **endloop = endloop_; | ^ ./network_bsd.h:84:7: note: previous use is here 84 | class BaseSocketBsd { | ^ ./network_bsd.cpp:205:5: note: did you mean class here? 205 | struct BaseSocketBsd **endloop = endloop_; | ^~~~~~ | class ./network_bsd.cpp:590:3: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] 590 | write(pipes_[1], "", 1); | ^~~~~ ~~~~~~~~~~~~~~~~ ./network_bsd.cpp:693:35: warning: unused variable 'channel' [-Wunused-variable] 693 | UnixDomainSocketChannelBsd *channel = new UnixDomainSocketChannelBsd(network_, processor_, new_fd); | ^~~~~~~ ./network_bsd.cpp:896:7: warning: initializer order does not match the declaration order [-Wreorder-ctor] 894 | readable_(false), | ~~~~~~~~~~~~~~~~ | age(0) 895 | writable_(true), | ~~~~~~~~~~~~~~~ | readable_(false) 896 | endpoint_protocol_(0), | ^~~~~~~~~~~~~~~~~~~~~ | writable_(true) 897 | age(0), | ~~~~~~ | endpoint_protocol_(0) 898 | handshake_attempts_(0), 899 | handshake_timestamp_(0), 900 | wqueue_(NULL), | ~~~~~~~~~~~~~ | wqueue_packets_(0) 901 | wqueue_end_(&wqueue_), | ~~~~~~~~~~~~~~~~~~~~~ | wqueue_(NULL) 902 | wqueue_packets_(0), | ~~~~~~~~~~~~~~~~~~ | wqueue_end_(&wqueue_) ./network_bsd.cpp:896:7: note: field 'endpoint_protocol_' will be initialized after field 'age' 896 | endpoint_protocol_(0), | ^~~~~~~~~~~~~~~~~~~~~ ./network_bsd.cpp:901:7: note: field 'wqueue_end_' will be initialized after field 'wqueue_packets_' 901 | wqueue_end_(&wqueue_), | ^~~~~~~~~~~~~~~~~~~~~ ./network_bsd.cpp:962:11: warning: unused variable 'old_value' [-Wunused-variable] 962 | Packet *old_value = wqueue_; | ^~~~~~~~~ ./network_bsd.cpp:1116:3: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] 1116 | write(pipe_fds_[1], "", 1); | ^~~~~ ~~~~~~~~~~~~~~~~~~~ ./network_bsd.cpp:1120:3: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] 1120 | write(pipe_fds_[1], "", 1); | ^~~~~ ~~~~~~~~~~~~~~~~~~~ ./network_bsd.cpp:1129:5: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] 1129 | read(fd_, tmp, sizeof(tmp)); | ^~~~ ~~~~~~~~~~~~~~~~~~~~~ In file included from tunsafe_amalgam.cpp:34: In file included from ./tunsafe_bsd.cpp:3: ./tunsafe_bsd.h:43:16: warning: 'TunsafeBackendBsd::Configure' hides overloaded virtual function [-Woverloaded-virtual] 43 | virtual bool Configure(const TunConfig &&config, TunConfigOut *out) override; | ^ ./netapi.h:141:16: note: hidden overloaded virtual function 'UdpInterface::Configure' declared here: type mismatch at 1st parameter ('int' vs 'const TunConfig &&') 141 | virtual bool Configure(int listen_port_udp, int listen_port_tcp) = 0; | ^ In file included from tunsafe_amalgam.cpp:34: ./tunsafe_bsd.cpp:409:8: warning: unused variable 'buf2' [-Wunused-variable] 409 | char buf2[kSizeOfAddress]; | ^~~~ ./tunsafe_bsd.cpp:433:10: warning: unused variable 'ipv4_netmask' [-Wunused-variable] 433 | uint32 ipv4_netmask = CidrToNetmaskV4(ipv4_addr->cidr); | ^~~~~~~~~~~~ ./tunsafe_bsd.cpp:573:3: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] 573 | write(1, "Ctrl-C detected. Exiting. Press again to force quit.\n", sizeof("Ctrl-C detected. Exiting. Press again to force quit.\n") - 1); | ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./tunsafe_bsd.cpp:589:29: warning: suggest braces around initialization of subobject [-Wmissing-braces] 589 | struct sigaction act = {0}; | ^ | {} ./tunsafe_bsd.cpp:598:29: warning: suggest braces around initialization of subobject [-Wmissing-braces] 598 | struct sigaction act = {0}; | ^ | {} ./tunsafe_bsd.cpp:614:29: warning: suggest braces around initialization of subobject [-Wmissing-braces] 614 | struct itimerspec tv = {0}; | ^ | {} ./tunsafe_bsd.cpp:664:16: warning: 'TunsafeBackendBsdImpl::Configure' hides overloaded virtual function [-Woverloaded-virtual] 664 | virtual bool Configure(int listen_port_udp, int listen_port_tcp) override; | ^ ./tunsafe_bsd.h:43:16: note: hidden overloaded virtual function 'TunsafeBackendBsd::Configure' declared here: type mismatch at 1st parameter ('const TunConfig &&' vs 'int') 43 | virtual bool Configure(const TunConfig &&config, TunConfigOut *out) override; | ^ In file included from tunsafe_amalgam.cpp:35: ./ts.cpp:249:16: warning: unused variable 'rv' [-Wunused-variable] 249 | int fd = -1, rv; | ^~ ./ts.cpp:356:15: warning: unused variable 'st' [-Wunused-variable] 356 | struct stat st; | ^~ In file included from tunsafe_amalgam.cpp:36: ./benchmark.cpp:53:18: warning: unused variable 't1' [-Wunused-variable] 53 | int64 a, b, f, t1 = 0, t2 = 0; | ^~ ./benchmark.cpp:53:26: warning: unused variable 't2' [-Wunused-variable] 53 | int64 a, b, f, t1 = 0, t2 = 0; | ^~ In file included from tunsafe_amalgam.cpp:22: ./ip_to_peer_map.cpp:96:15: warning: unused function 'make_cidr_mask' [-Wunused-function] 96 | static uint32 make_cidr_mask(uint8 cidr) { | ^~~~~~~~~~~~~~ In file included from tunsafe_amalgam.cpp:25: ./crypto/chacha20poly1305.cpp:252:13: warning: unused function 'poly1305_init_generic' [-Wunused-function] 252 | static void poly1305_init_generic(void *ctx, const uint8 key[16]) { | ^~~~~~~~~~~~~~~~~~~~~ ./crypto/chacha20poly1305.cpp:269:13: warning: unused function 'poly1305_blocks_generic' [-Wunused-function] 269 | static void poly1305_blocks_generic(void *ctx, const uint8 *inp, size_t len, uint32 padbit) | ^~~~~~~~~~~~~~~~~~~~~~~ ./crypto/chacha20poly1305.cpp:360:13: warning: unused function 'poly1305_emit_generic' [-Wunused-function] 360 | static void poly1305_emit_generic(void *ctx, uint8 mac[16], const uint32 nonce[4]) | ^~~~~~~~~~~~~~~~~~~~~ In file included from tunsafe_amalgam.cpp:26: ./crypto/blake2s/blake2s.cpp:121:12: warning: unused function 'blake2s_is_lastblock' [-Wunused-function] 121 | static int blake2s_is_lastblock(const blake2s_state *S) { | ^~~~~~~~~~~~~~~~~~~~ ./crypto/blake2s/blake2s.cpp:206:13: warning: unused function 'blake2s_compress' [-Wunused-function] 206 | static void blake2s_compress(blake2s_state *S, const uint8_t in[BLAKE2S_BLOCKBYTES]) { | ^~~~~~~~~~~~~~~~ In file included from tunsafe_amalgam.cpp:34: ./tunsafe_bsd.cpp:402:13: warning: unused function 'IsIpv6AddressSet' [-Wunused-function] 402 | static bool IsIpv6AddressSet(const void *p) { | ^~~~~~~~~~~~~~~~ In file included from tunsafe_amalgam.cpp:35: ./ts.cpp:237:20: warning: unused function 'GetGuidFromInterfaceName' [-Wunused-function] 237 | static const char *GetGuidFromInterfaceName(const char *name) { | ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from tunsafe_amalgam.cpp:15: ./wireguard.cpp:335:3: warning: unused typedef 'static_assertion_failed_x_kPacketResult_wrong_values' [-Wunused-local-typedef] 335 | STATIC_ASSERT(kPacketResult_ForwardUdp == 1 && kPacketResult_Free == 3, kPacketResult_wrong_values); | ^ ./tunsafe_types.h:25:9: note: expanded from macro 'STATIC_ASSERT' 25 | CTASTR(static_assertion_failed_x_,msg) | ^ ./tunsafe_types.h:22:26: note: expanded from macro 'CTASTR' 22 | #define CTASTR(pre,post) CTASTR2(pre,post) | ^ ./tunsafe_types.h:21:27: note: expanded from macro 'CTASTR2' 21 | #define CTASTR2(pre,post) pre ## post | ^ :89:1: note: expanded from here 89 | static_assertion_failed_x_kPacketResult_wrong_values | ^ In file included from tunsafe_amalgam.cpp:33: In file included from ./network_bsd.cpp:3: ./network_bsd.h:271:8: warning: private field 'readable_' is not used [-Wunused-private-field] 271 | bool readable_, writable_; | ^ ./network_bsd.h:272:8: warning: private field 'got_eof_' is not used [-Wunused-private-field] 272 | bool got_eof_; | ^ ./network_bsd.h:274:8: warning: private field 'want_connect_' is not used [-Wunused-private-field] 274 | bool want_connect_; | ^ 56 warnings generated. + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.AiNblO + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/tunsafe-1.5rc2-1.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/tunsafe-1.5rc2-1.x86_64 ++ dirname /builddir/build/BUILDROOT/tunsafe-1.5rc2-1.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/tunsafe-1.5rc2-1.x86_64 + cd TunSafe-85a871c1d226956df7c1308a1e5527556fe35fe1 + install -Dm755 tunsafe /builddir/build/BUILDROOT/tunsafe-1.5rc2-1.x86_64//usr/bin/tunsafe + install -Dm644 installer/TunSafe.conf /builddir/build/BUILDROOT/tunsafe-1.5rc2-1.x86_64/etc/tunsafe/tunsafe.conf + mkdir -p /builddir/build/BUILDROOT/tunsafe-1.5rc2-1.x86_64/usr/lib/systemd/system + cat + /usr/bin/find-debuginfo -j4 --strict-build-id -i --build-id-seed 1.5rc2-1 --unique-debug-suffix -1.5rc2-1.x86_64 --unique-debug-src-base tunsafe-1.5rc2-1.x86_64 -S debugsourcefiles.list /builddir/build/BUILD/TunSafe-85a871c1d226956df7c1308a1e5527556fe35fe1 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/tunsafe-1.5rc2-1.x86_64/usr/bin/tunsafe extracting debug info from /builddir/build/BUILDROOT/tunsafe-1.5rc2-1.x86_64/usr/bin/tunsafe 1273 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 1 + /usr/lib/rpm/brp-python-hardlink Processing files: tunsafe-1.5rc2-1.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.Mxm1D5 + umask 022 + cd /builddir/build/BUILD + cd TunSafe-85a871c1d226956df7c1308a1e5527556fe35fe1 + DOCDIR=/builddir/build/BUILDROOT/tunsafe-1.5rc2-1.x86_64/usr/share/doc/tunsafe + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/tunsafe-1.5rc2-1.x86_64/usr/share/doc/tunsafe + cp -pr 'docs/WireGuard TCP.txt' /builddir/build/BUILDROOT/tunsafe-1.5rc2-1.x86_64/usr/share/doc/tunsafe + cp -pr installer/ChangeLog.txt /builddir/build/BUILDROOT/tunsafe-1.5rc2-1.x86_64/usr/share/doc/tunsafe + cp -pr TunSafe.conf /builddir/build/BUILDROOT/tunsafe-1.5rc2-1.x86_64/usr/share/doc/tunsafe + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.qO4RlA + umask 022 + cd /builddir/build/BUILD + cd TunSafe-85a871c1d226956df7c1308a1e5527556fe35fe1 + LICENSEDIR=/builddir/build/BUILDROOT/tunsafe-1.5rc2-1.x86_64/usr/share/licenses/tunsafe + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/tunsafe-1.5rc2-1.x86_64/usr/share/licenses/tunsafe + cp -pr LICENSE.AGPL.TXT /builddir/build/BUILDROOT/tunsafe-1.5rc2-1.x86_64/usr/share/licenses/tunsafe + cp -pr installer/LICENSE.TXT /builddir/build/BUILDROOT/tunsafe-1.5rc2-1.x86_64/usr/share/licenses/tunsafe + RPM_EC=0 ++ jobs -p + exit 0 Provides: config(tunsafe) = 1.5rc2-1 tunsafe = 1.5rc2-1 tunsafe(x86-64) = 1.5rc2-1 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.15)(64bit) libc.so.6(GLIBC_2.17)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3.2)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.34)(64bit) libc.so.6(GLIBC_2.38)(64bit) libc.so.6(GLIBC_2.4)(64bit) libc.so.6(GLIBC_2.9)(64bit) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.0)(64bit) libm.so.6()(64bit) libstdc++.so.6()(64bit) libstdc++.so.6(CXXABI_1.3)(64bit) libstdc++.so.6(GLIBCXX_3.4)(64bit) libstdc++.so.6(GLIBCXX_3.4.14)(64bit) libstdc++.so.6(GLIBCXX_3.4.18)(64bit) libstdc++.so.6(GLIBCXX_3.4.29)(64bit) libstdc++.so.6(GLIBCXX_3.4.30)(64bit) rtld(GNU_HASH) Processing files: tunsafe-debuginfo-1.5rc2-1.x86_64 Provides: tunsafe-debuginfo = 1.5rc2-1 tunsafe-debuginfo(x86-64) = 1.5rc2-1 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: tunsafe-debugsource(x86-64) = 1.5rc2-1 Processing files: tunsafe-debugsource-1.5rc2-1.x86_64 Provides: tunsafe-debugsource = 1.5rc2-1 tunsafe-debugsource(x86-64) = 1.5rc2-1 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/tunsafe-1.5rc2-1.x86_64 Wrote: /builddir/build/RPMS/tunsafe-1.5rc2-1.x86_64.rpm Wrote: /builddir/build/RPMS/tunsafe-debugsource-1.5rc2-1.x86_64.rpm Wrote: /builddir/build/RPMS/tunsafe-debuginfo-1.5rc2-1.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.zTzLNH + umask 022 + cd /builddir/build/BUILD + cd TunSafe-85a871c1d226956df7c1308a1e5527556fe35fe1 + /usr/bin/rm -rf /builddir/build/BUILDROOT/tunsafe-1.5rc2-1.x86_64 + RPM_EC=0 ++ jobs -p + exit 0 Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.x7VNiV + umask 022 + cd /builddir/build/BUILD + rm -rf TunSafe-85a871c1d226956df7c1308a1e5527556fe35fe1 TunSafe-85a871c1d226956df7c1308a1e5527556fe35fe1.gemspec + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0