Bug 2340080 - dlm: FTBFS in Fedora rawhide/f42
Summary: dlm: FTBFS in Fedora rawhide/f42
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: dlm
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: David Teigland
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
: 2339701 (view as bug list)
Depends On:
Blocks: F41FTBFS F42FTBFS
TreeView+ depends on / blocked
 
Reported: 2025-01-22 19:28 UTC by Fedora Release Engineering
Modified: 2025-01-28 12:37 UTC (History)
4 users (show)

Fixed In Version: dlm-4.3.0-5.fc42
Clone Of:
Environment:
Last Closed: 2025-01-28 12:37:25 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
build.log (32.00 KB, text/plain)
2025-01-22 19:28 UTC, Fedora Release Engineering
no flags Details
root.log (32.00 KB, text/plain)
2025-01-22 19:28 UTC, Fedora Release Engineering
no flags Details
state.log (1.60 KB, text/plain)
2025-01-22 19:28 UTC, Fedora Release Engineering
no flags Details

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


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