Mock Version: 2.15 Mock Version: 2.15 Mock Version: 2.15 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/ArpON.spec'], chrootPath='/var/lib/mock/f37-build-666436-74337/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=604800uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/ArpON.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'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1626825600 Wrote: /builddir/build/SRPMS/ArpON-3.0-18.fc37.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/ArpON.spec'], chrootPath='/var/lib/mock/f37-build-666436-74337/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=604800uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/ArpON.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'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1626825600 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.Q1lwNf + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf ArpON-3.0-ng + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/ArpON-3.0-ng.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd ArpON-3.0-ng + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #1 (ArpON-gcc-7-fixes.patch):' Patch #1 (ArpON-gcc-7-fixes.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file src/opt.c patching file src/sig.c Patch #2 (ArpON-gcc-8-fixes.patch): + echo 'Patch #2 (ArpON-gcc-8-fixes.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file src/arpca.c patching file src/darpi.c patching file src/harpi.c patching file src/sarpi.c patching file src/sig.c + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.fMuoqk + 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 -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 -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 -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 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd ArpON-3.0-ng + 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 -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 -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 -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 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + /usr/bin/cmake -DCMAKE_C_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_CXX_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_Fortran_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON -DCMAKE_INSTALL_DO_STRIP:BOOL=OFF -DCMAKE_INSTALL_PREFIX:PATH=/usr -DINCLUDE_INSTALL_DIR:PATH=/usr/include -DLIB_INSTALL_DIR:PATH=/usr/lib64 -DSYSCONF_INSTALL_DIR:PATH=/etc -DSHARE_INSTALL_PREFIX:PATH=/usr/share -DLIB_SUFFIX=64 -DBUILD_SHARED_LIBS:BOOL=ON -DCMAKE_INSTALL_PREFIX=/ . CMake Deprecation Warning at CMakeLists.txt:43 (cmake_minimum_required): Compatibility with CMake < 2.8.12 will be removed from a future version of CMake. Update the VERSION argument value or use a ... suffix to tell CMake that the project does not need compatibility with older versions. -- The C compiler identification is GNU 12.2.1 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/gcc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Building ArpON for Operating System: GNU/Linux -- Build type: Release -- Looking for net/ethernet.h -- Looking for net/ethernet.h - found -- Looking for net/if.h -- Looking for net/if.h - found -- Looking for net/if_arp.h -- Looking for net/if_arp.h - found -- Looking for netinet/ether.h -- Looking for netinet/ether.h - found -- Looking for netinet/if_ether.h -- Looking for netinet/if_ether.h - found -- Looking for netinet/in.h -- Looking for netinet/in.h - found -- Looking for arpa/inet.h -- Looking for arpa/inet.h - found -- Looking for sys/socket.h -- Looking for sys/socket.h - found -- Looking for sys/types.h -- Looking for sys/types.h - found -- Looking for sys/stat.h -- Looking for sys/stat.h - found -- Looking for sys/time.h -- Looking for sys/time.h - found -- Looking for sys/select.h -- Looking for sys/select.h - found -- Looking for sys/ioctl.h -- Looking for sys/ioctl.h - found -- Looking for stdio.h -- Looking for stdio.h - found -- Looking for stdlib.h -- Looking for stdlib.h - found -- Looking for stdbool.h -- Looking for stdbool.h - found -- Looking for stdarg.h -- Looking for stdarg.h - found -- Looking for unistd.h -- Looking for unistd.h - found -- Looking for string.h -- Looking for string.h - found -- Looking for getopt.h -- Looking for getopt.h - found -- Looking for fcntl.h -- Looking for fcntl.h - found -- Looking for time.h -- Looking for time.h - found -- Looking for signal.h -- Looking for signal.h - found -- Looking for errno.h -- Looking for errno.h - found -- Looking for assert.h -- Looking for assert.h - found -- Found library: Pthreads -- Found library: Librt -- Found library: Libpcap -- Found library: Libnet1 -- Found library: Libdnet -- Configuring done -- Generating done CMake Warning: Manually-specified variables were not used by the project: BUILD_SHARED_LIBS CMAKE_CXX_FLAGS_RELEASE CMAKE_Fortran_FLAGS_RELEASE CMAKE_INSTALL_DO_STRIP INCLUDE_INSTALL_DIR LIB_INSTALL_DIR LIB_SUFFIX SHARE_INSTALL_PREFIX SYSCONF_INSTALL_DIR -- Build files have been written to: /builddir/build/BUILD/ArpON-3.0-ng + /usr/bin/make -j4 /usr/bin/cmake -S/builddir/build/BUILD/ArpON-3.0-ng -B/builddir/build/BUILD/ArpON-3.0-ng --check-build-system CMakeFiles/Makefile.cmake 0 /usr/bin/cmake -E cmake_progress_start /builddir/build/BUILD/ArpON-3.0-ng/CMakeFiles /builddir/build/BUILD/ArpON-3.0-ng//CMakeFiles/progress.marks /usr/bin/make -f CMakeFiles/Makefile2 all make[1]: Entering directory '/builddir/build/BUILD/ArpON-3.0-ng' /usr/bin/make -f src/CMakeFiles/arpon.dir/build.make src/CMakeFiles/arpon.dir/depend make[2]: Entering directory '/builddir/build/BUILD/ArpON-3.0-ng' cd /builddir/build/BUILD/ArpON-3.0-ng && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/ArpON-3.0-ng /builddir/build/BUILD/ArpON-3.0-ng/src /builddir/build/BUILD/ArpON-3.0-ng /builddir/build/BUILD/ArpON-3.0-ng/src /builddir/build/BUILD/ArpON-3.0-ng/src/CMakeFiles/arpon.dir/DependInfo.cmake --color= make[2]: Leaving directory '/builddir/build/BUILD/ArpON-3.0-ng' /usr/bin/make -f src/CMakeFiles/arpon.dir/build.make src/CMakeFiles/arpon.dir/build make[2]: Entering directory '/builddir/build/BUILD/ArpON-3.0-ng' [ 20%] Building C object src/CMakeFiles/arpon.dir/darpi.c.o [ 20%] Building C object src/CMakeFiles/arpon.dir/dmn.c.o [ 20%] Building C object src/CMakeFiles/arpon.dir/arpca.c.o [ 20%] Building C object src/CMakeFiles/arpon.dir/darpica.c.o cd /builddir/build/BUILD/ArpON-3.0-ng/src && /usr/bin/gcc -I/builddir/build/BUILD/ArpON-3.0-ng -I/builddir/build/BUILD/ArpON-3.0-ng/src -I/usr/local/include/libnet11 -I/usr/local/include/libnet-1.1 -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 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Werror -Wextra -O3 -DNDEBUG -DNDEBUG -MD -MT src/CMakeFiles/arpon.dir/arpca.c.o -MF CMakeFiles/arpon.dir/arpca.c.o.d -o CMakeFiles/arpon.dir/arpca.c.o -c /builddir/build/BUILD/ArpON-3.0-ng/src/arpca.c cd /builddir/build/BUILD/ArpON-3.0-ng/src && /usr/bin/gcc -I/builddir/build/BUILD/ArpON-3.0-ng -I/builddir/build/BUILD/ArpON-3.0-ng/src -I/usr/local/include/libnet11 -I/usr/local/include/libnet-1.1 -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 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Werror -Wextra -O3 -DNDEBUG -DNDEBUG -MD -MT src/CMakeFiles/arpon.dir/darpica.c.o -MF CMakeFiles/arpon.dir/darpica.c.o.d -o CMakeFiles/arpon.dir/darpica.c.o -c /builddir/build/BUILD/ArpON-3.0-ng/src/darpica.c cd /builddir/build/BUILD/ArpON-3.0-ng/src && /usr/bin/gcc -I/builddir/build/BUILD/ArpON-3.0-ng -I/builddir/build/BUILD/ArpON-3.0-ng/src -I/usr/local/include/libnet11 -I/usr/local/include/libnet-1.1 -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 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Werror -Wextra -O3 -DNDEBUG -DNDEBUG -MD -MT src/CMakeFiles/arpon.dir/dmn.c.o -MF CMakeFiles/arpon.dir/dmn.c.o.d -o CMakeFiles/arpon.dir/dmn.c.o -c /builddir/build/BUILD/ArpON-3.0-ng/src/dmn.c cd /builddir/build/BUILD/ArpON-3.0-ng/src && /usr/bin/gcc -I/builddir/build/BUILD/ArpON-3.0-ng -I/builddir/build/BUILD/ArpON-3.0-ng/src -I/usr/local/include/libnet11 -I/usr/local/include/libnet-1.1 -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 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Werror -Wextra -O3 -DNDEBUG -DNDEBUG -MD -MT src/CMakeFiles/arpon.dir/darpi.c.o -MF CMakeFiles/arpon.dir/darpi.c.o.d -o CMakeFiles/arpon.dir/darpi.c.o -c /builddir/build/BUILD/ArpON-3.0-ng/src/darpi.c [ 25%] Building C object src/CMakeFiles/arpon.dir/env.c.o cd /builddir/build/BUILD/ArpON-3.0-ng/src && /usr/bin/gcc -I/builddir/build/BUILD/ArpON-3.0-ng -I/builddir/build/BUILD/ArpON-3.0-ng/src -I/usr/local/include/libnet11 -I/usr/local/include/libnet-1.1 -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 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Werror -Wextra -O3 -DNDEBUG -DNDEBUG -MD -MT src/CMakeFiles/arpon.dir/env.c.o -MF CMakeFiles/arpon.dir/env.c.o.d -o CMakeFiles/arpon.dir/env.c.o -c /builddir/build/BUILD/ArpON-3.0-ng/src/env.c [ 30%] Building C object src/CMakeFiles/arpon.dir/exit.c.o cd /builddir/build/BUILD/ArpON-3.0-ng/src && /usr/bin/gcc -I/builddir/build/BUILD/ArpON-3.0-ng -I/builddir/build/BUILD/ArpON-3.0-ng/src -I/usr/local/include/libnet11 -I/usr/local/include/libnet-1.1 -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 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Werror -Wextra -O3 -DNDEBUG -DNDEBUG -MD -MT src/CMakeFiles/arpon.dir/exit.c.o -MF CMakeFiles/arpon.dir/exit.c.o.d -o CMakeFiles/arpon.dir/exit.c.o -c /builddir/build/BUILD/ArpON-3.0-ng/src/exit.c [ 35%] Building C object src/CMakeFiles/arpon.dir/harpi.c.o cd /builddir/build/BUILD/ArpON-3.0-ng/src && /usr/bin/gcc -I/builddir/build/BUILD/ArpON-3.0-ng -I/builddir/build/BUILD/ArpON-3.0-ng/src -I/usr/local/include/libnet11 -I/usr/local/include/libnet-1.1 -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 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Werror -Wextra -O3 -DNDEBUG -DNDEBUG -MD -MT src/CMakeFiles/arpon.dir/harpi.c.o -MF CMakeFiles/arpon.dir/harpi.c.o.d -o CMakeFiles/arpon.dir/harpi.c.o -c /builddir/build/BUILD/ArpON-3.0-ng/src/harpi.c [ 45%] Building C object src/CMakeFiles/arpon.dir/ispn.c.o [ 45%] Building C object src/CMakeFiles/arpon.dir/intf.c.o cd /builddir/build/BUILD/ArpON-3.0-ng/src && /usr/bin/gcc -I/builddir/build/BUILD/ArpON-3.0-ng -I/builddir/build/BUILD/ArpON-3.0-ng/src -I/usr/local/include/libnet11 -I/usr/local/include/libnet-1.1 -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 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Werror -Wextra -O3 -DNDEBUG -DNDEBUG -MD -MT src/CMakeFiles/arpon.dir/intf.c.o -MF CMakeFiles/arpon.dir/intf.c.o.d -o CMakeFiles/arpon.dir/intf.c.o -c /builddir/build/BUILD/ArpON-3.0-ng/src/intf.c cd /builddir/build/BUILD/ArpON-3.0-ng/src && /usr/bin/gcc -I/builddir/build/BUILD/ArpON-3.0-ng -I/builddir/build/BUILD/ArpON-3.0-ng/src -I/usr/local/include/libnet11 -I/usr/local/include/libnet-1.1 -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 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Werror -Wextra -O3 -DNDEBUG -DNDEBUG -MD -MT src/CMakeFiles/arpon.dir/ispn.c.o -MF CMakeFiles/arpon.dir/ispn.c.o.d -o CMakeFiles/arpon.dir/ispn.c.o -c /builddir/build/BUILD/ArpON-3.0-ng/src/ispn.c [ 55%] Building C object src/CMakeFiles/arpon.dir/msg.c.o [ 55%] Building C object src/CMakeFiles/arpon.dir/main.c.o cd /builddir/build/BUILD/ArpON-3.0-ng/src && /usr/bin/gcc -I/builddir/build/BUILD/ArpON-3.0-ng -I/builddir/build/BUILD/ArpON-3.0-ng/src -I/usr/local/include/libnet11 -I/usr/local/include/libnet-1.1 -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 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Werror -Wextra -O3 -DNDEBUG -DNDEBUG -MD -MT src/CMakeFiles/arpon.dir/msg.c.o -MF CMakeFiles/arpon.dir/msg.c.o.d -o CMakeFiles/arpon.dir/msg.c.o -c /builddir/build/BUILD/ArpON-3.0-ng/src/msg.c cd /builddir/build/BUILD/ArpON-3.0-ng/src && /usr/bin/gcc -I/builddir/build/BUILD/ArpON-3.0-ng -I/builddir/build/BUILD/ArpON-3.0-ng/src -I/usr/local/include/libnet11 -I/usr/local/include/libnet-1.1 -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 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Werror -Wextra -O3 -DNDEBUG -DNDEBUG -MD -MT src/CMakeFiles/arpon.dir/main.c.o -MF CMakeFiles/arpon.dir/main.c.o.d -o CMakeFiles/arpon.dir/main.c.o -c /builddir/build/BUILD/ArpON-3.0-ng/src/main.c [ 60%] Building C object src/CMakeFiles/arpon.dir/opt.c.o cd /builddir/build/BUILD/ArpON-3.0-ng/src && /usr/bin/gcc -I/builddir/build/BUILD/ArpON-3.0-ng -I/builddir/build/BUILD/ArpON-3.0-ng/src -I/usr/local/include/libnet11 -I/usr/local/include/libnet-1.1 -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 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Werror -Wextra -O3 -DNDEBUG -DNDEBUG -MD -MT src/CMakeFiles/arpon.dir/opt.c.o -MF CMakeFiles/arpon.dir/opt.c.o.d -o CMakeFiles/arpon.dir/opt.c.o -c /builddir/build/BUILD/ArpON-3.0-ng/src/opt.c [ 65%] Building C object src/CMakeFiles/arpon.dir/proc.c.o cd /builddir/build/BUILD/ArpON-3.0-ng/src && /usr/bin/gcc -I/builddir/build/BUILD/ArpON-3.0-ng -I/builddir/build/BUILD/ArpON-3.0-ng/src -I/usr/local/include/libnet11 -I/usr/local/include/libnet-1.1 -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 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Werror -Wextra -O3 -DNDEBUG -DNDEBUG -MD -MT src/CMakeFiles/arpon.dir/proc.c.o -MF CMakeFiles/arpon.dir/proc.c.o.d -o CMakeFiles/arpon.dir/proc.c.o -c /builddir/build/BUILD/ArpON-3.0-ng/src/proc.c /builddir/build/BUILD/ArpON-3.0-ng/src/opt.c: In function 'opt_setinterface': /builddir/build/BUILD/ArpON-3.0-ng/src/opt.c:290:24: error: the comparison will always evaluate as 'true' for the address of 'interface' will never be NULL [-Werror=address] 290 | if (opt->interface != NULL) | ^~ /builddir/build/BUILD/ArpON-3.0-ng/src/opt.c:61:10: note: 'interface' declared here 61 | char interface[IF_NAMESIZE]; /* Interface name command option. */ | ^~~~~~~~~ cc1: all warnings being treated as errors make[2]: *** [src/CMakeFiles/arpon.dir/build.make:233: src/CMakeFiles/arpon.dir/opt.c.o] Error 1 make[2]: *** Waiting for unfinished jobs.... make[2]: Leaving directory '/builddir/build/BUILD/ArpON-3.0-ng' make[1]: Leaving directory '/builddir/build/BUILD/ArpON-3.0-ng' make[1]: *** [CMakeFiles/Makefile2:245: src/CMakeFiles/arpon.dir/all] Error 2 make: *** [Makefile:139: all] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.fMuoqk (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.fMuoqk (%build) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.9/site-packages/mockbuild/util.py", line 600, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/ArpON.spec