Mock Version: 1.4.21 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/prometheus.spec'], chrootPath='/var/lib/mock/1092934-epel-8-x86_64-1573622472.346908/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', '--bind=/tmp/mock-resolv.lc64hz4t:/etc/resolv.conf']unshare_net=FalseprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.lc64hz4t:/etc/resolv.conf'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'e5a59e17bb09455595a8abff2da77ea9', '-D', '/var/lib/mock/1092934-epel-8-x86_64-1573622472.346908/root', '-a', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.lc64hz4t:/etc/resolv.conf', '--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/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/prometheus-2.7.2-4.el8.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/prometheus.spec'], chrootPath='/var/lib/mock/1092934-epel-8-x86_64-1573622472.346908/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', '--bind=/tmp/mock-resolv.lc64hz4t:/etc/resolv.conf']unshare_net=FalseprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.lc64hz4t:/etc/resolv.conf'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'f62ff20985dd4b3c9ac4c631c7abba3e', '-D', '/var/lib/mock/1092934-epel-8-x86_64-1573622472.346908/root', '-a', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.lc64hz4t:/etc/resolv.conf', '--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/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.HdHlrM + umask 022 + cd /builddir/build/BUILD + rm -rf PROMETHEUS + mkdir -p PROMETHEUS/src/github.com/prometheus/prometheus + tar zxf /builddir/build/SOURCES/a34d1c60dd3cd409edb31a9427133484d7fd370b.tar.gz -C PROMETHEUS/src/github.com/prometheus/prometheus --strip=1 + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.f507zs + umask 022 + cd /builddir/build/BUILD + cd PROMETHEUS ++ pwd + export GOPATH=/builddir/build/BUILD/PROMETHEUS:/usr/share/gocode + GOPATH=/builddir/build/BUILD/PROMETHEUS:/usr/share/gocode + cd src/github.com/prometheus/prometheus ++ which promu + PROMU=/usr/bin/promu + make -e build >> building binaries GO111MODULE=on /usr/bin/promu build --prefix /builddir/build/BUILD/PROMETHEUS/src/github.com/prometheus/prometheus > prometheus > promtool + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.X5xc4d + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/prometheus-2.7.2-4.el8.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/prometheus-2.7.2-4.el8.x86_64 ++ dirname /builddir/build/BUILDROOT/prometheus-2.7.2-4.el8.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/prometheus-2.7.2-4.el8.x86_64 + rm -rf /builddir/build/BUILDROOT/prometheus-2.7.2-4.el8.x86_64 + mkdir -p /builddir/build/BUILDROOT/prometheus-2.7.2-4.el8.x86_64/usr/bin + mkdir -p /builddir/build/BUILDROOT/prometheus-2.7.2-4.el8.x86_64/usr/share/prometheus/console_libraries/ + mkdir -p /builddir/build/BUILDROOT/prometheus-2.7.2-4.el8.x86_64/usr/share/prometheus/consoles/ + mkdir -p /builddir/build/BUILDROOT/prometheus-2.7.2-4.el8.x86_64/etc/prometheus/ + binaries=(prometheus promtool) + cd PROMETHEUS/src/github.com/prometheus/prometheus + mkdir stripped + touch keep_symbols + for i in "${binaries[@]}" + echo 'Dumping dynamic symbols for prometheus' Dumping dynamic symbols for prometheus + nm -D prometheus --format=posix --defined-only + sort + awk '{ print $1 }' nm: prometheus: no symbols + echo 'Dumping function symbols for prometheus' Dumping function symbols for prometheus + nm prometheus --format=posix --defined-only + sort + awk '{ if ($2 == "T" || $2 == "t" || $2 == "D") print $1 }' + echo 'Grabbing other function symbols from prometheus' Grabbing other function symbols from prometheus + comm -13 dynsyms funcsyms + COMPRESSED_NAME=prometheus_debuginfo + '[' -s keep_symbols ']' + echo 'remove unnecessary debug info from prometheus' remove unnecessary debug info from prometheus + objcopy -S --remove-section .gdb_index --remove-section .comment --keep-symbols=keep_symbols prometheus prometheus_debuginfo + echo 'stripping: prometheus' stripping: prometheus + strip -o stripped/prometheus -s prometheus + '[' -f prometheus_debuginfo ']' + echo 'compress debugdata for prometheus into prometheus_debuginfo.xz' compress debugdata for prometheus into prometheus_debuginfo.xz + xz prometheus_debuginfo + echo 'inject compressed data into .gnu_debugdata for prometheus' inject compressed data into .gnu_debugdata for prometheus + objcopy --add-section .gnu_debugdata=prometheus_debuginfo.xz stripped/prometheus + cp -pav stripped/prometheus /builddir/build/BUILDROOT/prometheus-2.7.2-4.el8.x86_64/usr/bin/ 'stripped/prometheus' -> '/builddir/build/BUILDROOT/prometheus-2.7.2-4.el8.x86_64/usr/bin/prometheus' Dumping dynamic symbols for promtool + for i in "${binaries[@]}" + echo 'Dumping dynamic symbols for promtool' + nm -D promtool --format=posix --defined-only + awk '{ print $1 }' nm: promtool: no symbols + sort Dumping function symbols for promtool + echo 'Dumping function symbols for promtool' + nm promtool --format=posix --defined-only + sort + awk '{ if ($2 == "T" || $2 == "t" || $2 == "D") print $1 }' Grabbing other function symbols from promtool + echo 'Grabbing other function symbols from promtool' + comm -13 dynsyms funcsyms + COMPRESSED_NAME=promtool_debuginfo + '[' -s keep_symbols ']' remove unnecessary debug info from promtool + echo 'remove unnecessary debug info from promtool' + objcopy -S --remove-section .gdb_index --remove-section .comment --keep-symbols=keep_symbols promtool promtool_debuginfo stripping: promtool + echo 'stripping: promtool' + strip -o stripped/promtool -s promtool compress debugdata for promtool into promtool_debuginfo.xz + '[' -f promtool_debuginfo ']' + echo 'compress debugdata for promtool into promtool_debuginfo.xz' + xz promtool_debuginfo inject compressed data into .gnu_debugdata for promtool + echo 'inject compressed data into .gnu_debugdata for promtool' + objcopy --add-section .gnu_debugdata=promtool_debuginfo.xz stripped/promtool + cp -pav stripped/promtool /builddir/build/BUILDROOT/prometheus-2.7.2-4.el8.x86_64/usr/bin/ 'stripped/promtool' -> '/builddir/build/BUILDROOT/prometheus-2.7.2-4.el8.x86_64/usr/bin/promtool' + cp -a console_libraries/ /builddir/build/BUILDROOT/prometheus-2.7.2-4.el8.x86_64/usr/share/prometheus + ln -sf /usr/share/prometheus/console_libraries/ /builddir/build/BUILDROOT/prometheus-2.7.2-4.el8.x86_64/etc/prometheus/ + cp -a consoles/ /builddir/build/BUILDROOT/prometheus-2.7.2-4.el8.x86_64/usr/share/prometheus/ + ln -sf /usr/share/prometheus/consoles/ /builddir/build/BUILDROOT/prometheus-2.7.2-4.el8.x86_64/etc/prometheus/ + cp -a documentation/examples/prometheus.yml /builddir/build/BUILDROOT/prometheus-2.7.2-4.el8.x86_64/etc/prometheus/prometheus.yml + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig /sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /builddir/build/BUILDROOT/prometheus-2.7.2-4.el8.x86_64/etc/ld.so.conf: No such file or directory + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip /usr/bin/strip + /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile 1 + /usr/lib/rpm/brp-python-hardlink + PYTHON3=/usr/libexec/platform-python + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: prometheus-2.7.2-4.el8.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.f9uxjK + umask 022 + cd /builddir/build/BUILD + DOCDIR=/builddir/build/BUILDROOT/prometheus-2.7.2-4.el8.x86_64/usr/share/doc/prometheus + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/prometheus-2.7.2-4.el8.x86_64/usr/share/doc/prometheus + cp -pr PROMETHEUS/src/github.com/prometheus/prometheus/README.md /builddir/build/BUILDROOT/prometheus-2.7.2-4.el8.x86_64/usr/share/doc/prometheus + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.v4XzAg + umask 022 + cd /builddir/build/BUILD + LICENSEDIR=/builddir/build/BUILDROOT/prometheus-2.7.2-4.el8.x86_64/usr/share/licenses/prometheus + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/prometheus-2.7.2-4.el8.x86_64/usr/share/licenses/prometheus + cp -pr PROMETHEUS/src/github.com/prometheus/prometheus/LICENSE /builddir/build/BUILDROOT/prometheus-2.7.2-4.el8.x86_64/usr/share/licenses/prometheus + exit 0 warning: Missing build-id in /builddir/build/BUILDROOT/prometheus-2.7.2-4.el8.x86_64/usr/bin/prometheus warning: Missing build-id in /builddir/build/BUILDROOT/prometheus-2.7.2-4.el8.x86_64/usr/bin/promtool Provides: config(prometheus) = 2.7.2-4.el8 prometheus = 2.7.2-4.el8 prometheus(x86-64) = 2.7.2-4.el8 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/prometheus-2.7.2-4.el8.x86_64 Wrote: /builddir/build/RPMS/prometheus-2.7.2-4.el8.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.RV27dY + umask 022 + cd /builddir/build/BUILD + /usr/bin/rm -rf /builddir/build/BUILDROOT/prometheus-2.7.2-4.el8.x86_64 + exit 0 Child return code was: 0