Mock Version: 2.9 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/ndppd.spec'], chrootPath='/var/lib/mock/epel-8-x86_64-1611304838.422049/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=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.1crv_6j5:/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.1crv_6j5:/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', 'faa4bc277da04676b3ede02f5112ead9', '-D', '/var/lib/mock/epel-8-x86_64-1611304838.422049/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.1crv_6j5:/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'} and shell False Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/ndppd-0.2.5-1.el8.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/epel-8-x86_64-1611304838.422049/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=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.1crv_6j5:/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.1crv_6j5:/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', '07b27683e33b42a686c813d1491183fe', '-D', '/var/lib/mock/epel-8-x86_64-1611304838.422049/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.1crv_6j5:/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'} and shell False Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.QNh3Rq + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf ndppd-0.2.5 + /usr/bin/gzip -dc /builddir/build/SOURCES/ndppd-0.2.5.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd ndppd-0.2.5 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.WSzoyl + umask 022 + cd /builddir/build/BUILD + cd ndppd-0.2.5 + /usr/bin/make -O -j2 'CXX=g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' PREFIX=/usr g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -O3 -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] if (_syslog = sl) { ~~~~~~~~^~~~ g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -O3 -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] 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(ndppd::ptr::ptr_ref*) [with T = ndppd::iface]': src/ptr.h:146:9: 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:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (_ref = ref) { ^~ src/ptr.h: In instantiation of 'void ndppd::ptr::acquire(ndppd::ptr::ptr_ref*) [with T = ndppd::session]': src/ptr.h:146:9: 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:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] src/ptr.h: In instantiation of 'void ndppd::ptr::acquire(ndppd::ptr::ptr_ref*) [with T = ndppd::proxy]': src/ptr.h:140:9: 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:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -O3 -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(ndppd::ptr::ptr_ref*) [with T = ndppd::conf]': src/ptr.h:140:9: required from 'ndppd::ptr::ptr(const ndppd::ptr&, bool) [with T = ndppd::conf]' src/ndppd.cc:68:23: required from here src/ptr.h:62:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (_ref = ref) { ^~ src/ptr.h: In instantiation of 'void ndppd::ptr::acquire(ndppd::ptr::ptr_ref*) [with T = ndppd::proxy]': src/ptr.h:140:9: required from 'ndppd::ptr::ptr(const ndppd::ptr&, bool) [with T = ndppd::proxy]' src/ndppd.cc:152:43: required from here src/ptr.h:62:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -O3 -o src/address.o src/address.cc g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -O3 -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(ndppd::ptr::ptr_ref*) [with T = ndppd::proxy]': src/ptr.h:140:9: 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:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (_ref = ref) { ^~ src/ptr.h: In instantiation of 'void ndppd::ptr::acquire(ndppd::ptr::ptr_ref*) [with T = ndppd::iface]': src/ptr.h:140:9: required from 'ndppd::ptr::ptr(const ndppd::ptr&, bool) [with T = ndppd::iface]' src/proxy.cc:54:44: required from here src/ptr.h:62:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] src/ptr.h: In instantiation of 'void ndppd::ptr::acquire(ndppd::ptr::ptr_ref*) [with T = ndppd::rule]': src/ptr.h:140:9: 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:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] src/ptr.h: In instantiation of 'void ndppd::ptr::acquire(ndppd::ptr::ptr_ref*) [with T = ndppd::route]': src/ptr.h:140:9: required from 'ndppd::ptr::ptr(const ndppd::ptr&, bool) [with T = ndppd::route]' src/proxy.cc:107:50: required from here src/ptr.h:62:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] src/ptr.h: In instantiation of 'void ndppd::ptr::acquire(ndppd::ptr::ptr_ref*) [with T = ndppd::session]': src/ptr.h:122:9: required from 'void ndppd::ptr::acquire(const ndppd::ptr&) [with U = ndppd::session; T = ndppd::session]' src/ptr.h:177:9: 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:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -O3 -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(ndppd::ptr::ptr_ref*) [with T = ndppd::rule]': src/ptr.h:140:9: 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:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (_ref = ref) { ^~ src/ptr.h: In instantiation of 'void ndppd::ptr::acquire(ndppd::ptr::ptr_ref*) [with T = ndppd::iface]': src/ptr.h:140:9: 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:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] src/ptr.h: In instantiation of 'void ndppd::ptr::acquire(ndppd::ptr::ptr_ref*) [with T = ndppd::proxy]': src/ptr.h:140:9: 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:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -O3 -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(ndppd::ptr::ptr_ref*) [with T = ndppd::session]': src/ptr.h:146:9: 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:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (_ref = ref) { ^~ src/ptr.h: In instantiation of 'void ndppd::ptr::acquire(ndppd::ptr::ptr_ref*) [with T = ndppd::proxy]': src/ptr.h:140:9: 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:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] src/ptr.h: In instantiation of 'void ndppd::ptr::acquire(ndppd::ptr::ptr_ref*) [with T = ndppd::iface]': src/ptr.h:140:9: required from 'ndppd::ptr::ptr(const ndppd::ptr&, bool) [with T = ndppd::iface]' /usr/include/c++/8/ext/new_allocator.h:136:4: required from 'void __gnu_cxx::new_allocator<_Tp>::construct(_Up*, _Args&& ...) [with _Up = ndppd::ptr; _Args = {const ndppd::ptr&}; _Tp = std::_List_node >]' /usr/include/c++/8/bits/alloc_traits.h:475:4: required from 'static void std::allocator_traits >::construct(std::allocator_traits >::allocator_type&, _Up*, _Args&& ...) [with _Up = ndppd::ptr; _Args = {const ndppd::ptr&}; _Tp = std::_List_node >; std::allocator_traits >::allocator_type = std::allocator > >]' /usr/include/c++/8/bits/stl_list.h:645: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 >; std::__cxx11::list<_Tp, _Alloc>::_Node = std::_List_node >]' /usr/include/c++/8/bits/stl_list.h:1903:10: required from 'void std::__cxx11::list<_Tp, _Alloc>::_M_insert(std::__cxx11::list<_Tp, _Alloc>::iterator, _Args&& ...) [with _Args = {const ndppd::ptr&}; _Tp = ndppd::ptr; _Alloc = std::allocator >; std::__cxx11::list<_Tp, _Alloc>::iterator = std::_List_iterator >]' /usr/include/c++/8/bits/stl_list.h:1220:9: required from 'void std::__cxx11::list<_Tp, _Alloc>::push_back(const value_type&) [with _Tp = ndppd::ptr; _Alloc = std::allocator >; std::__cxx11::list<_Tp, _Alloc>::value_type = ndppd::ptr]' src/session.cc:92:26: required from here src/ptr.h:62:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -O3 -o src/route.o src/route.cc src/route.cc: In static member function 'static void ndppd::route::load(const string&)': src/route.cc:120:37: warning: catching polymorphic type 'class std::ios_base::failure' by value [-Wcatch-value=] } 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(ndppd::ptr::ptr_ref*) [with T = ndppd::route]': src/ptr.h:140:9: 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:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (_ref = ref) { ^~ src/ptr.h: In instantiation of 'void ndppd::ptr::acquire(ndppd::ptr::ptr_ref*) [with T = ndppd::iface]': src/ptr.h:140:9: required from 'ndppd::ptr::ptr(const ndppd::ptr&, bool) [with T = ndppd::iface]' src/route.cc:158:24: required from here src/ptr.h:62:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] /bin/gzip < ndppd.1 > ndppd.1.gz /bin/gzip < ndppd.conf.5 > ndppd.conf.5.gz g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -O3 -o src/conf.o src/conf.cc src/conf.cc: In static member function 'static ndppd::ptr ndppd::conf::load(const string&)': src/conf.cc:94:37: warning: catching polymorphic type 'class std::ios_base::failure' by value [-Wcatch-value=] } 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(ndppd::ptr::ptr_ref*) [with T = ndppd::conf]': src/ptr.h:140:9: 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:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (_ref = ref) { ^~ g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -o ndppd 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 + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.cPOufN + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/ndppd-0.2.5-1.el8.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/ndppd-0.2.5-1.el8.x86_64 ++ dirname /builddir/build/BUILDROOT/ndppd-0.2.5-1.el8.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/ndppd-0.2.5-1.el8.x86_64 + cd ndppd-0.2.5 + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/ndppd-0.2.5-1.el8.x86_64 'INSTALL=/usr/bin/install -p' PREFIX=/usr mkdir -p /builddir/build/BUILDROOT/ndppd-0.2.5-1.el8.x86_64/usr/sbin /builddir/build/BUILDROOT/ndppd-0.2.5-1.el8.x86_64/usr/share/man /builddir/build/BUILDROOT/ndppd-0.2.5-1.el8.x86_64/usr/share/man/man1 /builddir/build/BUILDROOT/ndppd-0.2.5-1.el8.x86_64/usr/share/man/man5 cp ndppd /builddir/build/BUILDROOT/ndppd-0.2.5-1.el8.x86_64/usr/sbin chmod +x /builddir/build/BUILDROOT/ndppd-0.2.5-1.el8.x86_64/usr/sbin/ndppd cp ndppd.1.gz /builddir/build/BUILDROOT/ndppd-0.2.5-1.el8.x86_64/usr/share/man/man1 cp ndppd.conf.5.gz /builddir/build/BUILDROOT/ndppd-0.2.5-1.el8.x86_64/usr/share/man/man5 + /usr/bin/install -d /builddir/build/BUILDROOT/ndppd-0.2.5-1.el8.x86_64/usr/lib/systemd/system + /usr/bin/install -m644 /builddir/build/SOURCES/ndppd.service /builddir/build/BUILDROOT/ndppd-0.2.5-1.el8.x86_64/usr/lib/systemd/system/ndppd.service + /usr/lib/rpm/find-debuginfo.sh -j2 --strict-build-id -m -i --build-id-seed 0.2.5-1.el8 --unique-debug-suffix -0.2.5-1.el8.x86_64 --unique-debug-src-base ndppd-0.2.5-1.el8.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-1.el8.x86_64/usr/sbin/ndppd /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 149 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig /sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /etc/ld.so.conf: No such file or directory + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile '' 1 + /usr/lib/rpm/brp-python-hardlink + PYTHON3=/usr/libexec/platform-python + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: ndppd-0.2.5-1.el8.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.sONHog + umask 022 + cd /builddir/build/BUILD + cd ndppd-0.2.5 + DOCDIR=/builddir/build/BUILDROOT/ndppd-0.2.5-1.el8.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-1.el8.x86_64/usr/share/doc/ndppd + cp -pr README /builddir/build/BUILDROOT/ndppd-0.2.5-1.el8.x86_64/usr/share/doc/ndppd + cp -pr ndppd.conf-dist /builddir/build/BUILDROOT/ndppd-0.2.5-1.el8.x86_64/usr/share/doc/ndppd + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.Tx9xzJ + umask 022 + cd /builddir/build/BUILD + cd ndppd-0.2.5 + LICENSEDIR=/builddir/build/BUILDROOT/ndppd-0.2.5-1.el8.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-1.el8.x86_64/usr/share/licenses/ndppd + cp -pr LICENSE /builddir/build/BUILDROOT/ndppd-0.2.5-1.el8.x86_64/usr/share/licenses/ndppd + exit 0 Provides: ndppd = 0.2.5-1.el8 ndppd(x86-64) = 0.2.5-1.el8 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.4)(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(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.9)(64bit) rtld(GNU_HASH) Processing files: ndppd-debugsource-0.2.5-1.el8.x86_64 Provides: ndppd-debugsource = 0.2.5-1.el8 ndppd-debugsource(x86-64) = 0.2.5-1.el8 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-1.el8.x86_64 Provides: debuginfo(build-id) = 4173326f2609f7e35269996e1a0891c2261cac16 ndppd-debuginfo = 0.2.5-1.el8 ndppd-debuginfo(x86-64) = 0.2.5-1.el8 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-1.el8 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/ndppd-0.2.5-1.el8.x86_64 Wrote: /builddir/build/RPMS/ndppd-0.2.5-1.el8.x86_64.rpm Wrote: /builddir/build/RPMS/ndppd-debugsource-0.2.5-1.el8.x86_64.rpm Wrote: /builddir/build/RPMS/ndppd-debuginfo-0.2.5-1.el8.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.cAtH0d + umask 022 + cd /builddir/build/BUILD + cd ndppd-0.2.5 + /usr/bin/rm -rf /builddir/build/BUILDROOT/ndppd-0.2.5-1.el8.x86_64 + exit 0 Child return code was: 0