Mock Version: 1.4.4 Mock Version: 1.4.4 Mock Version: 1.4.4 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/ndppd.spec'], chrootPath='/var/lib/mock/656577-fedora-rawhide-x86_64-1509501546/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': 'en_US.UTF-8'}shell=Falselogger=timeout=0uid=1001gid=135user='mockbuild'nspawn_args=[]printOutput=True) ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/ndppd.spec'], chrootPath='/var/lib/mock/656577-fedora-rawhide-x86_64-1509501546/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': 'en_US.UTF-8'}shell=Falselogger=timeout=0uid=1001gid=135user='mockbuild'nspawn_args=[]printOutput=True) Executing command: ['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': 'en_US.UTF-8'} and shell False Executing command: ['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': 'en_US.UTF-8'} and shell False sh: git: command not found sh: git: command not found sh: git: command not found sh: git: command not found Building target platforms: x86_64 Building target platforms: x86_64 Building for target x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/ndppd-0.2.5.999-2.git.fc28.src.rpm Wrote: /builddir/build/SRPMS/ndppd-0.2.5.999-2.git.fc28.src.rpm Child return code was: 0 Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/ndppd.spec'], chrootPath='/var/lib/mock/656577-fedora-rawhide-x86_64-1509501546/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': 'en_US.UTF-8'}shell=Falselogger=timeout=0uid=1001gid=135user='mockbuild'nspawn_args=[]printOutput=True) ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/ndppd.spec'], chrootPath='/var/lib/mock/656577-fedora-rawhide-x86_64-1509501546/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': 'en_US.UTF-8'}shell=Falselogger=timeout=0uid=1001gid=135user='mockbuild'nspawn_args=[]printOutput=True) Executing command: ['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': 'en_US.UTF-8'} and shell False Executing command: ['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': 'en_US.UTF-8'} and shell False sh: git: command not found sh: git: command not found sh: git: command not found sh: git: command not found Building target platforms: x86_64 Building target platforms: x86_64 Building for target x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.dWnJhQ Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.dWnJhQ + umask 022 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf ndppd-master + rm -rf ndppd-master + /usr/bin/gzip -dc /builddir/build/SOURCES/master.tar.gz + /usr/bin/gzip -dc /builddir/build/SOURCES/master.tar.gz + /usr/bin/tar -xvvof - + /usr/bin/tar -xvvof - drwxrwxr-x root/root 0 2017-09-20 13:13 ndppd-master/ drwxrwxr-x root/root 0 2017-09-20 13:13 ndppd-master/ -rw-rw-r-- root/root 49 2017-09-20 13:13 ndppd-master/.gitignore -rw-rw-r-- root/root 49 2017-09-20 13:13 ndppd-master/.gitignore -rw-rw-r-- root/root 3366 2017-09-20 13:13 ndppd-master/ChangeLog -rw-rw-r-- root/root 3366 2017-09-20 13:13 ndppd-master/ChangeLog -rw-rw-r-- root/root 35147 2017-09-20 13:13 ndppd-master/LICENSE -rw-rw-r-- root/root 35147 2017-09-20 13:13 ndppd-master/LICENSE -rw-rw-r-- root/root 1233 2017-09-20 13:13 ndppd-master/Makefile -rw-rw-r-- root/root 1233 2017-09-20 13:13 ndppd-master/Makefile -rw-rw-r-- root/root 5407 2017-09-20 13:13 ndppd-master/README -rw-rw-r-- root/root 5407 2017-09-20 13:13 ndppd-master/README -rw-rw-r-- root/root 15479 2017-09-20 13:13 ndppd-master/nd-proxy.c -rw-rw-r-- root/root 15479 2017-09-20 13:13 ndppd-master/nd-proxy.c -rw-rw-r-- root/root 1699 2017-09-20 13:13 ndppd-master/ndppd.1 -rw-rw-r-- root/root 1699 2017-09-20 13:13 ndppd-master/ndppd.1 -rw-rw-r-- root/root 3750 2017-09-20 13:13 ndppd-master/ndppd.conf-dist -rw-rw-r-- root/root 3750 2017-09-20 13:13 ndppd-master/ndppd.conf-dist -rw-rw-r-- root/root 3266 2017-09-20 13:13 ndppd-master/ndppd.conf.5 -rw-rw-r-- root/root 3266 2017-09-20 13:13 ndppd-master/ndppd.conf.5 -rw-rw-r-- root/root 209 2017-09-20 13:13 ndppd-master/ndppd.service -rw-rw-r-- root/root 209 2017-09-20 13:13 ndppd-master/ndppd.service drwxrwxr-x root/root 0 2017-09-20 13:13 ndppd-master/src/ drwxrwxr-x root/root 0 2017-09-20 13:13 ndppd-master/src/ -rw-rw-r-- root/root 9870 2017-09-20 13:13 ndppd-master/src/address.cc -rw-rw-r-- root/root 9870 2017-09-20 13:13 ndppd-master/src/address.cc -rw-rw-r-- root/root 2242 2017-09-20 13:13 ndppd-master/src/address.h -rw-rw-r-- root/root 2242 2017-09-20 13:13 ndppd-master/src/address.h -rw-rw-r-- root/root 5973 2017-09-20 13:13 ndppd-master/src/conf.cc -rw-rw-r-- root/root 5973 2017-09-20 13:13 ndppd-master/src/conf.cc -rw-rw-r-- root/root 1858 2017-09-20 13:13 ndppd-master/src/conf.h -rw-rw-r-- root/root 1858 2017-09-20 13:13 ndppd-master/src/conf.h -rw-rw-r-- root/root 24278 2017-09-20 13:13 ndppd-master/src/iface.cc -rw-rw-r-- root/root 24278 2017-09-20 13:13 ndppd-master/src/iface.cc -rw-rw-r-- root/root 3858 2017-09-20 13:13 ndppd-master/src/iface.h -rw-rw-r-- root/root 3858 2017-09-20 13:13 ndppd-master/src/iface.h -rw-rw-r-- root/root 4293 2017-09-20 13:13 ndppd-master/src/logger.cc -rw-rw-r-- root/root 4293 2017-09-20 13:13 ndppd-master/src/logger.cc -rw-rw-r-- root/root 2339 2017-09-20 13:13 ndppd-master/src/logger.h -rw-rw-r-- root/root 2339 2017-09-20 13:13 ndppd-master/src/logger.h -rw-rw-r-- root/root 7982 2017-09-20 13:13 ndppd-master/src/nd-netlink.cc -rw-rw-r-- root/root 7982 2017-09-20 13:13 ndppd-master/src/nd-netlink.cc -rw-rw-r-- root/root 950 2017-09-20 13:13 ndppd-master/src/nd-netlink.h -rw-rw-r-- root/root 950 2017-09-20 13:13 ndppd-master/src/nd-netlink.h -rw-rw-r-- root/root 11301 2017-09-20 13:13 ndppd-master/src/ndppd.cc -rw-rw-r-- root/root 11301 2017-09-20 13:13 ndppd-master/src/ndppd.cc -rw-rw-r-- root/root 1096 2017-09-20 13:13 ndppd-master/src/ndppd.h -rw-rw-r-- root/root 1096 2017-09-20 13:13 ndppd-master/src/ndppd.h -rw-rw-r-- root/root 8089 2017-09-20 13:13 ndppd-master/src/proxy.cc -rw-rw-r-- root/root 8089 2017-09-20 13:13 ndppd-master/src/proxy.cc -rw-rw-r-- root/root 2687 2017-09-20 13:13 ndppd-master/src/proxy.h -rw-rw-r-- root/root 2687 2017-09-20 13:13 ndppd-master/src/proxy.h -rw-rw-r-- root/root 5044 2017-09-20 13:13 ndppd-master/src/ptr.h -rw-rw-r-- root/root 5044 2017-09-20 13:13 ndppd-master/src/ptr.h -rw-rw-r-- root/root 4369 2017-09-20 13:13 ndppd-master/src/route.cc -rw-rw-r-- root/root 4369 2017-09-20 13:13 ndppd-master/src/route.cc -rw-rw-r-- root/root 1662 2017-09-20 13:13 ndppd-master/src/route.h -rw-rw-r-- root/root 1662 2017-09-20 13:13 ndppd-master/src/route.h -rw-rw-r-- root/root 2681 2017-09-20 13:13 ndppd-master/src/rule.cc -rw-rw-r-- root/root 2681 2017-09-20 13:13 ndppd-master/src/rule.cc -rw-rw-r-- root/root 1937 2017-09-20 13:13 ndppd-master/src/rule.h -rw-rw-r-- root/root 1937 2017-09-20 13:13 ndppd-master/src/rule.h -rw-rw-r-- root/root 9669 2017-09-20 13:13 ndppd-master/src/session.cc -rw-rw-r-- root/root 9669 2017-09-20 13:13 ndppd-master/src/session.cc -rw-rw-r-- root/root 2715 2017-09-20 13:13 ndppd-master/src/session.h -rw-rw-r-- root/root 2715 2017-09-20 13:13 ndppd-master/src/session.h + STATUS=0 + STATUS=0 + '[' 0 -ne 0 ']' + '[' 0 -ne 0 ']' + cd ndppd-master + cd ndppd-master + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.qsy2ss Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.qsy2ss + umask 022 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + cd ndppd-master + cd ndppd-master + make -j2 'CXXFLAGS=-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic' + make -j2 'CXXFLAGS=-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic' g++ -c -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -o src/logger.o src/logger.cc g++ -c -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -o src/logger.o src/logger.cc g++ -c -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -o src/ndppd.o src/ndppd.cc g++ -c -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -o src/ndppd.o src/ndppd.cc src/logger.cc: In static member function 'static void ndppd::logger::syslog(bool)': src/logger.cc: In static member function 'static void ndppd::logger::syslog(bool)': src/logger.cc:177:17: warning: suggest parentheses around assignment used as truth value [-Wparentheses] src/logger.cc:177:17: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (_syslog = sl) { if (_syslog = sl) { ~~~~~~~~^~~~ ~~~~~~~~^~~~ In file included from src/ndppd.h:28:0, In file included from src/ndppd.h:28:0, from src/ndppd.cc:31: 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: In instantiation of 'void ndppd::ptr::acquire(ndppd::ptr::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/ptr.h:140:16: required from 'ndppd::ptr::ptr(const ndppd::ptr&, bool) [with T = ndppd::conf]' src/ndppd.cc:72:23: required from here src/ndppd.cc:72:23: required from here src/ptr.h:62:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] src/ptr.h:62:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (_ref = ref) { if (_ref = ref) { ^~ ^~ src/ptr.h: In instantiation of 'void ndppd::ptr::acquire(ndppd::ptr::ptr_ref*) [with T = ndppd::proxy]': src/ptr.h: In instantiation of 'void ndppd::ptr::acquire(ndppd::ptr::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:140:16: required from 'ndppd::ptr::ptr(const ndppd::ptr&, bool) [with T = ndppd::proxy]' src/ndppd.cc:169:56: required from here src/ndppd.cc:169:56: required from here src/ptr.h:62:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 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: In instantiation of 'void ndppd::ptr::acquire(ndppd::ptr::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/ptr.h:140:16: required from 'ndppd::ptr::ptr(const ndppd::ptr&, bool) [with T = ndppd::iface]' src/ndppd.cc:226:55: required from here src/ndppd.cc:226:55: required from here src/ptr.h:62:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 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: In instantiation of 'void ndppd::ptr::acquire(ndppd::ptr::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/ptr.h:140:16: required from 'ndppd::ptr::ptr(const ndppd::ptr&, bool) [with T = ndppd::rule]' src/ndppd.cc:255:33: required from here src/ndppd.cc:255:33: required from here src/ptr.h:62:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] src/ptr.h:62:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] g++ -c -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -o src/iface.o src/iface.cc g++ -c -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -o src/iface.o src/iface.cc src/iface.cc: In member function 'ssize_t ndppd::iface::read(int, sockaddr*, ssize_t, uint8_t*, size_t)': src/iface.cc: In member function 'ssize_t ndppd::iface::read(int, sockaddr*, ssize_t, uint8_t*, size_t)': src/iface.cc:330:13: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] src/iface.cc:330:13: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (len < sizeof(struct icmp6_hdr)) if (len < sizeof(struct icmp6_hdr)) ~~~~^~~~~~~~~ ~~~~^~~~~~~~~ In file included from src/ndppd.h:28:0, In file included from src/ndppd.h:28:0, from src/iface.cc:42: from src/iface.cc:42: src/ptr.h: In instantiation of 'void ndppd::ptr::acquire(ndppd::ptr::ptr_ref*) [with T = ndppd::iface]': src/ptr.h: In instantiation of 'void ndppd::ptr::acquire(ndppd::ptr::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/ptr.h:146:16: required from 'ndppd::ptr::ptr(const ndppd::weak_ptr&, bool) [with T = ndppd::iface]' src/iface.cc:91:24: required from here src/iface.cc:91:24: required from here src/ptr.h:62:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] src/ptr.h:62:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (_ref = ref) { if (_ref = ref) { ^~ ^~ src/ptr.h: In instantiation of 'void ndppd::ptr::acquire(ndppd::ptr::ptr_ref*) [with T = ndppd::proxy]': src/ptr.h: In instantiation of 'void ndppd::ptr::acquire(ndppd::ptr::ptr_ref*) [with T = ndppd::proxy]': src/ptr.h:146:16: required from 'ndppd::ptr::ptr(const ndppd::weak_ptr&, bool) [with T = ndppd::proxy]' src/ptr.h:146:16: required from 'ndppd::ptr::ptr(const ndppd::weak_ptr&, bool) [with T = ndppd::proxy]' src/iface.cc:526:38: required from here src/iface.cc:526:38: required from here src/ptr.h:62:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 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: In instantiation of 'void ndppd::ptr::acquire(ndppd::ptr::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/ptr.h:140:16: required from 'ndppd::ptr::ptr(const ndppd::ptr&, bool) [with T = ndppd::rule]' src/iface.cc:530:37: required from here src/iface.cc:530:37: required from here src/ptr.h:62:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] src/ptr.h:62:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] g++ -c -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -o src/proxy.o src/proxy.cc g++ -c -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -o src/proxy.o src/proxy.cc In file included from src/ndppd.h:35:0, In file included from src/ndppd.h:35:0, from src/proxy.cc:20: from src/proxy.cc:20: src/proxy.h: In constructor 'ndppd::proxy::proxy()': src/proxy.h: In constructor 'ndppd::proxy::proxy()': src/proxy.h:110:26: warning: 'ndppd::proxy::_timeout' will be initialized after [-Wreorder] src/proxy.h:110:26: warning: 'ndppd::proxy::_timeout' will be initialized after [-Wreorder] int _ttl, _deadtime, _timeout; int _ttl, _deadtime, _timeout; ^~~~~~~~ ^~~~~~~~ src/proxy.h:104:10: warning: 'bool ndppd::proxy::_autowire' [-Wreorder] src/proxy.h:104:10: warning: 'bool ndppd::proxy::_autowire' [-Wreorder] bool _autowire; bool _autowire; ^~~~~~~~~ ^~~~~~~~~ src/proxy.cc:34:1: warning: when initialized here [-Wreorder] src/proxy.cc:34:1: warning: when initialized here [-Wreorder] proxy::proxy() : proxy::proxy() : ^~~~~ ^~~~~ In file included from src/ndppd.h:35:0, In file included from src/ndppd.h:35:0, from src/proxy.cc:20: from src/proxy.cc:20: src/proxy.h:108:10: warning: 'ndppd::proxy::_keepalive' will be initialized after [-Wreorder] src/proxy.h:108:10: warning: 'ndppd::proxy::_keepalive' will be initialized after [-Wreorder] bool _keepalive; bool _keepalive; ^~~~~~~~~~ ^~~~~~~~~~ src/proxy.h:100:10: warning: 'bool ndppd::proxy::_promiscuous' [-Wreorder] src/proxy.h:100:10: warning: 'bool ndppd::proxy::_promiscuous' [-Wreorder] bool _promiscuous; bool _promiscuous; ^~~~~~~~~~~~ ^~~~~~~~~~~~ src/proxy.cc:34:1: warning: when initialized here [-Wreorder] src/proxy.cc:34:1: warning: when initialized here [-Wreorder] proxy::proxy() : proxy::proxy() : ^~~~~ ^~~~~ In file included from src/ndppd.h:28:0, In file included from src/ndppd.h:28:0, from src/proxy.cc:20: 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: In instantiation of 'void ndppd::ptr::acquire(ndppd::ptr::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:140:16: required from 'ndppd::ptr::ptr(const ndppd::ptr&, bool) [with T = ndppd::proxy]' src/proxy.cc:44:30: required from here src/proxy.cc:44:30: required from here src/ptr.h:62:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] src/ptr.h:62:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (_ref = ref) { if (_ref = ref) { ^~ ^~ src/ptr.h: In instantiation of 'void ndppd::ptr::acquire(ndppd::ptr::ptr_ref*) [with T = ndppd::rule]': src/ptr.h: In instantiation of 'void ndppd::ptr::acquire(ndppd::ptr::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/ptr.h:140:16: required from 'ndppd::ptr::ptr(const ndppd::ptr&, bool) [with T = ndppd::rule]' src/proxy.cc:48:29: required from here src/proxy.cc:48:29: required from here src/ptr.h:62:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 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: In instantiation of 'void ndppd::ptr::acquire(ndppd::ptr::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/ptr.h:140:16: required from 'ndppd::ptr::ptr(const ndppd::ptr&, bool) [with T = ndppd::iface]' src/proxy.cc:85:57: required from here src/proxy.cc:85:57: required from here src/ptr.h:62:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 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: In instantiation of 'void ndppd::ptr::acquire(ndppd::ptr::ptr_ref*) [with T = ndppd::session]': src/ptr.h:140:16: required from 'ndppd::ptr::ptr(const ndppd::ptr&, bool) [with T = ndppd::session]' src/ptr.h:140:16: required from 'ndppd::ptr::ptr(const ndppd::ptr&, bool) [with T = ndppd::session]' src/proxy.cc:103:25: required from here src/proxy.cc:103:25: required from here src/ptr.h:62:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 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: In instantiation of 'void ndppd::ptr::acquire(ndppd::ptr::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/ptr.h:140:16: required from 'ndppd::ptr::ptr(const ndppd::ptr&, bool) [with T = ndppd::route]' src/proxy.cc:123:50: required from here src/proxy.cc:123:50: required from here src/ptr.h:62:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] src/ptr.h:62:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] g++ -c -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -o src/address.o src/address.cc g++ -c -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -o src/address.o src/address.cc In file included from src/ndppd.h:28:0, In file included from src/ndppd.h:28:0, from src/address.cc:30: from src/address.cc:30: src/ptr.h: In instantiation of 'void ndppd::ptr::acquire(ndppd::ptr::ptr_ref*) [with T = ndppd::route]': src/ptr.h: In instantiation of 'void ndppd::ptr::acquire(ndppd::ptr::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/ptr.h:140:16: required from 'ndppd::ptr::ptr(const ndppd::ptr&, bool) [with T = ndppd::route]' /usr/include/c++/7/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++/7/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++/7/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++/7/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++/7/bits/stl_list.h:575: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++/7/bits/stl_list.h:575: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++/7/bits/stl_list.h:1801:32: 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++/7/bits/stl_list.h:1801:32: 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++/7/bits/stl_list.h:1118: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]' /usr/include/c++/7/bits/stl_list.h:1118: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/address.cc:350:28: required from here src/address.cc:350:28: required from here src/ptr.h:62:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] src/ptr.h:62:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (_ref = ref) { if (_ref = ref) { ^~ ^~ g++ -c -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -o src/rule.o src/rule.cc g++ -c -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -o src/rule.o src/rule.cc g++ -c -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -o src/session.o src/session.cc g++ -c -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -o src/session.o src/session.cc src/rule.cc: In static member function 'static ndppd::ptr ndppd::rule::create(const ndppd::ptr&, const ndppd::address&, const ndppd::ptr&)': src/rule.cc: In static member function 'static ndppd::ptr ndppd::rule::create(const ndppd::ptr&, const ndppd::address&, const ndppd::ptr&)': src/rule.cc:49:18: warning: variable 'ifindex' set but not used [-Wunused-but-set-variable] src/rule.cc:49:18: warning: variable 'ifindex' set but not used [-Wunused-but-set-variable] unsigned int ifindex; unsigned int ifindex; ^~~~~~~ ^~~~~~~ In file included from src/ndppd.h:28:0, In file included from src/ndppd.h:28:0, from src/rule.cc:21: from src/rule.cc:21: src/ptr.h: In instantiation of 'void ndppd::ptr::acquire(ndppd::ptr::ptr_ref*) [with T = ndppd::rule]': src/ptr.h: In instantiation of 'void ndppd::ptr::acquire(ndppd::ptr::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/ptr.h:140:16: required from 'ndppd::ptr::ptr(const ndppd::ptr&, bool) [with T = ndppd::rule]' src/rule.cc:62:12: required from here src/rule.cc:62:12: required from here src/ptr.h:62:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] src/ptr.h:62:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (_ref = ref) { if (_ref = ref) { ^~ ^~ src/ptr.h: In instantiation of 'void ndppd::ptr::acquire(ndppd::ptr::ptr_ref*) [with T = ndppd::iface]': src/ptr.h: In instantiation of 'void ndppd::ptr::acquire(ndppd::ptr::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/ptr.h:140:16: required from 'ndppd::ptr::ptr(const ndppd::ptr&, bool) [with T = ndppd::iface]' src/rule.cc:91:12: required from here src/rule.cc:91:12: required from here src/ptr.h:62:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 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: In instantiation of 'void ndppd::ptr::acquire(ndppd::ptr::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: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/ptr.h:245:23: required from 'ndppd::weak_ptr::weak_ptr(const ndppd::ptr&) [with T = ndppd::proxy]' src/rule.cc:44:17: required from here src/rule.cc:44:17: required from here src/ptr.h:62:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] src/ptr.h:62:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] In file included from src/ndppd.h:28:0, In file included from src/ndppd.h:28:0, from src/session.cc:19: from src/session.cc:19: src/ptr.h: In instantiation of 'void ndppd::ptr::acquire(ndppd::ptr::ptr_ref*) [with T = ndppd::session]': src/ptr.h: In instantiation of 'void ndppd::ptr::acquire(ndppd::ptr::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/ptr.h:146:16: required from 'ndppd::ptr::ptr(const ndppd::weak_ptr&, bool) [with T = ndppd::session]' src/session.cc:39:30: required from here src/session.cc:39:30: required from here src/ptr.h:62:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] src/ptr.h:62:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (_ref = ref) { if (_ref = ref) { ^~ ^~ src/ptr.h: In instantiation of 'void ndppd::ptr::acquire(ndppd::ptr::ptr_ref*) [with T = ndppd::address]': src/ptr.h: In instantiation of 'void ndppd::ptr::acquire(ndppd::ptr::ptr_ref*) [with T = ndppd::address]': src/ptr.h:140:16: required from 'ndppd::ptr::ptr(const ndppd::ptr&, bool) [with T = ndppd::address]' src/ptr.h:140:16: required from 'ndppd::ptr::ptr(const ndppd::ptr&, bool) [with T = ndppd::address]' src/session.cc:314:37: required from here src/session.cc:314:37: required from here src/ptr.h:62:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 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: In instantiation of 'void ndppd::ptr::acquire(ndppd::ptr::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: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/ptr.h:245:23: required from 'ndppd::weak_ptr::weak_ptr(const ndppd::ptr&) [with T = ndppd::proxy]' src/session.cc:119:22: required from here src/session.cc:119:22: required from here src/ptr.h:62:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 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: In instantiation of 'void ndppd::ptr::acquire(ndppd::ptr::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/ptr.h:140:16: required from 'ndppd::ptr::ptr(const ndppd::ptr&, bool) [with T = ndppd::iface]' /usr/include/c++/7/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++/7/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++/7/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++/7/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++/7/bits/stl_list.h:575: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++/7/bits/stl_list.h:575: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++/7/bits/stl_list.h:1801:32: 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++/7/bits/stl_list.h:1801:32: 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++/7/bits/stl_list.h:1118: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]' /usr/include/c++/7/bits/stl_list.h:1118: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:142:26: required from here src/session.cc:142:26: required from here src/ptr.h:62:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] src/ptr.h:62:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] src/session.cc: In member function 'void ndppd::session::handle_auto_wire(const ndppd::address&, const string&, bool)': src/session.cc: In member function 'void ndppd::session::handle_auto_wire(const ndppd::address&, const string&, bool)': src/session.cc:212:15: warning: ignoring return value of 'int system(const char*)', declared with attribute warn_unused_result [-Wunused-result] src/session.cc:212:15: warning: ignoring return value of 'int system(const char*)', declared with attribute warn_unused_result [-Wunused-result] system(route_cmd.str().c_str()); system(route_cmd.str().c_str()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ src/session.cc:236:15: warning: ignoring return value of 'int system(const char*)', declared with attribute warn_unused_result [-Wunused-result] src/session.cc:236:15: warning: ignoring return value of 'int system(const char*)', declared with attribute warn_unused_result [-Wunused-result] system(route_cmd.str().c_str()); system(route_cmd.str().c_str()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ src/session.cc: In member function 'void ndppd::session::handle_auto_unwire(const string&)': src/session.cc: In member function 'void ndppd::session::handle_auto_unwire(const string&)': src/session.cc:264:15: warning: ignoring return value of 'int system(const char*)', declared with attribute warn_unused_result [-Wunused-result] src/session.cc:264:15: warning: ignoring return value of 'int system(const char*)', declared with attribute warn_unused_result [-Wunused-result] system(route_cmd.str().c_str()); system(route_cmd.str().c_str()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ src/session.cc:280:15: warning: ignoring return value of 'int system(const char*)', declared with attribute warn_unused_result [-Wunused-result] src/session.cc:280:15: warning: ignoring return value of 'int system(const char*)', declared with attribute warn_unused_result [-Wunused-result] system(route_cmd.str().c_str()); system(route_cmd.str().c_str()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ g++ -c -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -o src/conf.o src/conf.cc g++ -c -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -o src/conf.o src/conf.cc g++ -c -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -o src/route.o src/route.cc g++ -c -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -o src/route.o src/route.cc In file included from src/ndppd.h:28:0, In file included from src/ndppd.h:28:0, from src/conf.cc:27: 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: In instantiation of 'void ndppd::ptr::acquire(ndppd::ptr::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/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/conf.cc:90:20: required from here src/ptr.h:62:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] src/ptr.h:62:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (_ref = ref) { if (_ref = ref) { ^~ ^~ In file included from src/ndppd.h:28:0, In file included from src/ndppd.h:28:0, from src/route.cc:20: 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: In instantiation of 'void ndppd::ptr::acquire(ndppd::ptr::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/ptr.h:140:16: required from 'ndppd::ptr::ptr(const ndppd::ptr&, bool) [with T = ndppd::route]' src/route.cc:141:12: required from here src/route.cc:141:12: required from here src/ptr.h:62:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] src/ptr.h:62:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (_ref = ref) { if (_ref = ref) { ^~ ^~ src/ptr.h: In instantiation of 'void ndppd::ptr::acquire(ndppd::ptr::ptr_ref*) [with T = ndppd::iface]': src/ptr.h: In instantiation of 'void ndppd::ptr::acquire(ndppd::ptr::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/ptr.h:140:16: required from 'ndppd::ptr::ptr(const ndppd::ptr&, bool) [with T = ndppd::iface]' src/route.cc:160:24: required from here src/route.cc:160:24: required from here src/ptr.h:62:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 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.1 > ndppd.1.gz /bin/gzip < ndppd.conf.5 > ndppd.conf.5.gz /bin/gzip < ndppd.conf.5 > ndppd.conf.5.gz g++ -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 g++ -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 + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.L6CsHA Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.L6CsHA + umask 022 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/ndppd-0.2.5.999-2.git.fc28.x86_64 '!=' / ']' + '[' /builddir/build/BUILDROOT/ndppd-0.2.5.999-2.git.fc28.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/ndppd-0.2.5.999-2.git.fc28.x86_64 + rm -rf /builddir/build/BUILDROOT/ndppd-0.2.5.999-2.git.fc28.x86_64 ++ dirname /builddir/build/BUILDROOT/ndppd-0.2.5.999-2.git.fc28.x86_64 ++ dirname /builddir/build/BUILDROOT/ndppd-0.2.5.999-2.git.fc28.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/ndppd-0.2.5.999-2.git.fc28.x86_64 + mkdir /builddir/build/BUILDROOT/ndppd-0.2.5.999-2.git.fc28.x86_64 + cd ndppd-master + cd ndppd-master + mkdir -p /builddir/build/BUILDROOT/ndppd-0.2.5.999-2.git.fc28.x86_64/var/run/ndppd + mkdir -p /builddir/build/BUILDROOT/ndppd-0.2.5.999-2.git.fc28.x86_64/var/run/ndppd + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/ndppd-0.2.5.999-2.git.fc28.x86_64 'INSTALL=/usr/bin/install -p' PREFIX=/usr + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/ndppd-0.2.5.999-2.git.fc28.x86_64 'INSTALL=/usr/bin/install -p' PREFIX=/usr mkdir -p /builddir/build/BUILDROOT/ndppd-0.2.5.999-2.git.fc28.x86_64/usr/sbin /builddir/build/BUILDROOT/ndppd-0.2.5.999-2.git.fc28.x86_64/usr/share/man /builddir/build/BUILDROOT/ndppd-0.2.5.999-2.git.fc28.x86_64/usr/share/man/man1 /builddir/build/BUILDROOT/ndppd-0.2.5.999-2.git.fc28.x86_64/usr/share/man/man5 mkdir -p /builddir/build/BUILDROOT/ndppd-0.2.5.999-2.git.fc28.x86_64/usr/sbin /builddir/build/BUILDROOT/ndppd-0.2.5.999-2.git.fc28.x86_64/usr/share/man /builddir/build/BUILDROOT/ndppd-0.2.5.999-2.git.fc28.x86_64/usr/share/man/man1 /builddir/build/BUILDROOT/ndppd-0.2.5.999-2.git.fc28.x86_64/usr/share/man/man5 cp ndppd /builddir/build/BUILDROOT/ndppd-0.2.5.999-2.git.fc28.x86_64/usr/sbin cp ndppd /builddir/build/BUILDROOT/ndppd-0.2.5.999-2.git.fc28.x86_64/usr/sbin chmod +x /builddir/build/BUILDROOT/ndppd-0.2.5.999-2.git.fc28.x86_64/usr/sbin/ndppd chmod +x /builddir/build/BUILDROOT/ndppd-0.2.5.999-2.git.fc28.x86_64/usr/sbin/ndppd cp ndppd.1.gz /builddir/build/BUILDROOT/ndppd-0.2.5.999-2.git.fc28.x86_64/usr/share/man/man1 cp ndppd.1.gz /builddir/build/BUILDROOT/ndppd-0.2.5.999-2.git.fc28.x86_64/usr/share/man/man1 cp ndppd.conf.5.gz /builddir/build/BUILDROOT/ndppd-0.2.5.999-2.git.fc28.x86_64/usr/share/man/man5 cp ndppd.conf.5.gz /builddir/build/BUILDROOT/ndppd-0.2.5.999-2.git.fc28.x86_64/usr/share/man/man5 + install -Dt /builddir/build/BUILDROOT/ndppd-0.2.5.999-2.git.fc28.x86_64/usr/lib/systemd/system -m 644 /builddir/build/SOURCES/ndppd.service + install -Dt /builddir/build/BUILDROOT/ndppd-0.2.5.999-2.git.fc28.x86_64/usr/lib/systemd/system -m 644 /builddir/build/SOURCES/ndppd.service + /usr/lib/rpm/find-debuginfo.sh -j2 --strict-build-id -m -i --build-id-seed 0.2.5.999-2.git.fc28 --unique-debug-suffix -0.2.5.999-2.git.fc28.x86_64 --unique-debug-src-base ndppd-0.2.5.999-2.git.fc28.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /builddir/build/BUILD/ndppd-master + /usr/lib/rpm/find-debuginfo.sh -j2 --strict-build-id -m -i --build-id-seed 0.2.5.999-2.git.fc28 --unique-debug-suffix -0.2.5.999-2.git.fc28.x86_64 --unique-debug-src-base ndppd-0.2.5.999-2.git.fc28.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /builddir/build/BUILD/ndppd-master extracting debug info from /builddir/build/BUILDROOT/ndppd-0.2.5.999-2.git.fc28.x86_64/usr/sbin/ndppd extracting debug info from /builddir/build/BUILDROOT/ndppd-0.2.5.999-2.git.fc28.x86_64/usr/sbin/ndppd /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 205 blocks 205 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/brp-python-hardlink Processing files: ndppd-0.2.5.999-2.git.fc28.x86_64 Processing files: ndppd-0.2.5.999-2.git.fc28.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.uJyacL Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.uJyacL + umask 022 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + cd ndppd-master + cd ndppd-master + DOCDIR=/builddir/build/BUILDROOT/ndppd-0.2.5.999-2.git.fc28.x86_64/usr/share/doc/ndppd + DOCDIR=/builddir/build/BUILDROOT/ndppd-0.2.5.999-2.git.fc28.x86_64/usr/share/doc/ndppd + export LC_ALL=C + export LC_ALL=C + LC_ALL=C + LC_ALL=C + export DOCDIR + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/ndppd-0.2.5.999-2.git.fc28.x86_64/usr/share/doc/ndppd + /usr/bin/mkdir -p /builddir/build/BUILDROOT/ndppd-0.2.5.999-2.git.fc28.x86_64/usr/share/doc/ndppd + cp -pr ChangeLog /builddir/build/BUILDROOT/ndppd-0.2.5.999-2.git.fc28.x86_64/usr/share/doc/ndppd + cp -pr ChangeLog /builddir/build/BUILDROOT/ndppd-0.2.5.999-2.git.fc28.x86_64/usr/share/doc/ndppd + cp -pr LICENSE /builddir/build/BUILDROOT/ndppd-0.2.5.999-2.git.fc28.x86_64/usr/share/doc/ndppd + cp -pr LICENSE /builddir/build/BUILDROOT/ndppd-0.2.5.999-2.git.fc28.x86_64/usr/share/doc/ndppd + cp -pr README /builddir/build/BUILDROOT/ndppd-0.2.5.999-2.git.fc28.x86_64/usr/share/doc/ndppd + cp -pr README /builddir/build/BUILDROOT/ndppd-0.2.5.999-2.git.fc28.x86_64/usr/share/doc/ndppd + exit 0 + exit 0 Provides: ndppd = 0.2.5.999-2.git.fc28 ndppd(x86-64) = 0.2.5.999-2.git.fc28 Provides: ndppd = 0.2.5.999-2.git.fc28 ndppd(x86-64) = 0.2.5.999-2.git.fc28 Requires(interp): /bin/sh /bin/sh /bin/sh 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(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(post): /bin/sh Requires(post): /bin/sh Requires(preun): /bin/sh Requires(preun): /bin/sh Requires(postun): /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) 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.999-2.git.fc28.x86_64 Processing files: ndppd-debugsource-0.2.5.999-2.git.fc28.x86_64 Provides: ndppd-debugsource = 0.2.5.999-2.git.fc28 ndppd-debugsource(x86-64) = 0.2.5.999-2.git.fc28 Provides: ndppd-debugsource = 0.2.5.999-2.git.fc28 ndppd-debugsource(x86-64) = 0.2.5.999-2.git.fc28 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 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.999-2.git.fc28.x86_64 Processing files: ndppd-debuginfo-0.2.5.999-2.git.fc28.x86_64 Provides: debuginfo(build-id) = d33a007c3add0134a06a5cb65b19ca23815fe68d ndppd-debuginfo = 0.2.5.999-2.git.fc28 ndppd-debuginfo(x86-64) = 0.2.5.999-2.git.fc28 Provides: debuginfo(build-id) = d33a007c3add0134a06a5cb65b19ca23815fe68d ndppd-debuginfo = 0.2.5.999-2.git.fc28 ndppd-debuginfo(x86-64) = 0.2.5.999-2.git.fc28 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 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.999-2.git.fc28 Recommends: ndppd-debugsource(x86-64) = 0.2.5.999-2.git.fc28 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/ndppd-0.2.5.999-2.git.fc28.x86_64 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/ndppd-0.2.5.999-2.git.fc28.x86_64 Wrote: /builddir/build/RPMS/ndppd-0.2.5.999-2.git.fc28.x86_64.rpm Wrote: /builddir/build/RPMS/ndppd-0.2.5.999-2.git.fc28.x86_64.rpm Wrote: /builddir/build/RPMS/ndppd-debugsource-0.2.5.999-2.git.fc28.x86_64.rpm Wrote: /builddir/build/RPMS/ndppd-debugsource-0.2.5.999-2.git.fc28.x86_64.rpm Wrote: /builddir/build/RPMS/ndppd-debuginfo-0.2.5.999-2.git.fc28.x86_64.rpm Wrote: /builddir/build/RPMS/ndppd-debuginfo-0.2.5.999-2.git.fc28.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.lAnAoX Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.lAnAoX + umask 022 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + cd ndppd-master + cd ndppd-master + /usr/bin/rm -rf /builddir/build/BUILDROOT/ndppd-0.2.5.999-2.git.fc28.x86_64 + /usr/bin/rm -rf /builddir/build/BUILDROOT/ndppd-0.2.5.999-2.git.fc28.x86_64 + exit 0 + exit 0 Child return code was: 0 Child return code was: 0