-
Notifications
You must be signed in to change notification settings - Fork 38
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
python27 on arm64 and failing tests for all archs #956
Comments
We also want to check so that we don't try to make fat binaries, in the move
to
Add this to the PatchScript
|
Yes, |
So far this did work, it's compiling while see if it finished I'm expecting more errors but I'll deal as they come |
I assume it's due to x86_64 version for compare
|
Fixed it, needed isysroot in CFLAGS, universalsdk was adding that, not universalsdk shouldn't be required on both so the full patch is both from #956 (comment) and change this ins CompileScript
to
|
Technically we dont' need universals on x86 even so
can just be removed completely and just add isysroot to CFLAGS |
Proposed changes (tests are running on 13.2/x86 and 13.2/arm64 ATM), I'd love if someone with 10.x could test as well for make sure it's safe bellow 11.x
|
Both arm and x86 fail
arm has 6 additional failures that are all which I'm not surprised with the age of python 2.7 I feel this is a win/pass and I would like to commit this patch to python27 so arm can use it. Need to figure out how to make those failed tests none fatal though so the build will finish with tests, obviously without tests it's fine already. |
TheSin's 'proposed changes...' two days ago on my 10.13 give identical build transcripts, test failures, and same set of .deb contents as usual on my 10.13. |
Builds on 10.14.6, both with the old fink installation and the dpkg-1.16 one, and without the
Apparently a Tcl bug on 13.2; the
Remarkably
Never getting past the |
Looks like updating to tcltk-8.6.13 will fix this; however packaging that is an entirely different beast. |
That test_test_support crash is the same place the test-suite crashes on 10.13. tcltk is indeed...a beast. |
I have an update to 8.6.13 in https://github.com/dhomeier/fink-distributions/tree/tcltk-8.6.13, if anyone wants to have a look at it. Builds and passes all tests on arm64 and x86_64, but using |
so the issue was in ctypes, it was redefining I've removed those 2 and all Add this to
How ever now I see a segfault on test 310 for test_str I just wanted to post my progress. so far though obviously it's not fixed yet. |
I'm using this to try to find the issues (though this is on the 3.x branch so I need to take some liberties in figuring it out) |
The more I look at it the more I think we should use that entire patch :\ cherry picking from it it just moving the memory errors to allocs and such. Looking at it I think the entire patch could be applied with some fuzziness |
With this setup arm64 now only fails the I've also now been able to successfully install |
Please include a note in python27.info citing the source of python27-arm64.patch. But given it's only applied to ARM platforms, I can't comment on it beyond that. |
will do, though it is modified, specifically in the I just wanted to make sure I applied it to arm64 only properly and didn't break anything on x86. I'll add the notes and release it since it fixes other py27 builds for us. |
Pushed and rev up for those on arm that have it built already. Keeping open for the test_tcl issue now. |
#983, not really anything on the Python side to do, except perhaps to bump the deps to |
I get a total hang on |
configure: error: Unexpected output of 'arch' on OSX
Haven't looked into it, but likely just need to update the version or update configure?
TESTS
TCL/TK errors
MemoryErrors (arm64 only)
The text was updated successfully, but these errors were encountered: