-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
building apk failes ( python 3 ) #746
Comments
my OS is fedora(23) , i tried on another fedora and i got the same error . |
That error popped again kivy/buildozer#735 and it was again Fedora (28 this time). Edit: |
I am not sure to understand ...
if I try to build pyjnius:
'-mtune=generic' not supported is confirmed
so '-m64', '-fstack-clash-protection', '-fcf-protection' are not supported too. Seems to me that this is not a Fedora specific issue. |
I get your point and I didn't investigate, but it could actually be distribution related even if we're sharing the same toolchain. Edit:
On Ubuntu for instance I get:
There're other settings, e.g. I don't know if that actually is the problem because I didn't investigate, but well it could definitely be distribution related, it won't be the first time. |
the same as:
Seems distutils uses whatever the Python library was compiled with so cython use those options that are no good for cross compilation. |
Nice so I made a good guess 😄 |
in Estension you can pass extra_compile_args as argument: Stackoverflow suggest to set OPT env variable: An other option is passing CFLAGS to python's configure script at build time and distutils should places CFLAGS at the head of the compiler invocation ... I will try as soon as possible to find a solution ... |
Nothing of the above works. |
For now the only workaround I found is to remove gcc unsupported options in: looking for a better solution ... |
Closing as (as I understand) only a python3crystax issue. Please feel free to reopen if it also affects the new python3 recipe. |
I have same issue. what is the solution for this error ? |
I had the same issue, it is solved simply: |
im trying to build an app { using python 3 } :
--bootstrap=sdl2 --requirements=sdl2,python3crystax,kivy
and i get this error :
full log :
The text was updated successfully, but these errors were encountered: