============================ 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 rpmlintrc: /home/abuild/rpmbuild/SOURCES/kafka-kit-rpmlintrc checks: 41, packages: 2 kafka-kit.x86_64: E: zero-length /usr/share/tetra/gradle-project/5.1/gc.properties kafka-kit.x86_64: E: zero-length /usr/share/tetra/gradle-project/vcs-1/gc.properties kafka-kit.x86_64: E: zero-length /usr/share/tetra/gradle/notifications/5.1/release-features.rendered kafka-kit.x86_64: E: wrong-script-end-of-line-encoding /usr/share/tetra/gradle-5.1/bin/gradle.bat This script has wrong end-of-line encoding, usually caused by creation or modification on a non-Unix system. It will prevent its execution. kafka-kit.x86_64: E: suse-zypp-otherproviders otherproviders(tetra-kit) The 'otherproviders(symbol)' syntax is obsolete, it is not needed and you can use the 'symbol' directly: 'Conflicts: symbol' kafka-kit.x86_64: E: script-without-shebang /usr/share/tetra/gradle-5.1/bin/gradle.bat 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. kafka-kit.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. kafka-kit.x86_64: W: hidden-file-or-dir /usr/share/tetra/jars/.keep The file or directory is hidden. You should see if this is normal, and delete it from the package if not. kafka-kit.x86_64: E: env-script-interpreter (Badness: 9) /usr/share/tetra/gradle-5.1/bin/gradle /usr/bin/env sh This script uses 'env' as an interpreter. For the rpm runtime dependency detection to work, the shebang #!/usr/bin/env needs to be patched into #!/usr/bin/ otherwise the package dependency generator merely adds a dependency on /usr/bin/env rather than the actual interpreter /usr/bin/. Alternatively, if the file should not be executed, then ensure that it is not marked as executable or don't install it in a path that is reserved for executables. kafka-kit.x86_64: W: class-path-in-manifest /usr/share/tetra/apache-ant-1.9.7/etc/ant-bootstrap.jar kafka-kit.x86_64: W: class-path-in-manifest /usr/share/tetra/gradle-5.1/lib/gradle-launcher-5.1.jar kafka-kit.x86_64: W: class-path-in-manifest /usr/share/tetra/gradle-5.1/lib/plugins/jaxb-impl-2.3.1.jar kafka-kit.x86_64: W: class-path-in-manifest /usr/share/tetra/gradle/caches/modules-2/files-2.1/com.github.jengelman.gradle.plugins/shadow/4.0.0/689c289ab80e2f22a8b05610cee25e76e7c65f5d/shadow-4.0.0.jar kafka-kit.x86_64: W: class-path-in-manifest /usr/share/tetra/gradle/caches/modules-2/files-2.1/com.github.spotbugs/spotbugs/3.1.7/79890e05bba82b8552d09ea59a7e5182639cf09b/spotbugs-3.1.7.jar The META-INF/MANIFEST.MF file in the jar contains a hardcoded Class-Path. These entries do not work with older Java versions and even if they do work, they are inflexible and usually cause nasty surprises. Check time report (>1% & >0.1s): Check Duration (in s) Fraction (in %) Checked files ExtractRpm 18.0 64.2 ZipCheck 6.9 24.6 SignatureCheck 1.7 6.1 BashismsCheck 0.6 2.1 FilesCheck 0.4 1.3 TOTAL 28.0 100.0 2 packages and 0 specfiles checked; 7 errors, 7 warnings, 685 filtered, 15 badness; has taken 28.2 s