Mock Version: 4.1 Mock Version: 4.1 Mock Version: 4.1 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/SPECS/prometheus.spec'], chrootPath='/var/lib/mock/dist-oc9-epol-build-67123-28516/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=86400uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --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'} and shell False Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/prometheus-2.42.0-4.oc9.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/prometheus.spec'], chrootPath='/var/lib/mock/dist-oc9-epol-build-67123-28516/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=86400uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --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'} and shell False Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.peVqwl + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf prometheus-2.42.0 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/v2.42.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd prometheus-2.42.0 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/vendor.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + cd /builddir/build/BUILD + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/v2.42.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd prometheus-2.42.0 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/web-ui-2.42.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0001-Do-not-force-the-pure-Go-name-resolver.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0002-Default-settings.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.gr5Her + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd prometheus-2.42.0 + GOPATH=/builddir/build/BUILD/go + promu build -v Using config file: .promu.yml Running command: build [-v] Building binary: prometheus > prometheus Building binary: go build -o prometheus -ldflags -X github.com/prometheus/common/version.Version=2.42.0 -X github.com/prometheus/common/version.Revision=non-git -X github.com/prometheus/common/version.Branch=non-git -X github.com/prometheus/common/version.BuildUser=mockbuild@builder3.x86.opencloudos.tech -X github.com/prometheus/common/version.BuildDate=20240129-12:01:05 -extldflags '-static' -mod=vendor -a -tags builtinassets github.com/prometheus/prometheus/cmd/prometheus + go build -o prometheus -ldflags -X github.com/prometheus/common/version.Version=2.42.0 -X github.com/prometheus/common/version.Revision=non-git -X github.com/prometheus/common/version.Branch=non-git -X github.com/prometheus/common/version.BuildUser=mockbuild@builder3.x86.opencloudos.tech -X github.com/prometheus/common/version.BuildDate=20240129-12:01:05 -extldflags '-static' -mod=vendor -a -tags builtinassets github.com/prometheus/prometheus/cmd/prometheus Building binary: promtool > promtool Building binary: go build -o promtool -ldflags -X github.com/prometheus/common/version.Version=2.42.0 -X github.com/prometheus/common/version.Revision=non-git -X github.com/prometheus/common/version.Branch=non-git -X github.com/prometheus/common/version.BuildUser=mockbuild@builder3.x86.opencloudos.tech -X github.com/prometheus/common/version.BuildDate=20240129-12:01:05 -extldflags '-static' -mod=vendor -a -tags builtinassets github.com/prometheus/prometheus/cmd/promtool + go build -o promtool -ldflags -X github.com/prometheus/common/version.Version=2.42.0 -X github.com/prometheus/common/version.Revision=non-git -X github.com/prometheus/common/version.Branch=non-git -X github.com/prometheus/common/version.BuildUser=mockbuild@builder3.x86.opencloudos.tech -X github.com/prometheus/common/version.BuildDate=20240129-12:01:05 -extldflags '-static' -mod=vendor -a -tags builtinassets github.com/prometheus/prometheus/cmd/promtool + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.R9Xmrt + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/prometheus-2.42.0-4.oc9.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/prometheus-2.42.0-4.oc9.x86_64 ++ dirname /builddir/build/BUILDROOT/prometheus-2.42.0-4.oc9.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/prometheus-2.42.0-4.oc9.x86_64 + cd prometheus-2.42.0 + install -D -m0755 /builddir/build/BUILD/prometheus-2.42.0/prometheus /builddir/build/BUILDROOT/prometheus-2.42.0-4.oc9.x86_64/usr/bin/prometheus + install -D -m0755 /builddir/build/BUILD/prometheus-2.42.0/promtool /builddir/build/BUILDROOT/prometheus-2.42.0-4.oc9.x86_64/usr/bin/promtool + install -D -m 0644 /builddir/build/SOURCES/prometheus.service /builddir/build/BUILDROOT/prometheus-2.42.0-4.oc9.x86_64/usr/lib/systemd/system/prometheus.service + install -D -m 0644 /builddir/build/SOURCES/prometheus.yml /builddir/build/BUILDROOT/prometheus-2.42.0-4.oc9.x86_64/etc/prometheus/prometheus.yml + install -d -m 0755 /builddir/build/BUILDROOT/prometheus-2.42.0-4.oc9.x86_64/usr/sbin + ln -s /usr/sbin/service /builddir/build/BUILDROOT/prometheus-2.42.0-4.oc9.x86_64/usr/sbin/rcprometheus + install -m 0755 -d /builddir/build/BUILDROOT/prometheus-2.42.0-4.oc9.x86_64/usr/share/prometheus + cp -fr console_libraries/ consoles/ /builddir/build/BUILDROOT/prometheus-2.42.0-4.oc9.x86_64/usr/share/prometheus + install -Dd -m 0750 /builddir/build/BUILDROOT/prometheus-2.42.0-4.oc9.x86_64/var/lib/prometheus + install -Dd -m 0750 /builddir/build/BUILDROOT/prometheus-2.42.0-4.oc9.x86_64/var/lib/prometheus/data + install -Dd -m 0750 /builddir/build/BUILDROOT/prometheus-2.42.0-4.oc9.x86_64/var/lib/prometheus/metrics + install -D -m0644 /builddir/build/SOURCES/npm_licenses.tar.bz2 /builddir/build/BUILDROOT/prometheus-2.42.0-4.oc9.x86_64//usr/share/licenses/prometheus/npm_licenses.tar.bz2 + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/OpenCloudOS/brp-ldconfig + /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/OpenCloudOS/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/OpenCloudOS/brp-mangle-shebangs + /usr/lib/rpm/OpenCloudOS/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/OpenCloudOS/brp-python-hardlink Processing files: prometheus-2.42.0-4.oc9.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.71N0lr + umask 022 + cd /builddir/build/BUILD + cd prometheus-2.42.0 + DOCDIR=/builddir/build/BUILDROOT/prometheus-2.42.0-4.oc9.x86_64/usr/share/doc/prometheus + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/prometheus-2.42.0-4.oc9.x86_64/usr/share/doc/prometheus + cp -pr README.md /builddir/build/BUILDROOT/prometheus-2.42.0-4.oc9.x86_64/usr/share/doc/prometheus + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.rasLaj + umask 022 + cd /builddir/build/BUILD + cd prometheus-2.42.0 + LICENSEDIR=/builddir/build/BUILDROOT/prometheus-2.42.0-4.oc9.x86_64/usr/share/licenses/prometheus + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/prometheus-2.42.0-4.oc9.x86_64/usr/share/licenses/prometheus + cp -pr LICENSE /builddir/build/BUILDROOT/prometheus-2.42.0-4.oc9.x86_64/usr/share/licenses/prometheus + RPM_EC=0 ++ jobs -p + exit 0 warning: Missing build-id in /builddir/build/BUILDROOT/prometheus-2.42.0-4.oc9.x86_64/usr/bin/prometheus warning: Missing build-id in /builddir/build/BUILDROOT/prometheus-2.42.0-4.oc9.x86_64/usr/bin/promtool warning: absolute symlink: /usr/sbin/rcprometheus -> /usr/sbin/service warning: File listed twice: /usr/share/licenses/prometheus Provides: config(prometheus) = 2.42.0-4.oc9 prometheus = 2.42.0-4.oc9 prometheus(x86-64) = 2.42.0-4.oc9 Requires(interp): /bin/sh /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(pre): /bin/sh shadow-utils Requires(post): /bin/sh systemd Requires(preun): /bin/sh systemd Requires(postun): /bin/sh systemd Recommends: firewalld-prometheus-config Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/prometheus-2.42.0-4.oc9.x86_64 Wrote: /builddir/build/RPMS/prometheus-2.42.0-4.oc9.x86_64.rpm RPM build warnings: Missing build-id in /builddir/build/BUILDROOT/prometheus-2.42.0-4.oc9.x86_64/usr/bin/prometheus Missing build-id in /builddir/build/BUILDROOT/prometheus-2.42.0-4.oc9.x86_64/usr/bin/promtool absolute symlink: /usr/sbin/rcprometheus -> /usr/sbin/service File listed twice: /usr/share/licenses/prometheus Child return code was: 0