Mock Version: 2.7 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/activemq-dist.spec'], chrootPath='/var/lib/mock/epel-7-x86_64-1608208775.545533/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=[]unshare_net=TrueprintOutput=True) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/activemq-dist.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/activemq-dist-5.15.14-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/activemq-dist.spec'], chrootPath='/var/lib/mock/epel-7-x86_64-1608208775.545533/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=[]unshare_net=TrueprintOutput=True) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/activemq-dist.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.yveTAN + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf apache-activemq-5.15.14 + /usr/bin/gzip -dc /builddir/build/SOURCES/apache-activemq-5.15.14-bin.tar.gz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd apache-activemq-5.15.14 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (init.d.patch):' Patch #0 (init.d.patch): + /usr/bin/patch -p1 --fuzz=0 + /usr/bin/cat /builddir/build/SOURCES/init.d.patch patching file bin/linux-x86-32/activemq Hunk #1 succeeded at 30 (offset 10 lines). Hunk #2 succeeded at 56 (offset 10 lines). patching file bin/linux-x86-64/activemq Hunk #1 succeeded at 30 (offset 10 lines). Hunk #2 succeeded at 56 (offset 10 lines). + echo 'Patch #1 (wrapper.conf.patch):' Patch #1 (wrapper.conf.patch): + /usr/bin/patch -p1 --fuzz=0 + /usr/bin/cat /builddir/build/SOURCES/wrapper.conf.patch patching file bin/linux-x86-32/wrapper.conf Hunk #2 succeeded at 90 (offset 1 line). patching file bin/linux-x86-64/wrapper.conf Hunk #2 succeeded at 90 (offset 1 line). + echo 'Patch #2 (log4j.patch):' Patch #2 (log4j.patch): + /usr/bin/patch -p1 --fuzz=0 + /usr/bin/cat /builddir/build/SOURCES/log4j.patch patching file conf/log4j.properties Hunk #3 succeeded at 91 (offset 13 lines). + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.YtjIaO + umask 022 + cd /builddir/build/BUILD + cd apache-activemq-5.15.14 + /bin/true + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.qTc7KO + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/activemq-dist-5.15.14-1.el7.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/activemq-dist-5.15.14-1.el7.x86_64 ++ dirname /builddir/build/BUILDROOT/activemq-dist-5.15.14-1.el7.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/activemq-dist-5.15.14-1.el7.x86_64 + cd apache-activemq-5.15.14 + rm -rf /builddir/build/BUILDROOT/activemq-dist-5.15.14-1.el7.x86_64 + mkdir -p /builddir/build/BUILDROOT/activemq-dist-5.15.14-1.el7.x86_64/usr/share/activemq + mv bin lib webapps /builddir/build/BUILDROOT/activemq-dist-5.15.14-1.el7.x86_64/usr/share/activemq + mkdir -p /builddir/build/BUILDROOT/activemq-dist-5.15.14-1.el7.x86_64/usr/bin + ln -s /usr/share/activemq/bin/activemq /builddir/build/BUILDROOT/activemq-dist-5.15.14-1.el7.x86_64/usr/bin/activemq + sed -i 's/^ACTIVEMQ_SUNJMX_START=/#ACTIVEMQ_SUNJMX_START=/' /builddir/build/BUILDROOT/activemq-dist-5.15.14-1.el7.x86_64/usr/share/activemq/bin/env + mkdir -p /builddir/build/BUILDROOT/activemq-dist-5.15.14-1.el7.x86_64/etc + mv conf /builddir/build/BUILDROOT/activemq-dist-5.15.14-1.el7.x86_64/etc/activemq + mv /builddir/build/BUILDROOT/activemq-dist-5.15.14-1.el7.x86_64/usr/share/activemq/bin/env /builddir/build/BUILDROOT/activemq-dist-5.15.14-1.el7.x86_64/etc/activemq/env + ln -s /etc/activemq /builddir/build/BUILDROOT/activemq-dist-5.15.14-1.el7.x86_64/usr/share/activemq/conf + ln -s /etc/activemq/env /builddir/build/BUILDROOT/activemq-dist-5.15.14-1.el7.x86_64/usr/share/activemq/bin/env + sed -i 's_\(\)__' /builddir/build/BUILDROOT/activemq-dist-5.15.14-1.el7.x86_64/etc/activemq/activemq.xml + sed -i 's_\(\)__' /builddir/build/BUILDROOT/activemq-dist-5.15.14-1.el7.x86_64/etc/activemq/activemq.xml + mkdir -p /builddir/build/BUILDROOT/activemq-dist-5.15.14-1.el7.x86_64/var/log/activemq + ln -s /var/log/activemq /builddir/build/BUILDROOT/activemq-dist-5.15.14-1.el7.x86_64/usr/share/activemq/log + mkdir -p /builddir/build/BUILDROOT/activemq-dist-5.15.14-1.el7.x86_64/var/lib/activemq/data + ln -s /var/lib/activemq/data /builddir/build/BUILDROOT/activemq-dist-5.15.14-1.el7.x86_64//usr/share/activemq/data + install -D -m 0644 activemq-all-5.15.14.jar /builddir/build/BUILDROOT/activemq-dist-5.15.14-1.el7.x86_64/usr/share/java/activemq-all-5.15.14.jar + chmod a-x /builddir/build/BUILDROOT/activemq-dist-5.15.14-1.el7.x86_64/usr/share/java/activemq-all-5.15.14.jar + pushd /builddir/build/BUILDROOT/activemq-dist-5.15.14-1.el7.x86_64/usr/share/java ~/build/BUILDROOT/activemq-dist-5.15.14-1.el7.x86_64/usr/share/java ~/build/BUILD/apache-activemq-5.15.14 + for jar in '*-5.15.14*' ++ echo activemq-all-5.15.14.jar ++ sed 's|-5.15.14||g' + ln -sf activemq-all-5.15.14.jar activemq-all.jar + popd ~/build/BUILD/apache-activemq-5.15.14 + rm -rf /builddir/build/BUILDROOT/activemq-dist-5.15.14-1.el7.x86_64/usr/share/activemq/bin/linux-x86-32 /builddir/build/BUILDROOT/activemq-dist-5.15.14-1.el7.x86_64/usr/share/activemq/bin/linux-x86-64 + rm -rf /builddir/build/BUILDROOT/activemq-dist-5.15.14-1.el7.x86_64/usr/share/activemq/bin/macosx + rm /builddir/build/BUILDROOT/activemq-dist-5.15.14-1.el7.x86_64/usr/share/activemq/bin/wrapper.jar + install -D -m 0644 /builddir/build/SOURCES/activemq-conf /builddir/build/BUILDROOT/activemq-dist-5.15.14-1.el7.x86_64/etc/activemq.conf + find /builddir/build/BUILDROOT/activemq-dist-5.15.14-1.el7.x86_64/usr/share/activemq/webapps -executable -type f -exec chmod -x '{}' ';' + install -p -D -m 0644 /builddir/build/SOURCES/activemq.service /builddir/build/BUILDROOT/activemq-dist-5.15.14-1.el7.x86_64/usr/lib/systemd/system/activemq.service + install -p -D -m 0644 /builddir/build/SOURCES/activemq.logrotate /builddir/build/BUILDROOT/activemq-dist-5.15.14-1.el7.x86_64/etc/logrotate.d/activemq-dist + /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/apache-activemq-5.15.14 /usr/lib/rpm/sepdebugcrcfix: Updated 0 CRC32s, 0 CRC32s did match. find: 'debug': No such file or directory + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/brp-compress Processing files: activemq-dist-5.15.14-1.el7.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.lFSCDP + umask 022 + cd /builddir/build/BUILD + cd apache-activemq-5.15.14 + DOCDIR=/builddir/build/BUILDROOT/activemq-dist-5.15.14-1.el7.x86_64/usr/share/doc/activemq-dist-5.15.14 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/activemq-dist-5.15.14-1.el7.x86_64/usr/share/doc/activemq-dist-5.15.14 + cp -pr LICENSE /builddir/build/BUILDROOT/activemq-dist-5.15.14-1.el7.x86_64/usr/share/doc/activemq-dist-5.15.14 + cp -pr NOTICE /builddir/build/BUILDROOT/activemq-dist-5.15.14-1.el7.x86_64/usr/share/doc/activemq-dist-5.15.14 + cp -pr README.txt /builddir/build/BUILDROOT/activemq-dist-5.15.14-1.el7.x86_64/usr/share/doc/activemq-dist-5.15.14 + cp -pr docs/ /builddir/build/BUILDROOT/activemq-dist-5.15.14-1.el7.x86_64/usr/share/doc/activemq-dist-5.15.14 + exit 0 Provides: activemq-dist = 5.15.14-1.el7 config(activemq-dist) = 5.15.14-1.el7 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 Requires(post): /bin/sh Requires(preun): /bin/sh Requires(postun): /bin/sh Requires: /bin/sh Processing files: activemq-dist-client-5.15.14-1.el7.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.GqSYFS + umask 022 + cd /builddir/build/BUILD + cd apache-activemq-5.15.14 + DOCDIR=/builddir/build/BUILDROOT/activemq-dist-5.15.14-1.el7.x86_64/usr/share/doc/activemq-dist-client-5.15.14 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/activemq-dist-5.15.14-1.el7.x86_64/usr/share/doc/activemq-dist-client-5.15.14 + cp -pr LICENSE /builddir/build/BUILDROOT/activemq-dist-5.15.14-1.el7.x86_64/usr/share/doc/activemq-dist-client-5.15.14 + cp -pr NOTICE /builddir/build/BUILDROOT/activemq-dist-5.15.14-1.el7.x86_64/usr/share/doc/activemq-dist-client-5.15.14 + cp -pr README.txt /builddir/build/BUILDROOT/activemq-dist-5.15.14-1.el7.x86_64/usr/share/doc/activemq-dist-client-5.15.14 + cp -pr docs/ /builddir/build/BUILDROOT/activemq-dist-5.15.14-1.el7.x86_64/usr/share/doc/activemq-dist-client-5.15.14 + exit 0 Provides: activemq-dist-client = 5.15.14-1.el7 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/activemq-dist-5.15.14-1.el7.x86_64 Wrote: /builddir/build/RPMS/activemq-dist-5.15.14-1.el7.noarch.rpm Wrote: /builddir/build/RPMS/activemq-dist-client-5.15.14-1.el7.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.reVN0T + umask 022 + cd /builddir/build/BUILD + cd apache-activemq-5.15.14 + rm -rf /builddir/build/BUILDROOT/activemq-dist-5.15.14-1.el7.x86_64 + exit 0 Child return code was: 0