Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.

Bug 1799091

Summary: python35: FTBFS in Fedora rawhide/f32
Product: [Fedora] Fedora Reporter: Fedora Release Engineering <releng>
Component: python35Assignee: Marcel Plch <mplch>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 32CC: cstratak, mhroncok, mplch, python-sig, vstinner
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-03-05 09:36: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: 1797052    
Bug Blocks: 1750908    
Attachments:
Description Flags
build.log
none
root.log
none
state.log none

Description Fedora Release Engineering 2020-02-06 15:37:09 UTC
python35 failed to build from source in Fedora rawhide/f32

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


For details on the mass rebuild see:

https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
Please fix python35 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,
python35 will be orphaned. Before branching of Fedora 33,
python35 will be retired, if it still fails to build.

For more details on the FTBFS policy, please visit:
https://fedoraproject.org/wiki/Fails_to_build_from_source

Comment 1 Fedora Release Engineering 2020-02-06 15:37:16 UTC
Created attachment 1658268 [details]
build.log

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

Comment 2 Fedora Release Engineering 2020-02-06 15:37:23 UTC
Created attachment 1658269 [details]
root.log

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

Comment 3 Fedora Release Engineering 2020-02-06 15:37:24 UTC
Created attachment 1658270 [details]
state.log

Comment 4 Ben Cotton 2020-02-11 17:13:19 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 32 development cycle.
Changing version to 32.

Comment 5 Miro Hrončok 2020-02-13 13:40:46 UTC
AArch64 is bz1797052, but other architectures hang: armv7hl, x86_64, s390x

Comment 6 Victor Stinner 2020-02-13 15:30:40 UTC
> https://koji.fedoraproject.org/koji/taskinfo?taskID=41257506
> AArch64 is bz1797052, but other architectures hang: armv7hl, x86_64, s390x

armv7hl, x86_64, s390x all hang on "test_sigsegv (test.test_faulthandler.FaultHandlerTests) ... ok".

GCC 10 miscompiles faulthandler._stack_overflow():
https://bugs.python.org/issue38965

And it has been fixed in master:

"bpo-38965: Fix faulthandler._stack_overflow() on GCC 10 (GH-17467)"
https://github.com/python/cpython/commit/8b787964e0a647caa0558b7c29ae501470d727d9

It's the same bug than bz#1799090 (python34) and bz#1799092 (python36).

I will wait until python36 is fixed before backport to python35: https://src.fedoraproject.org/rpms/python36/pull-request/39

Comment 7 Fedora Release Engineering 2020-02-16 04:29:12 UTC
Dear Maintainer,

your package has not been built successfully in 32. Action is required from you.

If you can fix your package to build, perform a build in koji, and either create
an update in bodhi, or close this bug without creating an update, if updating is
not appropriate [1]. If you are working on a fix, set the status to ASSIGNED to
acknowledge this. Following the latest policy for such packages [2], your package
will be orphaned if this bug remains in NEW state more than 8 weeks.

A week before the mass branching of Fedora 33 according to the schedule [3],
any packages not successfully rebuilt at least on Fedora 31 will be
retired regardless of the status of this bug.

[1] https://fedoraproject.org/wiki/Updates_Policy
[2] https://docs.fedoraproject.org/en-US/fesco/Fails_to_build_from_source_Fails_to_install/
[3] https://fedoraproject.org/wiki/Releases/33/Schedule

Comment 8 Victor Stinner 2020-02-17 16:43:30 UTC
I wrote a PR to backport the GCC 10 fix for faulthandler:
https://src.fedoraproject.org/rpms/python35/pull-request/42

It also backports another fix for faulthandler.register(chain=True).

Comment 9 Miro Hrončok 2020-02-25 17:03:15 UTC
The PR was merged.