-
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
fail to build application ERROR 'WindowInfoX11' is not a type identifier #1259
Comments
it worked when turning the cython version to 0.25 |
I am seeing this issue as well, with the helloworld app and a fresh buildozer init. When I have default kivy requirements in the buildozer.spec it builds successfully. requirements = kivy The build fails when I change it to 1.10.1 requirements = kivy==1.10 It fails with the common issue here:
kivy/core/window/window_x11.pyx:221:13: 'WindowInfoX11' is not a type identifier subset of pip freeze (snipped others) buildozer==0.34 |
With Cython 0.28.5 the problem still happens with a clean build (delete .buildozer). On a lark I tried running buildozer again immediately right after the failure, and it somehow completed successfully. So what seems to happen is: perform clean build Observe error Immediately re-run the build (without cleaning) Observe success Hope this helps diagnose the eventual fix. |
My configuration :
windows 10
buildozer virtual machine downloaded from the kivy website
Cython version 0.25.2
kivy == master
the buildozer file buildozer.txt
the error log
Check configuration tokens
Ensure build layout
Check configuration tokens
Preparing build
Check requirements for android
Run 'dpkg --version'
Cwd None
Debian 'dpkg' package management program version 1.18.10 (amd64).
This is free software; see the GNU General Public License version 2 or
later for copying conditions. There is NO warranty.
Search for Git (git)
-> found at /usr/bin/git
Search for Cython (cython)
-> found at /usr/local/bin/cython
Search for Java compiler (javac)
-> found at /usr/lib/jvm/java-8-openjdk-amd64/bin/javac
Search for Java keytool (keytool)
-> found at /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/keytool
Install platform
Run 'pip install -q --user "appdirs" "colorama>=0.3.3" "sh>=1.10,<1.12.5" "jinja2" "six"'
Cwd None
Apache ANT found at /home/kivy/.buildozer/android/platform/apache-ant-1.9.4
Android SDK found at /home/kivy/.buildozer/android/platform/android-sdk-20
Android NDK found at /home/kivy/.buildozer/android/platform/android-ndk-r10e
Check application requirements
Check garden requirements
Garden requirements already installed, pass
Compile platform
Run '/usr/bin/python -m pythonforandroid.toolchain create --dist_name=maptest --bootstrap=sdl2 --requirements=hostpython2,kivy==master,openssl,pil,futures,requests,plyer,android,kivymd --arch armeabi-v7a --copy-libs --color=always --storage-dir=/build/maptest/android/platform/build'
Cwd /build/maptest/android/platform/python-for-android-new-toolchain
[INFO]: Recipe kivy: version "master" requested
[INFO]: Will compile for the following archs: armeabi-v7a
[INFO]: Found Android API target in $ANDROIDAPI
[INFO]: Available Android APIs are (19)
[INFO]: Requested API target 19 is available, continuing.
[INFO]: Found NDK dir in $ANDROIDNDK
[INFO]: Got NDK version from $ANDROIDNDKVER
[WARNING]: NDK version was set as r10e, but checking the NDK dir claims it is r10e-rc4.
[WARNING]: The build will try to continue, but it may fail and you should check that your setting is correct.
[WARNING]: If the NDK dir result is correct, you don't need to manually set the NDK ver.
[INFO]: Using Google NDK r10e
[INFO]: Found virtualenv at /usr/local/bin/virtualenv
[INFO]: ccache is missing, the build will not be optimized in the future.
[INFO]: Found the following toolchain versions: ['4.8', '4.9', 'clang3.5', 'clang3.6']
[INFO]: Picking the latest gcc toolchain, here 4.9
[WARNING]: Missing executable: autoconf is not installed
[WARNING]: Missing executable: automake is not installed
[WARNING]: Missing executable: libtoolize is not installed
[INFO]: No existing dists meet the given requirements!
[INFO]: No dist exists that meets your requirements, so one will be built.
[INFO]: Found multiple valid dependency orders:
[INFO]: [u'futures', u'hostpython2', 'jpeg', u'kivymd', u'openssl', u'plyer', 'png', 'sdl2_image', 'sdl2_mixer', 'sdl2_ttf', 'python2', u'pil', 'sdl2', 'setuptools', 'six', u'android', 'pyjnius', u'requests', u'kivy']
[INFO]: [u'futures', u'hostpython2', 'jpeg', u'kivymd', u'openssl', u'plyer', 'png', 'pygame_bootstrap_components', 'python2', u'pil', 'sdl', 'setuptools', 'six', 'pygame', 'pyjnius', u'requests', u'android', u'kivy']
[INFO]: Using the first of these: [u'futures', u'hostpython2', 'jpeg', u'kivymd', u'openssl', u'plyer', 'png', 'sdl2_image', 'sdl2_mixer', 'sdl2_ttf', 'python2', u'pil', 'sdl2', 'setuptools', 'six', u'android', 'pyjnius', u'requests', u'kivy']
[INFO]: The selected bootstrap is sdl2_gradle
[INFO]: # Creating dist with sdl2_gradle bootstrap
[INFO]: Dist will have name maptest and recipes (hostpython2, kivy, openssl, pil, futures, requests, plyer, android, kivymd)
[INFO]: Dist will also contain modules (plyer, futures, kivymd) installed from pip
[INFO]: -> running cp -r /build/maptest/android/p...(and 160 more)
[INFO]: -> directory context /build/maptest/android/platform/build/build/bootstrap_builds/sdl2_gradle-python2
[INFO]: <- directory context /build/maptest/android/platform/python-for-android-new-toolchain
[INFO]: Recipe build order is [u'hostpython2', 'jpeg', u'openssl', 'png', 'sdl2_image', 'sdl2_mixer', 'sdl2_ttf', 'python2', u'pil', 'sdl2', 'setuptools', 'six', u'android', 'pyjnius', u'requests', u'kivy']
[INFO]: The requirements (futures, kivymd, plyer) were not found as recipes, they will be installed with pip.
[INFO]: # Downloading recipes
[INFO]: Downloading hostpython2
[INFO]: -> running mkdir -p /build/maptest/android...(and 36 more)
[INFO]: -> directory context /build/maptest/android/platform/build/packages/hostpython2
[INFO]: -> running basename https://python.org/ftp...(and 34 more)
[INFO]: hostpython2 download already cached, skipping
[INFO]: <- directory context /build/maptest/android/platform/python-for-android-new-toolchain
[INFO]: Downloading jpeg
[INFO]: -> running mkdir -p /build/maptest/android...(and 29 more)
[INFO]: -> directory context /build/maptest/android/platform/build/packages/jpeg
[INFO]: -> running basename git://git.linaro.org/p...(and 45 more)
[INFO]: -> running rm -f .mark-libjpeg-turbo.git
[INFO]: Downloading jpeg from git://git.linaro.org/people/tomgall/libjpeg-turbo/libjpeg-turbo.git
[INFO]: -> directory context libjpeg-turbo.git
[INFO]: -> running git fetch --tags
[INFO]: -> running git checkout linaro-android
[INFO]: -> running git pull
[INFO]: -> running git pull --recurse-submodules
[INFO]: -> running git submodule update --recursive
[INFO]: <- directory context /build/maptest/android/platform/build/packages/jpeg
[INFO]: -> running touch .mark-libjpeg-turbo.git
[INFO]: <- directory context /build/maptest/android/platform/python-for-android-new-toolchain
[INFO]: Downloading openssl
[INFO]: -> running mkdir -p /build/maptest/android...(and 32 more)
[INFO]: -> directory context /build/maptest/android/platform/build/packages/openssl
[INFO]: -> running basename https://www.openssl.or...(and 30 more)
[INFO]: openssl download already cached, skipping
[INFO]: <- directory context /build/maptest/android/platform/python-for-android-new-toolchain
[INFO]: Downloading png
[INFO]: -> running mkdir -p /build/maptest/android...(and 28 more)
[INFO]: -> directory context /build/maptest/android/platform/build/packages/png
[INFO]: -> running basename https://github.com/jul...(and 38 more)
[INFO]: png download already cached, skipping
[INFO]: <- directory context /build/maptest/android/platform/python-for-android-new-toolchain
[INFO]: Downloading sdl2_image
[INFO]: -> running mkdir -p /build/maptest/android...(and 35 more)
[INFO]: -> directory context /build/maptest/android/platform/build/packages/sdl2_image
[INFO]: -> running basename https://www.libsdl.or...(and 52 more)
[INFO]: sdl2_image download already cached, skipping
[INFO]: <- directory context /build/maptest/android/platform/python-for-android-new-toolchain
[INFO]: Downloading sdl2_mixer
[INFO]: -> running mkdir -p /build/maptest/android...(and 35 more)
[INFO]: -> directory context /build/maptest/android/platform/build/packages/sdl2_mixer
[INFO]: -> running basename https://www.libsdl.or...(and 52 more)
[INFO]: sdl2_mixer download already cached, skipping
[INFO]: <- directory context /build/maptest/android/platform/python-for-android-new-toolchain
[INFO]: Downloading sdl2_ttf
[INFO]: -> running mkdir -p /build/maptest/android...(and 33 more)
[INFO]: -> directory context /build/maptest/android/platform/build/packages/sdl2_ttf
[INFO]: -> running basename https://www.libsdl.org...(and 48 more)
[INFO]: sdl2_ttf download already cached, skipping
[INFO]: <- directory context /build/maptest/android/platform/python-for-android-new-toolchain
[INFO]: Downloading python2
[INFO]: -> running mkdir -p /build/maptest/android...(and 32 more)
[INFO]: -> directory context /build/maptest/android/platform/build/packages/python2
[INFO]: -> running basename https://python.org/ftp...(and 34 more)
[INFO]: python2 download already cached, skipping
[INFO]: <- directory context /build/maptest/android/platform/python-for-android-new-toolchain
[INFO]: Downloading pil
[INFO]: -> running mkdir -p /build/maptest/android...(and 28 more)
[INFO]: -> directory context /build/maptest/android/platform/build/packages/pil
[INFO]: -> running basename http://effbot.org/down...(and 26 more)
[INFO]: pil download already cached, skipping
[INFO]: <- directory context /build/maptest/android/platform/python-for-android-new-toolchain
[INFO]: Downloading sdl2
[INFO]: -> running mkdir -p /build/maptest/android...(and 29 more)
[INFO]: -> directory context /build/maptest/android/platform/build/packages/sdl2
[INFO]: -> running basename https://www.libsdl.org...(and 26 more)
[INFO]: sdl2 download already cached, skipping
[INFO]: <- directory context /build/maptest/android/platform/python-for-android-new-toolchain
[INFO]: Downloading setuptools
[INFO]: -> running mkdir -p /build/maptest/android...(and 35 more)
[INFO]: -> directory context /build/maptest/android/platform/build/packages/setuptools
[INFO]: -> running basename https://pypi.python.o...(and 56 more)
[INFO]: setuptools download already cached, skipping
[INFO]: <- directory context /build/maptest/android/platform/python-for-android-new-toolchain
[INFO]: Downloading six
[INFO]: -> running mkdir -p /build/maptest/android...(and 28 more)
[INFO]: -> directory context /build/maptest/android/platform/build/packages/six
[INFO]: -> running basename https://pypi.python.or...(and 40 more)
[INFO]: six download already cached, skipping
[INFO]: <- directory context /build/maptest/android/platform/python-for-android-new-toolchain
[INFO]: Downloading android
[INFO]: Skipping android download as no URL is set
[INFO]: Downloading pyjnius
[INFO]: -> running mkdir -p /build/maptest/android...(and 32 more)
[INFO]: -> directory context /build/maptest/android/platform/build/packages/pyjnius
[INFO]: -> running basename https://github.com/kiv...(and 28 more)
[INFO]: pyjnius download already cached, skipping
[INFO]: <- directory context /build/maptest/android/platform/python-for-android-new-toolchain
[INFO]: Downloading requests
[INFO]: -> running mkdir -p /build/maptest/android...(and 33 more)
[INFO]: -> directory context /build/maptest/android/platform/build/packages/requests
[INFO]: -> running basename https://github.com/ken...(and 41 more)
[INFO]: requests download already cached, skipping
[INFO]: <- directory context /build/maptest/android/platform/python-for-android-new-toolchain
[INFO]: Downloading kivy
[INFO]: -> running mkdir -p /build/maptest/android...(and 29 more)
[INFO]: -> directory context /build/maptest/android/platform/build/packages/kivy
[INFO]: -> running basename https://github.com/kiv...(and 25 more)
[INFO]: kivy download already cached, skipping
[INFO]: <- directory context /build/maptest/android/platform/python-for-android-new-toolchain
[INFO]: # Building all recipes for arch armeabi-v7a
[INFO]: # Unpacking recipes
[INFO]: Unpacking hostpython2 for armeabi-v7a
[INFO]: -> running basename https://python.org/ftp...(and 34 more)
[INFO]: -> directory context /build/maptest/android/platform/build/build/other_builds/hostpython2/desktop
[INFO]: hostpython2 is already unpacked, skipping
[INFO]: <- directory context /build/maptest/android/platform/python-for-android-new-toolchain
[INFO]: Unpacking jpeg for armeabi-v7a
[INFO]: -> running basename git://git.linaro.org/p...(and 45 more)
[INFO]: -> directory context /build/maptest/android/platform/build/build/other_builds/jpeg/armeabi-v7a
[INFO]: jpeg is already unpacked, skipping
[INFO]: <- directory context /build/maptest/android/platform/python-for-android-new-toolchain
[INFO]: Unpacking openssl for armeabi-v7a
[INFO]: -> running basename https://www.openssl.or...(and 30 more)
[INFO]: -> directory context /build/maptest/android/platform/build/build/other_builds/openssl/armeabi-v7a
[INFO]: openssl is already unpacked, skipping
[INFO]: <- directory context /build/maptest/android/platform/python-for-android-new-toolchain
[INFO]: Unpacking png for armeabi-v7a
[INFO]: -> running basename https://github.com/jul...(and 38 more)
[INFO]: -> directory context /build/maptest/android/platform/build/build/other_builds/png/armeabi-v7a
[INFO]: png is already unpacked, skipping
[INFO]: <- directory context /build/maptest/android/platform/python-for-android-new-toolchain
[INFO]: Unpacking sdl2_image for armeabi-v7a
[INFO]: -> running basename https://www.libsdl.or...(and 52 more)
[INFO]: -> directory context /build/maptest/android/platform/build/build/bootstrap_builds/sdl2_gradle-python2/jni
[INFO]: sdl2_image is already unpacked, skipping
[INFO]: <- directory context /build/maptest/android/platform/python-for-android-new-toolchain
[INFO]: Unpacking sdl2_mixer for armeabi-v7a
[INFO]: -> running basename https://www.libsdl.or...(and 52 more)
[INFO]: -> directory context /build/maptest/android/platform/build/build/bootstrap_builds/sdl2_gradle-python2/jni
[INFO]: sdl2_mixer is already unpacked, skipping
[INFO]: <- directory context /build/maptest/android/platform/python-for-android-new-toolchain
[INFO]: Unpacking sdl2_ttf for armeabi-v7a
[INFO]: -> running basename https://www.libsdl.org...(and 48 more)
[INFO]: -> directory context /build/maptest/android/platform/build/build/bootstrap_builds/sdl2_gradle-python2/jni
[INFO]: sdl2_ttf is already unpacked, skipping
[INFO]: <- directory context /build/maptest/android/platform/python-for-android-new-toolchain
[INFO]: Unpacking python2 for armeabi-v7a
[INFO]: -> running basename https://python.org/ftp...(and 34 more)
[INFO]: -> directory context /build/maptest/android/platform/build/build/other_builds/python2-openssl/armeabi-v7a
[INFO]: python2 is already unpacked, skipping
[INFO]: <- directory context /build/maptest/android/platform/python-for-android-new-toolchain
[INFO]: Unpacking pil for armeabi-v7a
[INFO]: -> running basename http://effbot.org/down...(and 26 more)
[INFO]: -> directory context /build/maptest/android/platform/build/build/other_builds/pil/armeabi-v7a
[INFO]: pil is already unpacked, skipping
[INFO]: <- directory context /build/maptest/android/platform/python-for-android-new-toolchain
[INFO]: Unpacking sdl2 for armeabi-v7a
[INFO]: -> running basename https://www.libsdl.org...(and 26 more)
[INFO]: -> directory context /build/maptest/android/platform/build/build/bootstrap_builds/sdl2_gradle-python2/jni
[INFO]: sdl2 is already unpacked, skipping
[INFO]: <- directory context /build/maptest/android/platform/python-for-android-new-toolchain
[INFO]: Unpacking setuptools for armeabi-v7a
[INFO]: -> running basename https://pypi.python.o...(and 56 more)
[INFO]: -> directory context /build/maptest/android/platform/build/build/other_builds/setuptools/armeabi-v7a
[INFO]: setuptools is already unpacked, skipping
[INFO]: <- directory context /build/maptest/android/platform/python-for-android-new-toolchain
[INFO]: Unpacking six for armeabi-v7a
[INFO]: -> running basename https://pypi.python.or...(and 40 more)
[INFO]: -> directory context /build/maptest/android/platform/build/build/other_builds/six-python2/armeabi-v7a
[INFO]: six is already unpacked, skipping
[INFO]: <- directory context /build/maptest/android/platform/python-for-android-new-toolchain
[INFO]: -> running rm -rf /build/maptest/android/...(and 74 more)
[INFO]: -> running cp -a /build/maptest/android/p...(and 175 more)
[INFO]: Unpacking pyjnius for armeabi-v7a
[INFO]: -> running basename https://github.com/kiv...(and 28 more)
[INFO]: -> directory context /build/maptest/android/platform/build/build/other_builds/pyjnius-python2-sdl2/armeabi-v7a
[INFO]: pyjnius is already unpacked, skipping
[INFO]: <- directory context /build/maptest/android/platform/python-for-android-new-toolchain
[INFO]: Unpacking requests for armeabi-v7a
[INFO]: -> running basename https://github.com/ken...(and 41 more)
[INFO]: -> directory context /build/maptest/android/platform/build/build/other_builds/requests/armeabi-v7a
[INFO]: requests is already unpacked, skipping
[INFO]: <- directory context /build/maptest/android/platform/python-for-android-new-toolchain
[INFO]: Unpacking kivy for armeabi-v7a
[INFO]: -> running basename https://github.com/kiv...(and 25 more)
[INFO]: -> directory context /build/maptest/android/platform/build/build/other_builds/kivy-python2-sdl2/armeabi-v7a
[INFO]: kivy is already unpacked, skipping
[INFO]: <- directory context /build/maptest/android/platform/python-for-android-new-toolchain
[INFO]: # Prebuilding recipes
[INFO]: Prebuilding hostpython2 for armeabi-v7a
[INFO]: -> running cp /build/maptest/android/plat...(and 183 more)
[INFO]: Prebuilding jpeg for armeabi-v7a
[INFO]: jpeg has no prebuild_armeabi_v7a, skipping
[INFO]: Applying patches for jpeg[armeabi-v7a]
[INFO]: jpeg already patched, skipping
[INFO]: Prebuilding openssl for armeabi-v7a
[INFO]: openssl has no prebuild_armeabi_v7a, skipping
[INFO]: Prebuilding png for armeabi-v7a
[INFO]: png has no prebuild_armeabi_v7a, skipping
[INFO]: Prebuilding sdl2_image for armeabi-v7a
[INFO]: sdl2_image has no prebuild_armeabi_v7a, skipping
[INFO]: Applying patches for sdl2_image[armeabi-v7a]
[INFO]: sdl2_image already patched, skipping
[INFO]: Prebuilding sdl2_mixer for armeabi-v7a
[INFO]: sdl2_mixer has no prebuild_armeabi_v7a, skipping
[INFO]: Applying patches for sdl2_mixer[armeabi-v7a]
[INFO]: sdl2_mixer already patched, skipping
[INFO]: Prebuilding sdl2_ttf for armeabi-v7a
[INFO]: sdl2_ttf has no prebuild_armeabi_v7a, skipping
[INFO]: Prebuilding python2 for armeabi-v7a
[INFO]: python2 has no prebuild_armeabi_v7a, skipping
[INFO]: Applying patches for python2[armeabi-v7a]
[INFO]: python2 already patched, skipping
[INFO]: Prebuilding pil for armeabi-v7a
[INFO]: pil has no prebuild_armeabi_v7a, skipping
[INFO]: Applying patches for pil[armeabi-v7a]
[INFO]: pil already patched, skipping
[INFO]: Prebuilding sdl2 for armeabi-v7a
[INFO]: sdl2 has no prebuild_armeabi_v7a, skipping
[INFO]: Applying patches for sdl2[armeabi-v7a]
[INFO]: sdl2 already patched, skipping
[INFO]: Prebuilding setuptools for armeabi-v7a
[INFO]: setuptools has no prebuild_armeabi_v7a, skipping
[INFO]: Prebuilding six for armeabi-v7a
[INFO]: six has no prebuild_armeabi_v7a, skipping
[INFO]: Prebuilding android for armeabi-v7a
[INFO]: android has no prebuild_armeabi_v7a, skipping
[INFO]: -> directory context /build/maptest/android/platform/build/build/other_builds/android-python2-sdl2/armeabi-v7a/android
[INFO]: <- directory context /build/maptest/android/platform/python-for-android-new-toolchain
[INFO]: Prebuilding pyjnius for armeabi-v7a
[INFO]: pyjnius has no prebuild_armeabi_v7a, skipping
[INFO]: Applying patches for pyjnius[armeabi-v7a]
[INFO]: pyjnius already patched, skipping
[INFO]: Prebuilding requests for armeabi-v7a
[INFO]: requests has no prebuild_armeabi_v7a, skipping
[INFO]: Prebuilding kivy for armeabi-v7a
[INFO]: kivy has no prebuild_armeabi_v7a, skipping
[INFO]: # Building recipes
[INFO]: Building hostpython2 for armeabi-v7a
[INFO]: -> directory context /build/maptest/android/platform/build/build/other_builds/hostpython2/desktop/hostpython2
[INFO]: hostpython already exists, skipping build
[INFO]: <- directory context /build/maptest/android/platform/python-for-android-new-toolchain
[INFO]: Building jpeg for armeabi-v7a
[INFO]: jpeg said it is already built, skipping
[INFO]: Building openssl for armeabi-v7a
[INFO]: openssl said it is already built, skipping
[INFO]: Building png for armeabi-v7a
[INFO]: png said it is already built, skipping
[INFO]: Building sdl2_image for armeabi-v7a
[INFO]: Building sdl2_mixer for armeabi-v7a
[INFO]: Building sdl2_ttf for armeabi-v7a
[INFO]: Building python2 for armeabi-v7a
[INFO]: Copying hostpython binary to targetpython folder
[INFO]: -> running cp /build/maptest/android/plat...(and 156 more)
[INFO]: Building pil for armeabi-v7a
[INFO]: Python package already exists in site-packages
[INFO]: pil said it is already built, skipping
[INFO]: Building sdl2 for armeabi-v7a
[INFO]: -> directory context /build/maptest/android/platform/build/build/bootstrap_builds/sdl2_gradle-python2/jni
[INFO]: -> running ndk-build V=1
working: install -p /build/maptest/android/platfor...(and 200 m[INFO]: <- directory context /build/maptest/android/platform/python-for-android-new-toolchain
[INFO]: Building setuptools for armeabi-v7a
[INFO]: Python package already exists in site-packages
[INFO]: setuptools said it is already built, skipping
[INFO]: Building six for armeabi-v7a
[INFO]: Python package already exists in site-packages
[INFO]: six said it is already built, skipping
[INFO]: Building android for armeabi-v7a
[INFO]: Python package already exists in site-packages
[INFO]: android said it is already built, skipping
[INFO]: Building pyjnius for armeabi-v7a
[INFO]: Python package already exists in site-packages
[INFO]: pyjnius said it is already built, skipping
[INFO]: Building requests for armeabi-v7a
[INFO]: Python package already exists in site-packages
[INFO]: requests said it is already built, skipping
[INFO]: Building kivy for armeabi-v7a
[INFO]: kivy apparently isn't already in site-packages
[INFO]: Cythonizing anything necessary in kivy
[INFO]: -> directory context /build/maptest/android/platform/build/build/other_builds/kivy-python2-sdl2/armeabi-v7a/kivy
[INFO]: -> running python.host -c import sys; print(sys.path)
[INFO]: Trying first build of kivy to get cython files: this is expected to fail
[INFO]: -> running python.host setup.py build_ext -v
('cwd is', '/build/maptest/android/platform/build/build/other_builds/kivy-python2-sdl2/armeabi-v7a/kivy')
working: * debug = False Exception in thread background thread for pid 5339:
Traceback (most recent call last):
File "/usr/lib/python2.7/threading.py", line 801, in __bootstrap_inner
self.run()
File "/usr/lib/python2.7/threading.py", line 754, in run
self.__target(*self.__args, **self.__kwargs)
File "/usr/local/lib/python2.7/dist-packages/sh.py", line 2170, in background_thread
handle_exit_code(exit_code)
File "/usr/local/lib/python2.7/dist-packages/sh.py", line 1929, in fn
return self.command.handle_command_exit_code(exit_code)
File "/usr/local/lib/python2.7/dist-packages/sh.py", line 672, in handle_command_exit_code
raise exc
ErrorReturnCode_1:
RAN: /build/maptest/android/platform/build/build/python-installs/maptest/bin/python.host setup.py build_ext -v
STDOUT:
Using distutils
Environ change use_sdl2 -> True
Cython check avoided.
Using this graphics system: OpenGL ES 2
WARNING: A problem occurred while running pkg-config --libs --cflags sdl2 SDL2_ttf SDL2_image SDL2_mixer (code 1)
Package sdl2 was not found in the pkg-config search path.
Perhaps you should add the directory containing
sdl2.pc' to the PKG_CONFIG_PATH environment variable No package 'sdl2' found Package SDL2_ttf was not found in the pkg-config search path. Perhaps you should add the directory containing
SDL2_ttf.pc'to the PKG_CONFIG_PATH environment variable
No package 'SDL2_ttf' found
Package SDL2_image was not found in the pkg-config search path.
Perhaps you should add the directory containing
SDL2_image.pc' to the PKG_CONFIG_PATH environment variable No package 'SDL2_image' found Package SDL2_mixer was not found in the pkg-config search path. Perhaps you should add the directory containing
SDL2_mixer.pc'to the PKG_CONFIG_PATH environment variable
No package 'SDL2_mixer' found
SDL2: found SDL header at /build/maptest/android/platform/build/build/bootstrap_builds/sdl2_gradle-python2/jni/SDL/include/SDL.h
SDL2: found SDL_mixer header at /build/maptest/android/platform/build/build/bootstrap_builds/sdl2_gradle-python2/jni/SDL2_mixer/SDL_mixer.h
SDL2: found SDL_ttf header at /build/maptest/android/platform/build/build/bootstrap_builds/sdl2_gradle-python2/jni/SDL2_ttf/SDL_ttf.h
SDL2: found SDL_image header at /build/maptest/android/platform/build/build/bootstrap_builds/sdl2_gradle-python2/jni/SDL2_image/SDL_image.h
fatal: Not a git repository (or any of the parent directories): .git
/build/maptest/android/platform/build/build/python-installs/maptest/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'setup_requires'
warnings.warn(msg)
/build/maptest/android/platform/build/build/python-installs/maptest/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'dependency_links'
warnings.warn(msg)
/build/maptest/android/platform/build/build/python-installs/maptest/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'install_requires'
warnings.warn(msg)
running build_ext
Build configuration is:
error: build/lib.linux-x86_64-2.7/kivy/include/config.h: No such file or directory
STDERR:
[INFO]: kivy first build failed (as expected)
[INFO]: Running cython where appropriate
[INFO]: Cythonize kivy/_clock.pyx
[INFO]: -> running cython ./kivy/_clock.pyx
[INFO]: Cythonize kivy/_event.pyx
[INFO]: -> running cython ./kivy/_event.pyx
[INFO]: Cythonize kivy/properties.pyx
[INFO]: -> running cython ./kivy/properties.pyx
[INFO]: Cythonize kivy/weakproxy.pyx
[INFO]: -> running cython ./kivy/weakproxy.pyx
[INFO]: Cythonize kivy/graphics/cgl.pyx
[INFO]: -> running cython ./kivy/graphics/cgl.pyx
[INFO]: Cythonize kivy/graphics/shader.pyx
[INFO]: -> running cython ./kivy/graphics/shader.pyx
[INFO]: Cythonize kivy/graphics/opengl.pyx
[INFO]: -> running cython ./kivy/graphics/opengl.pyx
[INFO]: Cythonize kivy/graphics/vertex_instructions.pyx
[INFO]: -> running cython ./kivy/graphics/vertex_instructions.pyx
[INFO]: Cythonize kivy/graphics/context.pyx
[INFO]: -> running cython ./kivy/graphics/context.pyx
[INFO]: Cythonize kivy/graphics/compiler.pyx
[INFO]: -> running cython ./kivy/graphics/compiler.pyx
[INFO]: Cythonize kivy/graphics/stencil_instructions.pyx
[INFO]: -> running cython ./kivy/graphics/stencil_instructions.pyx
[INFO]: Cythonize kivy/graphics/svg.pyx
[INFO]: -> running cython ./kivy/graphics/svg.pyx
[INFO]: Cythonize kivy/graphics/texture.pyx
[INFO]: -> running cython ./kivy/graphics/texture.pyx
[INFO]: Cythonize kivy/graphics/transformation.pyx
[INFO]: -> running cython ./kivy/graphics/transformation.pyx
[INFO]: Cythonize kivy/graphics/opengl_utils.pyx
[INFO]: -> running cython ./kivy/graphics/opengl_utils.pyx
[INFO]: Cythonize kivy/graphics/buffer.pyx
[INFO]: -> running cython ./kivy/graphics/buffer.pyx
[INFO]: Cythonize kivy/graphics/tesselator.pyx
[INFO]: -> running cython ./kivy/graphics/tesselator.pyx
[INFO]: Cythonize kivy/graphics/scissor_instructions.pyx
[INFO]: -> running cython ./kivy/graphics/scissor_instructions.pyx
[INFO]: Cythonize kivy/graphics/instructions.pyx
[INFO]: -> running cython ./kivy/graphics/instructions.pyx
[INFO]: Cythonize kivy/graphics/gl_instructions.pyx
[INFO]: -> running cython ./kivy/graphics/gl_instructions.pyx
[INFO]: Cythonize kivy/graphics/fbo.pyx
[INFO]: -> running cython ./kivy/graphics/fbo.pyx
[INFO]: Cythonize kivy/graphics/vertex.pyx
[INFO]: -> running cython ./kivy/graphics/vertex.pyx
[INFO]: Cythonize kivy/graphics/vbo.pyx
[INFO]: -> running cython ./kivy/graphics/vbo.pyx
[INFO]: Cythonize kivy/graphics/context_instructions.pyx
[INFO]: -> running cython ./kivy/graphics/context_instructions.pyx
[INFO]: Cythonize kivy/graphics/cgl_backend/cgl_mock.pyx
[INFO]: -> running cython ./kivy/graphics/cgl_backend/cgl_mock.pyx
[INFO]: Cythonize kivy/graphics/cgl_backend/cgl_debug.pyx
[INFO]: -> running cython ./kivy/graphics/cgl_backend/cgl_debug.pyx
[INFO]: Cythonize kivy/graphics/cgl_backend/cgl_glew.pyx
[INFO]: -> running cython ./kivy/graphics/cgl_backend/cgl_glew.pyx
[INFO]: Cythonize kivy/graphics/cgl_backend/cgl_sdl2.pyx
[INFO]: -> running cython ./kivy/graphics/cgl_backend/cgl_sdl2.pyx
[INFO]: Cythonize kivy/graphics/cgl_backend/cgl_gl.pyx
[INFO]: -> running cython ./kivy/graphics/cgl_backend/cgl_gl.pyx
[INFO]: Cythonize kivy/lib/vidcore_lite/bcm.pyx
[INFO]: -> running cython ./kivy/lib/vidcore_lite/bcm.pyx
[INFO]: Cythonize kivy/lib/vidcore_lite/egl.pyx
[INFO]: -> running cython ./kivy/lib/vidcore_lite/egl.pyx
[INFO]: Cythonize kivy/lib/gstplayer/_gstplayer.pyx
[INFO]: -> running cython ./kivy/lib/gstplayer/_gstplayer.pyx
[INFO]: Cythonize kivy/core/image/img_imageio.pyx
[INFO]: -> running cython ./kivy/core/image/img_imageio.pyx
[INFO]: Cythonize kivy/core/image/_img_sdl2.pyx
[INFO]: -> running cython ./kivy/core/image/_img_sdl2.pyx
[INFO]: Cythonize kivy/core/text/text_layout.pyx
[INFO]: -> running cython ./kivy/core/text/text_layout.pyx
[INFO]: Cythonize kivy/core/text/_text_sdl2.pyx
[INFO]: -> running cython ./kivy/core/text/_text_sdl2.pyx
[INFO]: Cythonize kivy/core/audio/audio_sdl2.pyx
[INFO]: -> running cython ./kivy/core/audio/audio_sdl2.pyx
[INFO]: Cythonize kivy/core/clipboard/_clipboard_sdl2.pyx
[INFO]: -> running cython ./kivy/core/clipboard/_clipboard_sdl2.pyx
[INFO]: Cythonize kivy/core/window/window_info.pyx
[INFO]: -> running cython ./kivy/core/window/window_info.pyx
[INFO]: Cythonize kivy/core/window/window_x11.pyx
[INFO]: -> running cython ./kivy/core/window/window_x11.pyx
()
working: -----------------------Exception in thread background thread for pid 5700:
Traceback (most recent call last):
File "/usr/lib/python2.7/threading.py", line 801, in __bootstrap_inner
self.run()
File "/usr/lib/python2.7/threading.py", line 754, in run
self.__target(*self.__args, **self.__kwargs)
File "/usr/local/lib/python2.7/dist-packages/sh.py", line 2170, in background_thread
handle_exit_code(exit_code)
File "/usr/local/lib/python2.7/dist-packages/sh.py", line 1929, in fn
return self.command.handle_command_exit_code(exit_code)
File "/usr/local/lib/python2.7/dist-packages/sh.py", line 672, in handle_command_exit_code
raise exc
ErrorReturnCode_1:
RAN: /usr/local/bin/cython ./kivy/core/window/window_x11.pyx
STDOUT:
Error compiling Cython file:
...
from kivy.config import Config
from kivy.base import stopTouchApp, EventLoop, ExceptionManager
from kivy.utils import platform
from os import environ
from window_info cimport WindowInfoX11
^
kivy/core/window/window_x11.pyx:18:0: 'kivy/core/window/window_info/WindowInfoX11.pxd' not found
Error compiling Cython file:
...
cdef extern int x11_create_window(int width, int height, int x, int y,
int resizable, int fullscreen, int border, int above, int CWOR, char *title)
cdef extern void x11_gl_swap()
cdef extern void x11_set_title(char *title)
cdef extern int x11_idle()
cdef extern Display *x11_get_display()
^
kivy/core/window/window_x11.pyx:69:12: 'Display' is not a type identifier
Error compiling Cython file:
...
int resizable, int fullscreen, int border, int above, int CWOR, char *title)
cdef extern void x11_gl_swap()
cdef extern void x11_set_title(char *title)
cdef extern int x11_idle()
cdef extern Display *x11_get_display()
cdef extern Window x11_get_window()
^
kivy/core/window/window_x11.pyx:70:12: 'Window' is not a type identifier
Error compiling Cython file:
...
self.system_size = size
super(WindowX11, self).create_window()
self._unbind_create_window()
kivy/core/window/window_x11.pyx:221:13: 'WindowInfoX11' is not a type identifier
STDERR:
Traceback (most recent call last):
File "/usr/lib/python2.7/runpy.py", line 174, in _run_module_as_main
"main", fname, loader, pkg_name)
File "/usr/lib/python2.7/runpy.py", line 72, in run_code
exec code in run_globals
File "/build/maptest/android/platform/python-for-android-new-toolchain/pythonforandroid/toolchain.py", line 978, in
main()
File "/build/maptest/android/platform/python-for-android-new-toolchain/pythonforandroid/toolchain.py", line 975, in main
ToolchainCL()
File "/build/maptest/android/platform/python-for-android-new-toolchain/pythonforandroid/toolchain.py", line 512, in init
getattr(self, args.subparser_name.replace('-', ''))(args)
File "/build/maptest/android/platform/python-for-android-new-toolchain/pythonforandroid/toolchain.py", line 149, in wrapper_func
build_dist_from_args(ctx, dist, args)
File "/build/maptest/android/platform/python-for-android-new-toolchain/pythonforandroid/toolchain.py", line 193, in build_dist_from_args
build_recipes(build_order, python_modules, ctx)
File "pythonforandroid/build.py", line 573, in build_recipes
File "pythonforandroid/recipe.py", line 928, in build_arch
File "pythonforandroid/recipe.py", line 963, in build_cython_components
File "/build/maptest/android/platform/python-for-android-new-toolchain/pythonforandroid/recipes/kivy/init.py", line 18, in cythonize_build
super(KivyRecipe, self).cythonize_build(env, build_dir=build_dir)
File "pythonforandroid/recipe.py", line 1008, in cythonize_build
File "pythonforandroid/recipe.py", line 999, in cythonize_file
File "pythonforandroid/logger.py", line 175, in shprint
File "/usr/local/lib/python2.7/dist-packages/sh.py", line 720, in next
self.wait()
File "/usr/local/lib/python2.7/dist-packages/sh.py", line 651, in wait
self.handle_command_exit_code(exit_code)
File "/usr/local/lib/python2.7/dist-packages/sh.py", line 672, in handle_command_exit_code
raise exc
sh.ErrorReturnCode_1:
RAN: /usr/local/bin/cython ./kivy/core/window/window_x11.pyx
STDOUT:
Error compiling Cython file:
...
from kivy.config import Config
from kivy.base import stopTouchApp, EventLoop, ExceptionManager
from kivy.utils import platform
from os import environ
from window_info cimport WindowInfoX11
^
kivy/core/window/window_x11.pyx:18:0: 'kivy/core/window/window_info/WindowInfoX11.pxd' not found
Error compiling Cython file:
...
cdef extern int x11_create_window(int width, int height, int x, int y,
int resizable, int fullscreen, int border, int above, int CWOR, char *title)
cdef extern void x11_gl_swap()
cdef extern void x11_set_title(char *title)
cdef extern int x11_idle()
cdef extern Display *x11_get_display()
^
kivy/core/window/window_x11.pyx:69:12: 'Display' is not a type identifier
Error compiling Cython file:
...
int resizable, int fullscreen, int border, int above, int CWOR, char *title)
cdef extern void x11_gl_swap()
cdef extern void x11_set_title(char *title)
cdef extern int x11_idle()
cdef extern Display *x11_get_display()
cdef extern Window x11_get_window()
^
kivy/core/window/window_x11.pyx:70:12: 'Window' is not a type identifier
Error compiling Cython file:
...
self.system_size = size
super(WindowX11, self).create_window()
self._unbind_create_window()
kivy/core/window/window_x11.pyx:221:13: 'WindowInfoX11' is not a type identifier
STDERR:
Command failed: /usr/bin/python -m pythonforandroid.toolchain create --dist_name=maptest --bootstrap=sdl2 --requirements=hostpython2,kivy==master,openssl,pil,futures,requests,plyer,android,kivymd --arch armeabi-v7a --copy-libs --color=always --storage-dir=/build/maptest/android/platform/build
Buildozer failed to execute the last command
The error might be hidden in the log above this error
Please read the full log, and search for it before
raising an issue with buildozer itself.
In case of a bug report, please add a full log with log_level = 2
The text was updated successfully, but these errors were encountered: