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.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/gcc13-rpmlintrc /home/abuild/rpmbuild/SOURCES/gcc13-testresults-rpmlintrc checks: 41, packages: 36 gcc13.src: E: unused-rpmlintrc-filter "gcc.*-testresults.*file-contains-buildroot" gcc13.src: E: unused-rpmlintrc-filter "gcc.*-testresults.*no-binary" gcc13.armv7hl: W: unstripped-binary-or-object /usr/lib/gcc/armv7hl-suse-linux-gnueabi/13/libasan.so gcc13.armv7hl: W: unstripped-binary-or-object /usr/lib/gcc/armv7hl-suse-linux-gnueabi/13/libatomic.so gcc13.armv7hl: W: unstripped-binary-or-object /usr/lib/gcc/armv7hl-suse-linux-gnueabi/13/libgcc_s.so.1 gcc13.armv7hl: W: unstripped-binary-or-object /usr/lib/gcc/armv7hl-suse-linux-gnueabi/13/libgomp.so gcc13.armv7hl: W: unstripped-binary-or-object /usr/lib/gcc/armv7hl-suse-linux-gnueabi/13/libitm.so gcc13.armv7hl: W: unstripped-binary-or-object /usr/lib/gcc/armv7hl-suse-linux-gnueabi/13/libubsan.so gcc13-d.armv7hl: W: unstripped-binary-or-object /usr/lib/gcc/armv7hl-suse-linux-gnueabi/13/libgdruntime.so gcc13-d.armv7hl: W: unstripped-binary-or-object /usr/lib/gcc/armv7hl-suse-linux-gnueabi/13/libgphobos.so gcc13-fortran.armv7hl: W: unstripped-binary-or-object /usr/lib/gcc/armv7hl-suse-linux-gnueabi/13/libgfortran.so gcc13-go.armv7hl: W: unstripped-binary-or-object /usr/lib/gcc/armv7hl-suse-linux-gnueabi/13/libgo.so gcc13-m2.armv7hl: W: unstripped-binary-or-object /usr/lib/gcc/armv7hl-suse-linux-gnueabi/13/libm2cor.so gcc13-m2.armv7hl: W: unstripped-binary-or-object /usr/lib/gcc/armv7hl-suse-linux-gnueabi/13/libm2iso.so gcc13-m2.armv7hl: W: unstripped-binary-or-object /usr/lib/gcc/armv7hl-suse-linux-gnueabi/13/libm2log.so gcc13-m2.armv7hl: W: unstripped-binary-or-object /usr/lib/gcc/armv7hl-suse-linux-gnueabi/13/libm2min.so gcc13-m2.armv7hl: W: unstripped-binary-or-object /usr/lib/gcc/armv7hl-suse-linux-gnueabi/13/libm2pim.so gcc13-objc.armv7hl: W: unstripped-binary-or-object /usr/lib/gcc/armv7hl-suse-linux-gnueabi/13/libobjc.so libstdc++6-devel-gcc13.armv7hl: W: unstripped-binary-or-object /usr/lib/gcc/armv7hl-suse-linux-gnueabi/13/libstdc++.so This executable should be stripped of debugging symbols, in order to take less space and be loaded faster. This is usually done automatically at buildtime by rpm. libstdc++6-pp-gcc13.armv7hl: W: self-obsoletion libstdc++6-pp-gcc10 obsoletes libstdc++6-pp-gcc10 libstdc++6-pp-gcc13.armv7hl: W: self-obsoletion libstdc++6-pp-gcc11 obsoletes libstdc++6-pp-gcc11 libstdc++6-pp-gcc13.armv7hl: W: self-obsoletion libstdc++6-pp-gcc9 obsoletes libstdc++6-pp-gcc9 The package obsoletes itself. This is known to cause errors in various tools and should thus be avoided, usually by using appropriately versioned Obsoletes and/or Provides and avoiding unversioned ones. cpp13.armv7hl: W: position-independent-executable-suggested /usr/bin/cpp-13 cpp13.armv7hl: W: position-independent-executable-suggested /usr/lib/gcc/armv7hl-suse-linux-gnueabi/13/cc1 gcc13.armv7hl: W: position-independent-executable-suggested /usr/bin/armv7hl-suse-linux-gnueabi-gcc-13 gcc13.armv7hl: W: position-independent-executable-suggested /usr/bin/gcc-13 gcc13.armv7hl: W: position-independent-executable-suggested /usr/bin/gcc-ar-13 gcc13.armv7hl: W: position-independent-executable-suggested /usr/bin/gcc-nm-13 gcc13.armv7hl: W: position-independent-executable-suggested /usr/bin/gcc-ranlib-13 gcc13.armv7hl: W: position-independent-executable-suggested /usr/bin/gcov-13 gcc13.armv7hl: W: position-independent-executable-suggested /usr/bin/gcov-dump-13 gcc13.armv7hl: W: position-independent-executable-suggested /usr/bin/gcov-tool-13 gcc13.armv7hl: W: position-independent-executable-suggested /usr/bin/lto-dump-13 gcc13.armv7hl: W: position-independent-executable-suggested /usr/lib/gcc/armv7hl-suse-linux-gnueabi/13/collect2 gcc13.armv7hl: W: position-independent-executable-suggested /usr/lib/gcc/armv7hl-suse-linux-gnueabi/13/lto-wrapper gcc13.armv7hl: W: position-independent-executable-suggested /usr/lib/gcc/armv7hl-suse-linux-gnueabi/13/lto1 gcc13-c++.armv7hl: W: position-independent-executable-suggested /usr/bin/g++-13 gcc13-c++.armv7hl: W: position-independent-executable-suggested /usr/lib/gcc/armv7hl-suse-linux-gnueabi/13/cc1plus gcc13-c++.armv7hl: W: position-independent-executable-suggested /usr/lib/gcc/armv7hl-suse-linux-gnueabi/13/g++-mapper-server gcc13-d.armv7hl: W: position-independent-executable-suggested /usr/bin/gdc-13 gcc13-d.armv7hl: W: position-independent-executable-suggested /usr/lib/gcc/armv7hl-suse-linux-gnueabi/13/d21 gcc13-devel.armv7hl: W: position-independent-executable-suggested /usr/lib/gcc/armv7hl-suse-linux-gnueabi/13/plugin/gengtype gcc13-fortran.armv7hl: W: position-independent-executable-suggested /usr/bin/gfortran-13 gcc13-fortran.armv7hl: W: position-independent-executable-suggested /usr/lib/gcc/armv7hl-suse-linux-gnueabi/13/f951 gcc13-go.armv7hl: W: position-independent-executable-suggested /usr/bin/gccgo-13 gcc13-go.armv7hl: W: position-independent-executable-suggested /usr/bin/go-13 gcc13-go.armv7hl: W: position-independent-executable-suggested /usr/bin/gofmt-13 gcc13-go.armv7hl: W: position-independent-executable-suggested /usr/lib/gcc/armv7hl-suse-linux-gnueabi/13/buildid gcc13-go.armv7hl: W: position-independent-executable-suggested /usr/lib/gcc/armv7hl-suse-linux-gnueabi/13/cgo gcc13-go.armv7hl: W: position-independent-executable-suggested /usr/lib/gcc/armv7hl-suse-linux-gnueabi/13/go1 gcc13-m2.armv7hl: W: position-independent-executable-suggested /usr/bin/gm2-13 gcc13-m2.armv7hl: W: position-independent-executable-suggested /usr/lib/gcc/armv7hl-suse-linux-gnueabi/13/cc1gm2 gcc13-obj-c++.armv7hl: W: position-independent-executable-suggested /usr/lib/gcc/armv7hl-suse-linux-gnueabi/13/cc1objplus gcc13-objc.armv7hl: W: position-independent-executable-suggested /usr/lib/gcc/armv7hl-suse-linux-gnueabi/13/cc1obj 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. gcc13-info.noarch: W: package-with-huge-docs 100% More than half the size of your package is documentation. Consider splitting it into a -doc subpackage. gcc13.spec:873: E: obsolete-suse-version-check 1120 The specfile contains a comparison of %suse_version against a suse release that is no longer in maintenance. Consider removing obsolete parts of your spec file to make it more readable. gcc13-PIE.armv7hl: E: no-binary gcc13-locale.armv7hl: E: no-binary libgccjit0-devel-gcc13.armv7hl: E: no-binary libstdc++6-gcc13-locale.armv7hl: E: no-binary libstdc++6-pp-gcc13.armv7hl: E: no-binary The package should be of the noarch architecture because it doesn't contain any binaries. 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. gcc13.spec:3136: W: macro-in-comment %{GCCDIST} gcc13.spec:3136: W: macro-in-comment %{binsuffix} 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. gcc13.armv7hl: W: files-duplicate /usr/lib/gcc/armv7hl-suse-linux-gnueabi/13/crtendS.o /usr/lib/gcc/armv7hl-suse-linux-gnueabi/13/crtend.o libstdc++6-devel-gcc13.armv7hl: W: files-duplicate /usr/include/c++/13/armv7hl-suse-linux-gnueabi/bits/gthr-posix.h /usr/include/c++/13/armv7hl-suse-linux-gnueabi/bits/gthr-default.h libstdc++6-devel-gcc13.armv7hl: W: files-duplicate /usr/include/c++/13/ext/hash_map /usr/include/c++/13/backward/hash_map libstdc++6-devel-gcc13.armv7hl: W: files-duplicate /usr/include/c++/13/ext/hash_set /usr/include/c++/13/backward/hash_set Your package contains duplicated files that are not hard- or symlinks. You should use the %fdupes macro to link the files to one. gcc13.armv7hl: W: binary-or-shlib-calls-gethostbyname /usr/lib/gcc/armv7hl-suse-linux-gnueabi/13/libasan.a gcc13.armv7hl: W: binary-or-shlib-calls-gethostbyname /usr/lib/gcc/armv7hl-suse-linux-gnueabi/13/libasan.so gcc13-d.armv7hl: W: binary-or-shlib-calls-gethostbyname /usr/lib/gcc/armv7hl-suse-linux-gnueabi/13/libgphobos.so gcc13-m2.armv7hl: W: binary-or-shlib-calls-gethostbyname /usr/lib/gcc/armv7hl-suse-linux-gnueabi/13/libm2iso.so gcc13-m2.armv7hl: W: binary-or-shlib-calls-gethostbyname /usr/lib/gcc/armv7hl-suse-linux-gnueabi/13/libm2pim.so libasan8-gcc13.armv7hl: W: binary-or-shlib-calls-gethostbyname /usr/lib/libasan.so.8.0.0 libgphobos4.armv7hl: W: binary-or-shlib-calls-gethostbyname /usr/lib/libgphobos.so.4.0.0 libm2iso18.armv7hl: W: binary-or-shlib-calls-gethostbyname /usr/lib/libm2iso.so.18.0.0 libm2pim18.armv7hl: W: binary-or-shlib-calls-gethostbyname /usr/lib/libm2pim.so.18.0.0 The binary calls gethostbyname. Please port the code to use getaddrinfo. Check time report (>1% & >0.1s): Check Duration (in s) Fraction (in %) Checked files ExtractRpm 52.5 62.9 BinariesCheck 24.0 28.7 SharedLibraryPolicyCheck 2.7 3.2 SignatureCheck 1.7 2.1 FilesCheck 1.0 1.2 TOTAL 83.4 100.0 36 packages and 0 specfiles checked; 8 errors, 69 warnings, 782 filtered, 8 badness; has taken 83.7 s