Bug 2340080

Summary: dlm: FTBFS in Fedora rawhide/f42
Product: [Fedora] Fedora Reporter: Fedora Release Engineering <releng>
Component: dlmAssignee: David Teigland <teigland>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: aahringo, agk, anprice, teigland
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: dlm-4.3.0-5.fc42 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2025-01-28 12:37:25 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 2260875, 2300528    
Attachments:
Description Flags
build.log
none
root.log
none
state.log none

Description Fedora Release Engineering 2025-01-22 19:28:05 UTC
dlm failed to build from source in Fedora rawhide/f42

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


For details on the mass rebuild see:

https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild
Please fix dlm 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,
dlm will be orphaned. Before branching of Fedora 43,
dlm 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:28:08 UTC
Created attachment 2068827 [details]
build.log

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

Comment 2 Fedora Release Engineering 2025-01-22 19:28:10 UTC
Created attachment 2068828 [details]
root.log

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

Comment 3 Fedora Release Engineering 2025-01-22 19:28:12 UTC
Created attachment 2068829 [details]
state.log

Comment 4 Fedora Release Engineering 2025-01-22 21:00:34 UTC
*** Bug 2339701 has been marked as a duplicate of this bug. ***

Comment 5 Andrew Price 2025-01-27 18:30:48 UTC
This addition fixes the remaining errors. (Tested and tried pushing it but I don't have permission to update the package.)

diff --git a/dlm.spec b/dlm.spec
index 36f1072..b132a4f 100644
--- a/dlm.spec
+++ b/dlm.spec
@@ -40,7 +40,7 @@ The kernel dlm requires a user daemon to control membership.
 
 %install
 %make_install LIBDIR=%{_libdir} BINDIR=%{_sbindir}
-make -C fence install LIBDIR=%{_libdir} DESTDIR=$RPM_BUILD_ROOT
+make -C fence install LIBDIR=%{_libdir} DESTDIR=$RPM_BUILD_ROOT BINDIR=%{_sbindir}
 
 install -Dm 0644 init/dlm.service %{buildroot}%{_unitdir}/dlm.service
 install -Dm 0644 init/dlm.sysconfig %{buildroot}/etc/sysconfig/dlm

Comment 6 Andrew Price 2025-01-28 12:37:25 UTC
[root@rawhide1 ~]# rpm -ql dlm-4.3.0-5.fc42.x86_64 | grep bin/
/usr/bin/dlm_controld
/usr/bin/dlm_stonith
/usr/bin/dlm_tool
[root@rawhide1 ~]# dlm_tool status
cluster nodeid 1 quorate 1 ring seq 4942 4942
daemon now 165 fence_pid 0 
node 1 M add 41 rem 0 fail 0 fence 0 at 0 0
node 2 M add 41 rem 0 fail 0 fence 0 at 0 0
[root@rawhide1 ~]# ls -ld /usr/sbin/dlm*
lrwxrwxrwx. 1 root root 19 Jan 28 11:48 /usr/sbin/dlm_controld -> ../bin/dlm_controld
lrwxrwxrwx. 1 root root 18 Jan 28 11:48 /usr/sbin/dlm_stonith -> ../bin/dlm_stonith
lrwxrwxrwx. 1 root root 15 Jan 28 11:48 /usr/sbin/dlm_tool -> ../bin/dlm_tool