============================ 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/kernel-source.rpmlintrc checks: 41, packages: 5 kernel-vanilla.x86_64: W: zero-perms-ghost Suggestion: "%ghost %attr(0644,root,root) /boot/initrd" kernel-vanilla.x86_64: W: zero-perms-ghost Suggestion: "%ghost %attr(0644,root,root) /boot/vmlinuz" kernel-vanilla-devel.x86_64: W: zero-perms-ghost Suggestion: "%ghost %attr(0644,root,root) /usr/src/linux-obj/x86_64/vanilla" 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 kernel-vanilla-devel.x86_64: E: version-control-internal-file /usr/src/linux-6.11.8-1-obj/x86_64/vanilla/.gitignore You have included file(s) internally used by a version control system in the package. Move these files out of the package and rebuild it. kernel-vanilla.nosrc: E: unused-rpmlintrc-filter "zero-length /usr/src/linux-.*-obj/.*/include/config.*h" kernel-vanilla.nosrc: E: unused-rpmlintrc-filter "shared-lib-without-dependency-information .*/lib/modules/[1-9].*/vdso/.*" kernel-vanilla.nosrc: E: unused-rpmlintrc-filter "missing-PT_GNU_STACK-section .*/lib/modules/[1-9].*/vdso/.*" kernel-vanilla.nosrc: E: unused-rpmlintrc-filter "dangling-symlink .*/lib/modules/[1-9].*/source" kernel-vanilla.nosrc: E: unused-rpmlintrc-filter "hidden-file-or-dir /usr/src/linux-.*-obj/.*/.kernel-binary.spec.buildenv" kernel-vanilla.nosrc: E: unused-rpmlintrc-filter "arch-independent-package-contains-binary-or-object /usr/src/linux-.*/.*/action-ebpf" kernel-vanilla.x86_64: W: unstripped-binary-or-object /usr/lib/modules/6.11.8-1-vanilla/vmlinux 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. kernel-vanilla-devel.x86_64: E: suse-zypp-packageand packageand(kernel-vanilla:kernel-source-vanilla) The 'packageand(package1:package2)' syntax is obsolete, please use boolean dependencies like: 'Supplements: (package1 and package2)' kernel-vanilla-vdso.x86_64: E: summary-not-capitalized (Badness: 20) vdso binaries for debugging purposes Summary doesn't begin with a capital letter. kernel-vanilla.x86_64: E: spurious-executable-perm (Badness: 50) /usr/lib/modules/6.11.8-1-vanilla/vmlinux.xz The file is installed with executable permissions, but was identified as one that probably should not be executable. Verify if the executable bits are desired, and remove if not. kernel-vanilla.x86_64: E: readelf-failed /usr/lib/modules/6.11.8-1-vanilla/vmlinux readelf: Error: '/tmp/rpmlint.kernel-vanilla-6.11.8-1.1.x86_64.rpm.4wh0x4wv/usr/lib/modules/6.11.8-1-vanilla/vmlinux': No such file readelf: Error: '/tmp/rpmlint.kernel-vanilla-6.11.8-1.1.x86_64.rpm.4wh0x4wv/usr/lib/modules/6.11.8-1-vanilla/vmlinux': No such file readelf: Error: '/tmp/rpmlint.kernel-vanilla-6.11.8-1.1.x86_64.rpm.4wh0x4wv/usr/lib/modules/6.11.8-1-vanilla/vmlinux': No such file readelf: Error: '/tmp/rpmlint.kernel-vanilla-6.11.8-1.1.x86_64.rpm.4wh0x4wv/usr/lib/modules/6.11.8-1-vanilla/vmlinux': No such file readelf: Error: '/tmp/rpmlint.kernel-vanilla-6.11.8-1.1.x86_64.rpm.4wh0x4wv/usr/lib/modules/6.11.8-1-vanilla/vmlinux': No such file Executing readelf on this file failed, all checks could not be run. kernel-vanilla.x86_64: W: position-independent-executable-suggested /usr/lib/modules/6.11.8-1-vanilla/vmlinux 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. kernel-vanilla.x86_64: W: obsolete-not-provided kernel-vanilla-base kernel-vanilla.x86_64: W: obsolete-not-provided microcode_ctl If a package is obsoleted by a compatible replacement, the obsoleted package should also be provided in order to not cause unnecessary dependency breakage. If the obsoleting package is not a compatible replacement for the old one, leave out the Provides. kernel-vanilla.x86_64: W: non-conffile-in-etc /etc/uefi/certs/1F673297.crt A non-executable file in your package is being installed in /etc, but is not a configuration file. All non-executable files in /etc should be configuration files. Mark the file as %config in the spec file. kernel-vanilla-livepatch-devel.x86_64: E: no-binary The package should be of the noarch architecture because it doesn't contain any binaries. kernel-vanilla.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. kernel-vanilla.spec:83: W: macro-in-comment %post kernel-vanilla.spec:1190: W: macro-in-comment %CONFIG_SUSE_KERNEL_SUPPORTED kernel-vanilla.spec:1191: W: macro-in-comment %CONFIG_MODULES kernel-vanilla.spec:1303: W: macro-in-comment %CONFIG_ kernel-vanilla.spec:1476: W: macro-in-comment %kernel_module_directory kernel-vanilla.spec:1476: W: macro-in-comment %kernelrelease kernel-vanilla.spec:1476: W: macro-in-comment %build_flavor kernel-vanilla.spec:1477: W: macro-in-comment %build_flavor kernel-vanilla.spec:1649: W: macro-in-comment %rpm_install_dir kernel-vanilla.spec:1649: W: macro-in-comment %cpu_arch kernel-vanilla.spec:1649: W: macro-in-comment %build_flavor kernel-vanilla.spec:1650: W: macro-in-comment %build_flavor kernel-vanilla.spec:1694: W: macro-in-comment %my_builddir kernel-vanilla.spec:1694: W: macro-in-comment %srcversion kernel-vanilla.spec:1695: W: macro-in-comment %srcversion kernel-vanilla.spec:1695: W: macro-in-comment %source_rel kernel-vanilla.spec:1739: W: macro-in-comment %ignore_kabi_badness kernel-vanilla.spec:1894: W: macro-in-comment %ghost kernel-vanilla.spec:1990: W: macro-in-comment %{build_flavor} 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. kernel-vanilla.x86_64: W: hidden-file-or-dir /usr/lib/modules/6.11.8-1-vanilla/.vmlinuz.hmac kernel-vanilla-devel.x86_64: W: hidden-file-or-dir /usr/src/linux-6.11.8-1-obj/x86_64/vanilla/.gitignore The file or directory is hidden. You should see if this is normal, and delete it from the package if not. kernel-vanilla.spec:311: E: buildarch-instead-of-exclusivearch-tag i686 Use ExclusiveArch instead of BuildArch (or BuildArchitectures) to restrict build on some specific architectures. Only use BuildArch with noarch Check time report (>1% & >0.1s): Check Duration (in s) Fraction (in %) Checked files BinariesCheck 79.4 68.3 ExtractRpm 25.3 21.8 SpecCheck 2.9 2.5 FilesCheck 2.6 2.3 SUIDPermissionsCheck 2.3 2.0 TagsCheck 1.4 1.2 TOTAL 116.2 100.0 5 packages and 0 specfiles checked; 13 errors, 30 warnings, 13335 filtered, 81 badness; has taken 117.2 s