Git Product home page Git Product logo

Comments (5)

travisirby avatar travisirby commented on August 22, 2024

I am getting the same error:

arm-linux-androideabi-gcc: error: x86_64: No such file or directory
arm-linux-androideabi-gcc: error: unrecognized command line option '-arch'
error: command 'arm-linux-androideabi-gcc' failed with exit status 1
# Command failed: ./distribute.sh -m "kivy"

I'm using osx 10.84 and have the latest buildozer installed from the github page. Any help appreciated!

from buildozer.

omerk avatar omerk commented on August 22, 2024

@travisirby It looks like that might be an unrelated error, you might want to open a new ticket.

@franciscovargas and everyone else having this issue: I've fixed this by updating the host cython installation. On Debian wheezy, it was a simple case of:

sudo apt-get remove --purge cython
sudo pip install cython

Hope this helps.

from buildozer.

tito avatar tito commented on August 22, 2024

Yes, your cython look like outdated. Please update it using @omerk instructions :)

from buildozer.

jayece09 avatar jayece09 commented on August 22, 2024

I am having a similar problem. Though I installed cython using pip when I run

" Packages missing: cython
It might break the compilation, except if you installed thoses packages manually. "

and in later parts the error returned are:-
" building 'kivy.graphics.vertex_instructions' extension
ccache arm-linux-androideabi-gcc -DANDROID -mandroid -fomit-frame-pointer --sysroot /home/jp/.buildozer/android/platform/android-ndk-r9c/platforms/android-14/arch-arm -DNDEBUG -DANDROID -mandroid -fomit-frame-pointer --sysroot /home/jp/.buildozer/android/platform/android-ndk-r9c/platforms/android-14/arch-arm -fPIC -I/home/jp/.buildozer/android/platform/android-ndk-r9c/platforms/android-14/arch-arm/usr/include -I/home/jp/Desktop/test2/.buildozer/android/platform/python-for-android/build/python-install/include/python2.7 -c kivy/graphics/vertex_instructions.c -o build/temp.linux-x86_64-2.7/kivy/graphics/vertex_instructions.o
kivy/graphics/vertex_instructions.c:1:2: error: #error Do not use this file, it is the result of a failed Cython compilation.
#error Do not use this file, it is the result of a failed Cython compilation.
^
error: command 'ccache' failed with exit status 1

Error compiling Cython file:

...
# perhaps tangents, what's the position on the spline for parameter t),
#
# b) make that a superclass Spline,
# c) create BezierSpline subclass that does the computation

cdef list _points
         ^

"

There are multiple instances of errors in same folder /kivy/graphics/vertex_instructions.
Whats can be probable reason?
Are these errors two linked? When I checked for version of Cython jp@jp-VirtualBox:~/Desktop/test2$ cython -V
Cython version 0.21.2

And final error returned is:-
building 'kivy.graphics.vertex_instructions' extension
ccache arm-linux-androideabi-gcc -DANDROID -mandroid -fomit-frame-pointer --sysroot /home/jp/.buildozer/android/platform/android-ndk-r9c/platforms/android-14/arch-arm -DNDEBUG -DANDROID -mandroid -fomit-frame-pointer --sysroot /home/jp/.buildozer/android/platform/android-ndk-r9c/platforms/android-14/arch-arm -fPIC -I/home/jp/.buildozer/android/platform/android-ndk-r9c/platforms/android-14/arch-arm/usr/include -I/home/jp/Desktop/test2/.buildozer/android/platform/python-for-android/build/python-install/include/python2.7 -c kivy/graphics/vertex_instructions.c -o build/temp.linux-x86_64-2.7/kivy/graphics/vertex_instructions.o
kivy/graphics/vertex_instructions.c:1:2: error: #error Do not use this file, it is the result of a failed Cython compilation.
#error Do not use this file, it is the result of a failed Cython compilation.
^
error: command 'ccache' failed with exit status 1
#Command failed: ./distribute.sh -m "kivy" -d "myapp"

from buildozer.

vmisiko avatar vmisiko commented on August 22, 2024

yes i have the same problem, i have already installed cython , downgraded, upgraded nothing seems to be working

from buildozer.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.