directory '/builddir/build/BUILD/liboping-1.10.0/src/mans' make[2]: Entering directory '/builddir/build/BUILD/liboping-1.10.0/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -Wall -Werror -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o liboping_la-liboping.lo `test -f 'liboping.c' || echo './'`liboping.c gcc -DHAVE_CONFIG_H -I. -Wall -Werror -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o oping.o oping.c gcc -DHAVE_CONFIG_H -I. -DUSE_NCURSES=1 -D_GNU_SOURCE -D_DEFAULT_SOURCE -Wall -Werror -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o noping-oping.o `test -f 'oping.c' || echo './'`oping.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -Wall -Werror -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c liboping.c -fPIC -DPIC -o .libs/liboping_la-liboping.o BUILDSTDERR: liboping.c: In function 'ping_host_add': BUILDSTDERR: liboping.c:207:9: error: '%s' directive output may be truncated writing up to 255 bytes into a region of size 243 [-Werror=format-truncation=] BUILDSTDERR: "%s: %s", function, message); BUILDSTDERR: ^~ BUILDSTDERR: liboping.c:1644:40: BUILDSTDERR: ping_set_error (obj, "getaddrinfo", errmsg); BUILDSTDERR: ~~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:861, BUILDSTDERR: from liboping.c:30: BUILDSTDERR: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 14 and 269 bytes into a destination of size 256 BUILDSTDERR: return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: cc1: all warnings being treated as errors BUILDSTDERR: make[2]: *** [Makefile:582: liboping_la-liboping.lo] Error 1 BUILDSTDERR: make[2]: *** Waiting for unfinished jobs.... make[2]: Leaving directory '/builddir/build/BUILD/liboping-1.10.0/src' make[1]: Leaving directory '/builddir/build/BUILD/liboping-1.10.0/src' BUILDSTDERR: make[1]: *** [Makefile:645: all-recursive] Error 1 make: Leaving directory '/builddir/build/BUILD/liboping-1.10.0/src' BUILDSTDERR: make: *** [Makefile:419: all] Error 2 BUILDSTDERR: error: Bad exit status from /var/tmp/rpm-tmp.DfajUS (%build) BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.DfajUS (%build) RPM build errors: Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/mockbuild/trace_decorator.py", line 96, in trace result = func(*args, **kw) File "/usr/lib/python3.6/site-packages/mockbuild/util.py", line 626, in do 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/liboping.spec