Skip to content

Instantly share code, notes, and snippets.

@yaki29
Created February 1, 2017 17:27
Show Gist options
  • Save yaki29/0d23b06dddf6614a0689b915be24a5ef to your computer and use it in GitHub Desktop.
Save yaki29/0d23b06dddf6614a0689b915be24a5ef to your computer and use it in GitHub Desktop.
buildozer android_new debug
# 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.17.25 (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
# Apache ANT found at /home/yash/.buildozer/android/platform/apache-ant-1.9.4
# Android SDK found at /home/yash/.buildozer/android/platform/android-sdk-20
# Android NDK found at /home/yash/.buildozer/android/platform/android-ndk-r9c
# Check application requirements
# Check garden requirements
# Compile platform
# Run 'python -m pythonforandroid.toolchain --color=always --storage-dir=/home/yash/lastone/.buildozer/android/platform/build create --dist_name=fapp --bootstrap=sdl2 --requirements=kivy,requests,beautifulsoup4 --arch armeabi-v7a --copy-libs'
# Cwd /home/yash/lastone/.buildozer/android/platform/python-for-android-master
[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
[INFO]: Using Google NDK r9c
[INFO]: Found virtualenv at /usr/local/bin/virtualenv
[INFO]: Found the following toolchain versions: ['4.6', '4.8', 'clang3.3']
[INFO]: Picking the latest gcc toolchain, here 4.8
[INFO]: No existing dists meet the given requirements!
[INFO]: No dist exists that meets your requirements, so one will be built.
[INFO]: Bootstrap requires recipes ['sdl2', ('python2', 'python3crystax')]
[INFO]: Loaded recipe requests (depends on ['hostpython2', 'setuptools'])
[INFO]: Loaded recipe sdl2 (depends on [('python2', 'python3crystax'), 'sdl2_image', 'sdl2_mixer', 'sdl2_ttf'], conflicts ['sdl', 'pygame', 'pygame_bootstrap_components'])
[INFO]: Loaded recipe beautifulsoup4 (depends on [('python2', 'python3crystax'), 'lxml'])
[INFO]: Loaded recipe kivy (depends on ['pyjnius', ('sdl2', 'pygame'), ('python2', 'python3crystax')])
[INFO]: Loaded recipe hostpython2 (depends on [], conflicts ['hostpython3'])
[INFO]: Loaded recipe setuptools (depends on ['python2'])
[INFO]: Loaded recipe sdl2_image (depends on [])
[INFO]: Loaded recipe sdl2_mixer (depends on [])
[INFO]: Loaded recipe sdl2_ttf (depends on [])
[INFO]: Loaded recipe lxml (depends on ['libxslt', ('python2', 'python3crystax')])
[INFO]: Loaded recipe pyjnius (depends on ['six', ('sdl2', 'sdl', 'genericndkbuild'), ('python2', 'python3crystax')])
[INFO]: Loaded recipe python2 (depends on ['hostpython2'], conflicts ['python3crystax', 'python3'])
[INFO]: Loaded recipe libxslt (depends on ['libxml2', ('python2', 'python3crystax')])
[INFO]: Loaded recipe six (depends on [('python2', 'python3crystax')])
[INFO]: Loaded recipe libxml2 (depends on [('python2', 'python3crystax')])
[INFO]: Found a single valid recipe set (this is good)
[INFO]: The selected bootstrap is sdl2
[INFO]: # Creating dist with sdl2 bootstrap
[INFO]: Dist will have name fapp and recipes (kivy, requests, beautifulsoup4)
[INFO]: -> running cp -r /home/yash/lastone/.buildozer/android/platform/python-for-android-master/pythonforandroid/bootstraps/sdl2/build /home/yash/laston...(and 71 more)
[INFO]: -> directory context /home/yash/lastone/.buildozer/android/platform/build/build/bootstrap_builds/sdl2-python2
[INFO]: <- directory context /home/yash/lastone/.buildozer/android/platform/python-for-android-master
[INFO]: Recipe build order is ['hostpython2', 'sdl2_image', 'sdl2_mixer', 'sdl2_ttf', 'python2', 'libxml2', 'sdl2', 'setuptools', 'six', 'libxslt', 'pyjnius', u'requests', u'kivy', 'lxml', u'beautifulsoup4']
[INFO]: # Downloading recipes
[INFO]: Downloading hostpython2
[INFO]: -> running mkdir -p /home/yash/lastone/.buildozer/android/platform/build/packages/hostpython2
[INFO]: -> directory context /home/yash/lastone/.buildozer/android/platform/build/packages/hostpython2
[INFO]: -> running basename http://python.org/ftp/python/2.7.2/Python-2.7.2.tar.bz2
[INFO]: hostpython2 download already cached, skipping
[INFO]: <- directory context /home/yash/lastone/.buildozer/android/platform/python-for-android-master
[INFO]: Downloading sdl2_image
[INFO]: -> running mkdir -p /home/yash/lastone/.buildozer/android/platform/build/packages/sdl2_image
[INFO]: -> directory context /home/yash/lastone/.buildozer/android/platform/build/packages/sdl2_image
[INFO]: -> running basename https://www.libsdl.org/projects/SDL_image/release/SDL2_image-2.0.1.tar.gz
[INFO]: sdl2_image download already cached, skipping
[INFO]: <- directory context /home/yash/lastone/.buildozer/android/platform/python-for-android-master
[INFO]: Downloading sdl2_mixer
[INFO]: -> running mkdir -p /home/yash/lastone/.buildozer/android/platform/build/packages/sdl2_mixer
[INFO]: -> directory context /home/yash/lastone/.buildozer/android/platform/build/packages/sdl2_mixer
[INFO]: -> running basename https://www.libsdl.org/projects/SDL_mixer/release/SDL2_mixer-2.0.1.tar.gz
[INFO]: sdl2_mixer download already cached, skipping
[INFO]: <- directory context /home/yash/lastone/.buildozer/android/platform/python-for-android-master
[INFO]: Downloading sdl2_ttf
[INFO]: -> running mkdir -p /home/yash/lastone/.buildozer/android/platform/build/packages/sdl2_ttf
[INFO]: -> directory context /home/yash/lastone/.buildozer/android/platform/build/packages/sdl2_ttf
[INFO]: -> running basename https://www.libsdl.org/projects/SDL_ttf/release/SDL2_ttf-2.0.14.tar.gz
[INFO]: sdl2_ttf download already cached, skipping
[INFO]: <- directory context /home/yash/lastone/.buildozer/android/platform/python-for-android-master
[INFO]: Downloading python2
[INFO]: -> running mkdir -p /home/yash/lastone/.buildozer/android/platform/build/packages/python2
[INFO]: -> directory context /home/yash/lastone/.buildozer/android/platform/build/packages/python2
[INFO]: -> running basename http://python.org/ftp/python/2.7.2/Python-2.7.2.tar.bz2
[INFO]: python2 download already cached, skipping
[INFO]: <- directory context /home/yash/lastone/.buildozer/android/platform/python-for-android-master
[INFO]: Downloading libxml2
[INFO]: -> running mkdir -p /home/yash/lastone/.buildozer/android/platform/build/packages/libxml2
[INFO]: -> directory context /home/yash/lastone/.buildozer/android/platform/build/packages/libxml2
[INFO]: -> running basename ftp://xmlsoft.org/libxml2/libxml2-2.9.3.tar.gz
working: libxml2-2.9.3.tar.gz [INFO]: -> running rm -f .mark-libxml2-2.9.3.tar.gz
[INFO]: Downloading libxml2 from ftp://xmlsoft.org/libxml2/libxml2-2.9.3.tar.gz
[INFO]: -> running touch .mark-libxml2-2.9.3.tar.gz
[INFO]: <- directory context /home/yash/lastone/.buildozer/android/platform/python-for-android-master
[INFO]: Downloading sdl2
[INFO]: -> running mkdir -p /home/yash/lastone/.buildozer/android/platform/build/packages/sdl2
[INFO]: -> directory context /home/yash/lastone/.buildozer/android/platform/build/packages/sdl2
[INFO]: -> running basename https://www.libsdl.org/release/SDL2-2.0.4.tar.gz
[INFO]: <- directory context /home/yash/lastone/.buildozer/android/platform/python-for-android-master
[INFO]: Downloading setuptools
[INFO]: -> running mkdir -p /home/yash/lastone/.buildozer/android/platform/build/packages/setuptools
[INFO]: -> directory context /home/yash/lastone/.buildozer/android/platform/build/packages/setuptools
[INFO]: -> running basename https://pypi.python.org/packages/source/s/setuptools/setuptools-18.3.1.tar.gz
[INFO]: setuptools download already cached, skipping
[INFO]: <- directory context /home/yash/lastone/.buildozer/android/platform/python-for-android-master
[INFO]: Downloading six
[INFO]: -> running mkdir -p /home/yash/lastone/.buildozer/android/platform/build/packages/six
[INFO]: -> directory context /home/yash/lastone/.buildozer/android/platform/build/packages/six
[INFO]: -> running basename https://pypi.python.org/packages/source/s/six/six-1.9.0.tar.gz
working: six-1.9.0.tar.g[INFO]: six download already cached, skipping
[INFO]: <- directory context /home/yash/lastone/.buildozer/android/platform/python-for-android-master
[INFO]: Downloading libxslt
[INFO]: -> running mkdir -p /home/yash/lastone/.buildozer/android/platform/build/packages/libxslt
[INFO]: -> directory context /home/yash/lastone/.buildozer/android/platform/build/packages/libxslt
[INFO]: -> running basename ftp://xmlsoft.org/libxslt/libxslt-1.1.29.tar.gz
[INFO]: -> running rm -f .mark-libxslt-1.1.29.tar.gz
[INFO]: Downloading libxslt from ftp://xmlsoft.org/libxslt/libxslt-1.1.29.tar.gz
[INFO]: -> running touch .mark-libxslt-1.1.29.tar.gz
[INFO]: <- directory context /home/yash/lastone/.buildozer/android/platform/python-for-android-master
[INFO]: Downloading pyjnius
[INFO]: -> running mkdir -p /home/yash/lastone/.buildozer/android/platform/build/packages/pyjnius
[INFO]: -> directory context /home/yash/lastone/.buildozer/android/platform/build/packages/pyjnius
[INFO]: -> running basename https://github.com/kivy/pyjnius/archive/master.zip
[INFO]: pyjnius download already cached, skipping
[INFO]: <- directory context /home/yash/lastone/.buildozer/android/platform/python-for-android-master
[INFO]: Downloading requests
[INFO]: -> running mkdir -p /home/yash/lastone/.buildozer/android/platform/build/packages/requests
[INFO]: -> directory context /home/yash/lastone/.buildozer/android/platform/build/packages/requests
[INFO]: -> running basename https://github.com/kennethreitz/requests/archive/v2.9.1.tar.gz
[INFO]: requests download already cached, skipping
[INFO]: <- directory context /home/yash/lastone/.buildozer/android/platform/python-for-android-master
[INFO]: Downloading kivy
[INFO]: -> running mkdir -p /home/yash/lastone/.buildozer/android/platform/build/packages/kivy
[INFO]: -> directory context /home/yash/lastone/.buildozer/android/platform/build/packages/kivy
[INFO]: -> running basename https://github.com/kivy/kivy/archive/master.zip
[INFO]: kivy download already cached, skipping
[INFO]: <- directory context /home/yash/lastone/.buildozer/android/platform/python-for-android-master
[INFO]: Downloading lxml
[INFO]: -> running mkdir -p /home/yash/lastone/.buildozer/android/platform/build/packages/lxml
[INFO]: -> directory context /home/yash/lastone/.buildozer/android/platform/build/packages/lxml
[INFO]: -> running basename https://github.com/lxml/lxml/archive/lxml-3.7.2.tar.gz
working: lxml-3.7.2.tar.gz [INFO]: lxml download already cached, skipping
[INFO]: <- directory context /home/yash/lastone/.buildozer/android/platform/python-for-android-master
[INFO]: Downloading beautifulsoup4
[INFO]: -> running mkdir -p /home/yash/lastone/.buildozer/android/platform/build/packages/beautifulsoup4
[INFO]: -> directory context /home/yash/lastone/.buildozer/android/platform/build/packages/beautifulsoup4
[INFO]: -> running basename https://www.crummy.com/software/BeautifulSoup/bs4/download/4.0/beautifulsoup4-4.1.0.tar.gz
[INFO]: beautifulsoup4 download already cached, skipping
[INFO]: <- directory context /home/yash/lastone/.buildozer/android/platform/python-for-android-master
[INFO]: # Building all recipes for arch armeabi-v7a
[INFO]: # Unpacking recipes
[INFO]: Unpacking hostpython2 for armeabi-v7a
[INFO]: -> running basename http://python.org/ftp/python/2.7.2/Python-2.7.2.tar.bz2
[INFO]: -> directory context /home/yash/lastone/.buildozer/android/platform/build/build/other_builds/hostpython2/desktop
[INFO]: hostpython2 is already unpacked, skipping
[INFO]: <- directory context /home/yash/lastone/.buildozer/android/platform/python-for-android-master
[INFO]: Unpacking sdl2_image for armeabi-v7a
[INFO]: -> running basename https://www.libsdl.org/projects/SDL_image/release/SDL2_image-2.0.1.tar.gz
working: SDL2_image-2.0.1.tar.gz [INFO]: -> directory context /home/yash/lastone/.buildozer/android/platform/build/build/bootstrap_builds/sdl2-python2/jni
[INFO]: sdl2_image is already unpacked, skipping
[INFO]: <- directory context /home/yash/lastone/.buildozer/android/platform/python-for-android-master
[INFO]: Unpacking sdl2_mixer for armeabi-v7a
[INFO]: -> running basename https://www.libsdl.org/projects/SDL_mixer/release/SDL2_mixer-2.0.1.tar.gz
[INFO]: -> directory context /home/yash/lastone/.buildozer/android/platform/build/build/bootstrap_builds/sdl2-python2/jni
[INFO]: sdl2_mixer is already unpacked, skipping
[INFO]: <- directory context /home/yash/lastone/.buildozer/android/platform/python-for-android-master
[INFO]: Unpacking sdl2_ttf for armeabi-v7a
[INFO]: -> running basename https://www.libsdl.org/projects/SDL_ttf/release/SDL2_ttf-2.0.14.tar.gz
[INFO]: -> directory context /home/yash/lastone/.buildozer/android/platform/build/build/bootstrap_builds/sdl2-python2/jni
[INFO]: sdl2_ttf is already unpacked, skipping
[INFO]: <- directory context /home/yash/lastone/.buildozer/android/platform/python-for-android-master
[INFO]: Unpacking python2 for armeabi-v7a
[INFO]: -> running basename http://python.org/ftp/python/2.7.2/Python-2.7.2.tar.bz2
[INFO]: -> directory context /home/yash/lastone/.buildozer/android/platform/build/build/other_builds/python2/armeabi-v7a
[INFO]: python2 is already unpacked, skipping
[INFO]: <- directory context /home/yash/lastone/.buildozer/android/platform/python-for-android-master
[INFO]: Unpacking libxml2 for armeabi-v7a
[INFO]: -> running basename ftp://xmlsoft.org/libxml2/libxml2-2.9.3.tar.gz
[INFO]: -> directory context /home/yash/lastone/.buildozer/android/platform/build/build/other_builds/libxml2-python2/armeabi-v7a
Traceback (most recent call last):
File "/usr/lib/python2.7/runpy.py", line 162, 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 "/home/yash/lastone/.buildozer/android/platform/python-for-android-master/pythonforandroid/toolchain.py", line 871, in <module>
main()
File "/home/yash/lastone/.buildozer/android/platform/python-for-android-master/pythonforandroid/toolchain.py", line 868, in main
ToolchainCL()
File "/home/yash/lastone/.buildozer/android/platform/python-for-android-master/pythonforandroid/toolchain.py", line 494, in __init__
getattr(self, args.subparser_name.replace('-', '_'))(args)
File "/home/yash/lastone/.buildozer/android/platform/python-for-android-master/pythonforandroid/toolchain.py", line 147, in wrapper_func
build_dist_from_args(ctx, dist, args)
File "/home/yash/lastone/.buildozer/android/platform/python-for-android-master/pythonforandroid/toolchain.py", line 190, in build_dist_from_args
build_recipes(build_order, python_modules, ctx)
File "pythonforandroid/build.py", line 550, in build_recipes
File "pythonforandroid/recipe.py", line 550, in prepare_build_dir
File "pythonforandroid/recipe.py", line 472, in unpack
Exception: Given path is neither a file nor a directory: /home/yash/lastone/.buildozer/android/platform/build/packages/libxml2/libxml2-2.9.3.tar.gz
# Command failed: python -m pythonforandroid.toolchain --color=always --storage-dir=/home/yash/lastone/.buildozer/android/platform/build create --dist_name=fapp --bootstrap=sdl2 --requirements=kivy,requests,beautifulsoup4 --arch armeabi-v7a --copy-libs
#
# 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment