============================ 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/gcc7-rpmlintrc checks: 41, packages: 2 cross-rx-gcc7.aarch64: W: zero-perms-ghost Suggestion: "%ghost %attr(0644,root,root) /etc/alternatives/rx-elf-c++" cross-rx-gcc7.aarch64: W: zero-perms-ghost Suggestion: "%ghost %attr(0644,root,root) /etc/alternatives/rx-elf-cpp" cross-rx-gcc7.aarch64: W: zero-perms-ghost Suggestion: "%ghost %attr(0644,root,root) /etc/alternatives/rx-elf-g++" cross-rx-gcc7.aarch64: W: zero-perms-ghost Suggestion: "%ghost %attr(0644,root,root) /etc/alternatives/rx-elf-gcc" cross-rx-gcc7.aarch64: W: zero-perms-ghost Suggestion: "%ghost %attr(0644,root,root) /etc/alternatives/rx-elf-gcc-ar" cross-rx-gcc7.aarch64: W: zero-perms-ghost Suggestion: "%ghost %attr(0644,root,root) /etc/alternatives/rx-elf-gcc-nm" cross-rx-gcc7.aarch64: W: zero-perms-ghost Suggestion: "%ghost %attr(0644,root,root) /etc/alternatives/rx-elf-gcc-ranlib" cross-rx-gcc7.aarch64: W: zero-perms-ghost Suggestion: "%ghost %attr(0644,root,root) /etc/alternatives/rx-elf-gcov" cross-rx-gcc7.aarch64: W: zero-perms-ghost Suggestion: "%ghost %attr(0644,root,root) /etc/alternatives/rx-elf-gcov-dump" cross-rx-gcc7.aarch64: W: zero-perms-ghost Suggestion: "%ghost %attr(0644,root,root) /etc/alternatives/rx-elf-gcov-tool" 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-rx-gcc7.src: E: unused-rpmlintrc-filter "gcc.*devel-file-in-non-devel-package" cross-rx-gcc7.src: E: unused-rpmlintrc-filter "gcc.*devel-dependency glibc-devel" cross-rx-gcc7.src: E: unused-rpmlintrc-filter "gcc.*devel-dependency libstdc" cross-rx-gcc7.src: E: unused-rpmlintrc-filter "libstdc.*shlib-policy-missing-lib" cross-rx-gcc7.src: E: unused-rpmlintrc-filter "shlib-policy-name-error" cross-rx-gcc7.src: E: unused-rpmlintrc-filter "shlib-legacy-policy-name-error" cross-rx-gcc7.src: E: unused-rpmlintrc-filter "conflicts-with-provides" cross-rx-gcc7.src: E: unused-rpmlintrc-filter "invalid-license" cross-rx-gcc7.aarch64: W: unstripped-binary-or-object /usr/bin/rx-elf-c++-7 cross-rx-gcc7.aarch64: W: unstripped-binary-or-object /usr/bin/rx-elf-cpp-7 cross-rx-gcc7.aarch64: W: unstripped-binary-or-object /usr/bin/rx-elf-g++-7 cross-rx-gcc7.aarch64: W: unstripped-binary-or-object /usr/bin/rx-elf-gcc-7 cross-rx-gcc7.aarch64: W: unstripped-binary-or-object /usr/bin/rx-elf-gcc-ar-7 cross-rx-gcc7.aarch64: W: unstripped-binary-or-object /usr/bin/rx-elf-gcc-nm-7 cross-rx-gcc7.aarch64: W: unstripped-binary-or-object /usr/bin/rx-elf-gcc-ranlib-7 cross-rx-gcc7.aarch64: W: unstripped-binary-or-object /usr/bin/rx-elf-gcov-7 cross-rx-gcc7.aarch64: W: unstripped-binary-or-object /usr/bin/rx-elf-gcov-dump-7 cross-rx-gcc7.aarch64: W: unstripped-binary-or-object /usr/bin/rx-elf-gcov-tool-7 cross-rx-gcc7.aarch64: W: unstripped-binary-or-object /usr/lib64/gcc/rx-elf/7/cc1 cross-rx-gcc7.aarch64: W: unstripped-binary-or-object /usr/lib64/gcc/rx-elf/7/cc1plus cross-rx-gcc7.aarch64: W: unstripped-binary-or-object /usr/lib64/gcc/rx-elf/7/collect2 cross-rx-gcc7.aarch64: W: unstripped-binary-or-object /usr/lib64/gcc/rx-elf/7/liblto_plugin.so.0.0.0 cross-rx-gcc7.aarch64: W: unstripped-binary-or-object /usr/lib64/gcc/rx-elf/7/lto-wrapper cross-rx-gcc7.aarch64: W: unstripped-binary-or-object /usr/lib64/gcc/rx-elf/7/lto1 This executable should be stripped from debugging symbols, in order to take less space and be loaded faster. This is usually done automatically at buildtime by rpm. cross-rx-gcc7.aarch64: W: position-independent-executable-suggested /usr/bin/rx-elf-c++-7 cross-rx-gcc7.aarch64: W: position-independent-executable-suggested /usr/bin/rx-elf-cpp-7 cross-rx-gcc7.aarch64: W: position-independent-executable-suggested /usr/bin/rx-elf-g++-7 cross-rx-gcc7.aarch64: W: position-independent-executable-suggested /usr/bin/rx-elf-gcc-7 cross-rx-gcc7.aarch64: W: position-independent-executable-suggested /usr/bin/rx-elf-gcc-ar-7 cross-rx-gcc7.aarch64: W: position-independent-executable-suggested /usr/bin/rx-elf-gcc-nm-7 cross-rx-gcc7.aarch64: W: position-independent-executable-suggested /usr/bin/rx-elf-gcc-ranlib-7 cross-rx-gcc7.aarch64: W: position-independent-executable-suggested /usr/bin/rx-elf-gcov-7 cross-rx-gcc7.aarch64: W: position-independent-executable-suggested /usr/bin/rx-elf-gcov-dump-7 cross-rx-gcc7.aarch64: W: position-independent-executable-suggested /usr/bin/rx-elf-gcov-tool-7 cross-rx-gcc7.aarch64: W: position-independent-executable-suggested /usr/lib64/gcc/rx-elf/7/cc1 cross-rx-gcc7.aarch64: W: position-independent-executable-suggested /usr/lib64/gcc/rx-elf/7/cc1plus cross-rx-gcc7.aarch64: W: position-independent-executable-suggested /usr/lib64/gcc/rx-elf/7/collect2 cross-rx-gcc7.aarch64: W: position-independent-executable-suggested /usr/lib64/gcc/rx-elf/7/lto-wrapper cross-rx-gcc7.aarch64: W: position-independent-executable-suggested /usr/lib64/gcc/rx-elf/7/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-rx-gcc7.aarch64: I: package-supports-update-alternatives cross-rx-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. cross-rx-gcc7.spec:749: 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-rx-gcc7.aarch64: E: files-duplicated-waste (Badness: 100) 4522188 Your package contains duplicated files that are not hard- or symlinks. You should use the %fdupes macro to link the files to one. cross-rx-gcc7.aarch64: W: files-duplicate /usr/include/c++/7/rx-elf/pid/no-strings/bits/atomic_word.h /usr/include/c++/7/rx-elf/64-bit-double/big-endian-data/bits/atomic_word.h:/usr/include/c++/7/rx-elf/64-bit-double/big-endian-data/no-strings/bits/atomic_word.h:/usr/include/c++/7/rx-elf/64-bit-double/big-endian-data/pid/bits/atomic_word.h:/usr/include/c++/7/rx-elf/64-bit-double/big-endian-data/pid/no-strings/bits/atomic_word.h:/usr/include/c++/7/rx-elf/64-bit-double/bits/atomic_word.h:(and 26 more) cross-rx-gcc7.aarch64: W: files-duplicate /usr/include/c++/7/rx-elf/pid/no-strings/bits/basic_file.h /usr/include/c++/7/rx-elf/64-bit-double/big-endian-data/bits/basic_file.h:/usr/include/c++/7/rx-elf/64-bit-double/big-endian-data/no-strings/bits/basic_file.h:/usr/include/c++/7/rx-elf/64-bit-double/big-endian-data/pid/bits/basic_file.h:/usr/include/c++/7/rx-elf/64-bit-double/big-endian-data/pid/no-strings/bits/basic_file.h:/usr/include/c++/7/rx-elf/64-bit-double/bits/basic_file.h:(and 26 more) cross-rx-gcc7.aarch64: W: files-duplicate /usr/include/c++/7/rx-elf/pid/no-strings/bits/c++allocator.h /usr/include/c++/7/rx-elf/64-bit-double/big-endian-data/bits/c++allocator.h:/usr/include/c++/7/rx-elf/64-bit-double/big-endian-data/no-strings/bits/c++allocator.h:/usr/include/c++/7/rx-elf/64-bit-double/big-endian-data/pid/bits/c++allocator.h:/usr/include/c++/7/rx-elf/64-bit-double/big-endian-data/pid/no-strings/bits/c++allocator.h:/usr/include/c++/7/rx-elf/64-bit-double/bits/c++allocator.h:(and 26 more) cross-rx-gcc7.aarch64: W: files-duplicate /usr/include/c++/7/rx-elf/pid/no-strings/bits/c++config.h /usr/include/c++/7/rx-elf/64-bit-double/big-endian-data/bits/c++config.h:/usr/include/c++/7/rx-elf/64-bit-double/big-endian-data/no-strings/bits/c++config.h:/usr/include/c++/7/rx-elf/64-bit-double/big-endian-data/pid/bits/c++config.h:/usr/include/c++/7/rx-elf/64-bit-double/big-endian-data/pid/no-strings/bits/c++config.h:/usr/include/c++/7/rx-elf/64-bit-double/bits/c++config.h:(and 26 more) cross-rx-gcc7.aarch64: W: files-duplicate /usr/include/c++/7/rx-elf/pid/no-strings/bits/c++io.h /usr/include/c++/7/rx-elf/64-bit-double/big-endian-data/bits/c++io.h:/usr/include/c++/7/rx-elf/64-bit-double/big-endian-data/no-strings/bits/c++io.h:/usr/include/c++/7/rx-elf/64-bit-double/big-endian-data/pid/bits/c++io.h:/usr/include/c++/7/rx-elf/64-bit-double/big-endian-data/pid/no-strings/bits/c++io.h:/usr/include/c++/7/rx-elf/64-bit-double/bits/c++io.h:(and 26 more) cross-rx-gcc7.aarch64: W: files-duplicate /usr/include/c++/7/rx-elf/pid/no-strings/bits/c++locale.h /usr/include/c++/7/rx-elf/64-bit-double/big-endian-data/bits/c++locale.h:/usr/include/c++/7/rx-elf/64-bit-double/big-endian-data/no-strings/bits/c++locale.h:/usr/include/c++/7/rx-elf/64-bit-double/big-endian-data/pid/bits/c++locale.h:/usr/include/c++/7/rx-elf/64-bit-double/big-endian-data/pid/no-strings/bits/c++locale.h:/usr/include/c++/7/rx-elf/64-bit-double/bits/c++locale.h:(and 26 more) cross-rx-gcc7.aarch64: W: files-duplicate /usr/include/c++/7/rx-elf/pid/no-strings/bits/cpu_defines.h /usr/include/c++/7/rx-elf/64-bit-double/big-endian-data/bits/cpu_defines.h:/usr/include/c++/7/rx-elf/64-bit-double/big-endian-data/no-strings/bits/cpu_defines.h:/usr/include/c++/7/rx-elf/64-bit-double/big-endian-data/pid/bits/cpu_defines.h:/usr/include/c++/7/rx-elf/64-bit-double/big-endian-data/pid/no-strings/bits/cpu_defines.h:/usr/include/c++/7/rx-elf/64-bit-double/bits/cpu_defines.h:(and 26 more) cross-rx-gcc7.aarch64: W: files-duplicate /usr/include/c++/7/rx-elf/pid/no-strings/bits/ctype_base.h /usr/include/c++/7/rx-elf/64-bit-double/big-endian-data/bits/ctype_base.h:/usr/include/c++/7/rx-elf/64-bit-double/big-endian-data/no-strings/bits/ctype_base.h:/usr/include/c++/7/rx-elf/64-bit-double/big-endian-data/pid/bits/ctype_base.h:/usr/include/c++/7/rx-elf/64-bit-double/big-endian-data/pid/no-strings/bits/ctype_base.h:/usr/include/c++/7/rx-elf/64-bit-double/bits/ctype_base.h:(and 26 more) cross-rx-gcc7.aarch64: W: files-duplicate /usr/include/c++/7/rx-elf/pid/no-strings/bits/ctype_inline.h /usr/include/c++/7/rx-elf/64-bit-double/big-endian-data/bits/ctype_inline.h:/usr/include/c++/7/rx-elf/64-bit-double/big-endian-data/no-strings/bits/ctype_inline.h:/usr/include/c++/7/rx-elf/64-bit-double/big-endian-data/pid/bits/ctype_inline.h:/usr/include/c++/7/rx-elf/64-bit-double/big-endian-data/pid/no-strings/bits/ctype_inline.h:/usr/include/c++/7/rx-elf/64-bit-double/bits/ctype_inline.h:(and 26 more) cross-rx-gcc7.aarch64: W: files-duplicate /usr/include/c++/7/rx-elf/pid/no-strings/bits/cxxabi_tweaks.h /usr/include/c++/7/rx-elf/64-bit-double/big-endian-data/bits/cxxabi_tweaks.h:/usr/include/c++/7/rx-elf/64-bit-double/big-endian-data/no-strings/bits/cxxabi_tweaks.h:/usr/include/c++/7/rx-elf/64-bit-double/big-endian-data/pid/bits/cxxabi_tweaks.h:/usr/include/c++/7/rx-elf/64-bit-double/big-endian-data/pid/no-strings/bits/cxxabi_tweaks.h:/usr/include/c++/7/rx-elf/64-bit-double/bits/cxxabi_tweaks.h:(and 26 more) cross-rx-gcc7.aarch64: W: files-duplicate /usr/include/c++/7/rx-elf/pid/no-strings/bits/error_constants.h /usr/include/c++/7/rx-elf/64-bit-double/big-endian-data/bits/error_constants.h:/usr/include/c++/7/rx-elf/64-bit-double/big-endian-data/no-strings/bits/error_constants.h:/usr/include/c++/7/rx-elf/64-bit-double/big-endian-data/pid/bits/error_constants.h:/usr/include/c++/7/rx-elf/64-bit-double/big-endian-data/pid/no-strings/bits/error_constants.h:/usr/include/c++/7/rx-elf/64-bit-double/bits/error_constants.h:(and 26 more) cross-rx-gcc7.aarch64: W: files-duplicate /usr/include/c++/7/rx-elf/pid/no-strings/bits/extc++.h /usr/include/c++/7/rx-elf/64-bit-double/big-endian-data/bits/extc++.h:/usr/include/c++/7/rx-elf/64-bit-double/big-endian-data/no-strings/bits/extc++.h:/usr/include/c++/7/rx-elf/64-bit-double/big-endian-data/pid/bits/extc++.h:/usr/include/c++/7/rx-elf/64-bit-double/big-endian-data/pid/no-strings/bits/extc++.h:/usr/include/c++/7/rx-elf/64-bit-double/bits/extc++.h:(and 26 more) cross-rx-gcc7.aarch64: W: files-duplicate /usr/include/c++/7/rx-elf/pid/no-strings/bits/gthr-single.h /usr/include/c++/7/rx-elf/64-bit-double/big-endian-data/bits/gthr-default.h:/usr/include/c++/7/rx-elf/64-bit-double/big-endian-data/bits/gthr-single.h:/usr/include/c++/7/rx-elf/64-bit-double/big-endian-data/no-strings/bits/gthr-default.h:/usr/include/c++/7/rx-elf/64-bit-double/big-endian-data/no-strings/bits/gthr-single.h:/usr/include/c++/7/rx-elf/64-bit-double/big-endian-data/pid/bits/gthr-default.h:(and 58 more) cross-rx-gcc7.aarch64: W: files-duplicate /usr/include/c++/7/rx-elf/pid/no-strings/bits/gthr-posix.h /usr/include/c++/7/rx-elf/64-bit-double/big-endian-data/bits/gthr-posix.h:/usr/include/c++/7/rx-elf/64-bit-double/big-endian-data/no-strings/bits/gthr-posix.h:/usr/include/c++/7/rx-elf/64-bit-double/big-endian-data/pid/bits/gthr-posix.h:/usr/include/c++/7/rx-elf/64-bit-double/big-endian-data/pid/no-strings/bits/gthr-posix.h:/usr/include/c++/7/rx-elf/64-bit-double/bits/gthr-posix.h:(and 26 more) cross-rx-gcc7.aarch64: W: files-duplicate /usr/include/c++/7/rx-elf/pid/no-strings/bits/gthr.h /usr/include/c++/7/rx-elf/64-bit-double/big-endian-data/bits/gthr.h:/usr/include/c++/7/rx-elf/64-bit-double/big-endian-data/no-strings/bits/gthr.h:/usr/include/c++/7/rx-elf/64-bit-double/big-endian-data/pid/bits/gthr.h:/usr/include/c++/7/rx-elf/64-bit-double/big-endian-data/pid/no-strings/bits/gthr.h:/usr/include/c++/7/rx-elf/64-bit-double/bits/gthr.h:(and 26 more) cross-rx-gcc7.aarch64: W: files-duplicate /usr/include/c++/7/rx-elf/pid/no-strings/bits/messages_members.h /usr/include/c++/7/rx-elf/64-bit-double/big-endian-data/bits/messages_members.h:/usr/include/c++/7/rx-elf/64-bit-double/big-endian-data/no-strings/bits/messages_members.h:/usr/include/c++/7/rx-elf/64-bit-double/big-endian-data/pid/bits/messages_members.h:/usr/include/c++/7/rx-elf/64-bit-double/big-endian-data/pid/no-strings/bits/messages_members.h:/usr/include/c++/7/rx-elf/64-bit-double/bits/messages_members.h:(and 26 more) cross-rx-gcc7.aarch64: W: files-duplicate /usr/include/c++/7/rx-elf/pid/no-strings/bits/opt_random.h /usr/include/c++/7/rx-elf/64-bit-double/big-endian-data/bits/opt_random.h:/usr/include/c++/7/rx-elf/64-bit-double/big-endian-data/no-strings/bits/opt_random.h:/usr/include/c++/7/rx-elf/64-bit-double/big-endian-data/pid/bits/opt_random.h:/usr/include/c++/7/rx-elf/64-bit-double/big-endian-data/pid/no-strings/bits/opt_random.h:/usr/include/c++/7/rx-elf/64-bit-double/bits/opt_random.h:(and 26 more) cross-rx-gcc7.aarch64: W: files-duplicate /usr/include/c++/7/rx-elf/pid/no-strings/bits/os_defines.h /usr/include/c++/7/rx-elf/64-bit-double/big-endian-data/bits/os_defines.h:/usr/include/c++/7/rx-elf/64-bit-double/big-endian-data/no-strings/bits/os_defines.h:/usr/include/c++/7/rx-elf/64-bit-double/big-endian-data/pid/bits/os_defines.h:/usr/include/c++/7/rx-elf/64-bit-double/big-endian-data/pid/no-strings/bits/os_defines.h:/usr/include/c++/7/rx-elf/64-bit-double/bits/os_defines.h:(and 26 more) cross-rx-gcc7.aarch64: W: files-duplicate /usr/include/c++/7/rx-elf/pid/no-strings/bits/stdc++.h /usr/include/c++/7/rx-elf/64-bit-double/big-endian-data/bits/stdc++.h:/usr/include/c++/7/rx-elf/64-bit-double/big-endian-data/no-strings/bits/stdc++.h:/usr/include/c++/7/rx-elf/64-bit-double/big-endian-data/pid/bits/stdc++.h:/usr/include/c++/7/rx-elf/64-bit-double/big-endian-data/pid/no-strings/bits/stdc++.h:/usr/include/c++/7/rx-elf/64-bit-double/bits/stdc++.h:(and 26 more) cross-rx-gcc7.aarch64: W: files-duplicate /usr/include/c++/7/rx-elf/pid/no-strings/bits/stdtr1c++.h /usr/include/c++/7/rx-elf/64-bit-double/big-endian-data/bits/stdtr1c++.h:/usr/include/c++/7/rx-elf/64-bit-double/big-endian-data/no-strings/bits/stdtr1c++.h:/usr/include/c++/7/rx-elf/64-bit-double/big-endian-data/pid/bits/stdtr1c++.h:/usr/include/c++/7/rx-elf/64-bit-double/big-endian-data/pid/no-strings/bits/stdtr1c++.h:/usr/include/c++/7/rx-elf/64-bit-double/bits/stdtr1c++.h:(and 26 more) cross-rx-gcc7.aarch64: W: files-duplicate /usr/include/c++/7/rx-elf/pid/no-strings/bits/time_members.h /usr/include/c++/7/rx-elf/64-bit-double/big-endian-data/bits/time_members.h:/usr/include/c++/7/rx-elf/64-bit-double/big-endian-data/no-strings/bits/time_members.h:/usr/include/c++/7/rx-elf/64-bit-double/big-endian-data/pid/bits/time_members.h:/usr/include/c++/7/rx-elf/64-bit-double/big-endian-data/pid/no-strings/bits/time_members.h:/usr/include/c++/7/rx-elf/64-bit-double/bits/time_members.h:(and 26 more) cross-rx-gcc7.aarch64: W: files-duplicate /usr/include/c++/7/rx-elf/pid/no-strings/ext/opt_random.h /usr/include/c++/7/rx-elf/64-bit-double/big-endian-data/ext/opt_random.h:/usr/include/c++/7/rx-elf/64-bit-double/big-endian-data/no-strings/ext/opt_random.h:/usr/include/c++/7/rx-elf/64-bit-double/big-endian-data/pid/ext/opt_random.h:/usr/include/c++/7/rx-elf/64-bit-double/big-endian-data/pid/no-strings/ext/opt_random.h:/usr/include/c++/7/rx-elf/64-bit-double/ext/opt_random.h:(and 26 more) cross-rx-gcc7.aarch64: W: files-duplicate /usr/lib64/gcc/rx-elf/7/64-bit-double/no-fpu-libs/big-endian-data/crtbegin.o /usr/lib64/gcc/rx-elf/7/64-bit-double/big-endian-data/crtbegin.o cross-rx-gcc7.aarch64: W: files-duplicate /usr/lib64/gcc/rx-elf/7/64-bit-double/no-fpu-libs/big-endian-data/crtend.o /usr/lib64/gcc/rx-elf/7/64-bit-double/big-endian-data/crtend.o cross-rx-gcc7.aarch64: W: files-duplicate /usr/lib64/gcc/rx-elf/7/64-bit-double/no-fpu-libs/big-endian-data/no-strings/crtbegin.o /usr/lib64/gcc/rx-elf/7/64-bit-double/big-endian-data/no-strings/crtbegin.o cross-rx-gcc7.aarch64: W: files-duplicate /usr/lib64/gcc/rx-elf/7/64-bit-double/no-fpu-libs/big-endian-data/no-strings/crtend.o /usr/lib64/gcc/rx-elf/7/64-bit-double/big-endian-data/no-strings/crtend.o cross-rx-gcc7.aarch64: W: files-duplicate /usr/lib64/gcc/rx-elf/7/64-bit-double/no-fpu-libs/big-endian-data/pid/crtbegin.o /usr/lib64/gcc/rx-elf/7/64-bit-double/big-endian-data/pid/crtbegin.o cross-rx-gcc7.aarch64: W: files-duplicate /usr/lib64/gcc/rx-elf/7/64-bit-double/no-fpu-libs/big-endian-data/pid/crtend.o /usr/lib64/gcc/rx-elf/7/64-bit-double/big-endian-data/pid/crtend.o cross-rx-gcc7.aarch64: W: files-duplicate /usr/lib64/gcc/rx-elf/7/64-bit-double/no-fpu-libs/big-endian-data/pid/no-strings/crtbegin.o /usr/lib64/gcc/rx-elf/7/64-bit-double/big-endian-data/pid/no-strings/crtbegin.o cross-rx-gcc7.aarch64: W: files-duplicate /usr/lib64/gcc/rx-elf/7/64-bit-double/no-fpu-libs/big-endian-data/pid/no-strings/crtend.o /usr/lib64/gcc/rx-elf/7/64-bit-double/big-endian-data/pid/no-strings/crtend.o cross-rx-gcc7.aarch64: W: files-duplicate /usr/lib64/gcc/rx-elf/7/64-bit-double/no-fpu-libs/crtbegin.o /usr/lib64/gcc/rx-elf/7/64-bit-double/crtbegin.o cross-rx-gcc7.aarch64: W: files-duplicate /usr/lib64/gcc/rx-elf/7/64-bit-double/no-fpu-libs/crtend.o /usr/lib64/gcc/rx-elf/7/64-bit-double/crtend.o cross-rx-gcc7.aarch64: W: files-duplicate /usr/lib64/gcc/rx-elf/7/64-bit-double/no-strings/crtbegin.o /usr/lib64/gcc/rx-elf/7/64-bit-double/no-fpu-libs/no-strings/crtbegin.o cross-rx-gcc7.aarch64: W: files-duplicate /usr/lib64/gcc/rx-elf/7/64-bit-double/no-strings/crtend.o /usr/lib64/gcc/rx-elf/7/64-bit-double/no-fpu-libs/no-strings/crtend.o cross-rx-gcc7.aarch64: W: files-duplicate /usr/lib64/gcc/rx-elf/7/64-bit-double/pid/crtbegin.o /usr/lib64/gcc/rx-elf/7/64-bit-double/no-fpu-libs/pid/crtbegin.o cross-rx-gcc7.aarch64: W: files-duplicate /usr/lib64/gcc/rx-elf/7/64-bit-double/pid/crtend.o /usr/lib64/gcc/rx-elf/7/64-bit-double/no-fpu-libs/pid/crtend.o cross-rx-gcc7.aarch64: W: files-duplicate /usr/lib64/gcc/rx-elf/7/64-bit-double/pid/no-strings/crtbegin.o /usr/lib64/gcc/rx-elf/7/64-bit-double/no-fpu-libs/pid/no-strings/crtbegin.o cross-rx-gcc7.aarch64: W: files-duplicate /usr/lib64/gcc/rx-elf/7/64-bit-double/pid/no-strings/crtend.o /usr/lib64/gcc/rx-elf/7/64-bit-double/no-fpu-libs/pid/no-strings/crtend.o cross-rx-gcc7.aarch64: W: files-duplicate /usr/lib64/gcc/rx-elf/7/no-fpu-libs/big-endian-data/crtbegin.o /usr/lib64/gcc/rx-elf/7/big-endian-data/crtbegin.o cross-rx-gcc7.aarch64: W: files-duplicate /usr/lib64/gcc/rx-elf/7/no-fpu-libs/big-endian-data/crtend.o /usr/lib64/gcc/rx-elf/7/big-endian-data/crtend.o cross-rx-gcc7.aarch64: W: files-duplicate /usr/lib64/gcc/rx-elf/7/no-fpu-libs/big-endian-data/no-strings/crtbegin.o /usr/lib64/gcc/rx-elf/7/big-endian-data/no-strings/crtbegin.o cross-rx-gcc7.aarch64: W: files-duplicate /usr/lib64/gcc/rx-elf/7/no-fpu-libs/big-endian-data/no-strings/crtend.o /usr/lib64/gcc/rx-elf/7/big-endian-data/no-strings/crtend.o cross-rx-gcc7.aarch64: W: files-duplicate /usr/lib64/gcc/rx-elf/7/no-fpu-libs/big-endian-data/pid/crtbegin.o /usr/lib64/gcc/rx-elf/7/big-endian-data/pid/crtbegin.o cross-rx-gcc7.aarch64: W: files-duplicate /usr/lib64/gcc/rx-elf/7/no-fpu-libs/big-endian-data/pid/crtend.o /usr/lib64/gcc/rx-elf/7/big-endian-data/pid/crtend.o cross-rx-gcc7.aarch64: W: files-duplicate /usr/lib64/gcc/rx-elf/7/no-fpu-libs/big-endian-data/pid/no-strings/crtbegin.o /usr/lib64/gcc/rx-elf/7/big-endian-data/pid/no-strings/crtbegin.o cross-rx-gcc7.aarch64: W: files-duplicate /usr/lib64/gcc/rx-elf/7/no-fpu-libs/big-endian-data/pid/no-strings/crtend.o /usr/lib64/gcc/rx-elf/7/big-endian-data/pid/no-strings/crtend.o cross-rx-gcc7.aarch64: W: files-duplicate /usr/lib64/gcc/rx-elf/7/no-fpu-libs/crtbegin.o /usr/lib64/gcc/rx-elf/7/crtbegin.o cross-rx-gcc7.aarch64: W: files-duplicate /usr/lib64/gcc/rx-elf/7/no-fpu-libs/crtend.o /usr/lib64/gcc/rx-elf/7/crtend.o cross-rx-gcc7.aarch64: W: files-duplicate /usr/lib64/gcc/rx-elf/7/no-strings/crtbegin.o /usr/lib64/gcc/rx-elf/7/no-fpu-libs/no-strings/crtbegin.o cross-rx-gcc7.aarch64: W: files-duplicate /usr/lib64/gcc/rx-elf/7/no-strings/crtend.o /usr/lib64/gcc/rx-elf/7/no-fpu-libs/no-strings/crtend.o cross-rx-gcc7.aarch64: W: files-duplicate /usr/lib64/gcc/rx-elf/7/pid/crtbegin.o /usr/lib64/gcc/rx-elf/7/no-fpu-libs/pid/crtbegin.o cross-rx-gcc7.aarch64: W: files-duplicate /usr/lib64/gcc/rx-elf/7/pid/crtend.o /usr/lib64/gcc/rx-elf/7/no-fpu-libs/pid/crtend.o cross-rx-gcc7.aarch64: W: files-duplicate /usr/lib64/gcc/rx-elf/7/pid/no-strings/crtbegin.o /usr/lib64/gcc/rx-elf/7/no-fpu-libs/pid/no-strings/crtbegin.o cross-rx-gcc7.aarch64: W: files-duplicate /usr/lib64/gcc/rx-elf/7/pid/no-strings/crtend.o /usr/lib64/gcc/rx-elf/7/no-fpu-libs/pid/no-strings/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-rx-gcc7.aarch64: E: filelist-forbidden-fhs23 /usr/rx-elf File violates FHS 2.3. Check time report (>1% & >0.1s): Check Duration (in s) Fraction (in %) Checked files BinariesCheck 38.2 69.8 ExtractRpm 9.9 18.1 SignatureCheck 4.8 8.7 BuildRootAndDateCheck 1.1 1.9 TOTAL 54.8 100.0 2 packages and 0 specfiles checked; 10 errors, 97 warnings, 950 filtered, 109 badness; has taken 55.1 s