============================ rpmlint session starts ============================ rpmlint: 2.6.1 configuration: /opt/testing/lib64/python3.11/rpmlint/configdefaults.toml /opt/testing/share/rpmlint/cron-whitelist.toml /opt/testing/share/rpmlint/dbus-services.toml /opt/testing/share/rpmlint/device-files-whitelist.toml /opt/testing/share/rpmlint/licenses.toml /opt/testing/share/rpmlint/opensuse.toml /opt/testing/share/rpmlint/pam-modules.toml /opt/testing/share/rpmlint/permissions-whitelist.toml /opt/testing/share/rpmlint/pie-executables.toml /opt/testing/share/rpmlint/polkit-rules-whitelist.toml /opt/testing/share/rpmlint/scoring.toml /opt/testing/share/rpmlint/security.toml /opt/testing/share/rpmlint/sudoers-whitelist.toml /opt/testing/share/rpmlint/sysctl-whitelist.toml /opt/testing/share/rpmlint/systemd-tmpfiles.toml /opt/testing/share/rpmlint/users-groups.toml /opt/testing/share/rpmlint/world-writable-whitelist.toml /opt/testing/share/rpmlint/zypper-plugins.toml /etc/xdg/rpmlint/scoring-strict.override.toml checks: 41, packages: 6 python39-testsuite.aarch64: E: zero-length /usr/lib64/python3.9/test/nullcert.pem python39-testsuite.aarch64: E: zero-length /usr/lib64/python3.9/test/test_import/data/package/submodule.py python39-testsuite.aarch64: E: zero-length /usr/lib64/python3.9/test/test_import/data/package2/submodule2.py python39-testsuite.aarch64: E: zero-length /usr/lib64/python3.9/test/test_import/data/unwritable/x.py python39-testsuite.aarch64: E: zero-length /usr/lib64/python3.9/test/test_importlib/data03/namespace/resource1.txt python39-testsuite.aarch64: E: zero-length /usr/lib64/python3.9/test/test_importlib/namespace_pkgs/module_and_namespace_package/a_test/empty python39-tools.aarch64: W: wrong-file-end-of-line-encoding /usr/share/doc/packages/python39-core/Tools/msi/bundle/bootstrap/pythonba.sln python39-tools.aarch64: W: wrong-file-end-of-line-encoding /usr/share/doc/packages/python39-core/Tools/msi/bundle/bootstrap/pythonba.vcxproj python39-tools.aarch64: W: wrong-file-end-of-line-encoding /usr/share/doc/packages/python39-core/Tools/msi/make_appx.ps1 python39-tools.aarch64: W: wrong-file-end-of-line-encoding /usr/share/doc/packages/python39-core/Tools/msi/make_cat.ps1 python39-tools.aarch64: W: wrong-file-end-of-line-encoding /usr/share/doc/packages/python39-core/Tools/msi/make_zip.proj python39-tools.aarch64: W: wrong-file-end-of-line-encoding /usr/share/doc/packages/python39-core/Tools/msi/msi.props python39-tools.aarch64: W: wrong-file-end-of-line-encoding /usr/share/doc/packages/python39-core/Tools/msi/sign_build.ps1 python39-tools.aarch64: W: wrong-file-end-of-line-encoding /usr/share/doc/packages/python39-core/Tools/msi/uploadrelease.proj python39-tools.aarch64: W: wrong-file-end-of-line-encoding /usr/share/doc/packages/python39-core/Tools/msi/uploadrelease.ps1 python39-tools.aarch64: W: wrong-file-end-of-line-encoding /usr/share/doc/packages/python39-core/Tools/msi/wix.props python39-tools.aarch64: W: wrong-file-end-of-line-encoding /usr/share/doc/packages/python39-core/Tools/nuget/make_pkg.proj This file has wrong end-of-line encoding, usually caused by creation or modification on a non-Unix system. It could prevent it from being displayed correctly in some circumstances. python39-tools.aarch64: E: version-control-internal-file /usr/share/doc/packages/python39-core/Tools/peg_generator/.gitignore You have included file(s) internally used by a version control system in the package. Move these files out of the package and rebuild it. python39-base.aarch64: E: script-without-shebang /usr/lib64/python3.9/base64.py python39-base.aarch64: E: script-without-shebang /usr/lib64/python3.9/cProfile.py python39-base.aarch64: E: script-without-shebang /usr/lib64/python3.9/cgi.py python39-base.aarch64: E: script-without-shebang /usr/lib64/python3.9/encodings/rot_13.py python39-base.aarch64: E: script-without-shebang /usr/lib64/python3.9/lib2to3/pgen2/token.py python39-base.aarch64: E: script-without-shebang /usr/lib64/python3.9/pdb.py python39-base.aarch64: E: script-without-shebang /usr/lib64/python3.9/platform.py python39-base.aarch64: E: script-without-shebang /usr/lib64/python3.9/profile.py python39-base.aarch64: E: script-without-shebang /usr/lib64/python3.9/pydoc.py python39-base.aarch64: E: script-without-shebang /usr/lib64/python3.9/quopri.py python39-base.aarch64: E: script-without-shebang /usr/lib64/python3.9/smtpd.py python39-base.aarch64: E: script-without-shebang /usr/lib64/python3.9/smtplib.py python39-base.aarch64: E: script-without-shebang /usr/lib64/python3.9/socket.py python39-base.aarch64: E: script-without-shebang /usr/lib64/python3.9/tabnanny.py python39-base.aarch64: E: script-without-shebang /usr/lib64/python3.9/tarfile.py python39-base.aarch64: E: script-without-shebang /usr/lib64/python3.9/timeit.py python39-base.aarch64: E: script-without-shebang /usr/lib64/python3.9/trace.py python39-base.aarch64: E: script-without-shebang /usr/lib64/python3.9/webbrowser.py python39-devel.aarch64: E: script-without-shebang /usr/share/gdb/auto-load/usr/lib64/libpython3.9.so.1.0-gdb.py python39-testsuite.aarch64: E: script-without-shebang /usr/lib64/python3.9/lib2to3/tests/data/different_encoding.py python39-testsuite.aarch64: E: script-without-shebang /usr/lib64/python3.9/lib2to3/tests/data/false_encoding.py python39-testsuite.aarch64: E: script-without-shebang /usr/lib64/python3.9/lib2to3/tests/pytree_idempotency.py python39-testsuite.aarch64: E: script-without-shebang /usr/lib64/python3.9/test/bisect_cmd.py python39-testsuite.aarch64: E: script-without-shebang /usr/lib64/python3.9/test/curses_tests.py python39-testsuite.aarch64: E: script-without-shebang /usr/lib64/python3.9/test/re_tests.py python39-testsuite.aarch64: E: script-without-shebang /usr/lib64/python3.9/test/regrtest.py python39-testsuite.aarch64: E: script-without-shebang /usr/lib64/python3.9/test/test_array.py python39-testsuite.aarch64: E: script-without-shebang /usr/lib64/python3.9/test/test_socket.py python39-tools.aarch64: E: script-without-shebang /usr/lib64/python3.9/turtledemo/__main__.py python39-tools.aarch64: E: script-without-shebang /usr/lib64/python3.9/turtledemo/bytedesign.py python39-tools.aarch64: E: script-without-shebang /usr/lib64/python3.9/turtledemo/clock.py python39-tools.aarch64: E: script-without-shebang /usr/lib64/python3.9/turtledemo/forest.py python39-tools.aarch64: E: script-without-shebang /usr/lib64/python3.9/turtledemo/fractalcurves.py python39-tools.aarch64: E: script-without-shebang /usr/lib64/python3.9/turtledemo/lindenmayer.py python39-tools.aarch64: E: script-without-shebang /usr/lib64/python3.9/turtledemo/minimal_hanoi.py python39-tools.aarch64: E: script-without-shebang /usr/lib64/python3.9/turtledemo/paint.py python39-tools.aarch64: E: script-without-shebang /usr/lib64/python3.9/turtledemo/peace.py python39-tools.aarch64: E: script-without-shebang /usr/lib64/python3.9/turtledemo/penrose.py python39-tools.aarch64: E: script-without-shebang /usr/lib64/python3.9/turtledemo/planet_and_moon.py python39-tools.aarch64: E: script-without-shebang /usr/lib64/python3.9/turtledemo/sorting_animate.py python39-tools.aarch64: E: script-without-shebang /usr/lib64/python3.9/turtledemo/tree.py python39-tools.aarch64: E: script-without-shebang /usr/lib64/python3.9/turtledemo/yinyang.py This text file has executable bits set or is located in a path dedicated for executables, but lacks a shebang and cannot thus be executed. If the file is meant to be an executable script, add the shebang, otherwise remove the executable bits or move the file elsewhere. python39-devel.aarch64: W: potential-bashisms /usr/lib64/python3.9/config-3.9-aarch64-linux-gnu/install-sh checkbashisms reported potential bashisms in a /bin/sh shell script, you might want to manually check this script for bashisms. python39-tools.aarch64: W: package-with-huge-docs 93% More than half the size of your package is documentation. Consider splitting it into a -doc subpackage. python39-base.aarch64: W: obsolete-not-provided python3 If a package is obsoleted by a compatible replacement, the obsoleted package should also be provided in order to not cause unnecessary dependency breakage. If the obsoleting package is not a compatible replacement for the old one, leave out the Provides. python39.spec:781: W: macro-in-comment %{sitedir} python39.spec:781: W: macro-in-comment %{python_abi} There is a unescaped macro after a shell style comment in the specfile. Macros are expanded everywhere, so check if it can cause a problem in this case and escape the macro with another leading % if appropriate. python39-core.src: E: invalid-spec-name The spec file name (without the .spec suffix) must match the package name ('Name:' tag). python39-tools.aarch64: W: hidden-file-or-dir /usr/share/doc/packages/python39-core/Tools/peg_generator/.clang-format python39-tools.aarch64: W: hidden-file-or-dir /usr/share/doc/packages/python39-core/Tools/peg_generator/.gitignore The file or directory is hidden. You should see if this is normal, and delete it from the package if not. python39-base.aarch64: W: files-duplicate /usr/lib64/python3.9/_import_failed/__pycache__/xxlimited.cpython-39.pyc /usr/lib64/python3.9/_import_failed/__pycache__/_ctypes_test.cpython-39.opt-1.pyc:/usr/lib64/python3.9/_import_failed/__pycache__/_ctypes_test.cpython-39.pyc:/usr/lib64/python3.9/_import_failed/__pycache__/_curses.cpython-39.opt-1.pyc:/usr/lib64/python3.9/_import_failed/__pycache__/_curses.cpython-39.pyc:/usr/lib64/python3.9/_import_failed/__pycache__/_curses_panel.cpython-39.opt-1.pyc:(and 40 more) Your package contains duplicated files that are not hard- or symlinks. You should use the %fdupes macro to link the files to one. python39-testsuite.aarch64: E: devel-file-in-non-devel-package (Badness: 50) /usr/lib64/python3.9/distutils/tests/xxmodule.c A file that is needed only e.g. when developing or building software is included in a non-devel package. These files should go in devel packages. python39-base.aarch64: W: binary-or-shlib-calls-gethostbyname /usr/lib64/python3.9/lib-dynload/_socket.cpython-39-aarch64-linux-gnu.so The binary calls gethostbyname. Please port the code to use getaddrinfo. Check time report (>1% & >0.1s): Check Duration (in s) Fraction (in %) Checked files ExtractRpm 3.6 41.3 BinariesCheck 1.4 16.3 BashismsCheck 1.3 15.2 FilesCheck 0.9 10.8 BuildRootAndDateCheck 0.5 6.0 SignatureCheck 0.3 3.1 FilelistCheck 0.2 2.0 SpecCheck 0.1 1.4 TOTAL 8.7 100.0 6 packages and 0 specfiles checked; 51 errors, 20 warnings, 87 filtered, 100 badness; has taken 9.0 s