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 1799092

Summary: python36: FTBFS in Fedora rawhide/f32
Product: [Fedora] Fedora Reporter: Fedora Release Engineering <releng>
Component: python36Assignee: Victor Stinner <vstinner>
Status: CLOSED NEXTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 32CC: carl, cstratak, mhroncok, python-sig, steve.traylen, 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-02-13 22:51:02 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: 1750908    
Attachments:
Description Flags
build.log
none
root.log
none
state.log none

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

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


For details on the mass rebuild see:

https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
Please fix python36 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,
python36 will be orphaned. Before branching of Fedora 33,
python36 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:33 UTC
Created attachment 1658271 [details]
build.log

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

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

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

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

Comment 4 Ben Cotton 2020-02-11 17:13:21 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:42:00 UTC
AArch64 is bz1797052, but other architectures hang: armv7hl, x86_64, s390x

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

armv7hl, x86_64, s390x builds all stopped while running test_faulthandler.

Example: "0:04:04 load avg: 6.59 [125/406] test_faulthandler"

It's likely the same bug than bz#1799090: GCC 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

I proposed https://src.fedoraproject.org/rpms/python36/pull-request/39 to backport the fix (and also backport another fix which might bite us if we don't fix it).

Comment 7 Miro Hrončok 2020-02-13 22:50:34 UTC
Running the build in f33 and f32. Should be fine. Thanks Victor!