Bug 2339701 - dlm: FTBFS in Fedora rawhide/f42
Summary: dlm: FTBFS in Fedora rawhide/f42
Keywords:
Status: CLOSED DUPLICATE of bug 2340080
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:
Depends On:
Blocks: F41FTBFS
TreeView+ depends on / blocked
 
Reported: 2025-01-22 17:43 UTC by Fedora Release Engineering
Modified: 2025-01-22 21:00 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2025-01-22 21:00:34 UTC
Type: ---
Embargoed:


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

Description Fedora Release Engineering 2025-01-22 17:43:16 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 17:43:22 UTC
Created attachment 2067736 [details]
build.log

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

Comment 2 Fedora Release Engineering 2025-01-22 17:43:28 UTC
Created attachment 2067737 [details]
root.log

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

Comment 3 Fedora Release Engineering 2025-01-22 17:43:31 UTC
Created attachment 2067738 [details]
state.log

Comment 4 Andrew Price 2025-01-22 18:50:23 UTC
  error: File not found: /builddir/build/BUILD/dlm-4.3.0-build/BUILDROOT/usr/bin/dlm_controld
  error: File not found: /builddir/build/BUILD/dlm-4.3.0-build/BUILDROOT/usr/bin/dlm_tool
  error: File not found: /builddir/build/BUILD/dlm-4.3.0-build/BUILDROOT/usr/bin/dlm_stonith

Fedora has merged /usr/sbin into /usr/bin so it now expects these files to be there. The dlm Makefile uses /usr/sbin by default. So the spec probably needs (untested):

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

Comment 5 Fedora Release Engineering 2025-01-22 21:00:34 UTC

*** This bug has been marked as a duplicate of bug 2340080 ***


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