Mock Version: 1.4.4 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/ceph_exporter.spec'], chrootPath='/var/lib/mock/662605-epel-7-x86_64-1510834365.910520/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=[]printOutput=True) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/ceph_exporter.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 warning: Could not canonicalize hostname: copr-builder-184094976.novalocal Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/golang-github-digitalocean-ceph_exporter-1.1.0-20171116.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/ceph_exporter.spec'], chrootPath='/var/lib/mock/662605-epel-7-x86_64-1510834365.910520/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=[]printOutput=True) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/ceph_exporter.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.huD4x4 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf ceph_exporter-1.1.0 + /usr/bin/gzip -dc /builddir/build/SOURCES/golang-github-digitalocean-ceph_exporter-1.1.0.tar.gz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd ceph_exporter-1.1.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + rm -rf vendor + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.w1LITH + umask 022 + cd /builddir/build/BUILD + cd ceph_exporter-1.1.0 + make Go version 1.5.3 required but not found in PATH. About to download and install go1.5.3 to /builddir/build/BUILD/ceph_exporter-1.1.0/.build/go1.5.3 Abort now if you want to manually install it system-wide instead. mkdir -p .build # The archive contains a single directory called 'go/'. curl -L https://golang.org/dl/go1.5.3.linux-amd64.tar.gz | tar -C .build -xzf - % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 87 100 87 0 0 89 0 --:--:-- --:--:-- --:--:-- 89 0 0 0 0 0 0 0 0 --:--:-- 0:00:01 --:--:-- 0 100 603 100 603 0 0 356 0 0:00:01 0:00:01 --:--:-- 2079 0 0 0 0 0 0 0 0 --:--:-- 0:00:02 --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- 0:00:02 --:--:-- 0 16 76.4M 16 12.2M 0 0 3708k 0 0:00:21 0:00:03 0:00:18 12.4M 33 76.4M 33 25.5M 0 0 5979k 0 0:00:13 0:00:04 0:00:09 12.8M 57 76.4M 57 44.0M 0 0 8360k 0 0:00:09 0:00:05 0:00:04 14.6M 81 76.4M 81 62.3M 0 0 9.7M 0 0:00:07 0:00:06 0:00:01 15.6M 98 76.4M 98 75.3M 0 0 10.2M 0 0:00:07 0:00:07 --:--:-- 15.1M 100 76.4M 100 76.4M 0 0 10.2M 0 0:00:07 0:00:07 --:--:-- 15.6M rm -rf /builddir/build/BUILD/ceph_exporter-1.1.0/.build/go1.5.3 mv .build/go /builddir/build/BUILD/ceph_exporter-1.1.0/.build/go1.5.3 mkdir -p /builddir/build/BUILD/ceph_exporter-1.1.0/.build/gopath/src/github.com/prometheus/ ln -s /builddir/build/BUILD/ceph_exporter-1.1.0 /builddir/build/BUILD/ceph_exporter-1.1.0/.build/gopath/src/github.com/prometheus/ceph_exporter GOPATH=/builddir/build/BUILD/ceph_exporter-1.1.0/.build/gopath GOROOT=/builddir/build/BUILD/ceph_exporter-1.1.0/.build/go1.5.3 /builddir/build/BUILD/ceph_exporter-1.1.0/.build/go1.5.3/bin/go get -d touch dependencies-stamp GOPATH=/builddir/build/BUILD/ceph_exporter-1.1.0/.build/gopath GOROOT=/builddir/build/BUILD/ceph_exporter-1.1.0/.build/go1.5.3 /builddir/build/BUILD/ceph_exporter-1.1.0/.build/go1.5.3/bin/go build -o ceph_exporter # github.com/ceph/go-ceph/rados .build/gopath/src/github.com/ceph/go-ceph/rados/ioctx.go: In function '_cgo_c03cef46a91f_Cfunc_rados_objects_list_close': .build/gopath/src/github.com/ceph/go-ceph/rados/ioctx.go:294:2: warning: 'rados_objects_list_close' is deprecated (declared at /usr/include/rados/librados.h:3845) [-Wdeprecated-declarations] c_name := C.CString(name) ^ .build/gopath/src/github.com/ceph/go-ceph/rados/ioctx.go: In function '_cgo_c03cef46a91f_Cfunc_rados_objects_list_get_pg_hash_position': .build/gopath/src/github.com/ceph/go-ceph/rados/ioctx.go:306:2: warning: 'rados_objects_list_get_pg_hash_position' is deprecated (declared at /usr/include/rados/librados.h:3836) [-Wdeprecated-declarations] } ^ .build/gopath/src/github.com/ceph/go-ceph/rados/ioctx.go: In function '_cgo_c03cef46a91f_Cfunc_rados_objects_list_next': .build/gopath/src/github.com/ceph/go-ceph/rados/ioctx.go:322:2: warning: 'rados_objects_list_next' is deprecated (declared at /usr/include/rados/librados.h:3841) [-Wdeprecated-declarations] m := make(map[string][]byte) ^ .build/gopath/src/github.com/ceph/go-ceph/rados/ioctx.go: In function '_cgo_c03cef46a91f_Cfunc_rados_objects_list_open': .build/gopath/src/github.com/ceph/go-ceph/rados/ioctx.go:337:2: warning: 'rados_objects_list_open' is deprecated (declared at /usr/include/rados/librados.h:3833) [-Wdeprecated-declarations] } ^ .build/gopath/src/github.com/ceph/go-ceph/rados/ioctx.go: In function '_cgo_c03cef46a91f_Cfunc_rados_objects_list_seek': .build/gopath/src/github.com/ceph/go-ceph/rados/ioctx.go:353:2: warning: 'rados_objects_list_seek' is deprecated (declared at /usr/include/rados/librados.h:3838) [-Wdeprecated-declarations] ^ .build/gopath/src/github.com/ceph/go-ceph/rados/ioctx.go: In function '_cgo_c03cef46a91f_Cfunc_rados_read_op_omap_get_vals': .build/gopath/src/github.com/ceph/go-ceph/rados/ioctx.go:413:2: warning: 'rados_read_op_omap_get_vals' is deprecated (declared at /usr/include/rados/librados.h:3272) [-Wdeprecated-declarations] // OmapListFunc is the type of the function called for each omap key ^ + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.FLsf76 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/golang-github-digitalocean-ceph_exporter-1.1.0-20171116.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/golang-github-digitalocean-ceph_exporter-1.1.0-20171116.x86_64 ++ dirname /builddir/build/BUILDROOT/golang-github-digitalocean-ceph_exporter-1.1.0-20171116.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/golang-github-digitalocean-ceph_exporter-1.1.0-20171116.x86_64 + cd ceph_exporter-1.1.0 + install -d /builddir/build/BUILDROOT/golang-github-digitalocean-ceph_exporter-1.1.0-20171116.x86_64/usr/bin + install -p -m 0755 ./ceph_exporter /builddir/build/BUILDROOT/golang-github-digitalocean-ceph_exporter-1.1.0-20171116.x86_64/usr/bin/ceph_exporter + install -D -m 0644 /builddir/build/SOURCES/prometheus-ceph_exporter.service /builddir/build/BUILDROOT/golang-github-digitalocean-ceph_exporter-1.1.0-20171116.x86_64/usr/lib/systemd/system/prometheus-ceph_exporter.service + /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/ceph_exporter-1.1.0 extracting debug info from /builddir/build/BUILDROOT/golang-github-digitalocean-ceph_exporter-1.1.0-20171116.x86_64/usr/bin/ceph_exporter dwz: Too few files for multifile optimization /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. cpio: /tmp/go-build303844293/net/_obj: Cannot stat: No such file or directory cpio: /tmp/go-build303844293/runtime/cgo/_obj: Cannot stat: No such file or directory cpio: /tmp/go-build676715527/github.com/ceph/go-ceph/rados/_obj: Cannot stat: No such file or directory cpio: /tmp/workdir/go/src/runtime/cgo: Cannot stat: No such file or directory cpio: ceph_exporter-1.1.0/: Cannot stat: No such file or directory cpio: ceph_exporter-1.1.0/??: Cannot stat: No such file or directory cpio: ceph_exporter-1.1.0/github.com/ceph/go-ceph/rados/_obj/_cgo_import.go: Cannot stat: No such file or directory cpio: ceph_exporter-1.1.0/net/_obj/_cgo_import.go: Cannot stat: No such file or directory 1608 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: golang-github-digitalocean-ceph_exporter-1.1.0-20171116.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.oaIOuy + umask 022 + cd /builddir/build/BUILD + cd ceph_exporter-1.1.0 + DOCDIR=/builddir/build/BUILDROOT/golang-github-digitalocean-ceph_exporter-1.1.0-20171116.x86_64/usr/share/doc/golang-github-digitalocean-ceph_exporter-1.1.0 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/golang-github-digitalocean-ceph_exporter-1.1.0-20171116.x86_64/usr/share/doc/golang-github-digitalocean-ceph_exporter-1.1.0 + cp -pr README.md /builddir/build/BUILDROOT/golang-github-digitalocean-ceph_exporter-1.1.0-20171116.x86_64/usr/share/doc/golang-github-digitalocean-ceph_exporter-1.1.0 + cp -pr LICENSE /builddir/build/BUILDROOT/golang-github-digitalocean-ceph_exporter-1.1.0-20171116.x86_64/usr/share/doc/golang-github-digitalocean-ceph_exporter-1.1.0 + exit 0 Provides: golang-github-digitalocean-ceph_exporter = 1.1.0-20171116 golang-github-digitalocean-ceph_exporter(x86-64) = 1.1.0-20171116 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 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) librados.so.2()(64bit) rtld(GNU_HASH) Processing files: golang-github-digitalocean-ceph_exporter-debuginfo-1.1.0-20171116.x86_64 Provides: golang-github-digitalocean-ceph_exporter-debuginfo = 1.1.0-20171116 golang-github-digitalocean-ceph_exporter-debuginfo(x86-64) = 1.1.0-20171116 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/golang-github-digitalocean-ceph_exporter-1.1.0-20171116.x86_64 Wrote: /builddir/build/RPMS/golang-github-digitalocean-ceph_exporter-1.1.0-20171116.x86_64.rpm Wrote: /builddir/build/RPMS/golang-github-digitalocean-ceph_exporter-debuginfo-1.1.0-20171116.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.F2A2A4 + umask 022 + cd /builddir/build/BUILD + cd ceph_exporter-1.1.0 + /usr/bin/rm -rf /builddir/build/BUILDROOT/golang-github-digitalocean-ceph_exporter-1.1.0-20171116.x86_64 + exit 0 Child return code was: 0