Mock Version: 1.4.9 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/dh-python.spec'], chrootPath='/var/lib/mock/738755-epel-6-x86_64-1523243971.144665/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=[]unshare_net=TrueprintOutput=True) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/dh-python.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 BUILDSTDERR: warning: Could not canonicalize hostname: copr-builder-687814522.novalocal Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/dh-python-2.20170125-1.el6.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/dh-python.spec'], chrootPath='/var/lib/mock/738755-epel-6-x86_64-1523243971.144665/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=[]unshare_net=TrueprintOutput=True) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/dh-python.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.b8lHgp + umask 022 + cd /builddir/build/BUILD + LANG=C + export LANG + unset DISPLAY + cd /builddir/build/BUILD + rm -rf dh-python-2.20170125 + /usr/bin/xz -dc /builddir/build/SOURCES/dh-python_2.20170125.tar.xz + /bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd dh-python-2.20170125 + /bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (0001-fix-python-syntax-error.patch):' Patch #0 (0001-fix-python-syntax-error.patch): + /bin/cat /builddir/build/SOURCES/0001-fix-python-syntax-error.patch + /usr/bin/patch -p1 --fuzz=0 patching file dhpython/_defaults.py + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.I7exhV + umask 022 + cd /builddir/build/BUILD + cd dh-python-2.20170125 + LANG=C + export LANG + unset DISPLAY + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.dWzjjr + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/dh-python-2.20170125-1.el6.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/dh-python-2.20170125-1.el6.x86_64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/dh-python-2.20170125-1.el6.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/dh-python-2.20170125-1.el6.x86_64 + cd dh-python-2.20170125 + LANG=C + export LANG + unset DISPLAY + DESTDIR=/builddir/build/BUILDROOT/dh-python-2.20170125-1.el6.x86_64 + PREFIX=/usr + make install manpages install -m 755 -d /builddir/build/BUILDROOT/dh-python-2.20170125-1.el6.x86_64/usr/bin \ /builddir/build/BUILDROOT/dh-python-2.20170125-1.el6.x86_64/usr/share/debhelper/autoscripts/ \ /builddir/build/BUILDROOT/dh-python-2.20170125-1.el6.x86_64/usr/share/perl5/Debian/Debhelper/Sequence/ \ /builddir/build/BUILDROOT/dh-python-2.20170125-1.el6.x86_64/usr/share/perl5/Debian/Debhelper/Buildsystem/ \ /builddir/build/BUILDROOT/dh-python-2.20170125-1.el6.x86_64/usr/share/dh-python/dhpython/build \ /builddir/build/BUILDROOT/dh-python-2.20170125-1.el6.x86_64/usr/share/dh-python/dist install -m 644 pydist/*_fallback /builddir/build/BUILDROOT/dh-python-2.20170125-1.el6.x86_64/usr/share/dh-python/dist/ install -m 644 dhpython/*.py /builddir/build/BUILDROOT/dh-python-2.20170125-1.el6.x86_64/usr/share/dh-python/dhpython/ install -m 644 dhpython/build/*.py /builddir/build/BUILDROOT/dh-python-2.20170125-1.el6.x86_64/usr/share/dh-python/dhpython/build/ install -m 755 pybuild /builddir/build/BUILDROOT/dh-python-2.20170125-1.el6.x86_64/usr/share/dh-python/ install -m 755 dh_pypy /builddir/build/BUILDROOT/dh-python-2.20170125-1.el6.x86_64/usr/share/dh-python/ install -m 755 dh_python2 /builddir/build/BUILDROOT/dh-python-2.20170125-1.el6.x86_64/usr/share/dh-python/ install -m 755 dh_python3 /builddir/build/BUILDROOT/dh-python-2.20170125-1.el6.x86_64/usr/share/dh-python/ sed -i -e 's/DEVELV/2.20170125/' /builddir/build/BUILDROOT/dh-python-2.20170125-1.el6.x86_64/usr/share/dh-python/pybuild sed -i -e 's/DEVELV/2.20170125/' /builddir/build/BUILDROOT/dh-python-2.20170125-1.el6.x86_64/usr/share/dh-python/dh_pypy sed -i -e 's/DEVELV/2.20170125/' /builddir/build/BUILDROOT/dh-python-2.20170125-1.el6.x86_64/usr/share/dh-python/dh_python2 sed -i -e 's/DEVELV/2.20170125/' /builddir/build/BUILDROOT/dh-python-2.20170125-1.el6.x86_64/usr/share/dh-python/dh_python3 install -m 644 dh/pybuild.pm /builddir/build/BUILDROOT/dh-python-2.20170125-1.el6.x86_64/usr/share/perl5/Debian/Debhelper/Buildsystem/ install -m 644 dh/pypy.pm /builddir/build/BUILDROOT/dh-python-2.20170125-1.el6.x86_64/usr/share/perl5/Debian/Debhelper/Sequence/ install -m 644 dh/python2.pm /builddir/build/BUILDROOT/dh-python-2.20170125-1.el6.x86_64/usr/share/perl5/Debian/Debhelper/Sequence/ install -m 644 dh/python3.pm /builddir/build/BUILDROOT/dh-python-2.20170125-1.el6.x86_64/usr/share/perl5/Debian/Debhelper/Sequence/ install -m 644 autoscripts/* /builddir/build/BUILDROOT/dh-python-2.20170125-1.el6.x86_64/usr/share/debhelper/autoscripts/ rst2man pybuild.rst > pybuild.1 rst2man dh_pypy.rst > dh_pypy.1 rst2man dh_python2.rst > dh_python2.1 rst2man dh_python3.rst > dh_python3.1 + mkdir -p /builddir/build/BUILDROOT/dh-python-2.20170125-1.el6.x86_64//usr/share/man/man1 + cp dh_pypy.1 dh_python2.1 dh_python3.1 pybuild.1 /builddir/build/BUILDROOT/dh-python-2.20170125-1.el6.x86_64//usr/share/man/man1 + /usr/lib/rpm/find-debuginfo.sh --strict-build-id /builddir/build/BUILD/dh-python-2.20170125 + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-compress + /usr/lib/rpm/redhat/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/redhat/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python Compiling /builddir/build/BUILDROOT/dh-python-2.20170125-1.el6.x86_64/usr/share/dh-python/dhpython/build/base.py ... SyntaxError: ('invalid syntax', ('/usr/share/dh-python/dhpython/build/base.py', 59, 39, " SUPPORTED_INTERPRETERS = {'python', 'python3', 'python-dbg', 'python3-dbg',\n")) Compiling /builddir/build/BUILDROOT/dh-python-2.20170125-1.el6.x86_64/usr/share/dh-python/dhpython/build/plugin_distutils.py ... SyntaxError: ('invalid syntax', ('/usr/share/dh-python/dhpython/build/plugin_distutils.py', 66, 39, " SUPPORTED_INTERPRETERS = {'python', 'python3', 'python{version}',\n")) + /usr/lib/rpm/redhat/brp-python-hardlink Processing files: dh-python-2.20170125-1.el6.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.yApwu2 + umask 022 + cd /builddir/build/BUILD + cd dh-python-2.20170125 + DOCDIR=/builddir/build/BUILDROOT/dh-python-2.20170125-1.el6.x86_64/usr/share/doc/dh-python-2.20170125 + export DOCDIR + rm -rf /builddir/build/BUILDROOT/dh-python-2.20170125-1.el6.x86_64/usr/share/doc/dh-python-2.20170125 + /bin/mkdir -p /builddir/build/BUILDROOT/dh-python-2.20170125-1.el6.x86_64/usr/share/doc/dh-python-2.20170125 + cp -pr README.rst dh_pypy.rst dh_python2.rst dh_python3.rst pybuild.rst /builddir/build/BUILDROOT/dh-python-2.20170125-1.el6.x86_64/usr/share/doc/dh-python-2.20170125 + cp -pr debian/copyright /builddir/build/BUILDROOT/dh-python-2.20170125-1.el6.x86_64/usr/share/doc/dh-python-2.20170125 + exit 0 Provides: perl(Debian::Debhelper::Buildsystem::pybuild) Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PartialHardlinkSets) <= 4.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /usr/bin/python3 perl(Debian::Debhelper::Dh_Lib) perl(Dpkg::Changelog::Debian) perl(Dpkg::Control) perl(base) perl(strict) perl(warnings) Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/dh-python-2.20170125-1.el6.x86_64 BUILDSTDERR: warning: Could not canonicalize hostname: copr-builder-687814522.novalocal Wrote: /builddir/build/RPMS/dh-python-2.20170125-1.el6.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.YU8Ttl + umask 022 + cd /builddir/build/BUILD + cd dh-python-2.20170125 + /bin/rm -rf /builddir/build/BUILDROOT/dh-python-2.20170125-1.el6.x86_64 + exit 0 Child return code was: 0