============================ rpmlint session starts ============================ rpmlint: 2.8.0 configuration: /opt/testing/lib64/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: 41, packages: 2 ruby3.4-rubygem-ffi.aarch64: E: zero-length /usr/lib64/ruby/gems/3.4.0/gems/ffi-1.17.1/ext/ffi_c/libffi/.allow-ai-service ruby3.4-rubygem-ffi.aarch64: E: version-control-internal-file /usr/lib64/ruby/gems/3.4.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. ruby3.4-rubygem-ffi.aarch64: W: potential-bashisms /usr/lib64/ruby/gems/3.4.0/gems/ffi-1.17.1/ext/ffi_c/libffi/config.guess ruby3.4-rubygem-ffi.aarch64: W: potential-bashisms /usr/lib64/ruby/gems/3.4.0/gems/ffi-1.17.1/ext/ffi_c/libffi/configure ruby3.4-rubygem-ffi.aarch64: W: potential-bashisms /usr/lib64/ruby/gems/3.4.0/gems/ffi-1.17.1/ext/ffi_c/libffi/install-sh checkbashisms reported potential bashisms in a /bin/sh shell script, you might want to manually check this script for bashisms. ruby3.4-rubygem-ffi.aarch64: E: non-executable-script /usr/lib64/ruby/gems/3.4.0/gems/ffi-1.17.1/ext/ffi_c/libffi/config.guess 644 /bin/sh ruby3.4-rubygem-ffi.aarch64: E: non-executable-script /usr/lib64/ruby/gems/3.4.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. ruby3.4-rubygem-ffi.aarch64: W: hidden-file-or-dir /usr/lib64/ruby/gems/3.4.0/gems/ffi-1.17.1/ext/ffi_c/libffi/.allow-ai-service ruby3.4-rubygem-ffi.aarch64: W: hidden-file-or-dir /usr/lib64/ruby/gems/3.4.0/gems/ffi-1.17.1/ext/ffi_c/libffi/.appveyor ruby3.4-rubygem-ffi.aarch64: W: hidden-file-or-dir /usr/lib64/ruby/gems/3.4.0/gems/ffi-1.17.1/ext/ffi_c/libffi/.appveyor ruby3.4-rubygem-ffi.aarch64: W: hidden-file-or-dir /usr/lib64/ruby/gems/3.4.0/gems/ffi-1.17.1/ext/ffi_c/libffi/.appveyor.yml ruby3.4-rubygem-ffi.aarch64: W: hidden-file-or-dir /usr/lib64/ruby/gems/3.4.0/gems/ffi-1.17.1/ext/ffi_c/libffi/.ci ruby3.4-rubygem-ffi.aarch64: W: hidden-file-or-dir /usr/lib64/ruby/gems/3.4.0/gems/ffi-1.17.1/ext/ffi_c/libffi/.ci ruby3.4-rubygem-ffi.aarch64: W: hidden-file-or-dir /usr/lib64/ruby/gems/3.4.0/gems/ffi-1.17.1/ext/ffi_c/libffi/.circleci ruby3.4-rubygem-ffi.aarch64: W: hidden-file-or-dir /usr/lib64/ruby/gems/3.4.0/gems/ffi-1.17.1/ext/ffi_c/libffi/.circleci ruby3.4-rubygem-ffi.aarch64: W: hidden-file-or-dir /usr/lib64/ruby/gems/3.4.0/gems/ffi-1.17.1/ext/ffi_c/libffi/.gitattributes ruby3.4-rubygem-ffi.aarch64: W: hidden-file-or-dir /usr/lib64/ruby/gems/3.4.0/gems/ffi-1.17.1/ext/ffi_c/libffi/.github ruby3.4-rubygem-ffi.aarch64: W: hidden-file-or-dir /usr/lib64/ruby/gems/3.4.0/gems/ffi-1.17.1/ext/ffi_c/libffi/.github ruby3.4-rubygem-ffi.aarch64: W: hidden-file-or-dir /usr/lib64/ruby/gems/3.4.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. ruby3.4-rubygem-ffi.aarch64: E: env-script-interpreter (Badness: 9) /usr/lib64/ruby/gems/3.4.0/gems/ffi-1.17.1/ext/ffi_c/libffi/.ci/msvs-detect /usr/bin/env bash ruby3.4-rubygem-ffi.aarch64: E: env-script-interpreter (Badness: 9) /usr/lib64/ruby/gems/3.4.0/gems/ffi-1.17.1/ext/ffi_c/libffi/generate-darwin-source-and-headers.py /usr/bin/env python ruby3.4-rubygem-ffi.aarch64: E: env-script-interpreter (Badness: 9) /usr/lib64/ruby/gems/3.4.0/gems/ffi-1.17.1/ext/ffi_c/libffi/ltmain.sh /usr/bin/env sh ruby3.4-rubygem-ffi.aarch64: E: env-script-interpreter (Badness: 9) /usr/lib64/ruby/gems/3.4.0/gems/ffi-1.17.1/ext/ffi_c/libffi/testsuite/emscripten/build-tests.sh /usr/bin/env bash ruby3.4-rubygem-ffi.aarch64: E: env-script-interpreter (Badness: 9) /usr/lib64/ruby/gems/3.4.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.5 83.3 ExtractRpm 0.5 8.1 FilesCheck 0.3 4.8 TOTAL 6.6 100.0 2 packages and 0 specfiles checked; 9 errors, 16 warnings, 359 filtered, 49 badness; has taken 6.6 s