Mock Version: 3.3 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/ndppd.spec'], chrootPath='/var/lib/mock/fedora-rawhide-x86_64-1667517215.404664/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.hr0vuc0v:/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.hr0vuc0v:/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', 'c439beccc5a34360bf01cfd83bbbe6b9', '-D', '/var/lib/mock/fedora-rawhide-x86_64-1667517215.404664/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.hr0vuc0v:/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/ndppd.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=1666742400 Wrote: /builddir/build/SRPMS/ndppd-0.2.5-6.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/ndppd.spec'], chrootPath='/var/lib/mock/fedora-rawhide-x86_64-1667517215.404664/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.hr0vuc0v:/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.hr0vuc0v:/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', '50c411dcb9af4742abaf180a868c865b', '-D', '/var/lib/mock/fedora-rawhide-x86_64-1667517215.404664/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.hr0vuc0v:/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/ndppd.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=1666742400 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.rJ7DIZ + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf ndppd-0.2.5 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/ndppd-0.2.5.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd ndppd-0.2.5 + /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.iJoxqk + 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 ndppd-0.2.5 + 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 + /usr/bin/make -O -j2 V=1 VERBOSE=1 g++ -c -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 -o src/logger.o src/logger.cc src/logger.cc: In static member function 'static void ndppd::logger::syslog(bool)': src/logger.cc:170:17: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 170 | if (_syslog = sl) { | ~~~~~~~~^~~~ g++ -c -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 -o src/ndppd.o src/ndppd.cc In file included from src/ndppd.h:28, from src/ndppd.cc:31: src/ptr.h: In instantiation of 'void ndppd::ptr::acquire(ptr_ref*) [with T = ndppd::conf]': src/ptr.h:140:16: required from 'ndppd::ptr::ptr(const ndppd::ptr&, bool) [with T = ndppd::conf]' src/ndppd.cc:75:28: required from here src/ptr.h:62:18: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 62 | if (_ref = ref) { | ~~~~~^~~~~ g++ -c -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 -o src/proxy.o src/proxy.cc In file included from src/ndppd.h:28, from src/proxy.cc:20: src/ptr.h: In instantiation of 'void ndppd::ptr::acquire(ptr_ref*) [with T = ndppd::proxy]': src/ptr.h:140:16: required from 'ndppd::ptr::ptr(const ndppd::ptr&, bool) [with T = ndppd::proxy]' src/proxy.cc:49:12: required from here src/ptr.h:62:18: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 62 | if (_ref = ref) { | ~~~~~^~~~~ src/ptr.h: In instantiation of 'void ndppd::ptr::acquire(ptr_ref*) [with T = ndppd::rule]': src/ptr.h:140:16: required from 'ndppd::ptr::ptr(const ndppd::ptr&, bool) [with T = ndppd::rule]' src/proxy.cc:97:25: required from here src/ptr.h:62:18: warning: suggest parentheses around assignment used as truth value [-Wparentheses] src/ptr.h: In instantiation of 'void ndppd::ptr::acquire(ptr_ref*) [with T = ndppd::iface]': src/ptr.h:122:16: required from 'void ndppd::ptr::acquire(const ndppd::ptr&) [with U = ndppd::iface; T = ndppd::iface]' src/ptr.h:177:16: required from 'ndppd::ptr& ndppd::ptr::operator=(const ndppd::ptr&) [with T = ndppd::iface]' src/proxy.cc:41:16: required from here src/ptr.h:62:18: warning: suggest parentheses around assignment used as truth value [-Wparentheses] src/ptr.h: In instantiation of 'void ndppd::ptr::acquire(ptr_ref*) [with T = ndppd::session]': src/ptr.h:122:16: required from 'void ndppd::ptr::acquire(const ndppd::ptr&) [with U = ndppd::session; T = ndppd::session]' src/ptr.h:177:16: required from 'ndppd::ptr& ndppd::ptr::operator=(const ndppd::ptr&) [with T = ndppd::session]' src/proxy.cc:103:63: required from here src/ptr.h:62:18: warning: suggest parentheses around assignment used as truth value [-Wparentheses] g++ -c -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 -o src/iface.o src/iface.cc src/iface.cc: In static member function 'static ssize_t ndppd::iface::read(int, sockaddr*, uint8_t*, size_t)': src/iface.cc:310:13: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 310 | if (len < sizeof(struct icmp6_hdr)) | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/ndppd.h:28, from src/iface.cc:41: src/ptr.h: In instantiation of 'void ndppd::ptr::acquire(ptr_ref*) [with T = ndppd::iface]': src/ptr.h:146:16: required from 'ndppd::ptr::ptr(const ndppd::weak_ptr&, bool) [with T = ndppd::iface]' src/iface.cc:83:24: required from here src/ptr.h:62:18: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 62 | if (_ref = ref) { | ~~~~~^~~~~ src/ptr.h: In instantiation of 'void ndppd::ptr::acquire(ptr_ref*) [with T = ndppd::session]': src/ptr.h:146:16: required from 'ndppd::ptr::ptr(const ndppd::weak_ptr&, bool) [with T = ndppd::session]' src/iface.cc:584:44: required from here src/ptr.h:62:18: warning: suggest parentheses around assignment used as truth value [-Wparentheses] src/ptr.h: In instantiation of 'void ndppd::ptr::acquire(ptr_ref*) [with T = ndppd::proxy]': src/ptr.h:140:16: required from 'ndppd::ptr::ptr(const ndppd::ptr&, bool) [with T = ndppd::proxy]' src/ptr.h:245:23: required from 'ndppd::weak_ptr::weak_ptr(const ndppd::ptr&) [with T = ndppd::proxy]' src/iface.cc:643:11: required from here src/ptr.h:62:18: warning: suggest parentheses around assignment used as truth value [-Wparentheses] g++ -c -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 -o src/address.o src/address.cc g++ -c -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 -o src/rule.o src/rule.cc In file included from src/ndppd.h:28, from src/rule.cc:20: src/ptr.h: In instantiation of 'void ndppd::ptr::acquire(ptr_ref*) [with T = ndppd::rule]': src/ptr.h:140:16: required from 'ndppd::ptr::ptr(const ndppd::ptr&, bool) [with T = ndppd::rule]' src/rule.cc:42:12: required from here src/ptr.h:62:18: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 62 | if (_ref = ref) { | ~~~~~^~~~~ src/ptr.h: In instantiation of 'void ndppd::ptr::acquire(ptr_ref*) [with T = ndppd::iface]': src/ptr.h:140:16: required from 'ndppd::ptr::ptr(const ndppd::ptr&, bool) [with T = ndppd::iface]' src/rule.cc:67:12: required from here src/ptr.h:62:18: warning: suggest parentheses around assignment used as truth value [-Wparentheses] src/ptr.h: In instantiation of 'void ndppd::ptr::acquire(ptr_ref*) [with T = ndppd::proxy]': src/ptr.h:140:16: required from 'ndppd::ptr::ptr(const ndppd::ptr&, bool) [with T = ndppd::proxy]' src/ptr.h:245:23: required from 'ndppd::weak_ptr::weak_ptr(const ndppd::ptr&) [with T = ndppd::proxy]' src/rule.cc:35:17: required from here src/ptr.h:62:18: warning: suggest parentheses around assignment used as truth value [-Wparentheses] g++ -c -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 -o src/session.o src/session.cc In file included from src/ndppd.h:28, from src/session.cc:18: src/ptr.h: In instantiation of 'void ndppd::ptr::acquire(ptr_ref*) [with T = ndppd::session]': src/ptr.h:146:16: required from 'ndppd::ptr::ptr(const ndppd::weak_ptr&, bool) [with T = ndppd::session]' src/session.cc:36:30: required from here src/ptr.h:62:18: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 62 | if (_ref = ref) { | ~~~~~^~~~~ src/ptr.h: In instantiation of 'void ndppd::ptr::acquire(ptr_ref*) [with T = ndppd::proxy]': src/ptr.h:140:16: required from 'ndppd::ptr::ptr(const ndppd::ptr&, bool) [with T = ndppd::proxy]' src/ptr.h:245:23: required from 'ndppd::weak_ptr::weak_ptr(const ndppd::ptr&) [with T = ndppd::proxy]' src/session.cc:71:18: required from here src/ptr.h:62:18: warning: suggest parentheses around assignment used as truth value [-Wparentheses] src/ptr.h: In instantiation of 'void ndppd::ptr::acquire(ptr_ref*) [with T = ndppd::iface]': src/ptr.h:140:16: required from 'ndppd::ptr::ptr(const ndppd::ptr&, bool) [with T = ndppd::iface]' /usr/include/c++/12/bits/new_allocator.h:175:4: required from 'void std::__new_allocator<_Tp>::construct(_Up*, _Args&& ...) [with _Up = ndppd::ptr; _Args = {const ndppd::ptr&}; _Tp = std::_List_node >]' /usr/include/c++/12/bits/alloc_traits.h:516:17: required from 'static void std::allocator_traits >::construct(allocator_type&, _Up*, _Args&& ...) [with _Up = ndppd::ptr; _Args = {const ndppd::ptr&}; _Tp = std::_List_node >; allocator_type = std::allocator > >]' /usr/include/c++/12/bits/stl_list.h:713:33: required from 'std::__cxx11::list<_Tp, _Alloc>::_Node* std::__cxx11::list<_Tp, _Alloc>::_M_create_node(_Args&& ...) [with _Args = {const ndppd::ptr&}; _Tp = ndppd::ptr; _Alloc = std::allocator >; _Node = std::__cxx11::list >::_Node]' /usr/include/c++/12/bits/stl_list.h:2005:32: required from 'void std::__cxx11::list<_Tp, _Alloc>::_M_insert(iterator, _Args&& ...) [with _Args = {const ndppd::ptr&}; _Tp = ndppd::ptr; _Alloc = std::allocator >; iterator = std::__cxx11::list >::iterator]' /usr/include/c++/12/bits/stl_list.h:1306:24: required from 'void std::__cxx11::list<_Tp, _Alloc>::push_back(const value_type&) [with _Tp = ndppd::ptr; _Alloc = std::allocator >; value_type = ndppd::ptr]' src/session.cc:92:22: required from here src/ptr.h:62:18: warning: suggest parentheses around assignment used as truth value [-Wparentheses] g++ -c -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 -o src/conf.o src/conf.cc src/conf.cc: In static member function 'static ndppd::ptr ndppd::conf::load(const std::string&)': src/conf.cc:94:37: warning: catching polymorphic type 'class std::ios_base::failure' by value [-Wcatch-value=] 94 | } catch (std::ifstream::failure e) { | ^ In file included from src/ndppd.h:28, from src/conf.cc:27: src/ptr.h: In instantiation of 'void ndppd::ptr::acquire(ptr_ref*) [with T = ndppd::conf]': src/ptr.h:140:16: required from 'ndppd::ptr::ptr(const ndppd::ptr&, bool) [with T = ndppd::conf]' src/conf.cc:90:20: required from here src/ptr.h:62:18: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 62 | if (_ref = ref) { | ~~~~~^~~~~ /bin/gzip < ndppd.1 > ndppd.1.gz /bin/gzip < ndppd.conf.5 > ndppd.conf.5.gz g++ -c -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 -o src/route.o src/route.cc src/route.cc: In static member function 'static void ndppd::route::load(const std::string&)': src/route.cc:120:37: warning: catching polymorphic type 'class std::ios_base::failure' by value [-Wcatch-value=] 120 | } catch (std::ifstream::failure e) { | ^ In file included from src/ndppd.h:28, from src/route.cc:20: src/ptr.h: In instantiation of 'void ndppd::ptr::acquire(ptr_ref*) [with T = ndppd::route]': src/ptr.h:140:16: required from 'ndppd::ptr::ptr(const ndppd::ptr&, bool) [with T = ndppd::route]' src/route.cc:139:12: required from here src/ptr.h:62:18: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 62 | if (_ref = ref) { | ~~~~~^~~~~ src/ptr.h: In instantiation of 'void ndppd::ptr::acquire(ptr_ref*) [with T = ndppd::iface]': src/ptr.h:140:16: required from 'ndppd::ptr::ptr(const ndppd::ptr&, bool) [with T = ndppd::iface]' src/route.cc:173:21: required from here src/ptr.h:62:18: warning: suggest parentheses around assignment used as truth value [-Wparentheses] g++ -o ndppd -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 src/logger.o src/ndppd.o src/iface.o src/proxy.o src/address.o src/rule.o src/session.o src/conf.o src/route.o + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.eKxC3m + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/ndppd-0.2.5-6.fc38.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/ndppd-0.2.5-6.fc38.x86_64 ++ dirname /builddir/build/BUILDROOT/ndppd-0.2.5-6.fc38.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/ndppd-0.2.5-6.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 ndppd-0.2.5 + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/ndppd-0.2.5-6.fc38.x86_64 'INSTALL=/usr/bin/install -p' PREFIX=/usr mkdir -p /builddir/build/BUILDROOT/ndppd-0.2.5-6.fc38.x86_64/usr/sbin /builddir/build/BUILDROOT/ndppd-0.2.5-6.fc38.x86_64/usr/share/man /builddir/build/BUILDROOT/ndppd-0.2.5-6.fc38.x86_64/usr/share/man/man1 /builddir/build/BUILDROOT/ndppd-0.2.5-6.fc38.x86_64/usr/share/man/man5 cp ndppd /builddir/build/BUILDROOT/ndppd-0.2.5-6.fc38.x86_64/usr/sbin chmod +x /builddir/build/BUILDROOT/ndppd-0.2.5-6.fc38.x86_64/usr/sbin/ndppd cp ndppd.1.gz /builddir/build/BUILDROOT/ndppd-0.2.5-6.fc38.x86_64/usr/share/man/man1 cp ndppd.conf.5.gz /builddir/build/BUILDROOT/ndppd-0.2.5-6.fc38.x86_64/usr/share/man/man5 + install -Dpm0644 /builddir/build/SOURCES/ndppd.service /builddir/build/BUILDROOT/ndppd-0.2.5-6.fc38.x86_64/usr/lib/systemd/system/ndppd.service + install -Dpm0644 /builddir/build/SOURCES/ndppd.conf /builddir/build/BUILDROOT/ndppd-0.2.5-6.fc38.x86_64/usr/lib/tmpfiles.d/ndppd.conf + install -dm0755 /builddir/build/BUILDROOT/ndppd-0.2.5-6.fc38.x86_64/run/ndppd + install -Dpm0644 ndppd.conf-dist /builddir/build/BUILDROOT/ndppd-0.2.5-6.fc38.x86_64/etc/ndppd.conf + /usr/bin/find-debuginfo -j2 --strict-build-id -m -i --build-id-seed 0.2.5-6.fc38 --unique-debug-suffix -0.2.5-6.fc38.x86_64 --unique-debug-src-base ndppd-0.2.5-6.fc38.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /builddir/build/BUILD/ndppd-0.2.5 extracting debug info from /builddir/build/BUILDROOT/ndppd-0.2.5-6.fc38.x86_64/usr/sbin/ndppd original debug info size: 1756kB, size after compression: 1496kB /usr/bin/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 149 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: ndppd-0.2.5-6.fc38.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.ZsXG2J + umask 022 + cd /builddir/build/BUILD + cd ndppd-0.2.5 + DOCDIR=/builddir/build/BUILDROOT/ndppd-0.2.5-6.fc38.x86_64/usr/share/doc/ndppd + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/ndppd-0.2.5-6.fc38.x86_64/usr/share/doc/ndppd + cp -pr ChangeLog /builddir/build/BUILDROOT/ndppd-0.2.5-6.fc38.x86_64/usr/share/doc/ndppd + cp -pr README /builddir/build/BUILDROOT/ndppd-0.2.5-6.fc38.x86_64/usr/share/doc/ndppd + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.2natog + umask 022 + cd /builddir/build/BUILD + cd ndppd-0.2.5 + LICENSEDIR=/builddir/build/BUILDROOT/ndppd-0.2.5-6.fc38.x86_64/usr/share/licenses/ndppd + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/ndppd-0.2.5-6.fc38.x86_64/usr/share/licenses/ndppd + cp -pr LICENSE /builddir/build/BUILDROOT/ndppd-0.2.5-6.fc38.x86_64/usr/share/licenses/ndppd + RPM_EC=0 ++ jobs -p + exit 0 Provides: config(ndppd) = 0.2.5-6.fc38 ndppd = 0.2.5-6.fc38 ndppd(x86-64) = 0.2.5-6.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 Requires(preun): /bin/sh Requires(postun): /bin/sh Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.34)(64bit) libc.so.6(GLIBC_2.4)(64bit) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.0)(64bit) libgcc_s.so.1(GCC_3.3.1)(64bit) libstdc++.so.6()(64bit) libstdc++.so.6(CXXABI_1.3)(64bit) libstdc++.so.6(CXXABI_1.3.1)(64bit) libstdc++.so.6(CXXABI_1.3.9)(64bit) libstdc++.so.6(GLIBCXX_3.4)(64bit) libstdc++.so.6(GLIBCXX_3.4.11)(64bit) libstdc++.so.6(GLIBCXX_3.4.15)(64bit) libstdc++.so.6(GLIBCXX_3.4.21)(64bit) libstdc++.so.6(GLIBCXX_3.4.26)(64bit) libstdc++.so.6(GLIBCXX_3.4.30)(64bit) libstdc++.so.6(GLIBCXX_3.4.9)(64bit) rtld(GNU_HASH) Processing files: ndppd-debugsource-0.2.5-6.fc38.x86_64 Provides: ndppd-debugsource = 0.2.5-6.fc38 ndppd-debugsource(x86-64) = 0.2.5-6.fc38 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: ndppd-debuginfo-0.2.5-6.fc38.x86_64 Provides: debuginfo(build-id) = e2c9c597bfd880cb6e71aa45d9be5534e8c19aa9 ndppd-debuginfo = 0.2.5-6.fc38 ndppd-debuginfo(x86-64) = 0.2.5-6.fc38 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: ndppd-debugsource(x86-64) = 0.2.5-6.fc38 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/ndppd-0.2.5-6.fc38.x86_64 Wrote: /builddir/build/RPMS/ndppd-0.2.5-6.fc38.x86_64.rpm Wrote: /builddir/build/RPMS/ndppd-debugsource-0.2.5-6.fc38.x86_64.rpm Wrote: /builddir/build/RPMS/ndppd-debuginfo-0.2.5-6.fc38.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.gXwqGq + umask 022 + cd /builddir/build/BUILD + cd ndppd-0.2.5 + /usr/bin/rm -rf /builddir/build/BUILDROOT/ndppd-0.2.5-6.fc38.x86_64 + RPM_EC=0 ++ jobs -p + exit 0 Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.FAQCKo + umask 022 + cd /builddir/build/BUILD + rm -rf ndppd-0.2.5 ndppd-0.2.5.gemspec + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0