sr/share/sgml/docbook/xsl-stylesheets/html/docbook.xsl targets.conf.5.xml
cc -c -DUSE_SIGNALFD -DUSE_TIMERFD -DUSE_SYSTEMD -DUSE_EVENTFD -D_GNU_SOURCE -I. -g -O2 -fno-strict-aliasing -Wall -Wstrict-prototypes -Werror -fPIC -Wno-format-truncation -DTGT_VERSION=\"1.0.70\" -DBSDIR=\"/usr/lib64/tgt/backing-store\" iscsi/iscsi_tcp.c -o iscsi/iscsi_tcp.o
cc -c -DUSE_SIGNALFD -DUSE_TIMERFD -DUSE_SYSTEMD -DUSE_EVENTFD -D_GNU_SOURCE -I. -g -O2 -fno-strict-aliasing -Wall -Wstrict-prototypes -Werror -fPIC -Wno-format-truncation -DTGT_VERSION=\"1.0.70\" -DBSDIR=\"/usr/lib64/tgt/backing-store\" iscsi/isns.c -o iscsi/isns.o
test -z "/usr/bin/xsltproc" || /usr/bin/xsltproc -o htmlpages/tgt-setup-lun.8.html http://docbook.sourceforge.net/release/xsl/current/html/docbook.xsl tgt-setup-lun.8.xml
cc -c -DUSE_SIGNALFD -DUSE_TIMERFD -DUSE_SYSTEMD -DUSE_EVENTFD -D_GNU_SOURCE -I. -g -O2 -fno-strict-aliasing -Wall -Wstrict-prototypes -Werror -fPIC -Wno-format-truncation -DTGT_VERSION=\"1.0.70\" -DBSDIR=\"/usr/lib64/tgt/backing-store\" bs_aio.c -o bs_aio.o
make[1]: Leaving directory '/builddir/build/BUILD/tgt-1.0.70/doc'
cc -c -DUSE_SIGNALFD -DUSE_TIMERFD -DUSE_SYSTEMD -DUSE_EVENTFD -D_GNU_SOURCE -I. -g -O2 -fno-strict-aliasing -Wall -Wstrict-prototypes -Werror -fPIC -Wno-format-truncation -DTGT_VERSION=\"1.0.70\" -DBSDIR=\"/usr/lib64/tgt/backing-store\" iscsi/iser.c -o iscsi/iser.o
cc -c -DUSE_SIGNALFD -DUSE_TIMERFD -DUSE_SYSTEMD -DUSE_EVENTFD -D_GNU_SOURCE -I. -g -O2 -fno-strict-aliasing -Wall -Wstrict-prototypes -Werror -fPIC -Wno-format-truncation -DTGT_VERSION=\"1.0.70\" -DBSDIR=\"/usr/lib64/tgt/backing-store\" iscsi/iser_text.c -o iscsi/iser_text.o
cc -c -DUSE_SIGNALFD -DUSE_TIMERFD -DUSE_SYSTEMD -DUSE_EVENTFD -D_GNU_SOURCE -I. -g -O2 -fno-strict-aliasing -Wall -Wstrict-prototypes -Werror -fPIC -Wno-format-truncation -DTGT_VERSION=\"1.0.70\" -DBSDIR=\"/usr/lib64/tgt/backing-store\" tgtd.c -o tgtd.o
cc -c -DUSE_SIGNALFD -DUSE_TIMERFD -DUSE_SYSTEMD -DUSE_EVENTFD -D_GNU_SOURCE -I. -g -O2 -fno-strict-aliasing -Wall -Wstrict-prototypes -Werror -fPIC -Wno-format-truncation -DTGT_VERSION=\"1.0.70\" -DBSDIR=\"/usr/lib64/tgt/backing-store\" mgmt.c -o mgmt.o
cc -c -DUSE_SIGNALFD -DUSE_TIMERFD -DUSE_SYSTEMD -DUSE_EVENTFD -D_GNU_SOURCE -I. -g -O2 -fno-strict-aliasing -Wall -Wstrict-prototypes -Werror -fPIC -Wno-format-truncation -DTGT_VERSION=\"1.0.70\" -DBSDIR=\"/usr/lib64/tgt/backing-store\" target.c -o target.o
cc -c -DUSE_SIGNALFD -DUSE_TIMERFD -DUSE_SYSTEMD -DUSE_EVENTFD -D_GNU_SOURCE -I. -g -O2 -fno-strict-aliasing -Wall -Wstrict-prototypes -Werror -fPIC -Wno-format-truncation -DTGT_VERSION=\"1.0.70\" -DBSDIR=\"/usr/lib64/tgt/backing-store\" scsi.c -o scsi.o
BUILDSTDERR: mgmt.c: In function 'ipc_init':
BUILDSTDERR: mgmt.c:804:2: error: 'strncpy' output may be truncated copying 108 bytes from a string of length 255 [-Werror=stringop-truncation]
BUILDSTDERR: strncpy(addr.sun_path, mgmt_path, sizeof(addr.sun_path));
BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
BUILDSTDERR: cc1: all warnings being treated as errors
BUILDSTDERR: make[1]: *** [Makefile:94: mgmt.o] Error 1
BUILDSTDERR: make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory '/builddir/build/BUILD/tgt-1.0.70/usr'
BUILDSTDERR: make: *** [Makefile:24: programs] Error 2
RPM build errors:
BUILDSTDERR: error: Bad exit status from /var/tmp/rpm-tmp.Agyjnt (%build)
BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.Agyjnt (%build)
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/scsi-target-utils.spec