Mock Version: 2.16 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target aarch64 --nodeps /builddir/build/SPECS/rpmlint.spec'], chrootPath='/var/lib/mock/rocky-9-aarch64/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=1003gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target aarch64 --nodeps /builddir/build/SPECS/rpmlint.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: aarch64 Building for target aarch64 setting SOURCE_DATE_EPOCH=1641945600 Wrote: /builddir/build/SRPMS/rpmlint-1.11-19.el9.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target aarch64 --nodeps /builddir/build/SPECS/rpmlint.spec'], chrootPath='/var/lib/mock/rocky-9-aarch64/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=1003gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target aarch64 --nodeps /builddir/build/SPECS/rpmlint.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: aarch64 Building for target aarch64 setting SOURCE_DATE_EPOCH=1641945600 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.6RnMzU + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf rpmlint-rpmlint-1.11 + /usr/bin/gzip -dc /builddir/build/SOURCES/rpmlint-1.11.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd rpmlint-rpmlint-1.11 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . Patch #199 (rpmlint-1.10-suppress-locale-error.patch): + echo 'Patch #199 (rpmlint-1.10-suppress-locale-error.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file rpmlint Patch #212 (rpmlint-1.11-rpm4.15.patch): + echo 'Patch #212 (rpmlint-1.11-rpm4.15.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file Pkg.py Hunk #1 succeeded at 172 (offset 29 lines). Patch #213 (rpmlint-1.11-libc-warnings.patch): + echo 'Patch #213 (rpmlint-1.11-libc-warnings.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file BinariesCheck.py Patch #214 (rpmlint-1.11-no-python-macro.patch): + echo 'Patch #214 (rpmlint-1.11-no-python-macro.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file TagsCheck.py Patch #215 (rpmlint-1.11-spellcheck-handle-missing-language-error.patch): + echo 'Patch #215 (rpmlint-1.11-spellcheck-handle-missing-language-error.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file TagsCheck.py Patch #216 (rpmlint-1.11-disable-flake8-self-test.patch): + echo 'Patch #216 (rpmlint-1.11-disable-flake8-self-test.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file test.sh + sed -i 's|1.10|1.11|g' Makefile + sed -i 's/'\''wb'\''/'\''w'\''/' PostCheck.py + sed -i -e /MenuCheck/d Config.py + cp -p config config.example + install -pm 644 /builddir/build/SOURCES/rpmlint-etc.config config + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.0mFbpy + umask 022 + cd /builddir/build/BUILD + cd rpmlint-rpmlint-1.11 + make COMPILE_PYC=1 PYTHON=/usr/bin/python3 echo "# Automatically generated, do not edit" > __version__.py echo "__version__ = '1.11'" >> __version__.py + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.P6zYVj + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/rpmlint-1.11-19.el9.aarch64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/rpmlint-1.11-19.el9.aarch64 ++ dirname /builddir/build/BUILDROOT/rpmlint-1.11-19.el9.aarch64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/rpmlint-1.11-19.el9.aarch64 + cd rpmlint-rpmlint-1.11 + touch rpmlint.pyc rpmlint.pyo + make install DESTDIR=/builddir/build/BUILDROOT/rpmlint-1.11-19.el9.aarch64 ETCDIR=/etc MANDIR=/usr/share/man LIBDIR=/usr/share/rpmlint BINDIR=/usr/bin PYTHON=/usr/bin/python3 mkdir -p /builddir/build/BUILDROOT/rpmlint-1.11-19.el9.aarch64/usr/share/rpmlint /builddir/build/BUILDROOT/rpmlint-1.11-19.el9.aarch64/usr/bin /builddir/build/BUILDROOT/rpmlint-1.11-19.el9.aarch64/etc/rpmlint /builddir/build/BUILDROOT/rpmlint-1.11-19.el9.aarch64/usr/share/man/man1 cp -p *.py /builddir/build/BUILDROOT/rpmlint-1.11-19.el9.aarch64/usr/share/rpmlint if [ "x" = "x1" ] ; then \ /usr/bin/python3 -m py_compile \ /builddir/build/BUILDROOT/rpmlint-1.11-19.el9.aarch64/usr/share/rpmlint/[A-Z]*.py \ /builddir/build/BUILDROOT/rpmlint-1.11-19.el9.aarch64/usr/share/rpmlint/__*__.py ; \ fi /usr/bin/python3 -O -m compileall -d /usr/share/rpmlint /builddir/build/BUILDROOT/rpmlint-1.11-19.el9.aarch64/usr/share/rpmlint Listing '/builddir/build/BUILDROOT/rpmlint-1.11-19.el9.aarch64/usr/share/rpmlint'... Compiling '/builddir/build/BUILDROOT/rpmlint-1.11-19.el9.aarch64/usr/share/rpmlint/AbstractCheck.py'... Compiling '/builddir/build/BUILDROOT/rpmlint-1.11-19.el9.aarch64/usr/share/rpmlint/AppDataCheck.py'... Compiling '/builddir/build/BUILDROOT/rpmlint-1.11-19.el9.aarch64/usr/share/rpmlint/BinariesCheck.py'... Compiling '/builddir/build/BUILDROOT/rpmlint-1.11-19.el9.aarch64/usr/share/rpmlint/Config.py'... Compiling '/builddir/build/BUILDROOT/rpmlint-1.11-19.el9.aarch64/usr/share/rpmlint/ConfigCheck.py'... Compiling '/builddir/build/BUILDROOT/rpmlint-1.11-19.el9.aarch64/usr/share/rpmlint/DistributionCheck.py'... Compiling '/builddir/build/BUILDROOT/rpmlint-1.11-19.el9.aarch64/usr/share/rpmlint/DocFilesCheck.py'... Compiling '/builddir/build/BUILDROOT/rpmlint-1.11-19.el9.aarch64/usr/share/rpmlint/FHSCheck.py'... Compiling '/builddir/build/BUILDROOT/rpmlint-1.11-19.el9.aarch64/usr/share/rpmlint/FilesCheck.py'... Compiling '/builddir/build/BUILDROOT/rpmlint-1.11-19.el9.aarch64/usr/share/rpmlint/Filter.py'... Compiling '/builddir/build/BUILDROOT/rpmlint-1.11-19.el9.aarch64/usr/share/rpmlint/I18NCheck.py'... Compiling '/builddir/build/BUILDROOT/rpmlint-1.11-19.el9.aarch64/usr/share/rpmlint/InitScriptCheck.py'... Compiling '/builddir/build/BUILDROOT/rpmlint-1.11-19.el9.aarch64/usr/share/rpmlint/LSBCheck.py'... Compiling '/builddir/build/BUILDROOT/rpmlint-1.11-19.el9.aarch64/usr/share/rpmlint/MenuCheck.py'... Compiling '/builddir/build/BUILDROOT/rpmlint-1.11-19.el9.aarch64/usr/share/rpmlint/MenuXDGCheck.py'... Compiling '/builddir/build/BUILDROOT/rpmlint-1.11-19.el9.aarch64/usr/share/rpmlint/NamingPolicyCheck.py'... Compiling '/builddir/build/BUILDROOT/rpmlint-1.11-19.el9.aarch64/usr/share/rpmlint/PamCheck.py'... Compiling '/builddir/build/BUILDROOT/rpmlint-1.11-19.el9.aarch64/usr/share/rpmlint/Pkg.py'... Compiling '/builddir/build/BUILDROOT/rpmlint-1.11-19.el9.aarch64/usr/share/rpmlint/PostCheck.py'... Compiling '/builddir/build/BUILDROOT/rpmlint-1.11-19.el9.aarch64/usr/share/rpmlint/RpmFileCheck.py'... Compiling '/builddir/build/BUILDROOT/rpmlint-1.11-19.el9.aarch64/usr/share/rpmlint/SCLCheck.py'... Compiling '/builddir/build/BUILDROOT/rpmlint-1.11-19.el9.aarch64/usr/share/rpmlint/SignatureCheck.py'... Compiling '/builddir/build/BUILDROOT/rpmlint-1.11-19.el9.aarch64/usr/share/rpmlint/SourceCheck.py'... Compiling '/builddir/build/BUILDROOT/rpmlint-1.11-19.el9.aarch64/usr/share/rpmlint/SpecCheck.py'... Compiling '/builddir/build/BUILDROOT/rpmlint-1.11-19.el9.aarch64/usr/share/rpmlint/TagsCheck.py'... Compiling '/builddir/build/BUILDROOT/rpmlint-1.11-19.el9.aarch64/usr/share/rpmlint/ZipCheck.py'... Compiling '/builddir/build/BUILDROOT/rpmlint-1.11-19.el9.aarch64/usr/share/rpmlint/__isocodes__.py'... Compiling '/builddir/build/BUILDROOT/rpmlint-1.11-19.el9.aarch64/usr/share/rpmlint/__version__.py'... for file in rpmlint rpmdiff ; do \ sed -e "s,#!/usr/bin/python ,#!/usr/bin/python3 ," $file > /builddir/build/BUILDROOT/rpmlint-1.11-19.el9.aarch64/usr/bin/$file ; \ chmod +x /builddir/build/BUILDROOT/rpmlint-1.11-19.el9.aarch64/usr/bin/$file ; \ done cp -p config /builddir/build/BUILDROOT/rpmlint-1.11-19.el9.aarch64/etc/rpmlint compdir=`pkg-config --variable=completionsdir bash-completion 2>/dev/null` ; \ if [ "x$compdir" = "x" ] ; then \ mkdir -p /builddir/build/BUILDROOT/rpmlint-1.11-19.el9.aarch64/etc/bash_completion.d ; \ cp -p rpmlint.bash-completion /builddir/build/BUILDROOT/rpmlint-1.11-19.el9.aarch64/etc/bash_completion.d/rpmlint ; \ else \ mkdir -p /builddir/build/BUILDROOT/rpmlint-1.11-19.el9.aarch64$compdir ; \ cp -p rpmlint.bash-completion /builddir/build/BUILDROOT/rpmlint-1.11-19.el9.aarch64$compdir/rpmlint ; \ ln -sf rpmlint /builddir/build/BUILDROOT/rpmlint-1.11-19.el9.aarch64$compdir/rpmdiff ; \ fi cp -p rpmdiff.1 rpmlint.1 /builddir/build/BUILDROOT/rpmlint-1.11-19.el9.aarch64/usr/share/man/man1 + install -pm 644 /builddir/build/SOURCES/rpmlint.config /builddir/build/BUILDROOT/rpmlint-1.11-19.el9.aarch64/usr/share/rpmlint/config + rm -rf /builddir/build/BUILDROOT/rpmlint-1.11-19.el9.aarch64/etc/bash_completion.d/ + /usr/lib/rpm/find-debuginfo.sh -j8 --strict-build-id -m -i --build-id-seed 1.11-19.el9 --unique-debug-suffix -1.11-19.el9.aarch64 --unique-debug-src-base rpmlint-1.11-19.el9.aarch64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/rpmlint-rpmlint-1.11 + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.SZXhmV + umask 022 + cd /builddir/build/BUILD + cd rpmlint-rpmlint-1.11 + make check PYTHON=/usr/bin/python3 PYTEST=pytest-3 ./test.sh Please ignore the possibly occurring output like this: .../Patch*.patch: No such file or directory . ---------------------------------------------------------------------- Ran 1 test in 0.041s OK . ---------------------------------------------------------------------- Ran 1 test in 0.011s OK ... ---------------------------------------------------------------------- Ran 3 tests in 0.000s OK . ---------------------------------------------------------------------- Ran 1 test in 0.027s OK . ---------------------------------------------------------------------- Ran 1 test in 0.030s OK . ---------------------------------------------------------------------- Ran 1 test in 0.030s OK Check that rpmlint executes with no unexpected errors ...in default locale /builddir/build/BUILD/rpmlint-rpmlint-1.11/MenuXDGCheck.py:35: DeprecationWarning: This method will be removed in future versions. Use 'parser.read_file()' instead. cfp.readfp(inputf, filename) ...in the C locale /builddir/build/BUILD/rpmlint-rpmlint-1.11/MenuXDGCheck.py:35: DeprecationWarning: This method will be removed in future versions. Use 'parser.read_file()' instead. cfp.readfp(inputf, filename) ...with specfile from stdin pytest-3 tests ============================= test session starts ============================== platform linux -- Python 3.9.9, pytest-6.2.2, py-1.10.0, pluggy-0.13.1 -- /usr/bin/python3 cachedir: .pytest_cache rootdir: /builddir/build/BUILD/rpmlint-rpmlint-1.11 collecting ... collected 43 items test/test_binaries.py::TestForbiddenCCalls::test_forbidden_c_calls PASSED [ 2%] test/test_binaries.py::TestForbiddenCCalls::test_waived_forbidden_c_calls PASSED [ 4%] test/test_binaries.py::TestForbiddenCCalls::test_lto_bytecode PASSED [ 6%] test/test_distribution.py::TestDistribution::test_distribution_tags PASSED [ 9%] test/test_files.py::TestPythonBytecodeToScript::test_pep3147 PASSED [ 11%] test/test_files.py::TestPythonBytecodeToScript::test_py2 PASSED [ 13%] test/test_files.py::TestPythonBytecodeToScript::test_pep0488 PASSED [ 16%] test/test_files.py::TestPythonBytecodeMagic::test_python_bytecode_magic PASSED [ 18%] test/test_files.py::TestPythonBytecodeMagic::test_pyc_magic_from_chunk[36-3379] PASSED [ 20%] test/test_files.py::TestPythonBytecodeMagic::test_pyc_magic_from_chunk[37-3393] PASSED [ 23%] test/test_files.py::TestPythonBytecodeMtime::test_pyc_mtime_from_chunk[36-1513659236] PASSED [ 25%] test/test_files.py::TestPythonBytecodeMtime::test_pyc_mtime_from_chunk[37-1519778958] PASSED [ 27%] test/test_files.py::TestDevelFiles::test_python_bytecode_magic PASSED [ 30%] test/test_files.py::test_script_interpreter PASSED [ 32%] test/test_files.py::test_scm_regex PASSED [ 34%] test/test_files.py::test_lib_regex PASSED [ 37%] test/test_menuxdg.py::TestMenuXDGParsing::test_raises_parse_error PASSED [ 39%] test/test_scl.py::TestSCLBasic::test_nonscl_spec_silent PASSED [ 41%] test/test_scl.py::TestSCLBasic::test_nonscl_binary_silent PASSED [ 44%] test/test_scl.py::TestSCLBasic::test_bunch_of_scl_source_rpms PASSED [ 46%] test/test_scl.py::TestSCLBasic::test_bunch_of_scl_binary_rpms PASSED [ 48%] test/test_scl.py::TestSCLBasic::test_correct_nodejs PASSED [ 51%] test/test_scl.py::TestSCLBasic::test_undeclared PASSED [ 53%] test/test_scl.py::TestSCLMain::test_nobuild PASSED [ 55%] test/test_scl.py::TestSCLMain::test_noruntime PASSED [ 58%] test/test_scl.py::TestSCLMain::test_missing_requires PASSED [ 60%] test/test_scl.py::TestSCLMain::test_alien_subpackage PASSED [ 62%] test/test_scl.py::TestSCLMain::test_nosclinstall PASSED [ 65%] test/test_scl.py::TestSCLMain::test_noarch PASSED [ 67%] test/test_scl.py::TestSCLMain::test_badfiles PASSED [ 69%] test/test_scl.py::TestSCLSource::test_no_pkg_name PASSED [ 72%] test/test_scl.py::TestSCLSource::test_name_without_prefix PASSED [ 74%] test/test_scl.py::TestSCLSource::test_name_with_prefix_without_condition PASSED [ 76%] test/test_scl.py::TestSCLSource::test_conflicts_without_prefix PASSED [ 79%] test/test_scl.py::TestSCLSource::test_provides_without_prefix PASSED [ 81%] test/test_scl.py::TestSCLSource::test_main_package_without_scl_require PASSED [ 83%] test/test_scl.py::TestSCLSource::test_n_supbackage_without_prefix PASSED [ 86%] test/test_scl.py::TestSCLSource::test_setup_without_n PASSED [ 88%] test/test_scl.py::TestSCLBinary::test_scl_name_screwed_up PASSED [ 90%] test/test_scl.py::TestSCLBinary::test_scl_forbidden_folders PASSED [ 93%] test/test_scl.py::TestSCLBinary::test_scl_macros_outside_of_build PASSED [ 95%] test/test_sources.py::TestSourceCheck::test_inconsistent_file_extension PASSED [ 97%] test/test_tags.py::TestTags::test_unexpanded_macros PASSED [100%] =============================== warnings summary =============================== test/test_menuxdg.py::TestMenuXDGParsing::test_raises_parse_error /builddir/build/BUILD/rpmlint-rpmlint-1.11/MenuXDGCheck.py:35: DeprecationWarning: This method will be removed in future versions. Use 'parser.read_file()' instead. cfp.readfp(inputf, filename) -- Docs: https://docs.pytest.org/en/stable/warnings.html ======================== 43 passed, 1 warning in 9.97s ========================= man page tests Skipped, man does not seem to recognize the --warnings switch + RPM_EC=0 ++ jobs -p + exit 0 Processing files: rpmlint-1.11-19.el9.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.rjWQB7 + umask 022 + cd /builddir/build/BUILD + cd rpmlint-rpmlint-1.11 + DOCDIR=/builddir/build/BUILDROOT/rpmlint-1.11-19.el9.aarch64/usr/share/doc/rpmlint + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/rpmlint-1.11-19.el9.aarch64/usr/share/doc/rpmlint + cp -pr README.md /builddir/build/BUILDROOT/rpmlint-1.11-19.el9.aarch64/usr/share/doc/rpmlint + cp -pr config.example /builddir/build/BUILDROOT/rpmlint-1.11-19.el9.aarch64/usr/share/doc/rpmlint + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.DZJC3y + umask 022 + cd /builddir/build/BUILD + cd rpmlint-rpmlint-1.11 + LICENSEDIR=/builddir/build/BUILDROOT/rpmlint-1.11-19.el9.aarch64/usr/share/licenses/rpmlint + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/rpmlint-1.11-19.el9.aarch64/usr/share/licenses/rpmlint + cp -pr COPYING /builddir/build/BUILDROOT/rpmlint-1.11-19.el9.aarch64/usr/share/licenses/rpmlint + RPM_EC=0 ++ jobs -p + exit 0 Provides: config(rpmlint) = 1.11-19.el9 rpmlint = 1.11-19.el9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /usr/bin/python3 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/rpmlint-1.11-19.el9.aarch64 Wrote: /builddir/build/RPMS/rpmlint-1.11-19.el9.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.1fe1Ai + umask 022 + cd /builddir/build/BUILD + cd rpmlint-rpmlint-1.11 + /usr/bin/rm -rf /builddir/build/BUILDROOT/rpmlint-1.11-19.el9.aarch64 + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0