============================ 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/rubygem-ffi-rpmlintrc checks: 42, packages: 2 ruby4.0-rubygem-ffi.armv7hl: E: zero-length /usr/lib/ruby/gems/4.0.0/gems/ffi-1.17.1/ext/ffi_c/libffi/.allow-ai-service ruby4.0-rubygem-ffi.armv7hl: E: version-control-internal-file /usr/lib/ruby/gems/4.0.0/gems/ffi-1.17.1/ext/ffi_c/libffi/.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. ruby4.0-rubygem-ffi.armv7hl: W: potential-bashisms /usr/lib/ruby/gems/4.0.0/gems/ffi-1.17.1/ext/ffi_c/libffi/config.guess ruby4.0-rubygem-ffi.armv7hl: W: potential-bashisms /usr/lib/ruby/gems/4.0.0/gems/ffi-1.17.1/ext/ffi_c/libffi/install-sh ruby4.0-rubygem-ffi.armv7hl: W: potential-bashisms /usr/lib/ruby/gems/4.0.0/gems/ffi-1.17.1/ext/ffi_c/libffi/configure checkbashisms reported potential bashisms in a /bin/sh shell script, you might want to manually check this script for bashisms. ruby4.0-rubygem-ffi.armv7hl: E: non-executable-script /usr/lib/ruby/gems/4.0.0/gems/ffi-1.17.1/ext/ffi_c/libffi/config.guess 644 /bin/sh ruby4.0-rubygem-ffi.armv7hl: E: non-executable-script /usr/lib/ruby/gems/4.0.0/gems/ffi-1.17.1/ext/ffi_c/libffi/make_sunver.pl 644 /usr/bin/perl -w 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. rubygem-ffi.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. ruby4.0-rubygem-ffi.armv7hl: W: hidden-file-or-dir /usr/lib/ruby/gems/4.0.0/gems/ffi-1.17.1/ext/ffi_c/libffi/.allow-ai-service ruby4.0-rubygem-ffi.armv7hl: W: hidden-file-or-dir /usr/lib/ruby/gems/4.0.0/gems/ffi-1.17.1/ext/ffi_c/libffi/.appveyor ruby4.0-rubygem-ffi.armv7hl: W: hidden-file-or-dir /usr/lib/ruby/gems/4.0.0/gems/ffi-1.17.1/ext/ffi_c/libffi/.appveyor ruby4.0-rubygem-ffi.armv7hl: W: hidden-file-or-dir /usr/lib/ruby/gems/4.0.0/gems/ffi-1.17.1/ext/ffi_c/libffi/.appveyor.yml ruby4.0-rubygem-ffi.armv7hl: W: hidden-file-or-dir /usr/lib/ruby/gems/4.0.0/gems/ffi-1.17.1/ext/ffi_c/libffi/.ci ruby4.0-rubygem-ffi.armv7hl: W: hidden-file-or-dir /usr/lib/ruby/gems/4.0.0/gems/ffi-1.17.1/ext/ffi_c/libffi/.ci ruby4.0-rubygem-ffi.armv7hl: W: hidden-file-or-dir /usr/lib/ruby/gems/4.0.0/gems/ffi-1.17.1/ext/ffi_c/libffi/.circleci ruby4.0-rubygem-ffi.armv7hl: W: hidden-file-or-dir /usr/lib/ruby/gems/4.0.0/gems/ffi-1.17.1/ext/ffi_c/libffi/.circleci ruby4.0-rubygem-ffi.armv7hl: W: hidden-file-or-dir /usr/lib/ruby/gems/4.0.0/gems/ffi-1.17.1/ext/ffi_c/libffi/.gitattributes ruby4.0-rubygem-ffi.armv7hl: W: hidden-file-or-dir /usr/lib/ruby/gems/4.0.0/gems/ffi-1.17.1/ext/ffi_c/libffi/.github ruby4.0-rubygem-ffi.armv7hl: W: hidden-file-or-dir /usr/lib/ruby/gems/4.0.0/gems/ffi-1.17.1/ext/ffi_c/libffi/.github ruby4.0-rubygem-ffi.armv7hl: W: hidden-file-or-dir /usr/lib/ruby/gems/4.0.0/gems/ffi-1.17.1/ext/ffi_c/libffi/.gitignore The file or directory is hidden. You should see if this is normal, and delete it from the package if not. ruby4.0-rubygem-ffi.armv7hl: E: env-script-interpreter (Badness: 9) /usr/lib/ruby/gems/4.0.0/gems/ffi-1.17.1/ext/ffi_c/libffi/.ci/msvs-detect /usr/bin/env bash ruby4.0-rubygem-ffi.armv7hl: E: env-script-interpreter (Badness: 9) /usr/lib/ruby/gems/4.0.0/gems/ffi-1.17.1/ext/ffi_c/libffi/generate-darwin-source-and-headers.py /usr/bin/env python ruby4.0-rubygem-ffi.armv7hl: E: env-script-interpreter (Badness: 9) /usr/lib/ruby/gems/4.0.0/gems/ffi-1.17.1/ext/ffi_c/libffi/ltmain.sh /usr/bin/env sh ruby4.0-rubygem-ffi.armv7hl: E: env-script-interpreter (Badness: 9) /usr/lib/ruby/gems/4.0.0/gems/ffi-1.17.1/ext/ffi_c/libffi/testsuite/emscripten/build-tests.sh /usr/bin/env bash ruby4.0-rubygem-ffi.armv7hl: E: env-script-interpreter (Badness: 9) /usr/lib/ruby/gems/4.0.0/gems/ffi-1.17.1/ext/ffi_c/libffi/testsuite/emscripten/build.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 5.0 86.4 ExtractRpm 0.3 5.0 FilesCheck 0.3 4.9 TOTAL 5.8 100.0 2 packages and 0 specfiles checked; 9 errors, 16 warnings, 359 filtered, 49 badness; has taken 5.8 s