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/haproxy_exporter.spec'], chrootPath='/var/lib/mock/dist-oc9-epol-build-54953-14778/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/haproxy_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': 'C.UTF-8'} and shell False Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/haproxy_exporter-0.15.0-2.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/haproxy_exporter.spec'], chrootPath='/var/lib/mock/dist-oc9-epol-build-54953-14778/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/haproxy_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': '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.HleBhp + umask 022 + cd /builddir/build/BUILD + export GOFLAGS=-mod=vendor + GOFLAGS=-mod=vendor + cd /builddir/build/BUILD + rm -rf haproxy_exporter-0.15.0 + /usr/bin/gzip -dc /builddir/build/SOURCES/haproxy_exporter-0.15.0.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd haproxy_exporter-0.15.0 + /usr/bin/gzip -dc /builddir/build/SOURCES/vendor.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.F2kwmY + 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 haproxy_exporter-0.15.0 + promu build > haproxy_exporter-0.15.0 + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.dtb7RT + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/haproxy_exporter-0.15.0-2.oc9.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/haproxy_exporter-0.15.0-2.oc9.x86_64 ++ dirname /builddir/build/BUILDROOT/haproxy_exporter-0.15.0-2.oc9.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/haproxy_exporter-0.15.0-2.oc9.x86_64 + cd haproxy_exporter-0.15.0 + install -d -p /builddir/build/BUILDROOT/haproxy_exporter-0.15.0-2.oc9.x86_64/usr/bin + install -m 755 /builddir/build/BUILD/haproxy_exporter-0.15.0/haproxy_exporter-0.15.0 /builddir/build/BUILDROOT/haproxy_exporter-0.15.0-2.oc9.x86_64/usr/bin/haproxy_exporter + /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: haproxy_exporter-0.15.0-2.oc9.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.OWOCvC + umask 022 + cd /builddir/build/BUILD + cd haproxy_exporter-0.15.0 + DOCDIR=/builddir/build/BUILDROOT/haproxy_exporter-0.15.0-2.oc9.x86_64/usr/share/doc/haproxy_exporter + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/haproxy_exporter-0.15.0-2.oc9.x86_64/usr/share/doc/haproxy_exporter + cp -pr README.md /builddir/build/BUILDROOT/haproxy_exporter-0.15.0-2.oc9.x86_64/usr/share/doc/haproxy_exporter + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.9XxRhZ + umask 022 + cd /builddir/build/BUILD + cd haproxy_exporter-0.15.0 + LICENSEDIR=/builddir/build/BUILDROOT/haproxy_exporter-0.15.0-2.oc9.x86_64/usr/share/licenses/haproxy_exporter + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/haproxy_exporter-0.15.0-2.oc9.x86_64/usr/share/licenses/haproxy_exporter + cp -pr LICENSE /builddir/build/BUILDROOT/haproxy_exporter-0.15.0-2.oc9.x86_64/usr/share/licenses/haproxy_exporter + RPM_EC=0 ++ jobs -p + exit 0 warning: Missing build-id in /builddir/build/BUILDROOT/haproxy_exporter-0.15.0-2.oc9.x86_64/usr/bin/haproxy_exporter Provides: haproxy_exporter = 0.15.0-2.oc9 haproxy_exporter(x86-64) = 0.15.0-2.oc9 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/haproxy_exporter-0.15.0-2.oc9.x86_64 Wrote: /builddir/build/RPMS/haproxy_exporter-0.15.0-2.oc9.x86_64.rpm RPM build warnings: Missing build-id in /builddir/build/BUILDROOT/haproxy_exporter-0.15.0-2.oc9.x86_64/usr/bin/haproxy_exporter Child return code was: 0