Bug 2024696 - kmod.attr file is conflicting with kernel-srpm-macros
Summary: kmod.attr file is conflicting with kernel-srpm-macros
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: redhat-rpm-config
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
urgent
Target Milestone: ---
Assignee: Florian Festi
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-11-18 17:12 UTC by Daniel Berrangé
Modified: 2021-11-18 20:03 UTC (History)
13 users (show)

Fixed In Version: redhat-rpm-config-205-1.fc36
Clone Of:
Environment:
Last Closed: 2021-11-18 20:03:53 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Daniel Berrangé 2021-11-18 17:12:54 UTC
Description of problem:
Attempting to do a build in rawhide I get a mock failure when it sets up the basic build root env

https://kojipkgs.fedoraproject.org//work/tasks/8923/79028923/root.log

DEBUG util.py:444:    file /usr/lib/rpm/fileattrs/kmod.attr conflicts between attempted installs of redhat-rpm-config-204-1.fc36.noarch and kernel-srpm-macros-1.0-10.fc36.noarch


the kernel-srpm-macros package has started shipping this kmod.attr file and claims redhat-rpm-config dropped it in 204, but that doesn't seem to be the case given the conflict when doing a build.

Please drop the kmod.attr file asap as this is breaking the rawhide build root

Version-Release number of selected component (if applicable):
redhat-rpm-config-204-1.fc36.noarch

Comment 1 Damian Wrobel 2021-11-18 17:31:45 UTC
I'm observing the same failure[1]:

Error: Transaction test error:
  file /usr/lib/rpm/fileattrs/kmod.attr conflicts between attempted installs of redhat-rpm-config-204-1.fc36.noarch and kernel-srpm-macros-1.0-10.fc36.noarch

while trying to rebuild blt[2] for rawhide.

[1] https://kojipkgs.fedoraproject.org//work/tasks/9789/79029789/mock_output.log
[2] https://src.fedoraproject.org/rpms/blt/pull-request/1

Comment 2 Eugene Syromiatnikov 2021-11-18 18:29:52 UTC
The removal of kmod.attr is tracked under [1].

[1] https://src.fedoraproject.org/rpms/redhat-rpm-config/pull-request/134

Comment 3 Fedora Update System 2021-11-18 20:03:53 UTC
FEDORA-2021-9c13796916 has been pushed to the Fedora 36 stable repository.
If problem still persists, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.