Mock Version: 2.6 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/rh-postgresql12.spec'], chrootPath='/var/lib/mock/epel-7-x86_64-1607529271.283143/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.l2fazfan:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--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.l2fazfan:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--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', '08a9d7d1e25b439ea933ec6425d1edb5', '-D', '/var/lib/mock/epel-7-x86_64-1607529271.283143/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.l2fazfan:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--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', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/rh-postgresql12.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/rh-postgresql13-3.7-1.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/rh-postgresql12.spec'], chrootPath='/var/lib/mock/epel-7-x86_64-1607529271.283143/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.l2fazfan:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--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.l2fazfan:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--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', 'ed31791607f14368893d487637653ba7', '-D', '/var/lib/mock/epel-7-x86_64-1607529271.283143/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.l2fazfan:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--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', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/rh-postgresql12.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.wr0MNP + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf rh-postgresql13-3.7 + /usr/bin/mkdir -p rh-postgresql13-3.7 + cd rh-postgresql13-3.7 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + cat + tee README Package rh-postgresql13 provides PostgreSQL database management system delivered as a Software Collection. For more information about Software Collections, see the scl(1) man page. By installing the rh-postgresql13 collection, you will get the minimum working set of packages to have a working PostgreSQL database management system. Usage: scl enable rh-postgresql13 'psql' Software Collections allow you to build and execute applications which are not located in the filesystem root hierarchy, but are stored in an alternative location, which is /opt/rh/rh-postgresql13/root in case of the rh-postgresql13 collection. PostgreSQL is an advanced Object-Relational database management system (DBMS). The postgresql-server package contains the programs needed to create and run a PostgreSQL server, which will in turn allow you to create and maintain PostgreSQL databases. When you want to work with the rh-postgresql13 collection, use the scl utility (see the scl(1) man page for usage) to enable the scl environment. Configuration for the rh-postgresql13 software collection is located under /etc/opt/rh/rh-postgresql13. Examples: scl enable rh-postgresql13 'command --arg' Run a specific command with the argument --arg within the rh-postgresql13 software collections environment. scl enable rh-postgresql13 'psql' Run psql from the rh-postgresql13 software collection. scl enable rh-postgresql13 bash Run an interactive shell with the rh-postgresql13 software collection enabled. scl enable rh-postgresql13 'man psql' Show man pages for the psql command, which is a part of the rh-postgresql13 software collection. Report bugs to . Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.vmHE9q + cp /builddir/build/SOURCES/LICENSE . + exit 0 + umask 022 + cd /builddir/build/BUILD + cd rh-postgresql13-3.7 + cat + tee h2m_helper #!/bin/bash [ "$1" == "--version" ] && echo "rh-postgresql13 3.7 Software Collection" || cat README + chmod a+x h2m_helper + help2man -N --section 7 ./h2m_helper -o rh-postgresql13.7 + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.lVSqB2 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/rh-postgresql13-3.7-1.el7.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/rh-postgresql13-3.7-1.el7.x86_64 ++ dirname /builddir/build/BUILDROOT/rh-postgresql13-3.7-1.el7.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/rh-postgresql13-3.7-1.el7.x86_64 + cd rh-postgresql13-3.7 + mkdir -p /builddir/build/BUILDROOT/rh-postgresql13-3.7-1.el7.x86_64/etc/rpm /builddir/build/BUILDROOT/rh-postgresql13-3.7-1.el7.x86_64/etc/scl/prefixes + cat + cat + set +x ~/build/BUILDROOT/rh-postgresql13-3.7-1.el7.x86_64/var/opt/rh/rh-postgresql13 ~/build/BUILD/rh-postgresql13-3.7 ~/build/BUILD/rh-postgresql13-3.7 ~/build/BUILDROOT/rh-postgresql13-3.7-1.el7.x86_64/etc/opt/rh/rh-postgresql13 ~/build/BUILD/rh-postgresql13-3.7 ~/build/BUILD/rh-postgresql13-3.7 ~/build/BUILDROOT/rh-postgresql13-3.7-1.el7.x86_64/opt/rh/rh-postgresql13/root ~/build/BUILD/rh-postgresql13-3.7 + popd ~/build/BUILD/rh-postgresql13-3.7 + mkdir -p /builddir/build/BUILDROOT/rh-postgresql13-3.7-1.el7.x86_64/opt/rh/rh-postgresql13/root/usr/share/man/man1 /builddir/build/BUILDROOT/rh-postgresql13-3.7-1.el7.x86_64/opt/rh/rh-postgresql13/root/usr/share/man/man7 /builddir/build/BUILDROOT/rh-postgresql13-3.7-1.el7.x86_64/opt/rh/rh-postgresql13/root/usr/share/man/man8 + cat + tee -a /builddir/build/BUILDROOT/rh-postgresql13-3.7-1.el7.x86_64/opt/rh/rh-postgresql13/enable # For binaries export PATH=/opt/rh/rh-postgresql13/root/usr/bin${PATH:+:$PATH} # For header files export CPATH=/opt/rh/rh-postgresql13/root/usr/include${CPATH:+:$CPATH} # For libraries during build export LIBRARY_PATH=/opt/rh/rh-postgresql13/root/usr/lib64${LIBRARY_PATH:+:$LIBRARY_PATH} # For libraries during linking export LD_LIBRARY_PATH=/opt/rh/rh-postgresql13/root/usr/lib64${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH} # For man pages; empty field makes man to consider also standard path export MANPATH=/opt/rh/rh-postgresql13/root/usr/share/man:$MANPATH # For Java Packages Tools to locate java.conf export JAVACONFDIRS=/etc/opt/rh/rh-postgresql13/java:${JAVACONFDIRS:-/etc/java} # For pkg-config export PKG_CONFIG_PATH=/opt/rh/rh-postgresql13/root/usr/lib64/pkgconfig${PKG_CONFIG_PATH:+:$PKG_CONFIG_PATH} + tee -a /builddir/build/BUILDROOT/rh-postgresql13-3.7-1.el7.x86_64/etc/rpm/macros.postgresql-scldevel + cat # macros to be used by packages depended on rh-postgresql13 collection %scl_postgresql rh-postgresql13 %scl_prefix_postgresql rh-postgresql13- + mkdir -p /builddir/build/BUILDROOT/rh-postgresql13-3.7-1.el7.x86_64/opt/rh/rh-postgresql13/root/usr/share/man/man7/ + install -m 644 rh-postgresql13.7 /builddir/build/BUILDROOT/rh-postgresql13-3.7-1.el7.x86_64/opt/rh/rh-postgresql13/root/usr/share/man/man7/rh-postgresql13.7 + /usr/lib/rpm/find-debuginfo.sh --strict-build-id -m --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 /builddir/build/BUILD/rh-postgresql13-3.7 /usr/lib/rpm/sepdebugcrcfix: Updated 0 CRC32s, 0 CRC32s did match. + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/brp-scl-compress /opt/rh/rh-postgresql13/root + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-scl-python-bytecompile /usr/bin/python 1 /opt/rh/rh-postgresql13/root + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-java-repack-jars Processing files: rh-postgresql13-3.7-1.el7.x86_64 Provides: scl-package(rh-postgresql13) rh-postgresql13 = 3.7-1.el7 rh-postgresql13(x86-64) = 3.7-1.el7 Requires(rpmlib): rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(CompressedFileNames) <= 3.0.4-1 Processing files: rh-postgresql13-runtime-3.7-1.el7.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.BV41m4 + umask 022 + cd /builddir/build/BUILD + cd rh-postgresql13-3.7 + DOCDIR=/builddir/build/BUILDROOT/rh-postgresql13-3.7-1.el7.x86_64/opt/rh/rh-postgresql13/root/usr/share/doc/rh-postgresql13-runtime-3.7 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/rh-postgresql13-3.7-1.el7.x86_64/opt/rh/rh-postgresql13/root/usr/share/doc/rh-postgresql13-runtime-3.7 + cp -pr README /builddir/build/BUILDROOT/rh-postgresql13-3.7-1.el7.x86_64/opt/rh/rh-postgresql13/root/usr/share/doc/rh-postgresql13-runtime-3.7 + cp -pr LICENSE /builddir/build/BUILDROOT/rh-postgresql13-3.7-1.el7.x86_64/opt/rh/rh-postgresql13/root/usr/share/doc/rh-postgresql13-runtime-3.7 + exit 0 error: failed to write all data to /usr/lib/rpm/scldeps.sh: Broken pipe Provides: rh-postgresql13-runtime = 3.7-1.el7 rh-postgresql13-runtime(x86-64) = 3.7-1.el7 scl-package(rh-postgresql13) Requires(interp): /bin/sh Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(post): /bin/sh libselinux-utils policycoreutils-python Requires: rh-postgresql13-runtime Processing files: rh-postgresql13-build-3.7-1.el7.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.T5KpX4 + umask 022 + cd /builddir/build/BUILD + cd rh-postgresql13-3.7 + DOCDIR=/builddir/build/BUILDROOT/rh-postgresql13-3.7-1.el7.x86_64/opt/rh/rh-postgresql13/root/usr/share/doc/rh-postgresql13-build-3.7 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/rh-postgresql13-3.7-1.el7.x86_64/opt/rh/rh-postgresql13/root/usr/share/doc/rh-postgresql13-build-3.7 + cp -pr LICENSE /builddir/build/BUILDROOT/rh-postgresql13-3.7-1.el7.x86_64/opt/rh/rh-postgresql13/root/usr/share/doc/rh-postgresql13-build-3.7 + exit 0 Provides: rh-postgresql13-build = 3.7-1.el7 rh-postgresql13-build(x86-64) = 3.7-1.el7 scl-package(rh-postgresql13) Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: rh-postgresql13-runtime Processing files: rh-postgresql13-scldevel-3.7-1.el7.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.DsPMB5 + umask 022 + cd /builddir/build/BUILD + cd rh-postgresql13-3.7 + DOCDIR=/builddir/build/BUILDROOT/rh-postgresql13-3.7-1.el7.x86_64/opt/rh/rh-postgresql13/root/usr/share/doc/rh-postgresql13-scldevel-3.7 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/rh-postgresql13-3.7-1.el7.x86_64/opt/rh/rh-postgresql13/root/usr/share/doc/rh-postgresql13-scldevel-3.7 + cp -pr LICENSE /builddir/build/BUILDROOT/rh-postgresql13-3.7-1.el7.x86_64/opt/rh/rh-postgresql13/root/usr/share/doc/rh-postgresql13-scldevel-3.7 + exit 0 Provides: rh-postgresql13-scldevel = 3.7-1.el7 rh-postgresql13-scldevel(x86-64) = 3.7-1.el7 scl-package(rh-postgresql13) Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: rh-postgresql13-runtime Processing files: rh-postgresql13-syspaths-3.7-1.el7.x86_64 Provides: rh-postgresql13-syspaths = 3.7-1.el7 rh-postgresql13-syspaths(x86-64) = 3.7-1.el7 Requires(rpmlib): rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(CompressedFileNames) <= 3.0.4-1 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/rh-postgresql13-3.7-1.el7.x86_64 Wrote: /builddir/build/RPMS/rh-postgresql13-3.7-1.el7.x86_64.rpm Wrote: /builddir/build/RPMS/rh-postgresql13-runtime-3.7-1.el7.x86_64.rpm Wrote: /builddir/build/RPMS/rh-postgresql13-build-3.7-1.el7.x86_64.rpm Wrote: /builddir/build/RPMS/rh-postgresql13-scldevel-3.7-1.el7.x86_64.rpm Wrote: /builddir/build/RPMS/rh-postgresql13-syspaths-3.7-1.el7.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.DLbIEe + umask 022 + cd /builddir/build/BUILD + cd rh-postgresql13-3.7 + /usr/bin/rm -rf /builddir/build/BUILDROOT/rh-postgresql13-3.7-1.el7.x86_64 + exit 0 Child return code was: 0