Bug 2341180

Summary: python-pexpect: FTBFS in Fedora rawhide/f42
Product: [Fedora] Fedora Reporter: Fedora Release Engineering <releng>
Component: python-pexpectAssignee: Scott Talbert <swt>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 42CC: code, dradez, igor.raits, python-packagers-sig, swt
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: python-pexpect-4.9.0-11.fc43 Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2025-06-19 19:56:00 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: 2300528    
Attachments:
Description Flags
build.log
none
root.log
none
state.log none

Description Fedora Release Engineering 2025-01-22 21:36:59 UTC
python-pexpect failed to build from source in Fedora rawhide/f42

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


For details on the mass rebuild see:

https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild
Please fix python-pexpect 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,
python-pexpect will be orphaned. Before branching of Fedora 43,
python-pexpect 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 21:37:02 UTC
Created attachment 2072060 [details]
build.log

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

Comment 2 Fedora Release Engineering 2025-01-22 21:37:04 UTC
Created attachment 2072061 [details]
root.log

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

Comment 3 Fedora Release Engineering 2025-01-22 21:37:06 UTC
Created attachment 2072062 [details]
state.log

Comment 4 Aoife Moloney 2025-02-26 13:43:34 UTC
This bug appears to have been reported against 'rawhide' during the Fedora Linux 42 development cycle.
Changing version to 42.

Comment 5 Ben Beasley 2025-06-19 17:41:18 UTC
The problem here is that the package FTBFS on ppc64le and s390x only (as shown in https://koji.fedoraproject.org/koji/taskinfo?taskID=134147966, a scratch build where I forced the package to build on all architectures), because the package is “too slow” on those architectures, so we get:

> FAILED tests/test_performance.py::PerformanceTestCase::test_100000 - pexpect.exceptions.TIMEOUT: Timeout exceeded.

I recommend just ignoring tests/test_performance.py entirely: these tests help catch serious performance regressions upstream, but gating downstream builds on particular benchmark results doesn’t make sense across diverse hardware. I opened https://src.fedoraproject.org/rpms/python-pexpect/pull-request/14 to implement this suggestion.

Comment 6 Fedora Update System 2025-06-19 19:53:07 UTC
FEDORA-2025-9227dd44fe (python-pexpect-4.9.0-11.fc43) has been submitted as an update to Fedora 43.
https://bodhi.fedoraproject.org/updates/FEDORA-2025-9227dd44fe

Comment 7 Fedora Update System 2025-06-19 19:56:00 UTC
FEDORA-2025-9227dd44fe (python-pexpect-4.9.0-11.fc43) has been pushed to the Fedora 43 stable repository.
If problem still persists, please make note of it in this bug report.