Mock Version: 1.3.4 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/iscsitarget.spec'], logger=timeout=0gid=135printOutput=Falseshell=FalsechrootPath='/var/lib/mock/epel-7-x86_64-mockbuilder-6576/root'uid=1001nspawn_args=[]env={'HOME': '/builddir', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'HOSTNAME': 'mock', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'TERM': 'vt100', 'SHELL': '/bin/bash'}user='mockbuild') Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/iscsitarget.spec'] with env {'HOME': '/builddir', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'HOSTNAME': 'mock', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'TERM': 'vt100', 'SHELL': '/bin/bash'} and shell False warning: Could not canonicalize hostname: copr-builder-543547796.novalocal Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/iscsitarget-1.4.20.3-1.svn502.el7.centos.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/iscsitarget.spec'], logger=timeout=0gid=135printOutput=Falseshell=FalsechrootPath='/var/lib/mock/epel-7-x86_64-mockbuilder-6576/root'uid=1001nspawn_args=[]env={'HOME': '/builddir', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'HOSTNAME': 'mock', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'TERM': 'vt100', 'SHELL': '/bin/bash'}user='mockbuild') Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/iscsitarget.spec'] with env {'HOME': '/builddir', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'HOSTNAME': 'mock', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'TERM': 'vt100', 'SHELL': '/bin/bash'} and shell False Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.Hs7Kdr + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf iscsitarget-1.4.20.3+svn502 + /usr/bin/gzip -dc /builddir/build/SOURCES/iscsitarget_1.4.20.3+svn502.orig.tar.gz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd iscsitarget-1.4.20.3+svn502 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/cat /builddir/build/SOURCES/enable-3.12-compat.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/enable-3.14-compat.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/porting-3.19.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/compat-3.19.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/enable-3.19-compat.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/fix-compat-3.13.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/porting-4.3.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/compat-4.3.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/enable-4.3.patch + /usr/bin/patch -p1 -s + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.Ak7vmm + umask 022 + cd /builddir/build/BUILD + cd iscsitarget-1.4.20.3+svn502 + make usr cc: error: /lib/modules/4.5.5-300.fc24.x86_64/build/include/linux/version.h: No such file or directory cc: fatal error: no input files compilation terminated. /bin/sh: line 0: [: too many arguments /bin/sh: line 0: [: too many arguments /bin/sh: line 0: [: too many arguments /bin/sh: line 0: [: too many arguments /bin/sh: line 0: [: too many arguments /bin/sh: line 0: [: too many arguments /bin/sh: line 0: [: too many arguments /bin/sh: line 0: [: too many arguments /bin/sh: line 0: [: too many arguments /bin/sh: line 0: [: too many arguments /bin/sh: line 0: [: too many arguments /bin/sh: line 0: [: too many arguments /bin/sh: line 0: [: too many arguments /bin/sh: line 0: [: too many arguments /bin/sh: line 0: [: too many arguments /bin/sh: line 0: [: too many arguments /bin/sh: line 0: [: too many arguments /bin/sh: line 0: [: too many arguments /bin/sh: line 0: [: too many arguments /bin/sh: line 0: [: too many arguments /bin/sh: line 0: [: too many arguments /bin/sh: line 0: [: too many arguments /bin/sh: line 0: [: too many arguments make -C usr make[1]: Entering directory `/builddir/build/BUILD/iscsitarget-1.4.20.3+svn502/usr' cc -O2 -fno-inline -Wall -Wstrict-prototypes -I../include -D_GNU_SOURCE -c -o ietd.o ietd.c cc -O2 -fno-inline -Wall -Wstrict-prototypes -I../include -D_GNU_SOURCE -c -o iscsid.o iscsid.c iscsid.c: In function 'text_scan_login': iscsid.c:290:8: warning: variable 'err' set but not used [-Wunused-but-set-variable] int err; ^ cc -O2 -fno-inline -Wall -Wstrict-prototypes -I../include -D_GNU_SOURCE -c -o conn.o conn.c cc -O2 -fno-inline -Wall -Wstrict-prototypes -I../include -D_GNU_SOURCE -c -o session.o session.c cc -O2 -fno-inline -Wall -Wstrict-prototypes -I../include -D_GNU_SOURCE -c -o target.o target.c cc -O2 -fno-inline -Wall -Wstrict-prototypes -I../include -D_GNU_SOURCE -c -o message.o message.c cc -O2 -fno-inline -Wall -Wstrict-prototypes -I../include -D_GNU_SOURCE -c -o ctldev.o ctldev.c cc -O2 -fno-inline -Wall -Wstrict-prototypes -I../include -D_GNU_SOURCE -c -o log.o log.c cc -O2 -fno-inline -Wall -Wstrict-prototypes -I../include -D_GNU_SOURCE -c -o chap.o chap.c cc -O2 -fno-inline -Wall -Wstrict-prototypes -I../include -D_GNU_SOURCE -c -o event.o event.c cc -O2 -fno-inline -Wall -Wstrict-prototypes -I../include -D_GNU_SOURCE -c -o param.o param.c param.c: In function 'minimum_check_val': param.c:95:6: warning: variable 'err' set but not used [-Wunused-but-set-variable] int err = 0; ^ param.c: In function 'maximum_check_val': param.c:107:6: warning: variable 'err' set but not used [-Wunused-but-set-variable] int err = 0; ^ cc -O2 -fno-inline -Wall -Wstrict-prototypes -I../include -D_GNU_SOURCE -c -o plain.o plain.c cc -O2 -fno-inline -Wall -Wstrict-prototypes -I../include -D_GNU_SOURCE -c -o isns.o isns.c cc -O2 -fno-inline -Wall -Wstrict-prototypes -I../include -D_GNU_SOURCE -c -o md5.o md5.c cc -O2 -fno-inline -Wall -Wstrict-prototypes -I../include -D_GNU_SOURCE -c -o sha1.o sha1.c cc ietd.o iscsid.o conn.o session.o target.o message.o ctldev.o log.o chap.o event.o param.o plain.o isns.o md5.o sha1.o -o ietd cc -O2 -fno-inline -Wall -Wstrict-prototypes -I../include -D_GNU_SOURCE -c -o ietadm.o ietadm.c cc ietadm.o param.o -o ietadm make[1]: Leaving directory `/builddir/build/BUILD/iscsitarget-1.4.20.3+svn502/usr' + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.73Y8Un + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/iscsitarget-1.4.20.3-1.svn502.el7.centos.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/iscsitarget-1.4.20.3-1.svn502.el7.centos.x86_64 ++ dirname /builddir/build/BUILDROOT/iscsitarget-1.4.20.3-1.svn502.el7.centos.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/iscsitarget-1.4.20.3-1.svn502.el7.centos.x86_64 + cd iscsitarget-1.4.20.3+svn502 + make install-usr install-doc install-etc DISTDIR=/builddir/build/BUILDROOT/iscsitarget-1.4.20.3-1.svn502.el7.centos.x86_64 DESTDIR=/builddir/build/BUILDROOT/iscsitarget-1.4.20.3-1.svn502.el7.centos.x86_64 cc: error: /lib/modules/4.5.5-300.fc24.x86_64/build/include/linux/version.h: No such file or directory cc: fatal error: no input files compilation terminated. /bin/sh: line 0: [: too many arguments /bin/sh: line 0: [: too many arguments /bin/sh: line 0: [: too many arguments /bin/sh: line 0: [: too many arguments /bin/sh: line 0: [: too many arguments /bin/sh: line 0: [: too many arguments /bin/sh: line 0: [: too many arguments /bin/sh: line 0: [: too many arguments /bin/sh: line 0: [: too many arguments /bin/sh: line 0: [: too many arguments /bin/sh: line 0: [: too many arguments /bin/sh: line 0: [: too many arguments /bin/sh: line 0: [: too many arguments /bin/sh: line 0: [: too many arguments /bin/sh: line 0: [: too many arguments /bin/sh: line 0: [: too many arguments /bin/sh: line 0: [: too many arguments /bin/sh: line 0: [: too many arguments /bin/sh: line 0: [: too many arguments /bin/sh: line 0: [: too many arguments /bin/sh: line 0: [: too many arguments /bin/sh: line 0: [: too many arguments /bin/sh: line 0: [: too many arguments install: creating directory '/builddir/build/BUILDROOT/iscsitarget-1.4.20.3-1.svn502.el7.centos.x86_64/usr' install: creating directory '/builddir/build/BUILDROOT/iscsitarget-1.4.20.3-1.svn502.el7.centos.x86_64/usr/sbin' 'usr/ietd' -> '/builddir/build/BUILDROOT/iscsitarget-1.4.20.3-1.svn502.el7.centos.x86_64/usr/sbin/ietd' 'usr/ietadm' -> '/builddir/build/BUILDROOT/iscsitarget-1.4.20.3-1.svn502.el7.centos.x86_64/usr/sbin/ietadm' install: creating directory '/builddir/build/BUILDROOT/iscsitarget-1.4.20.3-1.svn502.el7.centos.x86_64/usr/share' install: creating directory '/builddir/build/BUILDROOT/iscsitarget-1.4.20.3-1.svn502.el7.centos.x86_64/usr/share/man' install: creating directory '/builddir/build/BUILDROOT/iscsitarget-1.4.20.3-1.svn502.el7.centos.x86_64/usr/share/man/man8' 'doc/manpages/ietadm.8' -> '/builddir/build/BUILDROOT/iscsitarget-1.4.20.3-1.svn502.el7.centos.x86_64/usr/share/man/man8/ietadm.8' 'doc/manpages/ietd.8' -> '/builddir/build/BUILDROOT/iscsitarget-1.4.20.3-1.svn502.el7.centos.x86_64/usr/share/man/man8/ietd.8' install: creating directory '/builddir/build/BUILDROOT/iscsitarget-1.4.20.3-1.svn502.el7.centos.x86_64/usr/share/man/man5' 'doc/manpages/ietd.conf.5' -> '/builddir/build/BUILDROOT/iscsitarget-1.4.20.3-1.svn502.el7.centos.x86_64/usr/share/man/man5/ietd.conf.5' install: creating directory '/builddir/build/BUILDROOT/iscsitarget-1.4.20.3-1.svn502.el7.centos.x86_64/usr/share/doc' install: creating directory '/builddir/build/BUILDROOT/iscsitarget-1.4.20.3-1.svn502.el7.centos.x86_64/usr/share/doc/iscsitarget' 'ChangeLog' -> '/builddir/build/BUILDROOT/iscsitarget-1.4.20.3-1.svn502.el7.centos.x86_64/usr/share/doc/iscsitarget/ChangeLog' 'COPYING' -> '/builddir/build/BUILDROOT/iscsitarget-1.4.20.3-1.svn502.el7.centos.x86_64/usr/share/doc/iscsitarget/COPYING' 'RELEASE_NOTES' -> '/builddir/build/BUILDROOT/iscsitarget-1.4.20.3-1.svn502.el7.centos.x86_64/usr/share/doc/iscsitarget/RELEASE_NOTES' 'README' -> '/builddir/build/BUILDROOT/iscsitarget-1.4.20.3-1.svn502.el7.centos.x86_64/usr/share/doc/iscsitarget/README' 'README.vmware' -> '/builddir/build/BUILDROOT/iscsitarget-1.4.20.3-1.svn502.el7.centos.x86_64/usr/share/doc/iscsitarget/README.vmware' 'README.initiators' -> '/builddir/build/BUILDROOT/iscsitarget-1.4.20.3-1.svn502.el7.centos.x86_64/usr/share/doc/iscsitarget/README.initiators' install: creating directory '/builddir/build/BUILDROOT/iscsitarget-1.4.20.3-1.svn502.el7.centos.x86_64/etc' install: creating directory '/builddir/build/BUILDROOT/iscsitarget-1.4.20.3-1.svn502.el7.centos.x86_64/etc/rc.d' install: creating directory '/builddir/build/BUILDROOT/iscsitarget-1.4.20.3-1.svn502.el7.centos.x86_64/etc/rc.d/init.d' 'etc/initd/initd.redhat' -> '/builddir/build/BUILDROOT/iscsitarget-1.4.20.3-1.svn502.el7.centos.x86_64/etc/rc.d/init.d/iscsi-target' install: creating directory '/builddir/build/BUILDROOT/iscsitarget-1.4.20.3-1.svn502.el7.centos.x86_64/etc/iet' 'etc/ietd.conf' -> '/builddir/build/BUILDROOT/iscsitarget-1.4.20.3-1.svn502.el7.centos.x86_64/etc/iet/ietd.conf' 'etc/initiators.allow' -> '/builddir/build/BUILDROOT/iscsitarget-1.4.20.3-1.svn502.el7.centos.x86_64/etc/iet/initiators.allow' 'etc/targets.allow' -> '/builddir/build/BUILDROOT/iscsitarget-1.4.20.3-1.svn502.el7.centos.x86_64/etc/iet/targets.allow' + mkdir -p /builddir/build/BUILDROOT/iscsitarget-1.4.20.3-1.svn502.el7.centos.x86_64/usr/src/iscsitarget-1.4.20.3 + cp -r COPYING dkms.conf include kernel patches /builddir/build/BUILDROOT/iscsitarget-1.4.20.3-1.svn502.el7.centos.x86_64/usr/src/iscsitarget-1.4.20.3 + sed -i -e 's/\(PACKAGE_VERSION=\).*/\1"1.4.20.3"/' /builddir/build/BUILDROOT/iscsitarget-1.4.20.3-1.svn502.el7.centos.x86_64/usr/src/iscsitarget-1.4.20.3/dkms.conf + mkdir -p /builddir/build/BUILDROOT/iscsitarget-1.4.20.3-1.svn502.el7.centos.x86_64/usr/lib/systemd/system + install -pm 0644 /builddir/build/SOURCES/iscsitarget.service /builddir/build/BUILDROOT/iscsitarget-1.4.20.3-1.svn502.el7.centos.x86_64/usr/lib/systemd/system/iscsitarget.service + mkdir -p /builddir/build/BUILDROOT/iscsitarget-1.4.20.3-1.svn502.el7.centos.x86_64/etc/sysconfig + install -pm 0644 /builddir/build/SOURCES/iscsitarget.sysconfig /builddir/build/BUILDROOT/iscsitarget-1.4.20.3-1.svn502.el7.centos.x86_64/etc/sysconfig/iscsitarget + rm -rf /builddir/build/BUILDROOT/iscsitarget-1.4.20.3-1.svn502.el7.centos.x86_64/etc/rc.d/init.d + /usr/lib/rpm/find-debuginfo.sh --strict-build-id -m --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 /builddir/build/BUILD/iscsitarget-1.4.20.3+svn502 extracting debug info from /builddir/build/BUILDROOT/iscsitarget-1.4.20.3-1.svn502.el7.centos.x86_64/usr/sbin/ietadm extracting debug info from /builddir/build/BUILDROOT/iscsitarget-1.4.20.3-1.svn502.el7.centos.x86_64/usr/sbin/ietd dwz: Too few files for multifile optimization /usr/lib/rpm/sepdebugcrcfix: Updated 0 CRC32s, 2 CRC32s did match. + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-compress + /usr/lib/rpm/redhat/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 + /usr/lib/rpm/redhat/brp-python-hardlink + /usr/lib/rpm/redhat/brp-java-repack-jars Processing files: iscsitarget-1.4.20.3-1.svn502.el7.centos.x86_64 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.yRKJjq + umask 022 + cd /builddir/build/BUILD + cd iscsitarget-1.4.20.3+svn502 + LICENSEDIR=/builddir/build/BUILDROOT/iscsitarget-1.4.20.3-1.svn502.el7.centos.x86_64/usr/share/licenses/iscsitarget-1.4.20.3 + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/iscsitarget-1.4.20.3-1.svn502.el7.centos.x86_64/usr/share/licenses/iscsitarget-1.4.20.3 + cp -pr COPYING /builddir/build/BUILDROOT/iscsitarget-1.4.20.3-1.svn502.el7.centos.x86_64/usr/share/licenses/iscsitarget-1.4.20.3 + exit 0 Provides: config(iscsitarget) = 1.4.20.3-1.svn502.el7.centos iscsitarget = 1.4.20.3-1.svn502.el7.centos iscsitarget(x86-64) = 1.4.20.3-1.svn502.el7.centos Requires(interp): /bin/sh /bin/sh /bin/sh Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(post): /bin/sh systemd Requires(preun): /bin/sh systemd Requires(postun): /bin/sh systemd Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) rtld(GNU_HASH) Processing files: dkms-iscsitarget-1.4.20.3-1.svn502.el7.centos.noarch Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.DvCs6s + umask 022 + cd /builddir/build/BUILD + cd iscsitarget-1.4.20.3+svn502 + LICENSEDIR=/builddir/build/BUILDROOT/iscsitarget-1.4.20.3-1.svn502.el7.centos.x86_64/usr/share/licenses/dkms-iscsitarget-1.4.20.3 + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/iscsitarget-1.4.20.3-1.svn502.el7.centos.x86_64/usr/share/licenses/dkms-iscsitarget-1.4.20.3 + cp -pr COPYING /builddir/build/BUILDROOT/iscsitarget-1.4.20.3-1.svn502.el7.centos.x86_64/usr/share/licenses/dkms-iscsitarget-1.4.20.3 + exit 0 Provides: dkms-iscsitarget = 1.4.20.3-1.svn502.el7.centos iscsitarget-kmod = 1.4.20.3-1.svn502.el7.centos Requires(interp): /bin/sh /bin/sh Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(post): /bin/sh dkms Requires(preun): /bin/sh dkms Conflicts: kernel >= 4.5 kernel-devel >= 4.5 kernel-devel-uname-r >= 4.5 Processing files: iscsitarget-debuginfo-1.4.20.3-1.svn502.el7.centos.x86_64 Provides: iscsitarget-debuginfo = 1.4.20.3-1.svn502.el7.centos iscsitarget-debuginfo(x86-64) = 1.4.20.3-1.svn502.el7.centos Requires(rpmlib): rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(CompressedFileNames) <= 3.0.4-1 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/iscsitarget-1.4.20.3-1.svn502.el7.centos.x86_64 Wrote: /builddir/build/RPMS/iscsitarget-1.4.20.3-1.svn502.el7.centos.x86_64.rpm Wrote: /builddir/build/RPMS/dkms-iscsitarget-1.4.20.3-1.svn502.el7.centos.noarch.rpm Wrote: /builddir/build/RPMS/iscsitarget-debuginfo-1.4.20.3-1.svn502.el7.centos.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.BgL62I + umask 022 + cd /builddir/build/BUILD + cd iscsitarget-1.4.20.3+svn502 + /usr/bin/rm -rf /builddir/build/BUILDROOT/iscsitarget-1.4.20.3-1.svn502.el7.centos.x86_64 + exit 0 Child return code was: 0