============================ rpmlint session starts ============================ rpmlint: 2.6.1 configuration: /opt/testing/lib/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: 15 gcc-go.armv6hl: W: zero-perms-ghost Suggestion: "%ghost %attr(0644,root,root) /etc/alternatives/go" gcc-go.armv6hl: W: zero-perms-ghost Suggestion: "%ghost %attr(0644,root,root) /etc/alternatives/gofmt" 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 gcc-go.armv6hl: I: package-supports-update-alternatives cpp.armv6hl: E: no-binary gcc.armv6hl: E: no-binary gcc-PIE.armv6hl: E: no-binary gcc-c++.armv6hl: E: no-binary gcc-d.armv6hl: E: no-binary gcc-devel.armv6hl: E: no-binary gcc-fortran.armv6hl: E: no-binary gcc-go.armv6hl: E: no-binary gcc-info.armv6hl: E: no-binary gcc-locale.armv6hl: E: no-binary gcc-obj-c++.armv6hl: E: no-binary gcc-objc.armv6hl: E: no-binary libgccjit-devel.armv6hl: E: no-binary libstdc++-devel.armv6hl: E: no-binary The package should be of the noarch architecture because it doesn't contain any binaries. gcc.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. gcc.spec: W: no-%build-section The spec file does not contain a %build section. Even if some packages don't directly need it, section markers may be overridden in rpm's configuration to provide additional 'under the hood' functionality, such as injection of automatic -debuginfo subpackages. Add the section, even if empty. Check time report (>1% & >0.1s): Check Duration (in s) Fraction (in %) Checked files ExtractRpm 0.1 37.0 SignatureCheck 0.1 29.0 TOTAL 0.4 100.0 15 packages and 0 specfiles checked; 14 errors, 4 warnings, 78 filtered, 14 badness; has taken 0.4 s