============================ 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/ruby4.0-rpmlintrc checks: 42, packages: 7 ruby4.0.armv6hl: W: zero-perms-ghost Suggestion: "%ghost %attr(0644,root,root) /etc/alternatives/bundle" ruby4.0.armv6hl: W: zero-perms-ghost Suggestion: "%ghost %attr(0644,root,root) /etc/alternatives/bundle.ruby4.0" ruby4.0.armv6hl: W: zero-perms-ghost Suggestion: "%ghost %attr(0644,root,root) /etc/alternatives/bundler" ruby4.0.armv6hl: W: zero-perms-ghost Suggestion: "%ghost %attr(0644,root,root) /etc/alternatives/bundler.ruby4.0" ruby4.0.armv6hl: W: zero-perms-ghost Suggestion: "%ghost %attr(0644,root,root) /etc/alternatives/erb*" ruby4.0.armv6hl: W: zero-perms-ghost Suggestion: "%ghost %attr(0644,root,root) /etc/alternatives/racc" ruby4.0.armv6hl: W: zero-perms-ghost Suggestion: "%ghost %attr(0644,root,root) /etc/alternatives/racc.ruby4.0" ruby4.0.armv6hl: W: zero-perms-ghost Suggestion: "%ghost %attr(0644,root,root) /etc/alternatives/rake" ruby4.0.armv6hl: W: zero-perms-ghost Suggestion: "%ghost %attr(0644,root,root) /etc/alternatives/rake.ruby4.0" ruby4.0.armv6hl: W: zero-perms-ghost Suggestion: "%ghost %attr(0644,root,root) /etc/alternatives/rbs" ruby4.0.armv6hl: W: zero-perms-ghost Suggestion: "%ghost %attr(0644,root,root) /etc/alternatives/rbs.ruby4.0" ruby4.0.armv6hl: W: zero-perms-ghost Suggestion: "%ghost %attr(0644,root,root) /etc/alternatives/rdbg" ruby4.0.armv6hl: W: zero-perms-ghost Suggestion: "%ghost %attr(0644,root,root) /etc/alternatives/rdbg.ruby4.0" ruby4.0.armv6hl: W: zero-perms-ghost Suggestion: "%ghost %attr(0644,root,root) /etc/alternatives/rdoc" ruby4.0.armv6hl: W: zero-perms-ghost Suggestion: "%ghost %attr(0644,root,root) /etc/alternatives/rdoc.ruby4.0" ruby4.0.armv6hl: W: zero-perms-ghost Suggestion: "%ghost %attr(0644,root,root) /etc/alternatives/ri" ruby4.0.armv6hl: W: zero-perms-ghost Suggestion: "%ghost %attr(0644,root,root) /etc/alternatives/ri.ruby4.0" ruby4.0.armv6hl: W: zero-perms-ghost Suggestion: "%ghost %attr(0644,root,root) /etc/alternatives/syntax_suggest" ruby4.0.armv6hl: W: zero-perms-ghost Suggestion: "%ghost %attr(0644,root,root) /etc/alternatives/syntax_suggest.ruby4.0" ruby4.0.armv6hl: W: zero-perms-ghost Suggestion: "%ghost %attr(0644,root,root) /etc/alternatives/test-unit" ruby4.0.armv6hl: W: zero-perms-ghost Suggestion: "%ghost %attr(0644,root,root) /etc/alternatives/test-unit.ruby4.0" ruby4.0.armv6hl: W: zero-perms-ghost Suggestion: "%ghost %attr(0644,root,root) /etc/alternatives/typeprof" ruby4.0.armv6hl: W: zero-perms-ghost Suggestion: "%ghost %attr(0644,root,root) /etc/alternatives/typeprof.ruby4.0" Your package contains a file with no permissions. This is usually an error because the file won't be accessible by any user. You should check the file permissions and ensure that are correct or fix it using "%attr" macro in %files section. http://ftp.rpm.org/max-rpm/s1-rpm-anywhere-specifying-file-attributes.html ruby4.0.armv6hl: E: update-alternatives-postun-call-missing The package does not call update-alternatives --remove in postun phase to remove all the configuration for each individual --install binary that was done in postun. ruby4.0.src: E: unused-rpmlintrc-filter "unexpanded-macro /usr/share/ri/.*" ruby4.0.src: E: unused-rpmlintrc-filter "ruby4.0.*devel-file-in-non-devel-package.*/usr/lib.*/ruby/gems/.*" ruby4.0.armv6hl: I: package-supports-update-alternatives ruby4.0-devel.armv6hl: E: no-binary ruby4.0-devel-extra.armv6hl: E: no-binary ruby4.0-doc.armv6hl: E: no-binary The package should be of the noarch architecture because it doesn't contain any binaries. ruby4.0-doc.armv6hl: W: hidden-file-or-dir /usr/share/doc/packages/ruby4.0-doc/optparse/.document The file or directory is hidden. You should see if this is normal, and delete it from the package if not. ruby4.0.armv6hl: W: files-duplicate /usr/lib/ruby/gems/4.0.0+0/gems/syslog-0.3.0/bin/setup /usr/lib/ruby/4.0.0+0/bundler/templates/newgem/bin/setup.tt:/usr/lib/ruby/gems/4.0.0+0/gems/abbrev-0.1.2/bin/setup:/usr/lib/ruby/gems/4.0.0+0/gems/benchmark-0.5.0/bin/setup:/usr/lib/ruby/gems/4.0.0+0/gems/nkf-0.2.0/bin/setup:/usr/lib/ruby/gems/4.0.0+0/gems/observer-0.1.2/bin/setup:(and 4 more) ruby4.0.armv6hl: W: files-duplicate /usr/lib/ruby/4.0.0+0/rubygems/vendor/optparse/lib/optionparser.rb /usr/lib/ruby/4.0.0+0/optionparser.rb ruby4.0.armv6hl: W: files-duplicate /usr/lib/ruby/gems/4.0.0+0/gems/getoptlong-0.2.1/Gemfile /usr/lib/ruby/gems/4.0.0+0/gems/abbrev-0.1.2/Gemfile ruby4.0.armv6hl: W: files-duplicate /usr/lib/ruby/gems/4.0.0+0/gems/rss-0.3.1/LICENSE.txt /usr/lib/ruby/gems/4.0.0+0/gems/abbrev-0.1.2/LICENSE.txt:/usr/lib/ruby/gems/4.0.0+0/gems/debug-1.11.0/LICENSE.txt:/usr/lib/ruby/gems/4.0.0+0/gems/drb-2.2.3/LICENSE.txt:/usr/lib/ruby/gems/4.0.0+0/gems/fiddle-1.1.8/LICENSE.txt:/usr/lib/ruby/gems/4.0.0+0/gems/getoptlong-0.2.1/LICENSE.txt:(and 8 more) ruby4.0.armv6hl: W: files-duplicate /usr/lib/ruby/gems/4.0.0+0/gems/observer-0.1.2/Rakefile /usr/lib/ruby/gems/4.0.0+0/gems/abbrev-0.1.2/Rakefile ruby4.0.armv6hl: W: files-duplicate /usr/lib/ruby/gems/4.0.0+0/gems/rbs-3.9.5/stdlib/base64/0/base64.rbs /usr/lib/ruby/gems/4.0.0+0/gems/base64-0.3.0/sig/base64.rbs ruby4.0.armv6hl: W: files-duplicate /usr/lib/ruby/gems/4.0.0+0/gems/observer-0.1.2/Gemfile /usr/lib/ruby/gems/4.0.0+0/gems/benchmark-0.5.0/Gemfile ruby4.0.armv6hl: W: files-duplicate /usr/lib/ruby/gems/4.0.0+0/gems/getoptlong-0.2.1/sample/getoptlong/permute.rb /usr/lib/ruby/gems/4.0.0+0/gems/getoptlong-0.2.1/sample/getoptlong/argv.rb ruby4.0.armv6hl: W: files-duplicate /usr/lib/ruby/gems/4.0.0+0/gems/rinda-0.2.0/Gemfile /usr/lib/ruby/gems/4.0.0+0/gems/net-ftp-0.3.9/Gemfile ruby4.0.armv6hl: W: files-duplicate /usr/lib/ruby/gems/4.0.0+0/gems/net-smtp-0.5.1/LICENSE.txt /usr/lib/ruby/gems/4.0.0+0/gems/net-ftp-0.3.9/LICENSE.txt ruby4.0.armv6hl: W: files-duplicate /usr/lib/ruby/gems/4.0.0+0/gems/pstore-0.2.0/Rakefile /usr/lib/ruby/gems/4.0.0+0/gems/net-ftp-0.3.9/Rakefile:/usr/lib/ruby/gems/4.0.0+0/gems/prime-0.1.4/Rakefile ruby4.0.armv6hl: W: files-duplicate /usr/lib/ruby/gems/4.0.0+0/gems/syslog-0.3.0/Gemfile /usr/lib/ruby/gems/4.0.0+0/gems/nkf-0.2.0/Gemfile ruby4.0.armv6hl: W: files-duplicate /usr/lib/ruby/gems/4.0.0+0/gems/rbs-3.9.5/ext/rbs_extension/extconf.h /usr/lib/ruby/gems/4.0.0+0/gems/nkf-0.2.0/ext/nkf/extconf.h ruby4.0.armv6hl: W: files-duplicate /usr/lib/ruby/gems/4.0.0+0/gems/pstore-0.2.0/Gemfile /usr/lib/ruby/gems/4.0.0+0/gems/ostruct-0.6.3/Gemfile ruby4.0.armv6hl: W: files-duplicate /usr/lib/ruby/gems/4.0.0+0/gems/reline-0.6.3/COPYING /usr/lib/ruby/gems/4.0.0+0/gems/readline-0.0.4/COPYING ruby4.0-doc.armv6hl: W: files-duplicate /usr/share/doc/packages/ruby4.0-doc/sample/trick2015/ksk_2/authors.markdown /usr/share/doc/packages/ruby4.0-doc/sample/trick2015/ksk_1/authors.markdown ruby4.0-doc.armv6hl: W: files-duplicate /usr/share/doc/packages/ruby4.0-doc/sample/trick2025/02-mame/authors.markdown /usr/share/doc/packages/ruby4.0-doc/sample/trick2018/02-mame/authors.markdown:/usr/share/doc/packages/ruby4.0-doc/sample/trick2022/03-mame/authors.markdown ruby4.0-doc.armv6hl: W: files-duplicate /usr/share/doc/packages/ruby4.0-doc/sample/trick2025/05-tompng/authors.markdown /usr/share/doc/packages/ruby4.0-doc/sample/trick2018/03-tompng/authors.markdown:/usr/share/doc/packages/ruby4.0-doc/sample/trick2018/05-tompng/authors.markdown:/usr/share/doc/packages/ruby4.0-doc/sample/trick2022/01-tompng/authors.markdown:/usr/share/doc/packages/ruby4.0-doc/sample/trick2022/02-tompng/authors.markdown:/usr/share/doc/packages/ruby4.0-doc/sample/trick2025/03-tompng/authors.markdown:(and 1 more) Your package contains duplicated files that are not hard- or symlinks. You should use the %fdupes macro to link the files to one. ruby4.0-devel-extra.armv6hl: E: devel-dependency ruby4.0-devel Your package has a dependency on a devel package but it's not a devel package itself. ruby4.0-devel-extra.armv6hl: W: description-shorter-than-summary The package description should be longer than the summary. ruby4.0.armv6hl: W: binary-or-shlib-calls-gethostbyname /usr/lib/ruby/4.0.0+0/armv6hl-linux-gnu/socket.so The binary calls gethostbyname. Please port the code to use getaddrinfo. ruby4.0.armv6hl: E: alternative-link-missing /etc/alternatives/$bin ruby4.0.armv6hl: E: alternative-link-missing /etc/alternatives/$bin.ruby4.0 The file %{_sysconfdir}/alternatives/$(basename generic-name) is missing in the file list. Mark it as %ghost and add it to the file list. ruby4.0.armv6hl: E: alternative-generic-name-missing /usr/bin/$bin ruby4.0.armv6hl: E: alternative-generic-name-missing /usr/bin/$bin.ruby4.0 The update-alternatives generic name is not in the filelist. Create it as a symlink to %{_sysconfdir}/alternatives/$(basename generic-name) and add it to the file list. Check time report (>1% & >0.1s): Check Duration (in s) Fraction (in %) Checked files ExtractRpm 5.7 44.3 BinariesCheck 1.9 15.1 FilesCheck 1.6 12.6 BuildRootAndDateCheck 0.8 6.5 SUIDPermissionsCheck 0.6 5.1 FilelistCheck 0.6 4.7 BashismsCheck 0.6 4.6 SignatureCheck 0.2 1.7 FileDigestCheck 0.1 1.0 TOTAL 12.8 100.0 7 packages and 0 specfiles checked; 11 errors, 44 warnings, 323 filtered, 11 badness; has taken 13.3 s