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 1322526
Summary: | Build properly on MIPS | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Michal Toman <michal.toman> | ||||||
Component: | python | 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, dmalcolm, ivazqueznet, jberan, jonathansteffan, michal.toman, mstuchli, ncoghlan, pviktori, tomspur | ||||||
Target Milestone: | --- | ||||||||
Target Release: | --- | ||||||||
Hardware: | mips64 | ||||||||
OS: | Linux | ||||||||
Whiteboard: | |||||||||
Fixed In Version: | python-2.7.12-2.fc25 python-2.7.12-2.fc26 | Doc Type: | Bug Fix | ||||||
Doc Text: | Story Points: | --- | |||||||
Clone Of: | Environment: | ||||||||
Last Closed: | 2016-08-08 15:21:41 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: |
|
(In reply to Michal Toman from comment #0) > Created attachment 1141833 [details] > Build-properly-on-MIPS.patch > > Description of problem: > We are trying to bring Fedora to MIPS platform and this requires making > Python specfile MIPS-aware. We have no working valgrind builds on MIPS at > this moment and test_ctypes fails on 64-bit MIPS. > > Actual results: > valgrind enabled on MIPS, mips64 uses %{_pyconfig32_h} > > Expected results: > valgrind not required on MIPS, mips64 uses %{_pyconfig64_h}, test_ctypes > skipped on 64-bit MIPS > > Additional info: > Attaching dist-git patch. It would be great if this could also be applied to > F24. Hello. The patch seems legit and it certainly wouldn't be a problem to apply it, however is there any way for us to test it? This bug appears to have been reported against 'rawhide' during the Fedora 25 development cycle. Changing version to '25'. I can provide SSH access to a 32-bit MIPS board for testing purposes if you wish. 64-bit is a little more tricky, I'm affraid QEMU is the only option right now. I believe then the best course of action would be to provide you with a scratch build (if you haven't tried that yet of course), so you can test it. Same for python 3. Ideally, this patch could go for rawhide and f25 but before 9th of August, which is the bodhi enabling point for f25. Could you rebase the patch for the latest python and python3 (at it's respective bugzilla) version-release? Created attachment 1186506 [details]
Build-properly-on-MIPS.patch
I've been using both python and python3 with the respective patches for several months and everything works fine.
Rebased the patch for current version.
Committed and built for rawhide and f25. |
Created attachment 1141833 [details] Build-properly-on-MIPS.patch Description of problem: We are trying to bring Fedora to MIPS platform and this requires making Python specfile MIPS-aware. We have no working valgrind builds on MIPS at this moment and test_ctypes fails on 64-bit MIPS. Actual results: valgrind enabled on MIPS, mips64 uses %{_pyconfig32_h} Expected results: valgrind not required on MIPS, mips64 uses %{_pyconfig64_h}, test_ctypes skipped on 64-bit MIPS Additional info: Attaching dist-git patch. It would be great if this could also be applied to F24.