Bug ID | 1190103 |
---|---|
Summary | kernel-macros is causing build issues since the last rpmlint change |
Classification | openSUSE |
Product | openSUSE Tumbleweed |
Version | Current |
Hardware | Other |
OS | Other |
Status | NEW |
Severity | Normal |
Priority | P5 - None |
Component | Kernel |
Assignee | kernel-bugs@opensuse.org |
Reporter | christophe@krop.fr |
QA Contact | qa-bugs@suse.de |
Found By | --- |
Blocker | --- |
The rpmlint revamp is causing build issues for users. Example with v4l2loopback: [ 34s] rpmlint: 2.1.0 [ 34s] configuration: [ 34s] /opt/testing/lib64/python3.8/site-packages/rpmlint/configdefaults.toml [ 34s] /opt/testing/share/rpmlint/cron-whitelist.toml [ 34s] /opt/testing/share/rpmlint/dbus-services.toml [ 34s] /opt/testing/share/rpmlint/device-files-whitelist.toml [ 34s] /opt/testing/share/rpmlint/licenses.toml [ 34s] /opt/testing/share/rpmlint/opensuse.toml [ 34s] /opt/testing/share/rpmlint/pam-modules.toml [ 34s] /opt/testing/share/rpmlint/permissions-whitelist.toml [ 34s] /opt/testing/share/rpmlint/pie-executables.toml [ 34s] /opt/testing/share/rpmlint/polkit-rules-whitelist.toml [ 34s] /opt/testing/share/rpmlint/scoring.toml [ 34s] /opt/testing/share/rpmlint/security.toml [ 34s] /opt/testing/share/rpmlint/users-groups.toml [ 34s] /opt/testing/share/rpmlint/world-writable-whitelist.toml [ 34s] /etc/xdg/rpmlint/scoring-strict.override.toml [ 34s] checks: 39, packages: 4 [ 34s] [ 34s] v4l2loopback-kmp-default.x86_64: E: useless-provides v4l2loopback-kmp [ 34s] This package provides multiple times the same capacity. This means versioned [ 34s] and unversioned symbols are provided at once thus one overshadowing the other. [ 34s] I.e. 'foo' and 'foo = 1.0'. [ 34s] [ 34s] v4l2loopback-kmp-default.x86_64: E: suse-zypp-packageand packageand(kernel-default:v4l2loopback) [ 34s] The 'packageand(package1:package2)' syntax is obsolete, please use boolean [ 34s] dependencies like: 'Supplements: (package1 and package2)' [ 34s] [ 34s] v4l2loopback-kmp-default.x86_64: W: obsolete-not-provided v4l2loopback-kmp-desktop [ 34s] v4l2loopback-kmp-default.x86_64: W: obsolete-not-provided v4l2loopback-kmp-trace [ 34s] v4l2loopback-kmp-default.x86_64: W: obsolete-not-provided v4l2loopback-kmp-xen [ 34s] If a package is obsoleted by a compatible replacement, the obsoleted package [ 34s] should also be provided in order to not cause unnecessary dependency breakage. [ 34s] If the obsoleting package is not a compatible replacement for the old one, [ 34s] leave out the Provides. [ 34s] [ 34s] v4l2loopback-kmp-default.x86_64: E: kmp-missing-supplements (Badness: 10000) [ 34s] Make sure your 'BuildRequires:' include 'kernel-syms' and 'modutils' for [ 34s] proper dependencies to be inserted in the resulting binary RPM. [ 34s] [ 34s] v4l2loopback-kmp-default.x86_64: W: kmp-excessive-supplements packageand(kernel-default:v4l2loopback) [ 34s] There is more than one flavor of kernel specified in Suplements field. [ 34s] [ 34s] ---------------- Badness 10002 exceeds threshold 999, aborting. ---------------- [ 34s] 4 packages and 0 specfiles checked; 3 errors, 4 warnings, 10002 badness; has taken 0.3 s --- crash, v4l2loopback, xtables-addons, bbswitch... are all affected by the same issues in TW.