Mock Version: 1.4.9 Mock Version: 1.4.9 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/scsi-target-utils.spec'], chrootPath='/var/lib/mock/f29-build-31211-16551/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': 'en_US.UTF-8', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'}shell=Falselogger=timeout=345600uid=998gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/scsi-target-utils.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': 'en_US.UTF-8', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'} and shell False Building target platforms: riscv64 Building for target riscv64 Wrote: /builddir/build/SRPMS/scsi-target-utils-1.0.70-4.fc29.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/scsi-target-utils.spec'], chrootPath='/var/lib/mock/f29-build-31211-16551/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': 'en_US.UTF-8', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'}shell=Falselogger=timeout=345600uid=998gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/scsi-target-utils.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': 'en_US.UTF-8', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'} and shell False Building target platforms: riscv64 Building for target riscv64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.iUtLfL + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf tgt-1.0.70 + /usr/bin/gzip -dc /builddir/build/SOURCES/tgt-1.0.70.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd tgt-1.0.70 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (0001-redhatify-docs.patch):' Patch #0 (0001-redhatify-docs.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file README patching file doc/README.iscsi patching file doc/README.iser Patch #1 (0002-remove-check-for-xsltproc.patch): + echo 'Patch #1 (0002-remove-check-for-xsltproc.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file doc/Makefile Patch #2 (0003-default-config.patch): + echo 'Patch #2 (0003-default-config.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file scripts/initd.sample patching file scripts/tgt-admin + echo 'Patch #3 (0004-Fix-compiler-error-in-tgtd.c-call_program.patch):' Patch #3 (0004-Fix-compiler-error-in-tgtd.c-call_program.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file usr/tgtd.c + echo 'Patch #4 (0005-Fix-build-with-GCC-7.patch):' Patch #4 (0005-Fix-build-with-GCC-7.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file usr/Makefile patching file usr/bs_sg.c + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.TqzGdx + umask 022 + cd /builddir/build/BUILD + cd tgt-1.0.70 + /usr/bin/sed -i -e 's|-g -O2 -Wall|-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|' Makefile + /usr/bin/make -j4 ISCSI_RDMA=1 CEPH_RBD=1 GLFS_BD=1 SD_NOTIFY=1 libdir=/usr/lib64/tgt /usr/bin/make -C usr /usr/bin/make -C doc /usr/bin/make -C conf /usr/bin/make -C scripts make[1]: Entering directory '/builddir/build/BUILD/tgt-1.0.70/usr' make[1]: Entering directory '/builddir/build/BUILD/tgt-1.0.70/doc' /usr/bin/xsltproc -o manpages/tgtd.8 /usr/share/sgml/docbook/xsl-stylesheets/manpages/docbook.xsl tgtd.8.xml make[1]: Entering directory '/builddir/build/BUILD/tgt-1.0.70/conf' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/builddir/build/BUILD/tgt-1.0.70/conf' /usr/bin/xsltproc -o manpages/tgtadm.8 /usr/share/sgml/docbook/xsl-stylesheets/manpages/docbook.xsl tgtadm.8.xml make[1]: Entering directory '/builddir/build/BUILD/tgt-1.0.70/scripts' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/builddir/build/BUILD/tgt-1.0.70/scripts' /usr/bin/xsltproc -o manpages/tgtimg.8 /usr/share/sgml/docbook/xsl-stylesheets/manpages/docbook.xsl tgtimg.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\" iscsi/conn.c -o iscsi/conn.o BUILDSTDERR: Note: meta source : no *info/productname or alternative tgtimg BUILDSTDERR: Note: meta source : see http://www.docbook.org/tdg5/en/html/produ tgtimg BUILDSTDERR: Note: meta source : no refentry/refmeta/refmiscinfo@class=source tgtimg BUILDSTDERR: Note: meta source : see http://www.docbook.org/tdg5/en/html/refmi tgtimg BUILDSTDERR: Note: meta version: no *info/productnumber or alternative tgtimg BUILDSTDERR: Note: meta version: see http://www.docbook.org/tdg5/en/html/produ tgtimg BUILDSTDERR: Note: meta version: no refentry/refmeta/refmiscinfo@class=version tgtimg BUILDSTDERR: Note: meta version: see http://www.docbook.org/tdg5/en/html/refmi tgtimg BUILDSTDERR: Warn: meta source : no fallback for source, so inserted a fixme tgtimg BUILDSTDERR: Note: meta manual : no titled ancestor of refentry tgtimg BUILDSTDERR: Note: meta manual : no refentry/refmeta/refmiscinfo@class=manual tgtimg BUILDSTDERR: Note: meta manual : see http://www.docbook.org/tdg5/en/html/refmi tgtimg BUILDSTDERR: Warn: meta manual : no fallback for manual, so inserted a fixme tgtimg BUILDSTDERR: Warn: meta author : no refentry/info/author tgtimg BUILDSTDERR: Note: meta author : see http://www.docbook.org/tdg5/en/html/autho tgtimg BUILDSTDERR: Warn: meta author : no author data, so inserted a fixme tgtimg BUILDSTDERR: Note: meta source : no *info/productname or alternative tgtd BUILDSTDERR: Note: meta source : see http://www.docbook.org/tdg5/en/html/produ tgtd BUILDSTDERR: Note: meta source : no refentry/refmeta/refmiscinfo@class=source tgtd BUILDSTDERR: Note: meta source : see http://www.docbook.org/tdg5/en/html/refmi tgtd BUILDSTDERR: Note: meta source : no *info/productname or alternative tgtadm BUILDSTDERR: Note: meta source : see http://www.docbook.org/tdg5/en/html/produ tgtadm BUILDSTDERR: Note: meta source : no refentry/refmeta/refmiscinfo@class=source tgtadm BUILDSTDERR: Note: meta version: no *info/productnumber or alternative tgtd BUILDSTDERR: Note: meta version: see http://www.docbook.org/tdg5/en/html/produ tgtd BUILDSTDERR: Note: meta version: no refentry/refmeta/refmiscinfo@class=version tgtd BUILDSTDERR: Note: meta version: see http://www.docbook.org/tdg5/en/html/refmi tgtd BUILDSTDERR: Warn: meta source : no fallback for source, so inserted a fixme tgtd BUILDSTDERR: Note: meta source : see http://www.docbook.org/tdg5/en/html/refmi tgtadm BUILDSTDERR: Note: meta version: no *info/productnumber or alternative tgtadm BUILDSTDERR: Note: meta version: see http://www.docbook.org/tdg5/en/html/produ tgtadm BUILDSTDERR: Note: meta version: no refentry/refmeta/refmiscinfo@class=version tgtadm BUILDSTDERR: Note: meta version: see http://www.docbook.org/tdg5/en/html/refmi tgtadm BUILDSTDERR: Warn: meta source : no fallback for source, so inserted a fixme tgtadm BUILDSTDERR: Note: meta manual : no titled ancestor of refentry tgtadm BUILDSTDERR: Note: meta manual : no titled ancestor of refentry tgtd BUILDSTDERR: Note: meta manual : no refentry/refmeta/refmiscinfo@class=manual tgtd BUILDSTDERR: Note: meta manual : see http://www.docbook.org/tdg5/en/html/refmi tgtd BUILDSTDERR: Warn: meta manual : no fallback for manual, so inserted a fixme tgtd BUILDSTDERR: Note: meta manual : no refentry/refmeta/refmiscinfo@class=manual tgtadm BUILDSTDERR: Note: meta manual : see http://www.docbook.org/tdg5/en/html/refmi tgtadm BUILDSTDERR: Warn: meta manual : no fallback for manual, so inserted a fixme tgtadm BUILDSTDERR: Warn: meta author : no refentry/info/author tgtd BUILDSTDERR: Note: meta author : see http://www.docbook.org/tdg5/en/html/autho tgtd BUILDSTDERR: Warn: meta author : no refentry/info/author tgtadm BUILDSTDERR: Note: meta author : see http://www.docbook.org/tdg5/en/html/autho tgtadm BUILDSTDERR: Warn: meta author : no author data, so inserted a fixme tgtd BUILDSTDERR: Warn: meta author : no author data, so inserted a fixme tgtadm BUILDSTDERR: Note: Writing tgtimg.8 BUILDSTDERR: Note: Writing tgtd.8 /usr/bin/xsltproc -o manpages/tgt-admin.8 /usr/share/sgml/docbook/xsl-stylesheets/manpages/docbook.xsl tgt-admin.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\" iscsi/param.c -o iscsi/param.o BUILDSTDERR: Note: Writing tgtadm.8 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/session.c -o iscsi/session.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/iscsid.c -o iscsi/iscsid.o BUILDSTDERR: Note: meta source : no *info/productname or alternative tgt-admin BUILDSTDERR: Note: meta source : see http://www.docbook.org/tdg5/en/html/produ tgt-admin BUILDSTDERR: Note: meta source : no refentry/refmeta/refmiscinfo@class=source tgt-admin BUILDSTDERR: Note: meta source : see http://www.docbook.org/tdg5/en/html/refmi tgt-admin BUILDSTDERR: Note: meta version: no *info/productnumber or alternative tgt-admin BUILDSTDERR: Note: meta version: see http://www.docbook.org/tdg5/en/html/produ tgt-admin BUILDSTDERR: Note: meta version: no refentry/refmeta/refmiscinfo@class=version tgt-admin BUILDSTDERR: Note: meta version: see http://www.docbook.org/tdg5/en/html/refmi tgt-admin BUILDSTDERR: Warn: meta source : no fallback for source, so inserted a fixme tgt-admin BUILDSTDERR: Note: meta manual : no titled ancestor of refentry tgt-admin BUILDSTDERR: Note: meta manual : no refentry/refmeta/refmiscinfo@class=manual tgt-admin BUILDSTDERR: Note: meta manual : see http://www.docbook.org/tdg5/en/html/refmi tgt-admin BUILDSTDERR: Warn: meta manual : no fallback for manual, so inserted a fixme tgt-admin BUILDSTDERR: Warn: meta author : no refentry/info/author tgt-admin BUILDSTDERR: Note: meta author : see http://www.docbook.org/tdg5/en/html/autho tgt-admin BUILDSTDERR: Warn: meta author : no author data, so inserted a fixme tgt-admin BUILDSTDERR: Note: Writing tgt-admin.8 /usr/bin/xsltproc -o manpages/targets.conf.5 /usr/share/sgml/docbook/xsl-stylesheets/manpages/docbook.xsl targets.conf.5.xml test -z "/usr/bin/xsltproc" || /usr/bin/xsltproc -o manpages/tgt-setup-lun.8 http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl tgt-setup-lun.8.xml /usr/bin/xsltproc -o htmlpages/tgtd.8.html /usr/share/sgml/docbook/xsl-stylesheets/html/docbook.xsl tgtd.8.xml BUILDSTDERR: Note: meta source : no *info/productname or alternative targets.conf BUILDSTDERR: Note: meta source : see http://www.docbook.org/tdg5/en/html/produ targets.conf BUILDSTDERR: Note: meta source : no refentry/refmeta/refmiscinfo@class=source targets.conf BUILDSTDERR: Note: meta source : see http://www.docbook.org/tdg5/en/html/refmi targets.conf BUILDSTDERR: Note: meta version: no *info/productnumber or alternative targets.conf BUILDSTDERR: Note: meta version: see http://www.docbook.org/tdg5/en/html/produ targets.conf BUILDSTDERR: Note: meta version: no refentry/refmeta/refmiscinfo@class=version targets.conf BUILDSTDERR: Note: meta version: see http://www.docbook.org/tdg5/en/html/refmi targets.conf BUILDSTDERR: Warn: meta source : no fallback for source, so inserted a fixme targets.conf BUILDSTDERR: Note: meta manual : no titled ancestor of refentry targets.conf BUILDSTDERR: Note: meta manual : no refentry/refmeta/refmiscinfo@class=manual targets.conf BUILDSTDERR: Note: meta manual : see http://www.docbook.org/tdg5/en/html/refmi targets.conf BUILDSTDERR: Warn: meta manual : no fallback for manual, so inserted a fixme targets.conf BUILDSTDERR: Warn: meta author : no refentry/info/author targets.conf BUILDSTDERR: Note: meta author : see http://www.docbook.org/tdg5/en/html/autho targets.conf BUILDSTDERR: Warn: meta author : no author data, so inserted a fixme targets.conf 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/target.c -o iscsi/target.o BUILDSTDERR: Note: Writing targets.conf.5 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/chap.c -o iscsi/chap.o BUILDSTDERR: Note: meta source : no *info/productname or alternative tgt-setup-lun BUILDSTDERR: Note: meta source : see http://www.docbook.org/tdg5/en/html/produ tgt-setup-lun BUILDSTDERR: Note: meta source : no refentry/refmeta/refmiscinfo@class=source tgt-setup-lun BUILDSTDERR: Note: meta source : see http://www.docbook.org/tdg5/en/html/refmi tgt-setup-lun BUILDSTDERR: Note: meta version: no *info/productnumber or alternative tgt-setup-lun BUILDSTDERR: Note: meta version: see http://www.docbook.org/tdg5/en/html/produ tgt-setup-lun BUILDSTDERR: Note: meta version: no refentry/refmeta/refmiscinfo@class=version tgt-setup-lun BUILDSTDERR: Note: meta version: see http://www.docbook.org/tdg5/en/html/refmi tgt-setup-lun BUILDSTDERR: Warn: meta source : no fallback for source, so inserted a fixme tgt-setup-lun BUILDSTDERR: Note: meta manual : no titled ancestor of refentry tgt-setup-lun BUILDSTDERR: Note: meta manual : no refentry/refmeta/refmiscinfo@class=manual tgt-setup-lun BUILDSTDERR: Note: meta manual : see http://www.docbook.org/tdg5/en/html/refmi tgt-setup-lun BUILDSTDERR: Warn: meta manual : no fallback for manual, so inserted a fixme tgt-setup-lun BUILDSTDERR: Note: Writing tgt-setup-lun.8 /usr/bin/xsltproc -o htmlpages/tgtadm.8.html /usr/share/sgml/docbook/xsl-stylesheets/html/docbook.xsl tgtadm.8.xml /usr/bin/xsltproc -o htmlpages/tgtimg.8.html /usr/share/sgml/docbook/xsl-stylesheets/html/docbook.xsl tgtimg.8.xml /usr/bin/xsltproc -o htmlpages/tgt-admin.8.html /usr/share/sgml/docbook/xsl-stylesheets/html/docbook.xsl tgt-admin.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\" iscsi/sha1.c -o iscsi/sha1.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/md5.c -o iscsi/md5.o /usr/bin/xsltproc -o htmlpages/targets.conf.5.html /usr/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/transport.c -o iscsi/transport.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\" 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 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\" bs_aio.c -o bs_aio.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.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.TqzGdx (%build) BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.TqzGdx (%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