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: 42 gcc13.src: E: unused-rpmlintrc-filter "gcc.*-testresults.*file-contains-buildroot" gcc13.src: E: unused-rpmlintrc-filter "gcc.*-testresults.*no-binary" libstdc++6-pp-gcc13.x86_64: W: self-obsoletion libstdc++6-pp-gcc10 obsoletes libstdc++6-pp-gcc10 libstdc++6-pp-gcc13.x86_64: W: self-obsoletion libstdc++6-pp-gcc11 obsoletes libstdc++6-pp-gcc11 libstdc++6-pp-gcc13.x86_64: 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.x86_64: W: position-independent-executable-suggested /usr/bin/cpp-13 cpp13.x86_64: W: position-independent-executable-suggested /usr/lib64/gcc/x86_64-suse-linux/13/cc1 gcc13.x86_64: W: position-independent-executable-suggested /usr/bin/gcc-13 gcc13.x86_64: W: position-independent-executable-suggested /usr/bin/gcc-ar-13 gcc13.x86_64: W: position-independent-executable-suggested /usr/bin/gcc-nm-13 gcc13.x86_64: W: position-independent-executable-suggested /usr/bin/gcc-ranlib-13 gcc13.x86_64: W: position-independent-executable-suggested /usr/bin/gcov-13 gcc13.x86_64: W: position-independent-executable-suggested /usr/bin/gcov-dump-13 gcc13.x86_64: W: position-independent-executable-suggested /usr/bin/gcov-tool-13 gcc13.x86_64: W: position-independent-executable-suggested /usr/bin/lto-dump-13 gcc13.x86_64: W: position-independent-executable-suggested /usr/bin/x86_64-suse-linux-gcc-13 gcc13.x86_64: W: position-independent-executable-suggested /usr/lib64/gcc/x86_64-suse-linux/13/collect2 gcc13.x86_64: W: position-independent-executable-suggested /usr/lib64/gcc/x86_64-suse-linux/13/lto-wrapper gcc13.x86_64: W: position-independent-executable-suggested /usr/lib64/gcc/x86_64-suse-linux/13/lto1 gcc13-ada.x86_64: W: position-independent-executable-suggested /usr/bin/gnat-13 gcc13-ada.x86_64: W: position-independent-executable-suggested /usr/bin/gnatbind-13 gcc13-ada.x86_64: W: position-independent-executable-suggested /usr/bin/gnatchop-13 gcc13-ada.x86_64: W: position-independent-executable-suggested /usr/bin/gnatclean-13 gcc13-ada.x86_64: W: position-independent-executable-suggested /usr/bin/gnatkr-13 gcc13-ada.x86_64: W: position-independent-executable-suggested /usr/bin/gnatlink-13 gcc13-ada.x86_64: W: position-independent-executable-suggested /usr/bin/gnatls-13 gcc13-ada.x86_64: W: position-independent-executable-suggested /usr/bin/gnatmake-13 gcc13-ada.x86_64: W: position-independent-executable-suggested /usr/bin/gnatname-13 gcc13-ada.x86_64: W: position-independent-executable-suggested /usr/bin/gnatprep-13 gcc13-ada.x86_64: W: position-independent-executable-suggested /usr/lib64/gcc/x86_64-suse-linux/13/gnat1 gcc13-c++.x86_64: W: position-independent-executable-suggested /usr/bin/g++-13 gcc13-c++.x86_64: W: position-independent-executable-suggested /usr/lib64/gcc/x86_64-suse-linux/13/cc1plus gcc13-c++.x86_64: W: position-independent-executable-suggested /usr/lib64/gcc/x86_64-suse-linux/13/g++-mapper-server gcc13-d.x86_64: W: position-independent-executable-suggested /usr/bin/gdc-13 gcc13-d.x86_64: W: position-independent-executable-suggested /usr/lib64/gcc/x86_64-suse-linux/13/d21 gcc13-devel.x86_64: W: position-independent-executable-suggested /usr/lib64/gcc/x86_64-suse-linux/13/plugin/gengtype gcc13-fortran.x86_64: W: position-independent-executable-suggested /usr/bin/gfortran-13 gcc13-fortran.x86_64: W: position-independent-executable-suggested /usr/lib64/gcc/x86_64-suse-linux/13/f951 gcc13-go.x86_64: W: position-independent-executable-suggested /usr/bin/gccgo-13 gcc13-go.x86_64: W: position-independent-executable-suggested /usr/bin/go-13 gcc13-go.x86_64: W: position-independent-executable-suggested /usr/bin/gofmt-13 gcc13-go.x86_64: W: position-independent-executable-suggested /usr/lib64/gcc/x86_64-suse-linux/13/buildid gcc13-go.x86_64: W: position-independent-executable-suggested /usr/lib64/gcc/x86_64-suse-linux/13/cgo gcc13-go.x86_64: W: position-independent-executable-suggested /usr/lib64/gcc/x86_64-suse-linux/13/go1 gcc13-m2.x86_64: W: position-independent-executable-suggested /usr/bin/gm2-13 gcc13-m2.x86_64: W: position-independent-executable-suggested /usr/lib64/gcc/x86_64-suse-linux/13/cc1gm2 gcc13-obj-c++.x86_64: W: position-independent-executable-suggested /usr/lib64/gcc/x86_64-suse-linux/13/cc1objplus gcc13-objc.x86_64: W: position-independent-executable-suggested /usr/lib64/gcc/x86_64-suse-linux/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:868: 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-locale.x86_64: E: no-binary libstdc++6-gcc13-locale.x86_64: E: no-binary libstdc++6-pp-gcc13.x86_64: 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:3099: W: macro-in-comment %{GCCDIST} gcc13.spec:3099: 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.x86_64: W: files-duplicate /usr/lib64/gcc/x86_64-suse-linux/13/crtendS.o /usr/lib64/gcc/x86_64-suse-linux/13/crtend.o libstdc++6-devel-gcc13.x86_64: W: files-duplicate /usr/include/c++/13/ext/hash_map /usr/include/c++/13/backward/hash_map libstdc++6-devel-gcc13.x86_64: W: files-duplicate /usr/include/c++/13/ext/hash_set /usr/include/c++/13/backward/hash_set libstdc++6-devel-gcc13.x86_64: W: files-duplicate /usr/include/c++/13/x86_64-suse-linux/bits/gthr-posix.h /usr/include/c++/13/x86_64-suse-linux/bits/gthr-default.h Your package contains duplicated files that are not hard- or symlinks. You should use the %fdupes macro to link the files to one. gcc13.x86_64: W: binary-or-shlib-calls-gethostbyname /usr/lib64/gcc/x86_64-suse-linux/13/libasan.a gcc13.x86_64: W: binary-or-shlib-calls-gethostbyname /usr/lib64/gcc/x86_64-suse-linux/13/libtsan.a gcc13-ada.x86_64: W: binary-or-shlib-calls-gethostbyname /usr/lib64/gcc/x86_64-suse-linux/13/adalib/libgnat.a gcc13-ada.x86_64: W: binary-or-shlib-calls-gethostbyname /usr/lib64/gcc/x86_64-suse-linux/13/adalib/libgnat_pic.a libada13.x86_64: W: binary-or-shlib-calls-gethostbyname /usr/lib64/libgnat-13.so libasan8-gcc13.x86_64: W: binary-or-shlib-calls-gethostbyname /usr/lib64/libasan.so.8.0.0 libgphobos4.x86_64: W: binary-or-shlib-calls-gethostbyname /usr/lib64/libgphobos.so.4.0.0 libm2iso18-gcc13.x86_64: W: binary-or-shlib-calls-gethostbyname /usr/lib64/libm2iso.so.18.0.0 libm2pim18-gcc13.x86_64: W: binary-or-shlib-calls-gethostbyname /usr/lib64/libm2pim.so.18.0.0 libtsan2-gcc13.x86_64: W: binary-or-shlib-calls-gethostbyname /usr/lib64/libtsan.so.2.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 BinariesCheck 10.8 51.2 ExtractRpm 5.4 25.9 SharedLibraryPolicyCheck 1.6 7.8 SignatureCheck 1.3 6.2 FilesCheck 0.7 3.4 BuildRootAndDateCheck 0.7 3.2 TOTAL 21.0 100.0 42 packages and 0 specfiles checked; 6 errors, 64 warnings, 939 filtered, 6 badness; has taken 21.4 s