============================ 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 petsc_3_21_2-gnu-openmpi4-hpc-devel.x86_64: E: zero-length /usr/lib/hpc/gnu14/openmpi4/petsc/3.21.2/share/petsc/examples/src/sys/tests/ex47-empty.yaml petsc_3_21_2-gnu-openmpi4-hpc-devel.x86_64: W: wrong-file-end-of-line-encoding /usr/lib/hpc/gnu14/openmpi4/petsc/3.21.2/share/petsc/examples/src/tao/leastsquares/tutorials/tomographyGenerateData.m 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. petsc_3_21_2-gnu-openmpi4-hpc-devel.x86_64: E: script-without-shebang /usr/lib/hpc/gnu14/openmpi4/petsc/3.21.2/lib/petsc/bin/petsc_tas_style.mplstyle 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. libpetsc_3_21_2-gnu-openmpi4-hpc.x86_64: E: non-executable-script /usr/lib/hpc/gnu14/openmpi4/petsc/3.21.2/share/petsc/bin/dmnetwork_view.py 644 /usr/bin/python3 This text file contains a shebang or is located in a path dedicated for executables, but lacks the executable bits and cannot thus be executed. If the file is meant to be an executable script, add the executable bits, otherwise remove the shebang or move the file elsewhere. libpetsc-gnu-openmpi4-hpc.x86_64: E: no-binary petsc-gnu-openmpi4-hpc-devel.x86_64: E: no-binary petsc_3_21_2-gnu-openmpi4-hpc-devel.x86_64: E: no-binary petsc_3_21_2-gnu-openmpi4-hpc-saws.x86_64: E: no-binary The package should be of the noarch architecture because it doesn't contain any binaries. petsc.spec: W: no-%check-section The spec file does not contain an %check section. Please check if the package has a testsuite and what it takes to enable the testsuite as part of the package build. If it is not possible to run it in the build environment (OBS/koji) or no testsuite exists, then please ignore this warning. You should not insert an empty %check section. petsc_3_21_2-gnu-openmpi4-hpc.src: E: invalid-spec-name The spec file name (without the .spec suffix) must match the package name ('Name:' tag). libpetsc_3_21_2-gnu-openmpi4-hpc.x86_64: W: hidden-file-or-dir /usr/share/lmod/moduledeps/gnu-14-openmpi-4/petsc/.version.3.21.2 petsc_3_21_2-gnu-openmpi4-hpc-devel.x86_64: W: hidden-file-or-dir /usr/lib/hpc/gnu14/openmpi4/petsc/3.21.2/share/petsc/examples/src/sys/tests/options/.petscrc The file or directory is hidden. You should see if this is normal, and delete it from the package if not. libpetsc_3_21_2-gnu-openmpi4-hpc.x86_64: E: explicit-lib-dependency libopenmpi4-gnu-hpc You must let rpm find the library dependencies by itself. Do not put unneeded explicit Requires: tags. libpetsc_3_21_2-gnu-openmpi4-hpc.x86_64: W: binary-or-shlib-calls-gethostbyname /usr/lib/hpc/gnu14/openmpi4/petsc/3.21.2/lib64/libpetsc.so.3.21.2 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 0.6 26.3 BashismsCheck 0.4 20.6 FilesCheck 0.4 17.4 BinariesCheck 0.2 8.1 SignatureCheck 0.2 7.4 SharedLibraryPolicyCheck 0.2 7.2 BuildRootAndDateCheck 0.1 5.0 TOTAL 2.1 100.0 6 packages and 0 specfiles checked; 9 errors, 5 warnings, 244 filtered, 9 badness; has taken 2.2 s