Bug 2024696

Summary: kmod.attr file is conflicting with kernel-srpm-macros
Product: [Fedora] Fedora Reporter: Daniel BerrangĂ© <berrange>
Component: redhat-rpm-configAssignee: Florian Festi <ffesti>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: urgent Docs Contact:
Priority: unspecified    
Version: rawhideCC: ajax, carl, dwrobel, esyr, ffesti, fweimer, igor.raits, jonathan, j, mhroncok, ngompa13, pmatilai, torsava
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: redhat-rpm-config-205-1.fc36 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-11-18 20:03:53 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

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.