Mock Version: 2.2 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/prometheus.spec'], chrootPath='/var/lib/mock/epel-8-x86_64-1588850510.557631/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': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.o070vsgo:/etc/resolv.conf', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.o070vsgo:/etc/resolv.conf', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'ba8833f7927344e8a51ddfef6d008e9c', '-D', '/var/lib/mock/epel-8-x86_64-1588850510.557631/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.o070vsgo:/etc/resolv.conf', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--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=C.UTF-8', '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': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/prometheus-2.14.0-7b962f1.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/epel-8-x86_64-1588850510.557631/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': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.o070vsgo:/etc/resolv.conf', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.o070vsgo:/etc/resolv.conf', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '0e3bbcc62fb346b4b5eecc5b8cb613f1', '-D', '/var/lib/mock/epel-8-x86_64-1588850510.557631/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.o070vsgo:/etc/resolv.conf', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--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=C.UTF-8', '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': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.hFtUAQ + umask 022 + cd /builddir/build/BUILD + rm -rf PROMETHEUS + mkdir -p PROMETHEUS/src/github.com/prometheus/prometheus + tar zxf /builddir/build/SOURCES/prometheus-7b962f116b97a920a3ea39b287c6ea4748ea418e.tar.gz -C PROMETHEUS/src/github.com/prometheus/prometheus --strip=1 + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.yduIEV + 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 common-build >> building binaries GO111MODULE=on /usr/bin/promu build --prefix /builddir/build/BUILD/PROMETHEUS/src/github.com/prometheus/prometheus > prometheus > promtool > tsdbtool + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.y5HuCb + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/prometheus-2.14.0-7b962f1.el8.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/prometheus-2.14.0-7b962f1.el8.x86_64 ++ dirname /builddir/build/BUILDROOT/prometheus-2.14.0-7b962f1.el8.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/prometheus-2.14.0-7b962f1.el8.x86_64 + rm -rf /builddir/build/BUILDROOT/prometheus-2.14.0-7b962f1.el8.x86_64 + mkdir -p /builddir/build/BUILDROOT/prometheus-2.14.0-7b962f1.el8.x86_64/usr/bin + mkdir -p /builddir/build/BUILDROOT/prometheus-2.14.0-7b962f1.el8.x86_64/usr/share/prometheus/console_libraries/ + mkdir -p /builddir/build/BUILDROOT/prometheus-2.14.0-7b962f1.el8.x86_64/usr/share/prometheus/consoles/ + mkdir -p /builddir/build/BUILDROOT/prometheus-2.14.0-7b962f1.el8.x86_64/etc/prometheus/ + binaries=(prometheus promtool tsdbtool) + 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 + awk '{ print $1 }' + sort + nm -D prometheus --format=posix --defined-only nm: prometheus: no symbols Dumping function symbols for prometheus + echo 'Dumping function symbols for prometheus' + awk '{ if ($2 == "T" || $2 == "t" || $2 == "D") print $1 }' + sort + nm prometheus --format=posix --defined-only Grabbing other function symbols from prometheus + echo 'Grabbing other function symbols from prometheus' + comm -13 dynsyms funcsyms + COMPRESSED_NAME=prometheus_debuginfo + '[' -s keep_symbols ']' remove unnecessary debug info from prometheus + echo 'remove unnecessary debug info from prometheus' + objcopy -S --remove-section .gdb_index --remove-section .comment --keep-symbols=keep_symbols prometheus prometheus_debuginfo stripping: prometheus + echo '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 inject compressed data into .gnu_debugdata for prometheus + echo '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.14.0-7b962f1.el8.x86_64/usr/bin/ 'stripped/prometheus' -> '/builddir/build/BUILDROOT/prometheus-2.14.0-7b962f1.el8.x86_64/usr/bin/prometheus' Dumping dynamic symbols for promtool + for i in "${binaries[@]}" + echo 'Dumping dynamic symbols for promtool' + sort + awk '{ print $1 }' + nm -D promtool --format=posix --defined-only nm: promtool: no symbols Dumping function symbols for promtool + echo 'Dumping function symbols for promtool' + sort + nm promtool --format=posix --defined-only + 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 + '[' -f promtool_debuginfo ']' + echo 'compress debugdata for promtool into promtool_debuginfo.xz' 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.14.0-7b962f1.el8.x86_64/usr/bin/ 'stripped/promtool' -> '/builddir/build/BUILDROOT/prometheus-2.14.0-7b962f1.el8.x86_64/usr/bin/promtool' Dumping dynamic symbols for tsdbtool + for i in "${binaries[@]}" + echo 'Dumping dynamic symbols for tsdbtool' + sort + nm -D tsdbtool --format=posix --defined-only + awk '{ print $1 }' nm: tsdbtool: no symbols Dumping function symbols for tsdbtool + echo 'Dumping function symbols for tsdbtool' + sort + awk '{ if ($2 == "T" || $2 == "t" || $2 == "D") print $1 }' + nm tsdbtool --format=posix --defined-only Grabbing other function symbols from tsdbtool + echo 'Grabbing other function symbols from tsdbtool' + comm -13 dynsyms funcsyms + COMPRESSED_NAME=tsdbtool_debuginfo + '[' -s keep_symbols ']' remove unnecessary debug info from tsdbtool + echo 'remove unnecessary debug info from tsdbtool' + objcopy -S --remove-section .gdb_index --remove-section .comment --keep-symbols=keep_symbols tsdbtool tsdbtool_debuginfo stripping: tsdbtool + echo 'stripping: tsdbtool' + strip -o stripped/tsdbtool -s tsdbtool + '[' -f tsdbtool_debuginfo ']' compress debugdata for tsdbtool into tsdbtool_debuginfo.xz + echo 'compress debugdata for tsdbtool into tsdbtool_debuginfo.xz' + xz tsdbtool_debuginfo inject compressed data into .gnu_debugdata for tsdbtool + echo 'inject compressed data into .gnu_debugdata for tsdbtool' + objcopy --add-section .gnu_debugdata=tsdbtool_debuginfo.xz stripped/tsdbtool + cp -pav stripped/tsdbtool /builddir/build/BUILDROOT/prometheus-2.14.0-7b962f1.el8.x86_64/usr/bin/ 'stripped/tsdbtool' -> '/builddir/build/BUILDROOT/prometheus-2.14.0-7b962f1.el8.x86_64/usr/bin/tsdbtool' + cp -a console_libraries/ /builddir/build/BUILDROOT/prometheus-2.14.0-7b962f1.el8.x86_64/usr/share/prometheus + ln -sf /usr/share/prometheus/console_libraries/ /builddir/build/BUILDROOT/prometheus-2.14.0-7b962f1.el8.x86_64/etc/prometheus/ + cp -a consoles/ /builddir/build/BUILDROOT/prometheus-2.14.0-7b962f1.el8.x86_64/usr/share/prometheus/ + ln -sf /usr/share/prometheus/consoles/ /builddir/build/BUILDROOT/prometheus-2.14.0-7b962f1.el8.x86_64/etc/prometheus/ + cp -a documentation/examples/prometheus.yml /builddir/build/BUILDROOT/prometheus-2.14.0-7b962f1.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.14.0-7b962f1.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.14.0-7b962f1.el8.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.n8aGyF + umask 022 + cd /builddir/build/BUILD + DOCDIR=/builddir/build/BUILDROOT/prometheus-2.14.0-7b962f1.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.14.0-7b962f1.el8.x86_64/usr/share/doc/prometheus + cp -pr PROMETHEUS/src/github.com/prometheus/prometheus/README.md /builddir/build/BUILDROOT/prometheus-2.14.0-7b962f1.el8.x86_64/usr/share/doc/prometheus + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.DCJJv9 + umask 022 + cd /builddir/build/BUILD + LICENSEDIR=/builddir/build/BUILDROOT/prometheus-2.14.0-7b962f1.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.14.0-7b962f1.el8.x86_64/usr/share/licenses/prometheus + cp -pr PROMETHEUS/src/github.com/prometheus/prometheus/LICENSE /builddir/build/BUILDROOT/prometheus-2.14.0-7b962f1.el8.x86_64/usr/share/licenses/prometheus + exit 0 warning: Missing build-id in /builddir/build/BUILDROOT/prometheus-2.14.0-7b962f1.el8.x86_64/usr/bin/prometheus warning: Missing build-id in /builddir/build/BUILDROOT/prometheus-2.14.0-7b962f1.el8.x86_64/usr/bin/promtool warning: Missing build-id in /builddir/build/BUILDROOT/prometheus-2.14.0-7b962f1.el8.x86_64/usr/bin/tsdbtool Provides: config(prometheus) = 2.14.0-7b962f1.el8 prometheus = 2.14.0-7b962f1.el8 prometheus(x86-64) = 2.14.0-7b962f1.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.14.0-7b962f1.el8.x86_64 Wrote: /builddir/build/RPMS/prometheus-2.14.0-7b962f1.el8.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.PrzoKs + umask 022 + cd /builddir/build/BUILD + /usr/bin/rm -rf /builddir/build/BUILDROOT/prometheus-2.14.0-7b962f1.el8.x86_64 + exit 0 Child return code was: 0