Mock Version: 3.3 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/n2n.spec'], chrootPath='/var/lib/mock/fedora-rawhide-x86_64-1667629453.434129/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=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.z33niyk4:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.z33niyk4:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'fef22cfa481641cb849f64e93f93243f', '-D', '/var/lib/mock/fedora-rawhide-x86_64-1667629453.434129/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.z33niyk4:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/n2n.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1658448000 Wrote: /builddir/build/SRPMS/n2n-2.1.0-23.fc38.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/n2n.spec'], chrootPath='/var/lib/mock/fedora-rawhide-x86_64-1667629453.434129/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=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.z33niyk4:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.z33niyk4:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'afd56578509743ff85c0e0e54020c20e', '-D', '/var/lib/mock/fedora-rawhide-x86_64-1667629453.434129/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.z33niyk4:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/n2n.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1658448000 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.smPoCV + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf n2n-2.1.0 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/n2n-2.1.0.tar.bz2 + STATUS=0 + '[' 0 -ne 0 ']' + cd n2n-2.1.0 + /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.WV5E8p + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + 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 n2n-2.1.0 + make 'CFLAGS=-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' -j2 Makefile:79: warning: ignoring prerequisites on suffix rule definition gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c n2n.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c n2n_keyfile.c n2n.c: In function 'hex2byte': n2n.c:384:8: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] 384 | char tmp[3]; | ^~~ n2n.c: In function 'sock_to_cstr': n2n.c:417:9: warning: variable 'r' set but not used [-Wunused-but-set-variable] 417 | int r; | ^ n2n_keyfile.c: In function 'n2n_read_keyfile': n2n_keyfile.c:157:13: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 157 | fgets( line, N2N_KEYFILE_LINESIZE, fp ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ n2n.c: In function 'traceEvent': n2n.c:125:59: warning: '%s' directive output may be truncated writing up to 2047 bytes into a region of size between 580 and 620 [-Wformat-truncation=] 125 | snprintf(out_buf, sizeof(out_buf), "%s [%11s:%4d] %s%s", theDate, file, line, extra_msg, buf); | ^~ ~~~ In file included from /usr/include/stdio.h:906, from n2n.h:68, from n2n.c:24: In function 'snprintf', inlined from 'traceEvent' at n2n.c:125:7: /usr/include/bits/stdio2.h:54:10: note: '__snprintf_chk' output 21 or more bytes (assuming 2108) into a destination of size 640 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ n2n_keyfile.c:102:5: warning: 'strncpy' specified bound 256 equals destination size [-Wstringop-truncation] 102 | strncpy( (char *)spec->opaque, token, N2N_MAX_KEYSIZE ); | ^ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c wire.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c minilzo.c wire.c: In function 'decode_sock': wire.c:219:9: warning: 'f' may be used uninitialized [-Wmaybe-uninitialized] 219 | if( f & 0x8000 ) | ^ wire.c:215:14: note: 'f' was declared here 215 | uint16_t f; | ^ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c twofish.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c transform_null.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c transform_tf.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c transform_aes.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c tuntap_freebsd.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c tuntap_netbsd.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c tuntap_linux.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c tuntap_osx.c tuntap_linux.c: In function 'tuntap_get_address': tuntap_linux.c:140:13: warning: variable 'nread' set but not used [-Wunused-but-set-variable] 140 | ssize_t nread=0; | ^~~~~ tuntap_linux.c: In function 'tuntap_open': tuntap_linux.c:99:7: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 99 | system(buf); | ^~~~~~~~~~~ tuntap_linux.c:114:3: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 114 | system(buf); | ^~~~~~~~~~~ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -DN2N_VERSION='"2.1.0"' -DN2N_OSNAME='"unknown"' -c version.c tuntap_linux.c: In function 'tuntap_get_address': tuntap_linux.c:155:9: warning: 'fclose' called on pointer returned from a mismatched allocation function [-Wmismatched-dealloc] 155 | fclose(fp); | ^~~~~~~~~~ tuntap_linux.c:150:8: note: returned from 'popen' 150 | fp=popen(buf, "r"); | ^~~~~~~~~~~~~~~ gzip -c edge.8 > edge.8.gz gzip -c supernode.1 > supernode.1.gz gzip -c n2n_v2.7 > n2n_v2.7.gz ar rcs n2n.a n2n.o n2n_keyfile.o wire.o minilzo.o twofish.o transform_null.o transform_tf.o transform_aes.o tuntap_freebsd.o tuntap_netbsd.o tuntap_linux.o tuntap_osx.o version.o gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection edge.c n2n.a -lcrypto -o edge gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection sn.c n2n.a -o supernode edge.c: In function 'send_register': edge.c:559:13: warning: variable 'sent' set but not used [-Wunused-but-set-variable] 559 | ssize_t sent; | ^~~~ edge.c: In function 'send_register_super': edge.c:594:13: warning: variable 'sent' set but not used [-Wunused-but-set-variable] 594 | ssize_t sent; | ^~~~ edge.c: In function 'send_register_ack': edge.c:636:13: warning: variable 'sent' set but not used [-Wunused-but-set-variable] 636 | ssize_t sent; | ^~~~ edge.c: In function 'send_PACKET': edge.c:1138:13: warning: variable 's' set but not used [-Wunused-but-set-variable] 1138 | ssize_t s; | ^ edge.c: In function 'readFromMgmtSocket': edge.c:1424:25: warning: variable 'sendlen' set but not used [-Wunused-but-set-variable] 1424 | ssize_t sendlen; | ^~~~~~~ edge.c: In function 'main': edge.c:2232:5: warning: ignoring return value of 'setuid' declared with attribute 'warn_unused_result' [-Wunused-result] 2232 | setuid( 0 ); | ^~~~~~~~~~~ edge.c:2256:9: warning: ignoring return value of 'setreuid' declared with attribute 'warn_unused_result' [-Wunused-result] 2256 | setreuid( userid, userid ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ edge.c:2257:9: warning: ignoring return value of 'setregid' declared with attribute 'warn_unused_result' [-Wunused-result] 2257 | setregid( groupid, groupid ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ edge.c:1994:13: warning: '__strncat_chk' specified bound depends on the length of the source argument [-Wstringop-overflow=] 1994 | strncat(linebuffer, argv[i], strlen(argv[i])); | ^ edge.c:1994:13: note: length computed here 1994 | strncat(linebuffer, argv[i], strlen(argv[i])); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ edge.c:188:22: warning: '__strncpy_chk' specified bound depends on the length of the source argument [-Wstringop-truncation] 188 | if (p != buffer) strncpy(buffer,p,strlen(p)+1); | ^ In function 'readConfFile', inlined from 'main' at edge.c:1989:17: edge.c:188:39: note: length computed here 188 | if (p != buffer) strncpy(buffer,p,strlen(p)+1); | ^~~~~~~~~ edge.c: In function 'main': edge.c:202:7: warning: '__strncat_chk' specified bound depends on the length of the source argument [-Wstringop-overflow=] 202 | strncat(linebuffer, buffer, strlen(buffer)); | ^ In function 'readConfFile', inlined from 'main' at edge.c:1989:17: edge.c:202:7: note: length computed here 202 | strncat(linebuffer, buffer, strlen(buffer)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ edge.c: In function 'main': edge.c:230:3: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-truncation] 230 | strncpy(buffer, linebuffer,strlen(linebuffer)); | ^ In function 'buildargv', inlined from 'main' at edge.c:2007:21: edge.c:230:3: note: length computed here 230 | strncpy(buffer, linebuffer,strlen(linebuffer)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ edge.c: In function 'main': edge.c:2158:13: warning: 'strncpy' specified bound 16 equals destination size [-Wstringop-truncation] 2158 | strncpy(netmask, optarg, N2N_NETMASK_STR_SIZE); | ^ edge.c:2082:13: warning: 'strncpy' specified bound 18 equals destination size [-Wstringop-truncation] 2082 | strncpy(device_mac,optarg,N2N_MACNAMSIZ); | ^ edge.c:2129:13: warning: 'strncpy' specified bound 16 equals destination size [-Wstringop-truncation] 2129 | strncpy(tuntap_dev_name, optarg, N2N_IFNAMSIZ); | ^ edge.c:2050:13: warning: 'strncpy' specified bound 16 equals destination size [-Wstringop-truncation] 2050 | strncpy( (char *)eee.community_name, optarg, N2N_COMMUNITY_SIZE); | ^ edge.c:1916:9: warning: 'strncpy' specified bound 16 equals destination size [-Wstringop-truncation] 1916 | strncpy( ip_addr, s, addr_size ); | ^ edge.c: In function 'main': edge.c:1994:13: warning: '__builtin___strncat_chk' specified bound depends on the length of the source argument [-Wstringop-overflow=] 1994 | strncat(linebuffer, argv[i], strlen(argv[i])); | ^ edge.c:1994:13: note: length computed here 1994 | strncat(linebuffer, argv[i], strlen(argv[i])); | ^ edge.c:202:7: warning: '__builtin___strncat_chk' specified bound depends on the length of the source argument [-Wstringop-overflow=] 202 | strncat(linebuffer, buffer, strlen(buffer)); | ^ In function 'readConfFile', inlined from 'main' at edge.c:1989:17: edge.c:202:7: note: length computed here 202 | strncat(linebuffer, buffer, strlen(buffer)); | ^ + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.jasPRi + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/n2n-2.1.0-23.fc38.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/n2n-2.1.0-23.fc38.x86_64 ++ dirname /builddir/build/BUILDROOT/n2n-2.1.0-23.fc38.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/n2n-2.1.0-23.fc38.x86_64 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + 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 n2n-2.1.0 + rm -rf /builddir/build/BUILDROOT/n2n-2.1.0-23.fc38.x86_64 + make 'INSTALL=install -p' install DESTDIR=/builddir/build/BUILDROOT/n2n-2.1.0-23.fc38.x86_64 Makefile:79: warning: ignoring prerequisites on suffix rule definition echo "MANDIR=/builddir/build/BUILDROOT/n2n-2.1.0-23.fc38.x86_64/usr/share/man" MANDIR=/builddir/build/BUILDROOT/n2n-2.1.0-23.fc38.x86_64/usr/share/man mkdir -p /builddir/build/BUILDROOT/n2n-2.1.0-23.fc38.x86_64/usr/sbin /builddir/build/BUILDROOT/n2n-2.1.0-23.fc38.x86_64/usr/share/man/man1 /builddir/build/BUILDROOT/n2n-2.1.0-23.fc38.x86_64/usr/share/man/man7 /builddir/build/BUILDROOT/n2n-2.1.0-23.fc38.x86_64/usr/share/man/man8 install -p -m755 supernode /builddir/build/BUILDROOT/n2n-2.1.0-23.fc38.x86_64/usr/sbin/ install -p -m755 edge /builddir/build/BUILDROOT/n2n-2.1.0-23.fc38.x86_64/usr/sbin/ install -p -m644 edge.8.gz /builddir/build/BUILDROOT/n2n-2.1.0-23.fc38.x86_64/usr/share/man/man8/ install -p -m644 supernode.1.gz /builddir/build/BUILDROOT/n2n-2.1.0-23.fc38.x86_64/usr/share/man/man1/ install -p -m644 n2n_v2.7.gz /builddir/build/BUILDROOT/n2n-2.1.0-23.fc38.x86_64/usr/share/man/man7/ + /usr/bin/find-debuginfo -j2 --strict-build-id -m -i --build-id-seed 2.1.0-23.fc38 --unique-debug-suffix -2.1.0-23.fc38.x86_64 --unique-debug-src-base n2n-2.1.0-23.fc38.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /builddir/build/BUILD/n2n-2.1.0 extracting debug info from /builddir/build/BUILDROOT/n2n-2.1.0-23.fc38.x86_64/usr/sbin/edge extracting debug info from /builddir/build/BUILDROOT/n2n-2.1.0-23.fc38.x86_64/usr/sbin/supernode original debug info size: 328kB, size after compression: 304kB /usr/bin/sepdebugcrcfix: Updated 2 CRC32s, 0 CRC32s did match. 746 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 + /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/redhat/brp-python-hardlink Processing files: n2n-2.1.0-23.fc38.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.3hVMN7 + umask 022 + cd /builddir/build/BUILD + cd n2n-2.1.0 + DOCDIR=/builddir/build/BUILDROOT/n2n-2.1.0-23.fc38.x86_64/usr/share/doc/n2n + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/n2n-2.1.0-23.fc38.x86_64/usr/share/doc/n2n + cp -pr COPYING /builddir/build/BUILDROOT/n2n-2.1.0-23.fc38.x86_64/usr/share/doc/n2n + cp -pr README /builddir/build/BUILDROOT/n2n-2.1.0-23.fc38.x86_64/usr/share/doc/n2n + cp -pr HACKING /builddir/build/BUILDROOT/n2n-2.1.0-23.fc38.x86_64/usr/share/doc/n2n + RPM_EC=0 ++ jobs -p + exit 0 Provides: n2n = 2.1.0-23.fc38 n2n(x86-64) = 2.1.0-23.fc38 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.2.5)(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.4)(64bit) libc.so.6(GLIBC_2.7)(64bit) libcrypto.so.3()(64bit) rtld(GNU_HASH) Processing files: n2n-debugsource-2.1.0-23.fc38.x86_64 Provides: n2n-debugsource = 2.1.0-23.fc38 n2n-debugsource(x86-64) = 2.1.0-23.fc38 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: n2n-debuginfo-2.1.0-23.fc38.x86_64 Provides: debuginfo(build-id) = b3d29a93ac6662fba0dfb1cb1e34b4061e85b7e1 debuginfo(build-id) = cf49aeeb3d0815efceab36910bd73b556826705d n2n-debuginfo = 2.1.0-23.fc38 n2n-debuginfo(x86-64) = 2.1.0-23.fc38 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: n2n-debugsource(x86-64) = 2.1.0-23.fc38 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/n2n-2.1.0-23.fc38.x86_64 Wrote: /builddir/build/RPMS/n2n-debuginfo-2.1.0-23.fc38.x86_64.rpm Wrote: /builddir/build/RPMS/n2n-debugsource-2.1.0-23.fc38.x86_64.rpm Wrote: /builddir/build/RPMS/n2n-2.1.0-23.fc38.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.YHfPP9 + umask 022 + cd /builddir/build/BUILD + cd n2n-2.1.0 + /usr/bin/rm -rf /builddir/build/BUILDROOT/n2n-2.1.0-23.fc38.x86_64 + RPM_EC=0 ++ jobs -p + exit 0 Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.zbZ3LQ + umask 022 + cd /builddir/build/BUILD + rm -rf n2n-2.1.0 n2n-2.1.0.gemspec + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0