Bug 2385048

Summary: hd-idle: FTBFS in Fedora rawhide/f43
Product: [Fedora] Fedora Reporter: Fedora Release Engineering <releng>
Component: hd-idleAssignee: Filipe Rosset <rosset.filipe>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: ego.cordatus, redhatbugzilla, rosset.filipe
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: hd-idle-1.05-27.fc43 hd-idle-1.05-27.fc42 Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2025-11-17 02:45:11 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: 2339432    
Attachments:
Description Flags
build.log
none
root.log
none
state.log
none
Fix Makefile /sbin/ -> /bin/ none

Description Fedora Release Engineering 2025-07-30 14:34:15 UTC
hd-idle failed to build from source in Fedora rawhide/f43

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


For details on the mass rebuild see:

https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild
Please fix hd-idle 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,
hd-idle will be orphaned. Before branching of Fedora 44,
hd-idle 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-07-30 14:34:21 UTC
Created attachment 2100482 [details]
build.log

Comment 2 Fedora Release Engineering 2025-07-30 14:34:27 UTC
Created attachment 2100483 [details]
root.log

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

Comment 3 Fedora Release Engineering 2025-07-30 14:34:31 UTC
Created attachment 2100484 [details]
state.log

Comment 4 Kyle 2025-09-08 04:45:55 UTC
Created attachment 2105949 [details]
Fix Makefile /sbin/ -> /bin/

I suspect the Failure To Build is because of https://fedoraproject.org/wiki/Changes/Unify_bin_and_sbin - the underlying Makefile has

install -D -g root -o root $(TARGET) $(TARGET_DIR)/sbin/$(TARGET)

and the build.log has
install -D hd-idle /builddir/build/BUILD/hd-idle-1.05-build/BUILDROOT/usr/sbin/hd-idle
...
error: File not found: /builddir/build/BUILD/hd-idle-1.05-build/BUILDROOT/usr/bin/hd-idle

hd-idle was mentioned in "packages with files in /usr/sbin blocking bin-sbin merge": https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/message/AORJTGITL7MJJBSPXFFMZGWXENLCVYDR/

This patch fixes the Makefile, and the resulting spec appears to build on F42, F43 & rawhide. 
I can go through the PR flow (https://docs.fedoraproject.org/en-US/package-maintainers/Pull_Request_Guide/) if that is preferred.

Comment 5 Fedora Update System 2025-11-09 02:03:05 UTC
FEDORA-2025-d11da24c62 (hd-idle-1.05-27.fc42) has been submitted as an update to Fedora 42.
https://bodhi.fedoraproject.org/updates/FEDORA-2025-d11da24c62

Comment 6 Fedora Update System 2025-11-09 02:03:08 UTC
FEDORA-2025-97d90aea18 (hd-idle-1.05-27.fc43) has been submitted as an update to Fedora 43.
https://bodhi.fedoraproject.org/updates/FEDORA-2025-97d90aea18

Comment 7 Fedora Update System 2025-11-09 03:53:53 UTC
FEDORA-2025-97d90aea18 has been pushed to the Fedora 43 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2025-97d90aea18`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2025-97d90aea18

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 8 Fedora Update System 2025-11-09 04:36:20 UTC
FEDORA-2025-d11da24c62 has been pushed to the Fedora 42 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2025-d11da24c62`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2025-d11da24c62

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 9 Fedora Update System 2025-11-17 02:45:11 UTC
FEDORA-2025-97d90aea18 (hd-idle-1.05-27.fc43) has been pushed to the Fedora 43 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 10 Fedora Update System 2025-11-17 02:59:40 UTC
FEDORA-2025-d11da24c62 (hd-idle-1.05-27.fc42) has been pushed to the Fedora 42 stable repository.
If problem still persists, please make note of it in this bug report.