keFiles/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