There are multiple items to be loaded: /home/abuild/rpmbuild/SOURCES/gcc14-rpmlintrc /home/abuild/rpmbuild/SOURCES/gcc14-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/gcc14-rpmlintrc /home/abuild/rpmbuild/SOURCES/gcc14-testresults-rpmlintrc checks: 41, packages: 2 cross-s390x-gcc14.src: E: unused-rpmlintrc-filter "gcc.*-testresults.*file-contains-buildroot" cross-s390x-gcc14.src: E: unused-rpmlintrc-filter "gcc.*-testresults.*no-binary" cross-s390x-gcc14.armv7hl: E: shared-library-not-executable /usr/s390x-suse-linux/sys-root/lib64/libgcc_s.so.1 This library doesn't have the executable bit set. Without this bit set, rpm for instance won't be able identify the file as a library and not generate dependencies or strip debug symbols from it. cross-s390x-gcc14.armv7hl: W: position-independent-executable-suggested /usr/bin/s390x-suse-linux-c++ cross-s390x-gcc14.armv7hl: W: position-independent-executable-suggested /usr/bin/s390x-suse-linux-cpp cross-s390x-gcc14.armv7hl: W: position-independent-executable-suggested /usr/bin/s390x-suse-linux-g++ cross-s390x-gcc14.armv7hl: W: position-independent-executable-suggested /usr/bin/s390x-suse-linux-gcc cross-s390x-gcc14.armv7hl: W: position-independent-executable-suggested /usr/bin/s390x-suse-linux-gcc-14 cross-s390x-gcc14.armv7hl: W: position-independent-executable-suggested /usr/bin/s390x-suse-linux-gcc-ar cross-s390x-gcc14.armv7hl: W: position-independent-executable-suggested /usr/bin/s390x-suse-linux-gcc-nm cross-s390x-gcc14.armv7hl: W: position-independent-executable-suggested /usr/bin/s390x-suse-linux-gcc-ranlib cross-s390x-gcc14.armv7hl: W: position-independent-executable-suggested /usr/bin/s390x-suse-linux-gcov cross-s390x-gcc14.armv7hl: W: position-independent-executable-suggested /usr/bin/s390x-suse-linux-gcov-dump cross-s390x-gcc14.armv7hl: W: position-independent-executable-suggested /usr/bin/s390x-suse-linux-gcov-tool cross-s390x-gcc14.armv7hl: W: position-independent-executable-suggested /usr/bin/s390x-suse-linux-lto-dump cross-s390x-gcc14.armv7hl: W: position-independent-executable-suggested /usr/lib/gcc/s390x-suse-linux/14/cc1 cross-s390x-gcc14.armv7hl: W: position-independent-executable-suggested /usr/lib/gcc/s390x-suse-linux/14/cc1plus cross-s390x-gcc14.armv7hl: W: position-independent-executable-suggested /usr/lib/gcc/s390x-suse-linux/14/collect2 cross-s390x-gcc14.armv7hl: W: position-independent-executable-suggested /usr/lib/gcc/s390x-suse-linux/14/g++-mapper-server cross-s390x-gcc14.armv7hl: W: position-independent-executable-suggested /usr/lib/gcc/s390x-suse-linux/14/lto-wrapper cross-s390x-gcc14.armv7hl: W: position-independent-executable-suggested /usr/lib/gcc/s390x-suse-linux/14/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-s390x-gcc14.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-s390x-gcc14.armv7hl: E: library-without-ldconfig-postun /usr/s390x-suse-linux/sys-root/lib64/libgcc_s.so.1 This package contains a library and provides no %postun scriptlet containing a call to ldconfig. cross-s390x-gcc14.armv7hl: E: library-without-ldconfig-postin /usr/s390x-suse-linux/sys-root/lib64/libgcc_s.so.1 This package contains a library and provides no %post scriptlet containing a call to ldconfig. cross-s390x-gcc14.armv7hl: W: files-duplicate /usr/include/c++/14/s390x-suse-linux/bits/gthr-posix.h /usr/include/c++/14/s390x-suse-linux/bits/gthr-default.h cross-s390x-gcc14.armv7hl: W: files-duplicate /usr/lib/gcc/s390x-suse-linux/14/crtendS.o /usr/lib/gcc/s390x-suse-linux/14/crtend.o Your package contains duplicated files that are not hard- or symlinks. You should use the %fdupes macro to link the files to one. cross-s390x-gcc14.armv7hl: E: filelist-forbidden-fhs23 /usr/s390x-suse-linux File violates FHS 2.3. cross-s390x-gcc14.armv7hl: E: explicit-lib-dependency libstdc++6-devel-gcc14 You must let rpm find the library dependencies by itself. Do not put unneeded explicit Requires: tags. cross-s390x-gcc14.armv7hl: E: devel-dependency cross-s390x-glibc-devel Your package has a dependency on a devel package but it's not a devel package itself. Check time report (>1% & >0.1s): Check Duration (in s) Fraction (in %) Checked files ExtractRpm 18.3 85.0 BinariesCheck 1.8 8.4 SignatureCheck 1.1 5.0 TOTAL 21.5 100.0 2 packages and 0 specfiles checked; 8 errors, 21 warnings, 97 filtered, 8 badness; has taken 21.5 s