Mock Version: 1.4.13 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/gluster-prometheus.spec'], chrootPath='/var/lib/mock/807850-epel-7-x86_64-1539170669.898513/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'}shell=Falselogger=timeout=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock']unshare_net=FalseprintOutput=True) Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '0bffc89361284e7695b197d06bb13996', '-D', '/var/lib/mock/807850-epel-7-x86_64-1539170669.898513/root', '-a', '--capability=cap_ipc_lock', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=en_US.UTF-8', '-u', 'mockbuild', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/gluster-prometheus.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'} and shell False Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/gluster-prometheus-1.0.0-rc0.el7.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/gluster-prometheus.spec'], chrootPath='/var/lib/mock/807850-epel-7-x86_64-1539170669.898513/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'}shell=Falselogger=timeout=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock']unshare_net=FalseprintOutput=True) Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'c23a6eaa5a7e4d209a984ed5f880ed2b', '-D', '/var/lib/mock/807850-epel-7-x86_64-1539170669.898513/root', '-a', '--capability=cap_ipc_lock', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=en_US.UTF-8', '-u', 'mockbuild', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/gluster-prometheus.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'} and shell False Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.klkvkL + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf gluster-prometheus-v1.0.0-rc0 + /usr/bin/xz -dc /builddir/build/SOURCES/gluster-prometheus-v1.0.0-rc0-vendor.tar.xz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd gluster-prometheus-v1.0.0-rc0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.krIHUF + umask 022 + cd /builddir/build/BUILD + cd gluster-prometheus-v1.0.0-rc0 BUILDSTDERR: ++ pwd + export GOPATH=/builddir/build/BUILD/gluster-prometheus-v1.0.0-rc0:/usr/share/gocode + GOPATH=/builddir/build/BUILD/gluster-prometheus-v1.0.0-rc0:/usr/share/gocode + mkdir -p src/github.com/gluster + ln -s ../../../ src/github.com/gluster/gluster-prometheus + pushd src/github.com/gluster/gluster-prometheus ~/build/BUILD/gluster-prometheus-v1.0.0-rc0/src/github.com/gluster/gluster-prometheus ~/build/BUILD/gluster-prometheus-v1.0.0-rc0 + /usr/bin/make PREFIX=/usr EXEC_PREFIX=/usr BINDIR=/usr/bin SBINDIR=/usr/sbin DATADIR=/usr/share LOCALSTATEDIR=/var/lib LOGDIR=/var/log SYSCONFDIR=/etc FASTBUILD=off gluster-exporter FASTBUILD=off BASE_PREFIX="" GD1STATEDIR=/var/lib/glusterd \ GD2STATEDIR=/var/lib/glusterd2 ./scripts/build.sh gluster-exporter BUILDSTDERR: ./scripts/pkg-version: line 7: git: command not found BUILDSTDERR: ./scripts/build.sh: line 31: git: command not found BUILDSTDERR: ./scripts/build.sh: line 32: git: command not found Building gluster-exporter v- Built gluster-exporter v- at build/gluster-exporter SBINDIR=/usr/sbin SYSCONFDIR=/etc GLUSTER_MGMT="glusterd" \ ./scripts/gen-service.sh ~/build/BUILD/gluster-prometheus-v1.0.0-rc0 + popd + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.aArmNH + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/gluster-prometheus-1.0.0-rc0.el7.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/gluster-prometheus-1.0.0-rc0.el7.x86_64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/gluster-prometheus-1.0.0-rc0.el7.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/gluster-prometheus-1.0.0-rc0.el7.x86_64 + cd gluster-prometheus-v1.0.0-rc0 + /usr/bin/make PREFIX=/usr EXEC_PREFIX=/usr BINDIR=/usr/bin SBINDIR=/usr/sbin DATADIR=/usr/share LOCALSTATEDIR=/var/lib LOGDIR=/var/log SYSCONFDIR=/etc FASTBUILD=off DESTDIR=/builddir/build/BUILDROOT/gluster-prometheus-1.0.0-rc0.el7.x86_64 install install -D build/gluster-exporter /builddir/build/BUILDROOT/gluster-prometheus-1.0.0-rc0.el7.x86_64/usr/sbin/gluster-exporter install -D -m 0644 build/gluster-exporter.service /builddir/build/BUILDROOT/gluster-prometheus-1.0.0-rc0.el7.x86_64/usr/lib/systemd/system/gluster-exporter.service install -D -m 0600 ./extras/conf/global.conf.sample /builddir/build/BUILDROOT/gluster-prometheus-1.0.0-rc0.el7.x86_64/etc/gluster-exporter/global.conf install -D -m 0600 ./extras/conf/collectors.conf.sample /builddir/build/BUILDROOT/gluster-prometheus-1.0.0-rc0.el7.x86_64/etc/gluster-exporter/collectors.conf + /usr/lib/rpm/find-debuginfo.sh --strict-build-id -m --run-dwz --dwz-low-mem-die-limit 0 --dwz-max-die-limit 110000000 /builddir/build/BUILD/gluster-prometheus-v1.0.0-rc0 extracting debug info from /builddir/build/BUILDROOT/gluster-prometheus-1.0.0-rc0.el7.x86_64/usr/sbin/gluster-exporter BUILDSTDERR: dwz: Too few files for multifile optimization /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. BUILDSTDERR: cpio: gluster-prometheus-v1.0.0-rc0/: Cannot stat: No such file or directory BUILDSTDERR: cpio: gluster-prometheus-v1.0.0-rc0/net/_obj/_cgo_gotypes.go: Cannot stat: No such file or directory BUILDSTDERR: 46 blocks + /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: gluster-prometheus-1.0.0-rc0.el7.x86_64 Provides: config(gluster-prometheus) = 1.0.0-rc0.el7 gluster-prometheus = 1.0.0-rc0.el7 gluster-prometheus(x86-64) = 1.0.0-rc0.el7 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 systemd Requires(preun): /bin/sh systemd Requires(postun): systemd Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libpthread.so.0()(64bit) libpthread.so.0(GLIBC_2.2.5)(64bit) libpthread.so.0(GLIBC_2.3.2)(64bit) Processing files: gluster-prometheus-debuginfo-1.0.0-rc0.el7.x86_64 Provides: gluster-prometheus-debuginfo = 1.0.0-rc0.el7 gluster-prometheus-debuginfo(x86-64) = 1.0.0-rc0.el7 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/gluster-prometheus-1.0.0-rc0.el7.x86_64 Wrote: /builddir/build/RPMS/gluster-prometheus-1.0.0-rc0.el7.x86_64.rpm Wrote: /builddir/build/RPMS/gluster-prometheus-debuginfo-1.0.0-rc0.el7.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.8xLsnh + umask 022 + cd /builddir/build/BUILD + cd gluster-prometheus-v1.0.0-rc0 + /usr/bin/rm -rf /builddir/build/BUILDROOT/gluster-prometheus-1.0.0-rc0.el7.x86_64 + exit 0 Child return code was: 0