[issue38429] Failed to compile with --enable-framework on macOS on master

2019-10-10 Thread Ronald Oussoren
Ronald Oussoren added the comment: W.r.t. the deprecated APIs in getpath.c: Issue15498 That issue contains an ancient patch to switch to non-deprecated APIs, but we haven't had time yet to fully test these. The issue also mentions that Apple's install of Python already switched away from

[issue38429] Failed to compile with --enable-framework on macOS on master

2019-10-10 Thread STINNER Victor
STINNER Victor added the comment: Thanks for the bug report Haruka Ma, it should now be fixed. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker

[issue38429] Failed to compile with --enable-framework on macOS on master

2019-10-10 Thread STINNER Victor
STINNER Victor added the comment: New changeset b6e0fc74265db96fdd0e0b8151c768c583ad80f0 by Victor Stinner in branch 'master': bpo-38353: Fix typos in calculate_argv0_path_framework() (GH-16695) https://github.com/python/cpython/commit/b6e0fc74265db96fdd0e0b8151c768c583ad80f0 --

[issue38429] Failed to compile with --enable-framework on macOS on master

2019-10-10 Thread STINNER Victor
STINNER Victor added the comment: Hum, getpath.c seems to use deprecated APIs: ./Modules/getpath.c:1098:20: warning: 'NSModuleForSymbol' is deprecated: first deprecated in macOS 10.5 - dladdr() [-Wdeprecated-declarations] pythonModule =

[issue38429] Failed to compile with --enable-framework on macOS on master

2019-10-10 Thread Haruka Ma
Haruka Ma added the comment: I'm now getting double free on the same function: https://pastebin.com/zHWCtTuV (with debug on) -- ___ Python tracker ___

[issue38429] Failed to compile with --enable-framework on macOS on master

2019-10-10 Thread STINNER Victor
STINNER Victor added the comment: Oh, I expected that we had macOS buildbots building Python with --enable-framework. Thanks for the reporting the issue. I wrote PR 16695 which should fix the issue, but I cannot test my fix right now. -- ___

[issue38429] Failed to compile with --enable-framework on macOS on master

2019-10-10 Thread STINNER Victor
Change by STINNER Victor : -- keywords: +patch pull_requests: +16282 stage: -> patch review pull_request: https://github.com/python/cpython/pull/16695 ___ Python tracker ___

[issue38429] Failed to compile with --enable-framework on macOS on master

2019-10-10 Thread Ned Deily
Change by Ned Deily : -- nosy: +vstinner ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue38429] Failed to compile with --enable-framework on macOS on master

2019-10-10 Thread Haruka Ma
New submission from Haruka Ma : Since commit https://github.com/python/cpython/commit/c02b41b1fb115c87693530ea6a480b2e15460424 , some syntax errors are preventing cpython from compiling with --enable-framework on. Specifically, the errors are in Modules/getpath.c on line 1134 and 1165.