============================ 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: 2 phoronix-test-suite.noarch: E: wrong-script-end-of-line-encoding /usr/share/phoronix-test-suite/ob-cache/test-profiles/pts/doom3-1.1.1/install.sh This script has wrong end-of-line encoding, usually caused by creation or modification on a non-Unix system. It will prevent its execution. phoronix-test-suite.spec:37: W: suse-update-desktop-file-deprecated %suse_update_desktop_file is deprecated The usage of %suse_update_desktop_file is deprecated and should not be used. phoronix-test-suite.noarch: E: script-without-shebang /usr/share/phoronix-test-suite/ob-cache/test-profiles/pts/rav1e-1.2.0/install.sh phoronix-test-suite.noarch: E: script-without-shebang /usr/share/phoronix-test-suite/ob-cache/test-profiles/pts/rav1e-1.3.1/install.sh phoronix-test-suite.noarch: E: script-without-shebang /usr/share/phoronix-test-suite/ob-cache/test-profiles/pts/wrf-1.0.0/install.sh phoronix-test-suite.noarch: E: script-without-shebang /usr/share/phoronix-test-suite/ob-cache/test-profiles/pts/wrf-1.0.1/install.sh 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. phoronix-test-suite.noarch: W: potential-bashisms /usr/share/phoronix-test-suite/ob-cache/test-profiles/pts/arrayfire-1.0.1/install.sh phoronix-test-suite.noarch: W: potential-bashisms /usr/share/phoronix-test-suite/deploy/phoromatic-initd/phoromatic-client phoronix-test-suite.noarch: W: potential-bashisms /usr/share/phoronix-test-suite/ob-cache/test-profiles/pts/hammerdb-mariadb-1.0.0/pre.sh phoronix-test-suite.noarch: W: potential-bashisms /usr/share/phoronix-test-suite/ob-cache/test-profiles/pts/rocksdb-1.2.0/install.sh phoronix-test-suite.noarch: W: potential-bashisms /usr/share/phoronix-test-suite/ob-cache/test-profiles/pts/x264-2.4.0/install.sh phoronix-test-suite.noarch: W: potential-bashisms /usr/share/phoronix-test-suite/ob-cache/test-profiles/pts/rocksdb-1.1.0/install.sh phoronix-test-suite.noarch: W: potential-bashisms /usr/share/phoronix-test-suite/ob-cache/test-profiles/pts/x264-2.5.0/install.sh phoronix-test-suite.noarch: W: potential-bashisms /usr/share/phoronix-test-suite/ob-cache/test-profiles/pts/rocksdb-1.0.2/install.sh phoronix-test-suite.noarch: W: potential-bashisms /usr/share/phoronix-test-suite/ob-cache/test-profiles/pts/x264-2.6.1/install.sh phoronix-test-suite.noarch: W: potential-bashisms /usr/share/phoronix-test-suite/ob-cache/test-profiles/pts/ddnet-1.0.1/install.sh phoronix-test-suite.noarch: W: potential-bashisms /usr/share/phoronix-test-suite/ob-cache/test-profiles/system/darktable-1.0.5/install_macosx.sh phoronix-test-suite.noarch: W: potential-bashisms /usr/share/phoronix-test-suite/ob-cache/test-profiles/pts/ddnet-1.1.0/install.sh phoronix-test-suite.noarch: W: potential-bashisms /usr/share/phoronix-test-suite/ob-cache/test-profiles/system/darktable-1.0.4/install_macosx.sh phoronix-test-suite.noarch: W: potential-bashisms /usr/share/phoronix-test-suite/ob-cache/test-profiles/pts/rtiv-1.0.1/install.sh phoronix-test-suite.noarch: W: potential-bashisms /usr/share/phoronix-test-suite/pts-core/external-test-dependencies/scripts/install-centos-packages.sh phoronix-test-suite.noarch: W: potential-bashisms /usr/share/phoronix-test-suite/pts-core/external-test-dependencies/scripts/install-fedora-packages.sh phoronix-test-suite.noarch: W: potential-bashisms /usr/share/phoronix-test-suite/ob-cache/test-profiles/pts/mysqlslap-1.1.0/pre.sh phoronix-test-suite.noarch: W: potential-bashisms /usr/share/phoronix-test-suite/ob-cache/test-profiles/pts/mysqlslap-1.3.0/pre.sh phoronix-test-suite.noarch: W: potential-bashisms /usr/share/phoronix-test-suite/ob-cache/test-profiles/pts/redshift-1.0.1/install.sh checkbashisms reported potential bashisms in a /bin/sh shell script, you might want to manually check this script for bashisms. phoronix-test-suite.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. phoronix-test-suite.noarch: E: htaccess-file /usr/share/phoronix-test-suite/pts-core/static/dynamic-result-viewer/.htaccess You have individual apache configuration .htaccess file(s) in your package. Replace them by a central configuration file in /etc/, according to the web application packaging policy for your distribution. phoronix-test-suite.noarch: W: hidden-file-or-dir /usr/share/phoronix-test-suite/pts-core/static/dynamic-result-viewer/.htaccess The file or directory is hidden. You should see if this is normal, and delete it from the package if not. phoronix-test-suite.noarch: E: files-duplicated-waste (Badness: 100) 165036 Your package contains duplicated files that are not hard- or symlinks. You should use the %fdupes macro to link the files to one. phoronix-test-suite.noarch: W: files-duplicate /usr/share/doc/phoronix-test-suite/AUTHORS /usr/share/doc/packages/phoronix-test-suite/AUTHORS phoronix-test-suite.noarch: W: files-duplicate /usr/share/doc/phoronix-test-suite/ChangeLog /usr/share/doc/packages/phoronix-test-suite/ChangeLog phoronix-test-suite.noarch: W: files-duplicate /usr/share/licenses/phoronix-test-suite/COPYING /usr/share/doc/phoronix-test-suite/COPYING Your package contains duplicated files that are not hard- or symlinks. You should use the %fdupes macro to link the files to one. phoronix-test-suite.noarch: E: filelist-forbidden-bashcomp-userdirs /etc/bash_completion.d/phoronix-test-suite This directory is for user files, use /usr/share/bash-completion/completions/. phoronix-test-suite.noarch: E: explicit-lib-dependency php8-zlib You must let rpm find the library dependencies by itself. Do not put unneeded explicit Requires: tags. phoronix-test-suite.noarch: E: env-script-interpreter (Badness: 9) /usr/share/phoronix-test-suite/ob-cache/test-profiles/pts/build-clash-1.0.1/install.sh /usr/bin/env bash phoronix-test-suite.noarch: E: env-script-interpreter (Badness: 9) /usr/share/phoronix-test-suite/ob-cache/test-profiles/pts/build-clash-1.0.2/install.sh /usr/bin/env bash phoronix-test-suite.noarch: E: env-script-interpreter (Badness: 9) /usr/share/phoronix-test-suite/ob-cache/test-profiles/pts/ddnet-1.2.1/install.sh /usr/bin/env bash 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. Check time report (>1% & >0.1s): Check Duration (in s) Fraction (in %) Checked files BashismsCheck 34.4 85.2 ExtractRpm 2.6 6.4 SUIDPermissionsCheck 1.5 3.6 FilesCheck 1.0 2.5 TOTAL 40.4 100.0 2 packages and 0 specfiles checked; 12 errors, 25 warnings, 7 filtered, 135 badness; has taken 40.7 s