============================ rpmlint session starts ============================ rpmlint: 2.7.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/gcc7-rpmlintrc checks: 41, packages: 23 gcc7.src: E: unused-rpmlintrc-filter "gcc.*devel-dependency libstdc" gcc7.src: E: unused-rpmlintrc-filter "libstdc.*shlib-policy-missing-lib" gcc7.src: E: unused-rpmlintrc-filter "shlib-legacy-policy-name-error" gcc7.src: E: unused-rpmlintrc-filter "conflicts-with-provides" gcc7.src: E: unused-rpmlintrc-filter "invalid-license" gcc7.armv6hl: W: unstripped-binary-or-object /usr/lib/gcc/armv6hl-suse-linux-gnueabi/7/libasan.so gcc7.armv6hl: W: unstripped-binary-or-object /usr/lib/gcc/armv6hl-suse-linux-gnueabi/7/libatomic.so gcc7.armv6hl: W: unstripped-binary-or-object /usr/lib/gcc/armv6hl-suse-linux-gnueabi/7/libgcc_s.so.1 gcc7.armv6hl: W: unstripped-binary-or-object /usr/lib/gcc/armv6hl-suse-linux-gnueabi/7/libgomp.so gcc7.armv6hl: W: unstripped-binary-or-object /usr/lib/gcc/armv6hl-suse-linux-gnueabi/7/libitm.so gcc7.armv6hl: W: unstripped-binary-or-object /usr/lib/gcc/armv6hl-suse-linux-gnueabi/7/libubsan.so gcc7-fortran.armv6hl: W: unstripped-binary-or-object /usr/lib/gcc/armv6hl-suse-linux-gnueabi/7/libgfortran.so gcc7-go.armv6hl: W: unstripped-binary-or-object /usr/lib/gcc/armv6hl-suse-linux-gnueabi/7/libgo.so gcc7-objc.armv6hl: W: unstripped-binary-or-object /usr/lib/gcc/armv6hl-suse-linux-gnueabi/7/libobjc.so libstdc++6-devel-gcc7.armv6hl: W: unstripped-binary-or-object /usr/lib/gcc/armv6hl-suse-linux-gnueabi/7/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. cpp7.armv6hl: W: position-independent-executable-suggested /usr/bin/cpp-7 cpp7.armv6hl: W: position-independent-executable-suggested /usr/lib/gcc/armv6hl-suse-linux-gnueabi/7/cc1 gcc7.armv6hl: W: position-independent-executable-suggested /usr/bin/gcc-7 gcc7.armv6hl: W: position-independent-executable-suggested /usr/bin/gcc-ar-7 gcc7.armv6hl: W: position-independent-executable-suggested /usr/bin/gcc-nm-7 gcc7.armv6hl: W: position-independent-executable-suggested /usr/bin/gcc-ranlib-7 gcc7.armv6hl: W: position-independent-executable-suggested /usr/bin/gcov-7 gcc7.armv6hl: W: position-independent-executable-suggested /usr/bin/gcov-dump-7 gcc7.armv6hl: W: position-independent-executable-suggested /usr/bin/gcov-tool-7 gcc7.armv6hl: W: position-independent-executable-suggested /usr/lib/gcc/armv6hl-suse-linux-gnueabi/7/collect2 gcc7.armv6hl: W: position-independent-executable-suggested /usr/lib/gcc/armv6hl-suse-linux-gnueabi/7/lto-wrapper gcc7.armv6hl: W: position-independent-executable-suggested /usr/lib/gcc/armv6hl-suse-linux-gnueabi/7/lto1 gcc7-c++.armv6hl: W: position-independent-executable-suggested /usr/bin/g++-7 gcc7-c++.armv6hl: W: position-independent-executable-suggested /usr/lib/gcc/armv6hl-suse-linux-gnueabi/7/cc1plus gcc7-devel.armv6hl: W: position-independent-executable-suggested /usr/lib/gcc/armv6hl-suse-linux-gnueabi/7/plugin/gengtype gcc7-fortran.armv6hl: W: position-independent-executable-suggested /usr/bin/gfortran-7 gcc7-fortran.armv6hl: W: position-independent-executable-suggested /usr/lib/gcc/armv6hl-suse-linux-gnueabi/7/f951 gcc7-go.armv6hl: W: position-independent-executable-suggested /usr/bin/gccgo-7 gcc7-go.armv6hl: W: position-independent-executable-suggested /usr/bin/go-7 gcc7-go.armv6hl: W: position-independent-executable-suggested /usr/bin/gofmt-7 gcc7-go.armv6hl: W: position-independent-executable-suggested /usr/lib/gcc/armv6hl-suse-linux-gnueabi/7/cgo gcc7-go.armv6hl: W: position-independent-executable-suggested /usr/lib/gcc/armv6hl-suse-linux-gnueabi/7/go1 gcc7-obj-c++.armv6hl: W: position-independent-executable-suggested /usr/lib/gcc/armv6hl-suse-linux-gnueabi/7/cc1objplus gcc7-objc.armv6hl: W: position-independent-executable-suggested /usr/lib/gcc/armv6hl-suse-linux-gnueabi/7/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. gcc7-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. gcc7.spec:733: E: obsolete-suse-version-check 1120 gcc7.spec:1642: 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. gcc7-locale.armv6hl: E: no-binary libstdc++6-gcc7-locale.armv6hl: E: no-binary The package should be of the noarch architecture because it doesn't contain any binaries. gcc7.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. gcc7.armv6hl: W: files-duplicate /usr/lib/gcc/armv6hl-suse-linux-gnueabi/7/crtendS.o /usr/lib/gcc/armv6hl-suse-linux-gnueabi/7/crtend.o libstdc++6-devel-gcc7.armv6hl: W: files-duplicate /usr/include/c++/7/armv6hl-suse-linux-gnueabi/bits/gthr-posix.h /usr/include/c++/7/armv6hl-suse-linux-gnueabi/bits/gthr-default.h libstdc++6-devel-gcc7.armv6hl: W: files-duplicate /usr/include/c++/7/ext/hash_map /usr/include/c++/7/backward/hash_map libstdc++6-devel-gcc7.armv6hl: W: files-duplicate /usr/include/c++/7/ext/hash_set /usr/include/c++/7/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. gcc7.armv6hl: W: binary-or-shlib-calls-gethostbyname /usr/lib/gcc/armv6hl-suse-linux-gnueabi/7/libasan.a gcc7.armv6hl: W: binary-or-shlib-calls-gethostbyname /usr/lib/gcc/armv6hl-suse-linux-gnueabi/7/libasan.so libasan4.armv6hl: W: binary-or-shlib-calls-gethostbyname /usr/lib/libasan.so.4.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 31.1 62.5 BinariesCheck 14.1 28.3 SharedLibraryPolicyCheck 2.1 4.2 SignatureCheck 1.1 2.2 FilesCheck 0.5 1.0 TOTAL 49.8 100.0 23 packages and 0 specfiles checked; 9 errors, 43 warnings, 669 filtered, 9 badness; has taken 49.9 s