Bug 2225974

Summary: libratbag: FTBFS in Fedora rawhide/f39
Product: [Fedora] Fedora Reporter: Fedora Release Engineering <releng>
Component: libratbagAssignee: Benjamin Tissoires <btissoir>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 39CC: btissoir, mhroncok, mjuszkie, peter.hutterer, scoady, steve
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: libratbag-0.17-6.fc41 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2024-06-27 01:22:24 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: 2168842, 2231791    
Attachments:
Description Flags
build.log
none
root.log
none
state.log
none
Backport remove of imp Python module none

Description Fedora Release Engineering 2023-07-25 18:23:34 UTC
libratbag failed to build from source in Fedora rawhide/f39

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


For details on the mass rebuild see:

https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
Please fix libratbag 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,
libratbag will be orphaned. Before branching of Fedora 40,
libratbag 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 2023-07-25 18:23:41 UTC
Created attachment 1978345 [details]
build.log

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

Comment 2 Fedora Release Engineering 2023-07-25 18:23:46 UTC
Created attachment 1978346 [details]
root.log

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

Comment 3 Fedora Release Engineering 2023-07-25 18:23:49 UTC
Created attachment 1978347 [details]
state.log

Comment 4 Fedora Release Engineering 2023-08-16 07:58:38 UTC
This bug appears to have been reported against 'rawhide' during the Fedora Linux 39 development cycle.
Changing version to 39.

Comment 5 Marcin Juszkiewicz 2024-06-26 08:39:59 UTC
Created attachment 2038330 [details]
Backport remove of imp Python module

I used libratbagd in past to configure my mouse so looked why it FTFBS. 
Turns out that it tries to use 'imp' Python module which is not present
in Python 3.12 used in Fedora 40.

Backported removal of its use and package builds again:

Wrote: /builddir/build/RPMS/liblur-devel-0.17-5.fc41.hrw0.x86_64.rpm
Wrote: /builddir/build/RPMS/libratbag-debuginfo-0.17-5.fc41.hrw0.x86_64.rpm
Wrote: /builddir/build/RPMS/liblur-0.17-5.fc41.hrw0.x86_64.rpm
Wrote: /builddir/build/RPMS/liblur-debuginfo-0.17-5.fc41.hrw0.x86_64.rpm
Wrote: /builddir/build/RPMS/libratbag-ratbagd-0.17-5.fc41.hrw0.x86_64.rpm
Wrote: /builddir/build/RPMS/libratbag-ratbagd-debuginfo-0.17-5.fc41.hrw0.x86_64.rpm
Wrote: /builddir/build/RPMS/libratbag-debugsource-0.17-5.fc41.hrw0.x86_64.rpm

Comment 8 Peter Hutterer 2024-06-27 01:22:24 UTC
Thanks, builds submitted for rawhide and f40/f39