There are multiple items to be loaded: /home/abuild/rpmbuild/SOURCES/gcc13-rpmlintrc /home/abuild/rpmbuild/SOURCES/gcc13-testresults-rpmlintrc. ============================ 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 rpmlintrc: /home/abuild/rpmbuild/SOURCES/gcc13-rpmlintrc /home/abuild/rpmbuild/SOURCES/gcc13-testresults-rpmlintrc checks: 41, packages: 3 cross-m68k-gcc13.aarch64: W: zero-perms-ghost Suggestion: "%ghost %attr(0644,root,root) /etc/alternatives/m68k-suse-linux-c++" cross-m68k-gcc13.aarch64: W: zero-perms-ghost Suggestion: "%ghost %attr(0644,root,root) /etc/alternatives/m68k-suse-linux-cpp" cross-m68k-gcc13.aarch64: W: zero-perms-ghost Suggestion: "%ghost %attr(0644,root,root) /etc/alternatives/m68k-suse-linux-g++" cross-m68k-gcc13.aarch64: W: zero-perms-ghost Suggestion: "%ghost %attr(0644,root,root) /etc/alternatives/m68k-suse-linux-gcc" cross-m68k-gcc13.aarch64: W: zero-perms-ghost Suggestion: "%ghost %attr(0644,root,root) /etc/alternatives/m68k-suse-linux-gcc-ar" cross-m68k-gcc13.aarch64: W: zero-perms-ghost Suggestion: "%ghost %attr(0644,root,root) /etc/alternatives/m68k-suse-linux-gcc-nm" cross-m68k-gcc13.aarch64: W: zero-perms-ghost Suggestion: "%ghost %attr(0644,root,root) /etc/alternatives/m68k-suse-linux-gcc-ranlib" cross-m68k-gcc13.aarch64: W: zero-perms-ghost Suggestion: "%ghost %attr(0644,root,root) /etc/alternatives/m68k-suse-linux-gcov" cross-m68k-gcc13.aarch64: W: zero-perms-ghost Suggestion: "%ghost %attr(0644,root,root) /etc/alternatives/m68k-suse-linux-gcov-dump" cross-m68k-gcc13.aarch64: W: zero-perms-ghost Suggestion: "%ghost %attr(0644,root,root) /etc/alternatives/m68k-suse-linux-gcov-tool" cross-m68k-gcc13.aarch64: W: zero-perms-ghost Suggestion: "%ghost %attr(0644,root,root) /etc/alternatives/m68k-suse-linux-lto-dump" 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 cross-m68k-gcc13.src: E: unused-rpmlintrc-filter "gcc.*-testresults.*file-contains-buildroot" cross-m68k-gcc13.src: E: unused-rpmlintrc-filter "gcc.*-testresults.*no-binary" cross-m68k-gcc13.aarch64: W: position-independent-executable-suggested /usr/bin/m68k-suse-linux-c++-13 cross-m68k-gcc13.aarch64: W: position-independent-executable-suggested /usr/bin/m68k-suse-linux-cpp-13 cross-m68k-gcc13.aarch64: W: position-independent-executable-suggested /usr/bin/m68k-suse-linux-g++-13 cross-m68k-gcc13.aarch64: W: position-independent-executable-suggested /usr/bin/m68k-suse-linux-gcc-13 cross-m68k-gcc13.aarch64: W: position-independent-executable-suggested /usr/bin/m68k-suse-linux-gcc-ar-13 cross-m68k-gcc13.aarch64: W: position-independent-executable-suggested /usr/bin/m68k-suse-linux-gcc-nm-13 cross-m68k-gcc13.aarch64: W: position-independent-executable-suggested /usr/bin/m68k-suse-linux-gcc-ranlib-13 cross-m68k-gcc13.aarch64: W: position-independent-executable-suggested /usr/bin/m68k-suse-linux-gcov-13 cross-m68k-gcc13.aarch64: W: position-independent-executable-suggested /usr/bin/m68k-suse-linux-gcov-dump-13 cross-m68k-gcc13.aarch64: W: position-independent-executable-suggested /usr/bin/m68k-suse-linux-gcov-tool-13 cross-m68k-gcc13.aarch64: W: position-independent-executable-suggested /usr/bin/m68k-suse-linux-lto-dump-13 cross-m68k-gcc13.aarch64: W: position-independent-executable-suggested /usr/lib64/gcc/m68k-suse-linux/13/cc1 cross-m68k-gcc13.aarch64: W: position-independent-executable-suggested /usr/lib64/gcc/m68k-suse-linux/13/cc1plus cross-m68k-gcc13.aarch64: W: position-independent-executable-suggested /usr/lib64/gcc/m68k-suse-linux/13/collect2 cross-m68k-gcc13.aarch64: W: position-independent-executable-suggested /usr/lib64/gcc/m68k-suse-linux/13/g++-mapper-server cross-m68k-gcc13.aarch64: W: position-independent-executable-suggested /usr/lib64/gcc/m68k-suse-linux/13/lto-wrapper cross-m68k-gcc13.aarch64: W: position-independent-executable-suggested /usr/lib64/gcc/m68k-suse-linux/13/lto1 This executable should be position independent (all binaries should). Check that it is built with -fPIE/-fpie in compiler flags and -pie in linker flags. cross-m68k-gcc13.aarch64: I: package-supports-update-alternatives cross-m68k-gcc13-icecream-backend.aarch64: E: no-binary The package should be of the noarch architecture because it doesn't contain any binaries. cross-m68k-gcc13.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. cross-m68k-gcc13.spec:864: W: macro-in-comment %prefix There is a unescaped macro after a shell style comment in the specfile. Macros are expanded everywhere, so check if it can cause a problem in this case and escape the macro with another leading % if appropriate. cross-m68k-gcc13.aarch64: E: explicit-lib-dependency libstdc++6-devel-gcc13 You must let rpm find the library dependencies by itself. Do not put unneeded explicit Requires: tags. Check time report (>1% & >0.1s): Check Duration (in s) Fraction (in %) Checked files ExtractRpm 1.0 43.3 SignatureCheck 0.7 31.3 BinariesCheck 0.4 17.3 TOTAL 2.3 100.0 3 packages and 0 specfiles checked; 4 errors, 30 warnings, 90 filtered, 4 badness; has taken 2.3 s