Bug 2339998

Summary: copr-rpmbuild: FTBFS in Fedora rawhide/f42
Product: [Fedora] Fedora Reporter: Fedora Release Engineering <releng>
Component: dnf5Assignee: rpm-software-management
Status: NEW --- QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 42CC: clime7, copr-team, jkadlcik, jkolarik, nsella, pkratoch, praiskup, rpm-software-management
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
build.log
none
root.log
none
state.log none

Description Fedora Release Engineering 2025-01-22 19:18:31 UTC
copr-rpmbuild failed to build from source in Fedora rawhide/f42

https://koji.fedoraproject.org/koji/taskinfo?taskID=127940069


For details on the mass rebuild see:

https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild
Please fix copr-rpmbuild at your earliest convenience and set the bug's status to
ASSIGNED when you start fixing it. If the bug remains in NEW state for 8 weeks,
copr-rpmbuild will be orphaned. Before branching of Fedora 43,
copr-rpmbuild will be retired, if it still fails to build.

For more details on the FTBFS policy, please visit:
https://docs.fedoraproject.org/en-US/fesco/Fails_to_build_from_source_Fails_to_install/

Comment 1 Fedora Release Engineering 2025-01-22 19:18:33 UTC
Created attachment 2068577 [details]
build.log

Comment 2 Fedora Release Engineering 2025-01-22 19:18:35 UTC
Created attachment 2068578 [details]
root.log

file root.log too big, will only attach last 32768 bytes

Comment 3 Fedora Release Engineering 2025-01-22 19:18:36 UTC
Created attachment 2068579 [details]
state.log

Comment 4 Fedora Release Engineering 2025-01-22 20:50:38 UTC
*** Bug 2339614 has been marked as a duplicate of this bug. ***

Comment 5 Pavel Raiskup 2025-02-07 18:11:27 UTC
This seems like a DNF5 bug, changing the component.

DEBUG util.py:459:  Warning: skipped OpenPGP checks for 277 packages from repository: build
DEBUG util.py:459:    - file /usr/sbin/subscription-manager conflicts between attempted installs of subscription-manager-1.30.2-1.fc42.x86_64 and subscription-manager-1.30.2-1.fc42.x86_64

How can one NVR conflict with the very same NVR, including the same arch?
I'm not able to reproduce this build failure, though.

Comment 6 Jan Kolarik 2025-02-10 05:57:26 UTC
This is a related upstream ticket: https://github.com/rpm-software-management/dnf/issues/2189. See this comment https://github.com/rpm-software-management/dnf/issues/2189#issuecomment-2569110830 for possible causes. Also, looking into the logs from upstream, it seems like it might be also related to the recent bin/sbin changes https://fedoraproject.org/wiki/Changes/Unify_bin_and_sbin.

Comment 7 Pavel Raiskup 2025-02-10 07:49:01 UTC
> it might be also related to the recent bin/sbin changes https://fedoraproject.org/wiki/Changes/Unify_bin_and_sbin.

Could be.  Thank you for the hint.  I can not reproduce this with the
Mock buildroot post this change (bin / sbin is already unified).

It would be nice if DNF provided better info in these cases.  But
that's just a nice-to-have.

Comment 8 Aoife Moloney 2025-02-26 13:27:13 UTC
This bug appears to have been reported against 'rawhide' during the Fedora Linux 42 development cycle.
Changing version to 42.