Mock Version: 1.4.14 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target armv5tel --nodeps /builddir/build/SPECS/mock.spec'], chrootPath='/var/lib/mock/el-8-arm/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=1000gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=True) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target armv5tel --nodeps /builddir/build/SPECS/mock.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: Macro expanded in comment on line 25: %{name}-%{version} BUILDSTDERR: warning: Macro expanded in comment on line 25: %{name}-%{version} Building target platforms: armv5tel Building for target armv5tel Wrote: /builddir/build/SRPMS/mock-1.4.15-1.el8.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target armv5tel --nodeps /builddir/build/SPECS/mock.spec'], chrootPath='/var/lib/mock/el-8-arm/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=1000gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=True) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target armv5tel --nodeps /builddir/build/SPECS/mock.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: Macro expanded in comment on line 25: %{name}-%{version} BUILDSTDERR: warning: Macro expanded in comment on line 25: %{name}-%{version} Building target platforms: armv5tel Building for target armv5tel Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.PBuIzk + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf mock-1.4.15 + /usr/bin/gzip -dc /builddir/build/SOURCES/mock-1.4.15.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd mock-1.4.15 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.RpoGsl + umask 022 + cd /builddir/build/BUILD + cd mock-1.4.15 + for i in py/mock.py py/mockchain.py + perl -p -i -e 's|^__VERSION__\s*=.*|__VERSION__="1.4.15"|' py/mock.py + perl -p -i -e 's|^SYSCONFDIR\s*=.*|SYSCONFDIR="/etc"|' py/mock.py + perl -p -i -e 's|^PYTHONDIR\s*=.*|PYTHONDIR="/usr/lib/python3.6/site-packages"|' py/mock.py + perl -p -i -e 's|^PKGPYTHONDIR\s*=.*|PKGPYTHONDIR="/usr/lib/python3.6/site-packages/mockbuild"|' py/mock.py + for i in py/mock.py py/mockchain.py + perl -p -i -e 's|^__VERSION__\s*=.*|__VERSION__="1.4.15"|' py/mockchain.py + perl -p -i -e 's|^SYSCONFDIR\s*=.*|SYSCONFDIR="/etc"|' py/mockchain.py + perl -p -i -e 's|^PYTHONDIR\s*=.*|PYTHONDIR="/usr/lib/python3.6/site-packages"|' py/mockchain.py + perl -p -i -e 's|^PKGPYTHONDIR\s*=.*|PKGPYTHONDIR="/usr/lib/python3.6/site-packages/mockbuild"|' py/mockchain.py + for i in docs/mockchain.1 docs/mock.1 + perl -p -i -e 's|\@VERSION\@|1.4.15"|' docs/mockchain.1 + for i in docs/mockchain.1 docs/mock.1 + perl -p -i -e 's|\@VERSION\@|1.4.15"|' docs/mock.1 + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.zd3T0s + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/mock-1.4.15-1.el8.arm '!=' / ']' + rm -rf /builddir/build/BUILDROOT/mock-1.4.15-1.el8.arm BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/mock-1.4.15-1.el8.arm + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/mock-1.4.15-1.el8.arm + cd mock-1.4.15 + install -d /builddir/build/BUILDROOT/mock-1.4.15-1.el8.arm/usr/bin + install -d /builddir/build/BUILDROOT/mock-1.4.15-1.el8.arm/usr/libexec/mock + install py/mockchain.py /builddir/build/BUILDROOT/mock-1.4.15-1.el8.arm/usr/bin/mockchain + install py/mock.py /builddir/build/BUILDROOT/mock-1.4.15-1.el8.arm/usr/libexec/mock/mock + ln -s consolehelper /builddir/build/BUILDROOT/mock-1.4.15-1.el8.arm/usr/bin/mock + install create_default_route_in_container.sh /builddir/build/BUILDROOT/mock-1.4.15-1.el8.arm/usr/libexec/mock/ + install -d /builddir/build/BUILDROOT/mock-1.4.15-1.el8.arm/etc/pam.d + cp -a etc/pam/mock /builddir/build/BUILDROOT/mock-1.4.15-1.el8.arm/etc/pam.d/ + install -d /builddir/build/BUILDROOT/mock-1.4.15-1.el8.arm/etc/mock + cp -a etc/mock/logging.ini etc/mock/site-defaults.cfg /builddir/build/BUILDROOT/mock-1.4.15-1.el8.arm/etc/mock/ + install -d /builddir/build/BUILDROOT/mock-1.4.15-1.el8.arm/etc/security/console.apps/ + cp -a etc/consolehelper/mock /builddir/build/BUILDROOT/mock-1.4.15-1.el8.arm/etc/security/console.apps/mock + install -d /builddir/build/BUILDROOT/mock-1.4.15-1.el8.arm/usr/share/bash-completion/completions/ + cp -a etc/bash_completion.d/mock /builddir/build/BUILDROOT/mock-1.4.15-1.el8.arm/usr/share/bash-completion/completions/ + ln -s mock /builddir/build/BUILDROOT/mock-1.4.15-1.el8.arm/usr/share/bash-completion/completions/mockchain + install -d /builddir/build/BUILDROOT/mock-1.4.15-1.el8.arm/etc/pki/mock + cp -a etc/pki/README.txt /builddir/build/BUILDROOT/mock-1.4.15-1.el8.arm/etc/pki/mock/ + install -d /builddir/build/BUILDROOT/mock-1.4.15-1.el8.arm/usr/lib/python3.6/site-packages/ + cp -a py/mockbuild /builddir/build/BUILDROOT/mock-1.4.15-1.el8.arm/usr/lib/python3.6/site-packages/ + install -d /builddir/build/BUILDROOT/mock-1.4.15-1.el8.arm/usr/share/man/man1 + cp -a docs/mockchain.1 docs/mock.1 /builddir/build/BUILDROOT/mock-1.4.15-1.el8.arm/usr/share/man/man1/ + install -d /builddir/build/BUILDROOT/mock-1.4.15-1.el8.arm/var/lib/mock + install -d /builddir/build/BUILDROOT/mock-1.4.15-1.el8.arm/var/cache/mock + /usr/lib/rpm/find-debuginfo.sh -j8 --strict-build-id -m -i --build-id-seed 1.4.15-1.el8 --unique-debug-suffix -1.4.15-1.el8.arm --unique-debug-src-base mock-1.4.15-1.el8.arm --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/mock-1.4.15 BUILDSTDERR: find: 'debug': No such file or directory + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig BUILDSTDERR: /sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /builddir/build/BUILDROOT/mock-1.4.15-1.el8.arm/etc/ld.so.conf: No such file or directory + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile 1 Bytecompiling .py files below /builddir/build/BUILDROOT/mock-1.4.15-1.el8.arm/usr/lib/python3.6 using /usr/libexec/platform-python + /usr/lib/rpm/brp-python-hardlink + PYTHON3=/usr/libexec/platform-python + /usr/lib/rpm/redhat/brp-mangle-shebangs mangling shebang in /usr/bin/mockchain from /usr/bin/python3 -tt to #!/usr/libexec/platform-python -tt mangling shebang in /usr/libexec/mock/mock from /usr/bin/python3 -tt to #!/usr/libexec/platform-python -tt Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.QFlcKC + umask 022 + cd /builddir/build/BUILD + cd mock-1.4.15 + pylint-3 py/mockbuild/ py/mock.py py/mockchain.py py/mockbuild/plugins/bind_mount.py py/mockbuild/plugins/ccache.py py/mockbuild/plugins/chroot_scan.py py/mockbuild/plugins/compress_logs.py py/mockbuild/plugins/hw_info.py py/mockbuild/plugins/lvm_root.py py/mockbuild/plugins/mount.py py/mockbuild/plugins/overlayfs.py py/mockbuild/plugins/package_state.py py/mockbuild/plugins/pm_request.py py/mockbuild/plugins/root_cache.py py/mockbuild/plugins/selinux.py py/mockbuild/plugins/sign.py py/mockbuild/plugins/tmpfs.py py/mockbuild/plugins/yum_cache.py ************* Module mockbuild.backend E: 13, 0: Unable to import 'rpm' (import-error) ************* Module mockbuild.util E: 46, 0: Bad option value 'useless-import-alias' (bad-option-value) E: 38, 0: Unable to import 'distro' (import-error) E: 39, 0: Unable to import 'jinja2' (import-error) E: 45, 0: Unable to import 'pyroute2' (import-error) R:238, 4: Too many nested blocks (6/5) (too-many-nested-blocks) E:343, 4: Unable to import 'rpm' (import-error) E:377, 4: Unable to import 'rpm' (import-error) E:392, 4: Unable to import 'rpm' (import-error) R:534, 4: Too many nested blocks (7/5) (too-many-nested-blocks) R:739, 0: Too few public methods (0/1) (too-few-public-methods) ************* Module mockbuild.package_manager E: 11, 0: Unable to import 'distro' (import-error) ************* Module mockbuild.scm E:137, 8: Unable to import 'rpm' (import-error) ************* Module mock E:980, 0: Bad option value 'try-except-raise' (bad-option-value) ************* Module mockchain E: 40, 0: Unable to import 'requests' (import-error) W:356,23: Catching too general exception Exception (broad-except) R:331, 4: Too many nested blocks (7/5) (too-many-nested-blocks) ************* Module lvm_root E:144, 0: Bad option value 'inconsistent-return-statements' (bad-option-value) ************* Module tmpfs W: 86, 8: No exception type(s) specified (bare-except) W: 95,12: No exception type(s) specified (bare-except) ----------------------------------- Your code has been rated at 9.85/10 + : + exit 0 Processing files: mock-1.4.15-1.el8.noarch Provides: config(mock) = 1.4.15-1.el8 mock = 1.4.15-1.el8 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/bash /usr/libexec/platform-python python(abi) = 3.6 Recommends: btrfs-progs dnf-utils Suggests: qemu-user-static yum Processing files: mock-scm-1.4.15-1.el8.noarch Provides: mock-scm = 1.4.15-1.el8 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: python(abi) = 3.6 Recommends: cvs git subversion tar Processing files: mock-lvm-1.4.15-1.el8.noarch Provides: mock-lvm = 1.4.15-1.el8 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: python(abi) = 3.6 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/mock-1.4.15-1.el8.arm Wrote: /builddir/build/RPMS/mock-1.4.15-1.el8.noarch.rpm Wrote: /builddir/build/RPMS/mock-scm-1.4.15-1.el8.noarch.rpm Wrote: /builddir/build/RPMS/mock-lvm-1.4.15-1.el8.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.cDy0dF + umask 022 + cd /builddir/build/BUILD + cd mock-1.4.15 + /usr/bin/rm -rf /builddir/build/BUILDROOT/mock-1.4.15-1.el8.arm + exit 0 Child return code was: 0