+ exec + rm -rf /rpmbuild + mkdir -p /rpmbuild + su -c 'rpmbuild -ba /builddir/build/SPECS/ArpON.spec --define "debug_package %{nil}" --undefine _annotated_build --define "_missing_doc_files_terminate_build %{nil}" --define "_emacs_sitestartdir /usr/share/emacs/site-lisp/site-start.d" --define "_emacs_sitelispdir /usr/share/emacs/site-lisp" --nocheck ' mockbuild Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.UabxvP + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf ArpON-3.0-ng + /usr/bin/gzip -dc /builddir/build/SOURCES/ArpON-3.0-ng.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd ArpON-3.0-ng + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.s3DZzw + umask 022 + cd /builddir/build/BUILD + cd ArpON-3.0-ng + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 ' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 ' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + /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_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 . -- The C compiler identification is GNU 7.3.1 -- Check for working C compiler: /usr/bin/cc -- Check for working C compiler: /usr/bin/cc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- 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 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 -H/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= Scanning dependencies of target arpon 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' [ 5%] Building C object src/CMakeFiles/arpon.dir/darpi.c.o [ 10%] Building C object src/CMakeFiles/arpon.dir/darpica.c.o cd /builddir/build/BUILD/ArpON-3.0-ng/src && /usr/bin/cc -I/builddir/build/BUILD/ArpON-3.0-ng -I/builddir/build/BUILD/ArpON-3.0-ng/src -I/usr/local/include -I/usr/local/include/libnet11 -I/usr/local/include/libnet-1.1 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -Werror -Wextra -O3 -DNDEBUG -DNDEBUG -o CMakeFiles/arpon.dir/darpi.c.o -c /builddir/build/BUILD/ArpON-3.0-ng/src/darpi.c cd /builddir/build/BUILD/ArpON-3.0-ng/src && /usr/bin/cc -I/builddir/build/BUILD/ArpON-3.0-ng -I/builddir/build/BUILD/ArpON-3.0-ng/src -I/usr/local/include -I/usr/local/include/libnet11 -I/usr/local/include/libnet-1.1 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -Werror -Wextra -O3 -DNDEBUG -DNDEBUG -o CMakeFiles/arpon.dir/darpica.c.o -c /builddir/build/BUILD/ArpON-3.0-ng/src/darpica.c [ 15%] Building C object src/CMakeFiles/arpon.dir/arpca.c.o cd /builddir/build/BUILD/ArpON-3.0-ng/src && /usr/bin/cc -I/builddir/build/BUILD/ArpON-3.0-ng -I/builddir/build/BUILD/ArpON-3.0-ng/src -I/usr/local/include -I/usr/local/include/libnet11 -I/usr/local/include/libnet-1.1 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -Werror -Wextra -O3 -DNDEBUG -DNDEBUG -o CMakeFiles/arpon.dir/arpca.c.o -c /builddir/build/BUILD/ArpON-3.0-ng/src/arpca.c [ 20%] Building C object src/CMakeFiles/arpon.dir/dmn.c.o cd /builddir/build/BUILD/ArpON-3.0-ng/src && /usr/bin/cc -I/builddir/build/BUILD/ArpON-3.0-ng -I/builddir/build/BUILD/ArpON-3.0-ng/src -I/usr/local/include -I/usr/local/include/libnet11 -I/usr/local/include/libnet-1.1 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -Werror -Wextra -O3 -DNDEBUG -DNDEBUG -o CMakeFiles/arpon.dir/dmn.c.o -c /builddir/build/BUILD/ArpON-3.0-ng/src/dmn.c [ 25%] Building C object src/CMakeFiles/arpon.dir/env.c.o cd /builddir/build/BUILD/ArpON-3.0-ng/src && /usr/bin/cc -I/builddir/build/BUILD/ArpON-3.0-ng -I/builddir/build/BUILD/ArpON-3.0-ng/src -I/usr/local/include -I/usr/local/include/libnet11 -I/usr/local/include/libnet-1.1 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -Werror -Wextra -O3 -DNDEBUG -DNDEBUG -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/cc -I/builddir/build/BUILD/ArpON-3.0-ng -I/builddir/build/BUILD/ArpON-3.0-ng/src -I/usr/local/include -I/usr/local/include/libnet11 -I/usr/local/include/libnet-1.1 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -Werror -Wextra -O3 -DNDEBUG -DNDEBUG -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/cc -I/builddir/build/BUILD/ArpON-3.0-ng -I/builddir/build/BUILD/ArpON-3.0-ng/src -I/usr/local/include -I/usr/local/include/libnet11 -I/usr/local/include/libnet-1.1 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -Werror -Wextra -O3 -DNDEBUG -DNDEBUG -o CMakeFiles/arpon.dir/harpi.c.o -c /builddir/build/BUILD/ArpON-3.0-ng/src/harpi.c [ 40%] Building C object src/CMakeFiles/arpon.dir/intf.c.o cd /builddir/build/BUILD/ArpON-3.0-ng/src && /usr/bin/cc -I/builddir/build/BUILD/ArpON-3.0-ng -I/builddir/build/BUILD/ArpON-3.0-ng/src -I/usr/local/include -I/usr/local/include/libnet11 -I/usr/local/include/libnet-1.1 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -Werror -Wextra -O3 -DNDEBUG -DNDEBUG -o CMakeFiles/arpon.dir/intf.c.o -c /builddir/build/BUILD/ArpON-3.0-ng/src/intf.c [ 45%] Building C object src/CMakeFiles/arpon.dir/ispn.c.o cd /builddir/build/BUILD/ArpON-3.0-ng/src && /usr/bin/cc -I/builddir/build/BUILD/ArpON-3.0-ng -I/builddir/build/BUILD/ArpON-3.0-ng/src -I/usr/local/include -I/usr/local/include/libnet11 -I/usr/local/include/libnet-1.1 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -Werror -Wextra -O3 -DNDEBUG -DNDEBUG -o CMakeFiles/arpon.dir/ispn.c.o -c /builddir/build/BUILD/ArpON-3.0-ng/src/ispn.c [ 50%] Building C object src/CMakeFiles/arpon.dir/main.c.o cd /builddir/build/BUILD/ArpON-3.0-ng/src && /usr/bin/cc -I/builddir/build/BUILD/ArpON-3.0-ng -I/builddir/build/BUILD/ArpON-3.0-ng/src -I/usr/local/include -I/usr/local/include/libnet11 -I/usr/local/include/libnet-1.1 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -Werror -Wextra -O3 -DNDEBUG -DNDEBUG -o CMakeFiles/arpon.dir/main.c.o -c /builddir/build/BUILD/ArpON-3.0-ng/src/main.c [ 55%] Building C object src/CMakeFiles/arpon.dir/msg.c.o cd /builddir/build/BUILD/ArpON-3.0-ng/src && /usr/bin/cc -I/builddir/build/BUILD/ArpON-3.0-ng -I/builddir/build/BUILD/ArpON-3.0-ng/src -I/usr/local/include -I/usr/local/include/libnet11 -I/usr/local/include/libnet-1.1 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -Werror -Wextra -O3 -DNDEBUG -DNDEBUG -o CMakeFiles/arpon.dir/msg.c.o -c /builddir/build/BUILD/ArpON-3.0-ng/src/msg.c [ 60%] Building C object src/CMakeFiles/arpon.dir/opt.c.o cd /builddir/build/BUILD/ArpON-3.0-ng/src && /usr/bin/cc -I/builddir/build/BUILD/ArpON-3.0-ng -I/builddir/build/BUILD/ArpON-3.0-ng/src -I/usr/local/include -I/usr/local/include/libnet11 -I/usr/local/include/libnet-1.1 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -Werror -Wextra -O3 -DNDEBUG -DNDEBUG -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/cc -I/builddir/build/BUILD/ArpON-3.0-ng -I/builddir/build/BUILD/ArpON-3.0-ng/src -I/usr/local/include -I/usr/local/include/libnet11 -I/usr/local/include/libnet-1.1 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -Werror -Wextra -O3 -DNDEBUG -DNDEBUG -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:288:24: error: comparison between pointer and zero character constant [-Werror=pointer-compare] if (opt->interface != '\0') ^~ /builddir/build/BUILD/ArpON-3.0-ng/src/opt.c:288:9: note: did you mean to dereference the pointer? if (opt->interface != '\0') ^ /builddir/build/BUILD/ArpON-3.0-ng/src/opt.c: In function 'opt_loop': /builddir/build/BUILD/ArpON-3.0-ng/src/opt.c:224:17: error: this statement may fall through [-Werror=implicit-fallthrough=] exit_cleanup(true); ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/ArpON-3.0-ng/src/opt.c:226:13: note: here case 'h': ^~~~ /builddir/build/BUILD/ArpON-3.0-ng/src/opt.c:231:17: error: this statement may fall through [-Werror=implicit-fallthrough=] exit_cleanup(true); ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/ArpON-3.0-ng/src/opt.c:233:13: note: here case '?': ^~~~ [ 70%] Building C object src/CMakeFiles/arpon.dir/rt.c.o cd /builddir/build/BUILD/ArpON-3.0-ng/src && /usr/bin/cc -I/builddir/build/BUILD/ArpON-3.0-ng -I/builddir/build/BUILD/ArpON-3.0-ng/src -I/usr/local/include -I/usr/local/include/libnet11 -I/usr/local/include/libnet-1.1 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -Werror -Wextra -O3 -DNDEBUG -DNDEBUG -o CMakeFiles/arpon.dir/rt.c.o -c /builddir/build/BUILD/ArpON-3.0-ng/src/rt.c cc1: all warnings being treated as errors make[2]: *** [src/CMakeFiles/arpon.dir/build.make:330: 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]: *** [CMakeFiles/Makefile2:153: src/CMakeFiles/arpon.dir/all] Error 2 make[1]: Leaving directory '/builddir/build/BUILD/ArpON-3.0-ng' make: *** [Makefile:131: all] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.s3DZzw (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.s3DZzw (%build) ++ cleanup ++ set +e ++ sync ++ sleep 5 ++ sync ++ poweroff Terminated +++ cleanup +++ set +e +++ sync +++ sleep 5 ++++ cleanup ++++ set +e ++++ sync ++++ sleep 5 ++++ sync ++++ poweroff