Mock Version: 1.4.16 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/pg_prometheus.spec'], chrootPath='/var/lib/mock/979020-epel-7-x86_64-1564134738.341978/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.g0rlquny:/etc/resolv.conf']unshare_net=FalseprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.g0rlquny:/etc/resolv.conf'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '1d68d0c8bbfd4560a4a0796e24fc2dfe', '-D', '/var/lib/mock/979020-epel-7-x86_64-1564134738.341978/root', '-a', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.g0rlquny:/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/pg_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/pg_prometheus-1.2.0-1.6067645.el7.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/pg_prometheus.spec'], chrootPath='/var/lib/mock/979020-epel-7-x86_64-1564134738.341978/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.g0rlquny:/etc/resolv.conf']unshare_net=FalseprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.g0rlquny:/etc/resolv.conf'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'd42b81b799f94549853bc1744bc300fa', '-D', '/var/lib/mock/979020-epel-7-x86_64-1564134738.341978/root', '-a', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.g0rlquny:/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/pg_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.oyFfhn + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf pg_prometheus-606764598106b1851cdb724e807a7e2088578c13 + /usr/bin/gzip -dc /builddir/build/SOURCES/pg_prometheus-6067645.tar.gz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd pg_prometheus-606764598106b1851cdb724e807a7e2088578c13 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + sed -e 's|^PG_CONFIG =.*|PG_CONFIG = /usr/pgsql-10/bin/pg_config|g' -i Makefile + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.YtLpCV + umask 022 + cd /builddir/build/BUILD + cd pg_prometheus-606764598106b1851cdb724e807a7e2088578c13 + make -j2 gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC -DINCLUDE_PACKAGE_SUPPORT=0 -MMD -I. -I./ -I/usr/pgsql-10/include/server -I/usr/pgsql-10/include/internal -D_GNU_SOURCE -I/usr/include/libxml2 -I/usr/include -c -o src/prom.o src/prom.c gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC -DINCLUDE_PACKAGE_SUPPORT=0 -MMD -I. -I./ -I/usr/pgsql-10/include/server -I/usr/pgsql-10/include/internal -D_GNU_SOURCE -I/usr/include/libxml2 -I/usr/include -c -o src/parse.o src/parse.c gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC -DINCLUDE_PACKAGE_SUPPORT=0 -MMD -I. -I./ -I/usr/pgsql-10/include/server -I/usr/pgsql-10/include/internal -D_GNU_SOURCE -I/usr/include/libxml2 -I/usr/include -c -o src/utils.o src/utils.c gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC -DINCLUDE_PACKAGE_SUPPORT=0 -MMD -shared -o pg_prometheus.so src/prom.o src/parse.o src/utils.o -L/usr/pgsql-10/lib -Wl,--as-needed -L/usr/lib64 -Wl,--as-needed -Wl,-rpath,'/usr/pgsql-10/lib',--enable-new-dtags + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.mv9Hbv + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/pg_prometheus-1.2.0-1.6067645.el7.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/pg_prometheus-1.2.0-1.6067645.el7.x86_64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/pg_prometheus-1.2.0-1.6067645.el7.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/pg_prometheus-1.2.0-1.6067645.el7.x86_64 + cd pg_prometheus-606764598106b1851cdb724e807a7e2088578c13 + make install DESTDIR=/builddir/build/BUILDROOT/pg_prometheus-1.2.0-1.6067645.el7.x86_64 /usr/bin/mkdir -p '/builddir/build/BUILDROOT/pg_prometheus-1.2.0-1.6067645.el7.x86_64/usr/pgsql-10/lib' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/pg_prometheus-1.2.0-1.6067645.el7.x86_64/usr/pgsql-10/share/extension' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/pg_prometheus-1.2.0-1.6067645.el7.x86_64/usr/pgsql-10/share/extension' /usr/bin/install -c -m 755 pg_prometheus.so '/builddir/build/BUILDROOT/pg_prometheus-1.2.0-1.6067645.el7.x86_64/usr/pgsql-10/lib/pg_prometheus.so' /usr/bin/install -c -m 644 .//pg_prometheus.control '/builddir/build/BUILDROOT/pg_prometheus-1.2.0-1.6067645.el7.x86_64/usr/pgsql-10/share/extension/' /usr/bin/install -c -m 644 .//sql/pg_prometheus--0.2.1.sql '/builddir/build/BUILDROOT/pg_prometheus-1.2.0-1.6067645.el7.x86_64/usr/pgsql-10/share/extension/' + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-compress + /usr/lib/rpm/redhat/brp-strip /usr/bin/strip + /usr/lib/rpm/redhat/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /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: pg_prometheus-1.2.0-1.6067645.el7.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.cpiBj5 + umask 022 + cd /builddir/build/BUILD + cd pg_prometheus-606764598106b1851cdb724e807a7e2088578c13 + DOCDIR=/builddir/build/BUILDROOT/pg_prometheus-1.2.0-1.6067645.el7.x86_64/usr/share/doc/pg_prometheus-1.2.0 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/pg_prometheus-1.2.0-1.6067645.el7.x86_64/usr/share/doc/pg_prometheus-1.2.0 + cp -pr README.md /builddir/build/BUILDROOT/pg_prometheus-1.2.0-1.6067645.el7.x86_64/usr/share/doc/pg_prometheus-1.2.0 + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.o2PitF + umask 022 + cd /builddir/build/BUILD + cd pg_prometheus-606764598106b1851cdb724e807a7e2088578c13 + LICENSEDIR=/builddir/build/BUILDROOT/pg_prometheus-1.2.0-1.6067645.el7.x86_64/usr/share/licenses/pg_prometheus-1.2.0 + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/pg_prometheus-1.2.0-1.6067645.el7.x86_64/usr/share/licenses/pg_prometheus-1.2.0 + cp -pr LICENSE /builddir/build/BUILDROOT/pg_prometheus-1.2.0-1.6067645.el7.x86_64/usr/share/licenses/pg_prometheus-1.2.0 + exit 0 Provides: pg_prometheus = 1.2.0-1.6067645.el7 pg_prometheus(x86-64) = 1.2.0-1.6067645.el7 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.14)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.4)(64bit) rtld(GNU_HASH) Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/pg_prometheus-1.2.0-1.6067645.el7.x86_64 Wrote: /builddir/build/RPMS/pg_prometheus-1.2.0-1.6067645.el7.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.8p5tPR + umask 022 + cd /builddir/build/BUILD + cd pg_prometheus-606764598106b1851cdb724e807a7e2088578c13 + /usr/bin/rm -rf /builddir/build/BUILDROOT/pg_prometheus-1.2.0-1.6067645.el7.x86_64 + exit 0 Child return code was: 0