Bug 1322558
Summary: | Build properly on MIPS | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Michal Toman <michal.toman> | ||||||||
Component: | python3 | Assignee: | Charalampos Stratakis <cstratak> | ||||||||
Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||||
Severity: | unspecified | Docs Contact: | |||||||||
Priority: | unspecified | ||||||||||
Version: | 25 | CC: | bkabrda, cstratak, jberan, michal.toman, mstuchli, pviktori, tomspur | ||||||||
Target Milestone: | --- | ||||||||||
Target Release: | --- | ||||||||||
Hardware: | mips64 | ||||||||||
OS: | Linux | ||||||||||
Whiteboard: | |||||||||||
Fixed In Version: | python3-3.5.1-14.fc25 python3-3.5.1-14.fc26 | Doc Type: | Bug Fix | ||||||||
Doc Text: | Story Points: | --- | |||||||||
Clone Of: | Environment: | ||||||||||
Last Closed: | 2016-08-08 14:58:11 UTC | Type: | Bug | ||||||||
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: | 1242747 | ||||||||||
Attachments: |
|
This bug appears to have been reported against 'rawhide' during the Fedora 25 development cycle. Changing version to '25'. Created attachment 1186507 [details]
Build-properly-on-MIPS.patch
The patch is tested and works on MIPS (as described in #1322526).
Rebased for current version.
Hello. It seems you forgot to include the patch that is applied in the SPEC file: 00212-fix-mips64-triplet.patch Created attachment 1188578 [details]
Build-properly-on-MIPS.patch
Ah, my bad. Fixed.
Committed and built for rawhide and f25. |
Created attachment 1141889 [details] Build-properly-on-MIPS.patch Description of problem: We are trying to bring Fedora to MIPS platform and this requires tweaking python3 to build properly on MIPS: 1) Do not require valgrind, we have no working valgrind builds at this moment 2) Use %{_pyconfig64_h} on 64-bit MIPS 3) Fix the build triplet, by default python uses debian's 'gnuabi64' suffix but in Fedora we just have 'gnu' 4) test_ctypes fails on 64-bit MIPS, disable it for now Actual results: valgrind required, %{_pyconfig32_h} is used on 64-bit MIPS, triplet uses 'gnuabi64' suffix, test_ctypes runs and fails Expected results: valgrind not required, %{_pyconfig64_h} used on 64-bit MIPS, 'gnu' used in triplet, test_ctypes disabled Additional info: Attachind dist-git patch. It would be great if this could also be applied to F24.