Mock Version: 1.3.4 Mock Version: 1.3.4 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target noarch --nodeps /builddir/build/SPECS/rpmlint.spec'], nspawn_args=[]shell=Falseuid=996env={'LANG': 'en_GB.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PS1': ' \\s-\\v\\$ '}chrootPath='/var/lib/mock/dist-c8-stream-build-51028-9974/root'gid=135user='mockbuild'timeout=86400logger=printOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target noarch --nodeps /builddir/build/SPECS/rpmlint.spec'] with env {'LANG': 'en_GB.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PS1': ' \\s-\\v\\$ '} and shell False ls: cannot access '/usr/bin/py.test-3*': No such file or directory ls: cannot access '/usr/bin/py.test-3*': No such file or directory Building target platforms: noarch Building for target noarch Wrote: /builddir/build/SRPMS/rpmlint-1.10-14.el8.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', u'/usr/bin/rpmbuild -bb --target noarch --nodeps /builddir/build/SPECS/rpmlint.spec'], nspawn_args=[]shell=Falseuid=996env={'LANG': 'en_GB.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PS1': ' \\s-\\v\\$ '}chrootPath='/var/lib/mock/dist-c8-stream-build-51028-9974/root'gid=135user='mockbuild'timeout=86400logger=printOutput=False) Executing command: ['bash', '--login', '-c', u'/usr/bin/rpmbuild -bb --target noarch --nodeps /builddir/build/SPECS/rpmlint.spec'] with env {'LANG': 'en_GB.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PS1': ' \\s-\\v\\$ '} and shell False Building target platforms: noarch Building for target noarch Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.Sg3u1y + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf rpmlint-rpmlint-1.10 + /usr/bin/gzip -dc /builddir/build/SOURCES/rpmlint-1.10.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd rpmlint-rpmlint-1.10 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . Patch #0 (rpmlint-1.10-ignore-debuginfo-useless-provides.patch): + echo 'Patch #0 (rpmlint-1.10-ignore-debuginfo-useless-provides.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .debuginfo-useless-provides --fuzz=0 patching file TagsCheck.py Patch #1 (rpmlint-1.10-flake-cleanups.patch): + echo 'Patch #1 (rpmlint-1.10-flake-cleanups.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .flake --fuzz=0 patching file AbstractCheck.py patching file BinariesCheck.py patching file Config.py patching file MenuXDGCheck.py patching file Pkg.py patching file rpmlint patching file SCLCheck.py patching file SpecCheck.py patching file ZipCheck.py Patch #2 (rpmlint-1.10-no_python2.patch): + echo 'Patch #2 (rpmlint-1.10-no_python2.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .no_python2 --fuzz=0 patching file TagsCheck.py Patch #3 (rpmlint-1.10-fix_test.patch): + echo 'Patch #3 (rpmlint-1.10-fix_test.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .fix_test --fuzz=0 patching file test.sh Patch #4 (rpmlint-1.10-rpm_surrogate_escaped_utf8.patch): + echo 'Patch #4 (rpmlint-1.10-rpm_surrogate_escaped_utf8.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .rpm_surrogate_escaped_utf8 --fuzz=0 patching file Pkg.py Patch #5 (rpmlint-1.10-update-crypto-example.patch): + echo 'Patch #5 (rpmlint-1.10-update-crypto-example.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .update_crypto_example --fuzz=0 patching file config + sed -i -e /MenuCheck/d Config.py + cp -p config config.example + install -pm 644 /builddir/build/SOURCES/rpmlint-etc.config config + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.99cFzH + umask 022 + cd /builddir/build/BUILD + cd rpmlint-rpmlint-1.10 + make COMPILE_PYC=1 PYTHON=/usr/libexec/platform-python echo "# Automatically generated, do not edit" > __version__.py echo "__version__ = '1.10'" >> __version__.py + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.KiG27P + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/rpmlint-1.10-14.el8.noarch '!=' / ']' + rm -rf /builddir/build/BUILDROOT/rpmlint-1.10-14.el8.noarch ++ dirname /builddir/build/BUILDROOT/rpmlint-1.10-14.el8.noarch + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/rpmlint-1.10-14.el8.noarch + cd rpmlint-rpmlint-1.10 + touch rpmlint.pyc rpmlint.pyo + make install DESTDIR=/builddir/build/BUILDROOT/rpmlint-1.10-14.el8.noarch ETCDIR=/etc MANDIR=/usr/share/man LIBDIR=/usr/share/rpmlint BINDIR=/usr/bin PYTHON=/usr/libexec/platform-python mkdir -p /builddir/build/BUILDROOT/rpmlint-1.10-14.el8.noarch/usr/share/rpmlint /builddir/build/BUILDROOT/rpmlint-1.10-14.el8.noarch/usr/bin /builddir/build/BUILDROOT/rpmlint-1.10-14.el8.noarch/etc/rpmlint /builddir/build/BUILDROOT/rpmlint-1.10-14.el8.noarch/usr/share/man/man1 cp -p *.py /builddir/build/BUILDROOT/rpmlint-1.10-14.el8.noarch/usr/share/rpmlint if [ "x" = "x1" ] ; then \ /usr/libexec/platform-python -m py_compile \ /builddir/build/BUILDROOT/rpmlint-1.10-14.el8.noarch/usr/share/rpmlint/[A-Z]*.py \ /builddir/build/BUILDROOT/rpmlint-1.10-14.el8.noarch/usr/share/rpmlint/__*__.py ; \ fi /usr/libexec/platform-python -O -m py_compile \ /builddir/build/BUILDROOT/rpmlint-1.10-14.el8.noarch/usr/share/rpmlint/[A-Z]*.py \ /builddir/build/BUILDROOT/rpmlint-1.10-14.el8.noarch/usr/share/rpmlint/__*__.py ; \ for file in rpmlint rpmdiff ; do \ sed -e "s,#!/usr/bin/python ,#!/usr/libexec/platform-python ," $file > /builddir/build/BUILDROOT/rpmlint-1.10-14.el8.noarch/usr/bin/$file ; \ chmod +x /builddir/build/BUILDROOT/rpmlint-1.10-14.el8.noarch/usr/bin/$file ; \ done cp -p config /builddir/build/BUILDROOT/rpmlint-1.10-14.el8.noarch/etc/rpmlint compdir=`pkg-config --variable=completionsdir bash-completion 2>/dev/null` ; \ if [ "x$compdir" = "x" ] ; then \ mkdir -p /builddir/build/BUILDROOT/rpmlint-1.10-14.el8.noarch/etc/bash_completion.d ; \ cp -p rpmlint.bash-completion /builddir/build/BUILDROOT/rpmlint-1.10-14.el8.noarch/etc/bash_completion.d/rpmlint ; \ else \ mkdir -p /builddir/build/BUILDROOT/rpmlint-1.10-14.el8.noarch$compdir ; \ cp -p rpmlint.bash-completion /builddir/build/BUILDROOT/rpmlint-1.10-14.el8.noarch$compdir/rpmlint ; \ ln -sf rpmlint /builddir/build/BUILDROOT/rpmlint-1.10-14.el8.noarch$compdir/rpmdiff ; \ fi cp -p rpmdiff.1 rpmlint.1 /builddir/build/BUILDROOT/rpmlint-1.10-14.el8.noarch/usr/share/man/man1 + install -pm 644 /builddir/build/SOURCES/rpmlint.config /builddir/build/BUILDROOT/rpmlint-1.10-14.el8.noarch/usr/share/rpmlint/config + install -pm 644 /builddir/build/SOURCES/rpmlint.config.el4 /builddir/build/BUILDROOT/rpmlint-1.10-14.el8.noarch/usr/share/rpmlint/config.el4 + install -pm 644 /builddir/build/SOURCES/rpmlint.config.el5 /builddir/build/BUILDROOT/rpmlint-1.10-14.el8.noarch/usr/share/rpmlint/config.el5 ~/build/BUILDROOT/rpmlint-1.10-14.el8.noarch/usr/bin ~/build/BUILD/rpmlint-rpmlint-1.10 + pushd /builddir/build/BUILDROOT/rpmlint-1.10-14.el8.noarch/usr/bin + ln -s rpmlint el4-rpmlint + ln -s rpmlint el5-rpmlint ~/build/BUILD/rpmlint-rpmlint-1.10 + popd + rm -rf /builddir/build/BUILDROOT/rpmlint-1.10-14.el8.noarch/etc/bash_completion.d/ + /usr/lib/rpm/find-debuginfo.sh -j8 --strict-build-id -m -i --build-id-seed 1.10-14.el8 --unique-debug-suffix -1.10-14.el8.noarch --unique-debug-src-base rpmlint-1.10-14.el8.noarch --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/rpmlint-rpmlint-1.10 + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig /sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /builddir/build/BUILDROOT/rpmlint-1.10-14.el8.noarch/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 + /usr/lib/rpm/brp-python-hardlink + PYTHON3=/usr/libexec/platform-python + /usr/lib/rpm/redhat/brp-mangle-shebangs Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.704POY + umask 022 + cd /builddir/build/BUILD + cd rpmlint-rpmlint-1.10 + make check PYTHON=/usr/libexec/platform-python PYTEST=/usr/bin/py.test-3.6 FLAKE8=true ./test.sh Please ignore the possibly occurring output like this: .../Patch*.patch: No such file or directory . ---------------------------------------------------------------------- Ran 1 test in 0.011s OK ... ---------------------------------------------------------------------- Ran 3 tests in 0.000s OK sh: /usr/bin/perl: No such file or directory sh: /usr/bin/perl: No such file or directory sh: /usr/bin/perl: No such file or directory . ---------------------------------------------------------------------- Ran 1 test in 0.017s OK sh: /usr/bin/perl: No such file or directory sh: /usr/bin/perl: No such file or directory sh: /usr/bin/perl: No such file or directory . ---------------------------------------------------------------------- Ran 1 test in 0.018s OK sh: /usr/bin/perl: No such file or directory sh: /usr/bin/perl: No such file or directory sh: /usr/bin/perl: No such file or directory . ---------------------------------------------------------------------- Ran 1 test in 0.018s OK Check that rpmlint executes with no unexpected errors ...in default locale sh: /usr/bin/perl: No such file or directory sh: /usr/bin/perl: No such file or directory sh: /usr/bin/perl: No such file or directory objdump: can't disassemble for architecture UNKNOWN! objdump: can't disassemble for architecture UNKNOWN! objdump: can't disassemble for architecture UNKNOWN! ...in the C locale sh: /usr/bin/perl: No such file or directory sh: /usr/bin/perl: No such file or directory sh: /usr/bin/perl: No such file or directory objdump: can't disassemble for architecture UNKNOWN! objdump: can't disassemble for architecture UNKNOWN! objdump: can't disassemble for architecture UNKNOWN! ...with specfile from stdin sh: /usr/bin/perl: No such file or directory sh: /usr/bin/perl: No such file or directory sh: /usr/bin/perl: No such file or directory /usr/bin/py.test-3.6 tests ============================= test session starts ============================== platform linux -- Python 3.6.8, pytest-3.4.2, py-1.5.3, pluggy-0.6.0 -- /usr/libexec/platform-python cachedir: .pytest_cache rootdir: /builddir/build/BUILD/rpmlint-rpmlint-1.10, inifile: collecting ... collected 33 items test/test_binaries.py::TestForbiddenCCalls::test_forbidden_c_calls PASSED [ 3%] test/test_binaries.py::TestForbiddenCCalls::test_waived_forbidden_c_calls PASSED [ 6%] test/test_distribution.py::TestDistribution::test_distribution_tags PASSED [ 9%] test/test_files.py::TestPythonBytecodeToScript::test_pep3147 PASSED [ 12%] test/test_files.py::TestPythonBytecodeToScript::test_py2 PASSED [ 15%] test/test_files.py::TestPythonBytecodeToScript::test_pep0488 PASSED [ 18%] test/test_files.py::TestPythonBytecodeMagic::test_python_bytecode_magic PASSED [ 21%] test/test_files.py::TestDevelFiles::test_python_bytecode_magic PASSED [ 24%] test/test_files.py::test_script_interpreter PASSED [ 27%] test/test_scl.py::TestSCLBasic::test_nonscl_spec_silent PASSED [ 30%] test/test_scl.py::TestSCLBasic::test_nonscl_binary_silent PASSED [ 33%] test/test_scl.py::TestSCLBasic::test_bunch_of_scl_source_rpms PASSED [ 36%] test/test_scl.py::TestSCLBasic::test_bunch_of_scl_binary_rpms PASSED [ 39%] test/test_scl.py::TestSCLBasic::test_correct_nodejs PASSED [ 42%] test/test_scl.py::TestSCLBasic::test_undeclared PASSED [ 45%] test/test_scl.py::TestSCLMain::test_nobuild PASSED [ 48%] test/test_scl.py::TestSCLMain::test_noruntime PASSED [ 51%] test/test_scl.py::TestSCLMain::test_missing_requires PASSED [ 54%] test/test_scl.py::TestSCLMain::test_alien_subpackage PASSED [ 57%] test/test_scl.py::TestSCLMain::test_nosclinstall PASSED [ 60%] test/test_scl.py::TestSCLMain::test_noarch PASSED [ 63%] test/test_scl.py::TestSCLMain::test_badfiles PASSED [ 66%] test/test_scl.py::TestSCLSource::test_no_pkg_name PASSED [ 69%] test/test_scl.py::TestSCLSource::test_name_without_prefix PASSED [ 72%] test/test_scl.py::TestSCLSource::test_name_with_prefix_without_condition PASSED [ 75%] test/test_scl.py::TestSCLSource::test_conflicts_without_prefix PASSED [ 78%] test/test_scl.py::TestSCLSource::test_provides_without_prefix PASSED [ 81%] test/test_scl.py::TestSCLSource::test_main_package_without_scl_require PASSED [ 84%] test/test_scl.py::TestSCLSource::test_n_supbackage_without_prefix PASSED [ 87%] test/test_scl.py::TestSCLSource::test_setup_without_n PASSED [ 90%] test/test_scl.py::TestSCLBinary::test_scl_name_screwed_up PASSED [ 93%] test/test_scl.py::TestSCLBinary::test_scl_forbidden_folders PASSED [ 96%] test/test_scl.py::TestSCLBinary::test_scl_macros_outside_of_build PASSED [100%] ========================== 33 passed in 25.00 seconds ========================== /usr/lib/python3.6/site-packages/_pytest/assertion/rewrite.py:6: DeprecationWarning: the imp module is deprecated in favour of importlib; see the module's documentation for alternative uses import imp /usr/lib/python3.6/site-packages/_pytest/fixtures.py:847: DeprecationWarning: The `convert` argument is deprecated in favor of `converter`. It will be removed after 2019/01. params = attr.ib(convert=attr.converters.optional(tuple)) /usr/lib/python3.6/site-packages/_pytest/fixtures.py:849: DeprecationWarning: The `convert` argument is deprecated in favor of `converter`. It will be removed after 2019/01. ids = attr.ib(default=None, convert=_ensure_immutable_ids) man page tests Skipped, man does not seem to recognize the --warnings switch + exit 0 Processing files: rpmlint-1.10-14.el8.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.pJxL6S + umask 022 + cd /builddir/build/BUILD + cd rpmlint-rpmlint-1.10 + DOCDIR=/builddir/build/BUILDROOT/rpmlint-1.10-14.el8.noarch/usr/share/doc/rpmlint + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/rpmlint-1.10-14.el8.noarch/usr/share/doc/rpmlint + cp -pr README.md /builddir/build/BUILDROOT/rpmlint-1.10-14.el8.noarch/usr/share/doc/rpmlint + cp -pr config.example /builddir/build/BUILDROOT/rpmlint-1.10-14.el8.noarch/usr/share/doc/rpmlint + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.94uWoN + umask 022 + cd /builddir/build/BUILD + cd rpmlint-rpmlint-1.10 + LICENSEDIR=/builddir/build/BUILDROOT/rpmlint-1.10-14.el8.noarch/usr/share/licenses/rpmlint + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/rpmlint-1.10-14.el8.noarch/usr/share/licenses/rpmlint + cp -pr COPYING /builddir/build/BUILDROOT/rpmlint-1.10-14.el8.noarch/usr/share/licenses/rpmlint + exit 0 Provides: config(rpmlint) = 1.10-14.el8 rpmlint = 1.10-14.el8 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /usr/libexec/platform-python Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/rpmlint-1.10-14.el8.noarch Wrote: /builddir/build/RPMS/rpmlint-1.10-14.el8.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.Rp9l6I + umask 022 + cd /builddir/build/BUILD + cd rpmlint-rpmlint-1.10 + /usr/bin/rm -rf /builddir/build/BUILDROOT/rpmlint-1.10-14.el8.noarch + exit 0 Child return code was: 0