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.
(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.