============================ rpmlint session starts ============================ rpmlint: 2.8.0 configuration: /opt/testing/lib/python3.13/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 rpmlintrc: /home/abuild/rpmbuild/SOURCES/python311-rpmlintrc checks: 42, packages: 6 python311-testsuite.armv7hl: E: zero-length /usr/lib/python3.11/test/certdata/nullcert.pem python311-testsuite.armv7hl: E: zero-length /usr/lib/python3.11/test/regrtestdata/import_from_tests/test_regrtest_b/util.py python311-testsuite.armv7hl: E: zero-length /usr/lib/python3.11/test/test_import/data/package/submodule.py python311-testsuite.armv7hl: E: zero-length /usr/lib/python3.11/test/test_import/data/package2/submodule2.py python311-testsuite.armv7hl: E: zero-length /usr/lib/python3.11/test/test_import/data/unwritable/x.py python311-testsuite.armv7hl: E: zero-length /usr/lib/python3.11/test/test_importlib/data03/namespace/resource1.txt python311-testsuite.armv7hl: E: zero-length /usr/lib/python3.11/test/test_importlib/namespace_pkgs/module_and_namespace_package/a_test/empty python311-tools.armv7hl: E: zero-length /usr/share/doc/packages/python311-core/Tools/c-analyzer/c_common/info.py python311-tools.armv7hl: E: zero-length /usr/share/doc/packages/python311-core/Tools/c-analyzer/c_common/show.py python311-tools.armv7hl: W: wrong-file-end-of-line-encoding /usr/share/doc/packages/python311-core/Tools/msi/bundle/bootstrap/pythonba.sln python311-tools.armv7hl: W: wrong-file-end-of-line-encoding /usr/share/doc/packages/python311-core/Tools/msi/bundle/bootstrap/pythonba.vcxproj python311-tools.armv7hl: W: wrong-file-end-of-line-encoding /usr/share/doc/packages/python311-core/Tools/msi/make_appx.ps1 python311-tools.armv7hl: W: wrong-file-end-of-line-encoding /usr/share/doc/packages/python311-core/Tools/msi/make_cat.ps1 python311-tools.armv7hl: W: wrong-file-end-of-line-encoding /usr/share/doc/packages/python311-core/Tools/msi/make_zip.proj python311-tools.armv7hl: W: wrong-file-end-of-line-encoding /usr/share/doc/packages/python311-core/Tools/msi/msi.props python311-tools.armv7hl: W: wrong-file-end-of-line-encoding /usr/share/doc/packages/python311-core/Tools/msi/sign_build.ps1 python311-tools.armv7hl: W: wrong-file-end-of-line-encoding /usr/share/doc/packages/python311-core/Tools/msi/uploadrelease.proj python311-tools.armv7hl: W: wrong-file-end-of-line-encoding /usr/share/doc/packages/python311-core/Tools/msi/uploadrelease.ps1 python311-tools.armv7hl: W: wrong-file-end-of-line-encoding /usr/share/doc/packages/python311-core/Tools/msi/wix.props python311-tools.armv7hl: W: wrong-file-end-of-line-encoding /usr/share/doc/packages/python311-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. python311-tools.armv7hl: E: version-control-internal-file /usr/share/doc/packages/python311-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. python311-core.src: E: unused-rpmlintrc-filter "pem-certificate.*/usr/lib.*/python.*/test/*.pem" python311-core.src: E: unused-rpmlintrc-filter "devel-file-in-non-devel-package.*/usr/lib.*/python.*/tests/*.c" python311-core.src: E: unused-rpmlintrc-filter "python-bytecode-inconsistent-mtime.*\.pyc" python311-base.armv7hl: E: script-without-shebang /usr/lib/python3.11/base64.py python311-base.armv7hl: E: script-without-shebang /usr/lib/python3.11/cProfile.py python311-base.armv7hl: E: script-without-shebang /usr/lib/python3.11/cgi.py python311-base.armv7hl: E: script-without-shebang /usr/lib/python3.11/encodings/rot_13.py python311-base.armv7hl: E: script-without-shebang /usr/lib/python3.11/lib2to3/pgen2/token.py python311-base.armv7hl: E: script-without-shebang /usr/lib/python3.11/pdb.py python311-base.armv7hl: E: script-without-shebang /usr/lib/python3.11/platform.py python311-base.armv7hl: E: script-without-shebang /usr/lib/python3.11/profile.py python311-base.armv7hl: E: script-without-shebang /usr/lib/python3.11/pydoc.py python311-base.armv7hl: E: script-without-shebang /usr/lib/python3.11/quopri.py python311-base.armv7hl: E: script-without-shebang /usr/lib/python3.11/smtpd.py python311-base.armv7hl: E: script-without-shebang /usr/lib/python3.11/smtplib.py python311-base.armv7hl: E: script-without-shebang /usr/lib/python3.11/tabnanny.py python311-base.armv7hl: E: script-without-shebang /usr/lib/python3.11/tarfile.py python311-base.armv7hl: E: script-without-shebang /usr/lib/python3.11/timeit.py python311-base.armv7hl: E: script-without-shebang /usr/lib/python3.11/trace.py python311-base.armv7hl: E: script-without-shebang /usr/lib/python3.11/webbrowser.py python311-devel.armv7hl: E: script-without-shebang /usr/share/gdb/auto-load/usr/lib/libpython3.11.so.1.0-gdb.py python311-testsuite.armv7hl: E: script-without-shebang /usr/lib/python3.11/lib2to3/tests/data/different_encoding.py python311-testsuite.armv7hl: E: script-without-shebang /usr/lib/python3.11/lib2to3/tests/data/false_encoding.py python311-testsuite.armv7hl: E: script-without-shebang /usr/lib/python3.11/lib2to3/tests/pytree_idempotency.py python311-testsuite.armv7hl: E: script-without-shebang /usr/lib/python3.11/test/bisect_cmd.py python311-testsuite.armv7hl: E: script-without-shebang /usr/lib/python3.11/test/crashers/recursive_call.py python311-testsuite.armv7hl: E: script-without-shebang /usr/lib/python3.11/test/curses_tests.py python311-testsuite.armv7hl: E: script-without-shebang /usr/lib/python3.11/test/re_tests.py python311-testsuite.armv7hl: E: script-without-shebang /usr/lib/python3.11/test/regrtest.py python311-testsuite.armv7hl: E: script-without-shebang /usr/lib/python3.11/test/test_array.py python311-testsuite.armv7hl: E: script-without-shebang /usr/lib/python3.11/test/test_importlib/update-zips.py python311-testsuite.armv7hl: E: script-without-shebang /usr/lib/python3.11/test/test_uuid.py python311-tools.armv7hl: E: script-without-shebang /usr/lib/python3.11/turtledemo/__main__.py python311-tools.armv7hl: E: script-without-shebang /usr/lib/python3.11/turtledemo/bytedesign.py python311-tools.armv7hl: E: script-without-shebang /usr/lib/python3.11/turtledemo/clock.py python311-tools.armv7hl: E: script-without-shebang /usr/lib/python3.11/turtledemo/forest.py python311-tools.armv7hl: E: script-without-shebang /usr/lib/python3.11/turtledemo/fractalcurves.py python311-tools.armv7hl: E: script-without-shebang /usr/lib/python3.11/turtledemo/lindenmayer.py python311-tools.armv7hl: E: script-without-shebang /usr/lib/python3.11/turtledemo/minimal_hanoi.py python311-tools.armv7hl: E: script-without-shebang /usr/lib/python3.11/turtledemo/paint.py python311-tools.armv7hl: E: script-without-shebang /usr/lib/python3.11/turtledemo/peace.py python311-tools.armv7hl: E: script-without-shebang /usr/lib/python3.11/turtledemo/penrose.py python311-tools.armv7hl: E: script-without-shebang /usr/lib/python3.11/turtledemo/planet_and_moon.py python311-tools.armv7hl: E: script-without-shebang /usr/lib/python3.11/turtledemo/sorting_animate.py python311-tools.armv7hl: E: script-without-shebang /usr/lib/python3.11/turtledemo/tree.py python311-tools.armv7hl: E: script-without-shebang /usr/lib/python3.11/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. python311-devel.armv7hl: W: potential-bashisms /usr/lib/python3.11/config-3.11-arm-linux-gnueabihf/install-sh checkbashisms reported potential bashisms in a /bin/sh shell script, you might want to manually check this script for bashisms. python311-tools.armv7hl: W: package-with-huge-docs 90% More than half the size of your package is documentation. Consider splitting it into a -doc subpackage. python311-base.armv7hl: 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. python311-tools.armv7hl: E: no-binary The package should be of the noarch architecture because it doesn't contain any binaries. python311-core.src: E: invalid-spec-name The spec file name (without the .spec suffix) must match the package name ('Name:' tag). python311-tools.armv7hl: W: hidden-file-or-dir /usr/share/doc/packages/python311-core/Tools/peg_generator/.clang-format python311-tools.armv7hl: W: hidden-file-or-dir /usr/share/doc/packages/python311-core/Tools/peg_generator/.gitignore python311-tools.armv7hl: W: hidden-file-or-dir /usr/share/doc/packages/python311-core/Tools/wasm/.editorconfig The file or directory is hidden. You should see if this is normal, and delete it from the package if not. python311-base.armv7hl: W: files-duplicate /usr/lib/python3.11/_import_failed/__pycache__/xxlimited.cpython-311.pyc /usr/lib/python3.11/_import_failed/__pycache__/_ctypes_test.cpython-311.opt-1.pyc:/usr/lib/python3.11/_import_failed/__pycache__/_ctypes_test.cpython-311.pyc:/usr/lib/python3.11/_import_failed/__pycache__/_curses.cpython-311.opt-1.pyc:/usr/lib/python3.11/_import_failed/__pycache__/_curses.cpython-311.pyc:/usr/lib/python3.11/_import_failed/__pycache__/_curses_panel.cpython-311.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. python311-testsuite.armv7hl: E: devel-file-in-non-devel-package (Badness: 50) /usr/lib/python3.11/distutils/tests/xxmodule.c python311-testsuite.armv7hl: E: devel-file-in-non-devel-package (Badness: 50) /usr/lib/python3.11/test/clinic.test.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. python311-base.armv7hl: W: binary-or-shlib-calls-gethostbyname /usr/lib/python3.11/lib-dynload/_socket.cpython-311-arm-linux-gnueabihf.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 13.2 61.8 BashismsCheck 2.4 11.1 FilesCheck 1.8 8.2 BinariesCheck 1.7 7.9 BuildRootAndDateCheck 0.6 3.0 SpecCheck 0.4 1.8 SignatureCheck 0.4 1.7 FilelistCheck 0.3 1.3 TOTAL 21.3 100.0 6 packages and 0 specfiles checked; 60 errors, 19 warnings, 123 filtered, 158 badness; has taken 21.7 s