Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target ppc64le --nodeps /builddir/build/SPECS/ndppd.spec'], chrootPath='/var/lib/mock/fedora-rawhide-ppc64le-1672005267.765743/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.vlrk76ds:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/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.vlrk76ds:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/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', 'dfee139fdc294d0fb85b9b5359c1c86f', '-D', '/var/lib/mock/fedora-rawhide-ppc64le-1672005267.765743/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.vlrk76ds:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/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 ppc64le --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: ppc64le Building for target ppc64le 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 ppc64le --nodeps /builddir/build/SPECS/ndppd.spec'], chrootPath='/var/lib/mock/fedora-rawhide-ppc64le-1672005267.765743/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.vlrk76ds:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/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.vlrk76ds:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/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', '68140cc603c6443d8ec3825522f1114d', '-D', '/var/lib/mock/fedora-rawhide-ppc64le-1672005267.765743/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.vlrk76ds:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/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 ppc64le --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: ppc64le Building for target ppc64le setting SOURCE_DATE_EPOCH=1666742400 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.x8dBOW + 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.o3b6kJ + 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 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-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 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-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 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-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 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + 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 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-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 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-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 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-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 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + 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 -j5 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 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-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 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-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 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-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 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-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 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -o src/ndppd.o src/ndppd.cc src/ndppd.cc: In function 'ndppd::ptr load_config(const std::string&)': src/ndppd.cc:96:22: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 96 | if (x_cf = ru_cf->find("iface")) { | ~~~~~^~~~~~~~~~~~~~~~~~~~~~ src/ndppd.cc: In function 'bool configure(ndppd::ptr&)': src/ndppd.cc:182:22: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 182 | if (x_cf = ru_cf->find("iface")) { | ~~~~~^~~~~~~~~~~~~~~~~~~~~~ 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) { | ~~~~~^~~~~ /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 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-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)) | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ src/iface.cc: In static member function 'static int ndppd::iface::poll_all()': src/iface.cc:563:90: warning: ignoring return value of 'const _CharT* std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::c_str() const [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]', declared with attribute 'nodiscard' [-Wunused-result] 563 | logger::error() << "Failed to read from interface '%s'", ifa->_name.c_str(); | ~~~~~~~~~~~~~~~~^~ In file included from /usr/include/c++/13/string:54, from src/iface.cc:37: /usr/include/c++/13/bits/basic_string.h:2558:7: note: declared here 2558 | c_str() const _GLIBCXX_NOEXCEPT | ^~~~~ src/iface.cc:576:90: warning: ignoring return value of 'const _CharT* std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::c_str() const [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]', declared with attribute 'nodiscard' [-Wunused-result] 576 | logger::error() << "Failed to read from interface '%s'", ifa->_name.c_str(); | ~~~~~~~~~~~~~~~~^~ /usr/include/c++/13/bits/basic_string.h:2558:7: note: declared here 2558 | c_str() const _GLIBCXX_NOEXCEPT | ^~~~~ 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 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-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++/13/bits/new_allocator.h:187: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++/13/bits/alloc_traits.h:537: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++/13/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++/13/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++/13/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 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-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) { | ^ src/route.cc: In static member function 'static ndppd::ptr ndppd::route::find_and_open(const ndppd::address&)': src/route.cc:157:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 157 | if (rt = find(addr)) { | ~~~^~~~~~~~~~~~ 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++ -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 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-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) { | ~~~~~^~~~~ 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.c69MtF + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/ndppd-0.2.5-6.fc38.ppc64le '!=' / ']' + rm -rf /builddir/build/BUILDROOT/ndppd-0.2.5-6.fc38.ppc64le ++ dirname /builddir/build/BUILDROOT/ndppd-0.2.5-6.fc38.ppc64le + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/ndppd-0.2.5-6.fc38.ppc64le + 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 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-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 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-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 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-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 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + 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.ppc64le 'INSTALL=/usr/bin/install -p' PREFIX=/usr mkdir -p /builddir/build/BUILDROOT/ndppd-0.2.5-6.fc38.ppc64le/usr/sbin /builddir/build/BUILDROOT/ndppd-0.2.5-6.fc38.ppc64le/usr/share/man /builddir/build/BUILDROOT/ndppd-0.2.5-6.fc38.ppc64le/usr/share/man/man1 /builddir/build/BUILDROOT/ndppd-0.2.5-6.fc38.ppc64le/usr/share/man/man5 cp ndppd /builddir/build/BUILDROOT/ndppd-0.2.5-6.fc38.ppc64le/usr/sbin chmod +x /builddir/build/BUILDROOT/ndppd-0.2.5-6.fc38.ppc64le/usr/sbin/ndppd cp ndppd.1.gz /builddir/build/BUILDROOT/ndppd-0.2.5-6.fc38.ppc64le/usr/share/man/man1 cp ndppd.conf.5.gz /builddir/build/BUILDROOT/ndppd-0.2.5-6.fc38.ppc64le/usr/share/man/man5 + install -Dpm0644 /builddir/build/SOURCES/ndppd.service /builddir/build/BUILDROOT/ndppd-0.2.5-6.fc38.ppc64le/usr/lib/systemd/system/ndppd.service + install -Dpm0644 /builddir/build/SOURCES/ndppd.conf /builddir/build/BUILDROOT/ndppd-0.2.5-6.fc38.ppc64le/usr/lib/tmpfiles.d/ndppd.conf + install -dm0755 /builddir/build/BUILDROOT/ndppd-0.2.5-6.fc38.ppc64le/run/ndppd + install -Dpm0644 ndppd.conf-dist /builddir/build/BUILDROOT/ndppd-0.2.5-6.fc38.ppc64le/etc/ndppd.conf + /usr/bin/find-debuginfo -j5 --strict-build-id -m -i --build-id-seed 0.2.5-6.fc38 --unique-debug-suffix -0.2.5-6.fc38.ppc64le --unique-debug-src-base ndppd-0.2.5-6.fc38.ppc64le --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/ndppd-0.2.5 extracting debug info from /builddir/build/BUILDROOT/ndppd-0.2.5-6.fc38.ppc64le/usr/sbin/ndppd original debug info size: 1856kB, size after compression: 1600kB /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.ppc64le Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.CamT7P + umask 022 + cd /builddir/build/BUILD + cd ndppd-0.2.5 + DOCDIR=/builddir/build/BUILDROOT/ndppd-0.2.5-6.fc38.ppc64le/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.ppc64le/usr/share/doc/ndppd + cp -pr ChangeLog /builddir/build/BUILDROOT/ndppd-0.2.5-6.fc38.ppc64le/usr/share/doc/ndppd + cp -pr README /builddir/build/BUILDROOT/ndppd-0.2.5-6.fc38.ppc64le/usr/share/doc/ndppd + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.XnOESV + umask 022 + cd /builddir/build/BUILD + cd ndppd-0.2.5 + LICENSEDIR=/builddir/build/BUILDROOT/ndppd-0.2.5-6.fc38.ppc64le/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.ppc64le/usr/share/licenses/ndppd + cp -pr LICENSE /builddir/build/BUILDROOT/ndppd-0.2.5-6.fc38.ppc64le/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(ppc-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.17)(64bit) libc.so.6(GLIBC_2.32)(64bit) libc.so.6(GLIBC_2.34)(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.ppc64le Provides: ndppd-debugsource = 0.2.5-6.fc38 ndppd-debugsource(ppc-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.ppc64le Provides: debuginfo(build-id) = 069a3c084da842b4fb54a2ace5271f20f16d36e1 ndppd-debuginfo = 0.2.5-6.fc38 ndppd-debuginfo(ppc-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(ppc-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.ppc64le Wrote: /builddir/build/RPMS/ndppd-debugsource-0.2.5-6.fc38.ppc64le.rpm Wrote: /builddir/build/RPMS/ndppd-0.2.5-6.fc38.ppc64le.rpm Wrote: /builddir/build/RPMS/ndppd-debuginfo-0.2.5-6.fc38.ppc64le.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.pqjIfp + umask 022 + cd /builddir/build/BUILD + cd ndppd-0.2.5 + /usr/bin/rm -rf /builddir/build/BUILDROOT/ndppd-0.2.5-6.fc38.ppc64le + RPM_EC=0 ++ jobs -p + exit 0 Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.7Aj6PO + 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