Fix kiwisolver recipe fatal error: 'Python.h' file not found#3118
Conversation
|
Thanks, I guess a git pull does the job too, I can always squash/rebase upon merging. |
Sorry, I don't know why it doesn't work on MacOS, it also fails on kiwisolver, maybe something to do with the compiler? |
Yeah I haven't dug too much into it, but I tried to build it from develop and on macos-13 (not 14) and it's also not building, so I'll assume this isn't a regression from your PR. I'm good with merging, thanks again |
AndreMiras
left a comment
There was a problem hiding this comment.
LGTM, thanks you all for looking this up
| env["CFLAGS"] = flags | ||
| env["CPPFLAGS"] = flags |
There was a problem hiding this comment.
@mriscoc I'm seeing this late, but why didn't we append the flags rather than overriding?
There was a problem hiding this comment.
Ah yes, that might be the reason macos runner might be failing. (Btw I am to blame for this)
There was a problem hiding this comment.
Well the recipe wasn't building anyway, so overall situation is better than the previous state.
From #3115: Fixes the problem with the KiwiSolver recipe in the current develop branch of pythonforandroid.
Error to fix:
buildozer.spec:
Minimal test: