Skip to content
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

cannot build pyjnius for armeabi-v7a #735

Closed
pat1 opened this issue Oct 29, 2018 · 3 comments
Closed

cannot build pyjnius for armeabi-v7a #735

pat1 opened this issue Oct 29, 2018 · 3 comments

Comments

@pat1
Copy link
Contributor

pat1 commented Oct 29, 2018

Versions

  • Python: 3.6.6 and 3.5.6
  • OS: Linux Fedora 28
  • Kivy: 1.10.1
  • Cython: 0.28.4

Description

I have migrated my app https://play.google.com/store/apps/details?id=org.test.rmap to python3 ant it work on linux box.
I try to build it with crystax-ndk-10.3.2.
I have patched buildozer with the patch below to get the right crystax-ndk version and to avoid #731 bug and I have success getting one APK without including kivy as requirements.
If I include kivy (and pyjnius) in requirements in buildozer.spec I get a fatal error.

buildozer patch

diff --git a/buildozer/targets/android.py b/buildozer/targets/android.py
index 0f4090f..7de9ef6 100644
--- a/buildozer/targets/android.py
+++ b/buildozer/targets/android.py
@@ -83,7 +83,7 @@ class TargetAndroid(Target):
         version = self.buildozer.config.getdefault('app', 'android.ndk',
                                                    self.android_ndk_version)
         return join(self.buildozer.global_platform_dir,
-                    'android-ndk-r{0}'.format(version))
+                    'android-ndk-{0}'.format(version))
 
     @property
     def apache_ant_dir(self):
@@ -244,13 +244,13 @@ class TargetAndroid(Target):
 
         self.buildozer.info('Android SDK is missing, downloading')
         if platform in ('win32', 'cygwin'):
-            archive = 'android-sdk_r{0}-windows.zip'
+            archive = 'android-sdk_{0}-windows.zip'
             unpacked = 'android-sdk-windows'
         elif platform in ('darwin', ):
-            archive = 'android-sdk_r{0}-macosx.zip'
+            archive = 'android-sdk_{0}-macosx.zip'
             unpacked = 'android-sdk-macosx'
         elif platform.startswith('linux'):
-            archive = 'android-sdk_r{0}-linux.tgz'
+            archive = 'android-sdk_{0}-linux.tgz'
             unpacked = 'android-sdk-linux'
         else:
             raise SystemError('Unsupported platform: {0}'.format(platform))
@@ -284,27 +284,27 @@ class TargetAndroid(Target):
         if platform in ('win32', 'cygwin'):
             # Checking of 32/64 bits at Windows from: http://stackoverflow.com/a/1405971/798575
             import struct
-            archive = 'android-ndk-r{0}-windows-{1}.zip'
+            archive = 'android-ndk-{0}-windows-{1}.zip'
             is_64 = (8 * struct.calcsize("P") == 64)
 
         elif platform in ('darwin', ):
             if int(_version) > 9:
-                archive = 'android-ndk-r{0}-darwin-{1}.bin'
+                archive = 'android-ndk-{0}-darwin-{1}.bin'
             else:
-                archive = 'android-ndk-r{0}-darwin-{1}.tar.bz2'
+                archive = 'android-ndk-{0}-darwin-{1}.tar.bz2'
             is_64 = (os.uname()[4] == 'x86_64')
 
         elif platform.startswith('linux'):
             if int(_version) > 9:  # if greater than 9, take it as .bin file
-                archive = 'android-ndk-r{0}-linux-{1}.bin'
+                archive = 'android-ndk-{0}-linux-{1}.bin'
             else:
-                archive = 'android-ndk-r{0}-linux-{1}.tar.bz2'
+                archive = 'android-ndk-{0}-linux-{1}.tar.bz2'
             is_64 = (os.uname()[4] == 'x86_64')
         else:
             raise SystemError('Unsupported platform: {0}'.format(platform))
 
         architecture = 'x86_64' if is_64 else 'x86'
-        unpacked = 'android-ndk-r{0}'
+        unpacked = 'android-ndk-{0}'
         archive = archive.format(self.android_ndk_version, architecture)
         unpacked = unpacked.format(self.android_ndk_version)
         url = 'http://dl.google.com/android/ndk/'
@@ -480,7 +480,7 @@ class TargetAndroid(Target):
             'ANDROIDNDK': self.android_ndk_dir,
             'ANDROIDAPI': self.android_api,
             'ANDROIDMINAPI': self.android_minapi,
-            'ANDROIDNDKVER': 'r{}'.format(self.android_ndk_version)
+            'ANDROIDNDKVER': '{}'.format(self.android_ndk_version)
         })
 
     def _install_p4a(self):
@@ -521,7 +521,7 @@ class TargetAndroid(Target):
         try:
             with open(join(self.pa_dir, "setup.py")) as fd:
                 setup = fd.read()
-                deps = re.findall("^install_reqs = (\[[^\]]*\])", setup, re.DOTALL | re.MULTILINE)[0]
+                deps = re.findall("install_reqs = (\[[^\]]*\])", setup, re.DOTALL | re.MULTILINE)[0]
                 deps = ast.literal_eval(deps)
         except IOError:
             self.buildozer.error('Failed to read python-for-android setup.py at {}'.format(

buildozer.spec

[app]

# (str) Title of your application
title = Rmap

# (str) Package name
package.name = rmap

# (str) Package domain (needed for android/ios packaging)
package.domain = org.rmap

# (str) Source code where the main.py live
source.dir = .

# (list) Source files to include (let empty to include all the files)
#source.include_exts = py,png,jpg,kv,atlas

# (list) List of inclusions using pattern matching
#source.include_patterns = assets/*,images/*.png

# (list) Source files to exclude (let empty to not exclude anything)
source.exclude_exts = spec

# (list) List of directory to exclude (let empty to not exclude anything)
source.exclude_dirs = tests, bin, cache, media, data, man, build, dist, doc, PubSubClient, test, global_static, amatyr, graphite-dballe, borinud, geoimage, http2mqtt, insertdata, showdata, static, testdata, rainbo

# (list) List of exclusions using pattern matching
#source.exclude_patterns = license,images/*/*.jpg
source.exclude_patterns = saveddata-service.pickle,rmap.ini,rmap/rmap.ini,sign.sh,README,setup.py,rmap.egg-info,*~,*.jpg,*.jpgnew,*.log,\#*,rmap.sqlite3,amqp2amqp_identvalidationd,amqp2amqp_json2bufrd,amqp2arkimetd,amqp2dballed,amqp2djangod,amqp2geoimaged,amqp2mqttd,buildozer_new.spec,buildozer.spec,composereportd,dballe2arkimet,dumpstation.py,manage.py,mqtt2dballed,mqtt2graphited,poweroffd,README*,rmap-configure,rmapctrl,rmapgui,rmapweb,rmap.wsgi,setup.py,sign.sh,stationd,station_jsonrpc.py
#,rmap.sqlite3

# (str) Application versioning (method 1)
version = 7.4

# (str) Application versioning (method 2)
# version.regex = __version__ = ['"](.*)['"]
# version.filename = %(source.dir)s/main.py

# (list) Application requirements
# comma seperated e.g. requirements = sqlite3,kivy

# here we have to change pil with Pillow but Pillow need recipe that is missing now

requirements = python3crystax,kivy,sqlite3,openssl,plyer,futures,pyserial,simplejson,django,configobj,pika,pillow
#requirements = python3crystax,sqlite3,openssl,plyer,kivy,futures,requests,pyserial,pyjnius,simplejson,django,configobj,pika,pil
#requirements = openssl,plyer,kivy,futures,requests,pyjnius

# (str) Custom source folders for requirements
# Sets custom source for any requirements with recipes
# requirements.source.kivy = ../../kivy

# (list) Garden requirements
#garden_requirements =

# (str) Presplash of the application
presplash.filename = %(source.dir)s/data/splash.png

# (str) Icon of the application
icon.filename = %(source.dir)s/data/rmap-01.png

# (str) Supported orientation (one of landscape, portrait or all)
orientation = all

# (list) List of service to declare
#services = NAME:ENTRYPOINT_TO_PY,NAME2:ENTRYPOINT2_TO_PY

#
# OSX Specific
#

#
# author = © Copyright Info

# change the major version of python used by the app
osx.python_version = 3

# Kivy version to use
osx.kivy_version = 1.9.1

#
# Android specific
#

# (bool) Indicate if the application should be fullscreen or not
fullscreen = 0

# (string) Presplash background color (for new android toolchain)
# Supported formats are: #RRGGBB #AARRGGBB or one of the following names:
# red, blue, green, black, white, gray, cyan, magenta, yellow, lightgray,
# darkgray, grey, lightgrey, darkgrey, aqua, fuchsia, lime, maroon, navy,
# olive, purple, silver, teal.
#android.presplash_color = #FFFFFF

# (list) Permissions
android.permissions = INTERNET,ACCESS_FINE_LOCATION,ACCESS_COARSE_LOCATION,BLUETOOTH,BLUETOOTH,BLUETOOTH_ADMIN,WAKE_LOCK,CAMERA,WRITE_EXTERNAL_STORAGE

# (int) Android API to use
#android.api = 19

# (int) Minimum API required
#android.minapi = 9

# (int) Android SDK version to use
android.sdk = 20

# (str) Android NDK version to use
android.ndk = 10.3.2

# (bool) Use --private data storage (True) or --dir public storage (False)
#android.private_storage = True

# (str) Android NDK directory (if empty, it will be automatically downloaded.)
android.ndk_path = /opt/crystax-ndk-10.3.2

# (str) Android SDK directory (if empty, it will be automatically downloaded.)
#android.sdk_path =

# (str) ANT directory (if empty, it will be automatically downloaded.)
#android.ant_path =

# (bool) If True, then skip trying to update the Android sdk
# This can be useful to avoid excess Internet downloads or save time
# when an update is due and you just want to test/build your package
android.skip_update = True

# (str) Android entry point, default is ok for Kivy-based app
#android.entrypoint = org.renpy.android.PythonActivity

# (list) Pattern to whitelist for the whole project
#android.whitelist =

# (str) Path to a custom whitelist file
#android.whitelist_src =

# (str) Path to a custom blacklist file
#android.blacklist_src =

# (list) List of Java .jar files to add to the libs so that pyjnius can access
# their classes. Don't add jars that you do not need, since extra jars can slow
# down the build process. Allows wildcards matching, for example:
# OUYA-ODK/libs/*.jar
#android.add_jars = foo.jar,bar.jar,path/to/more/*.jar

# (list) List of Java files to add to the android project (can be java or a
# directory containing the files)
#android.add_src =

# (list) Android AAR archives to add (currently works only with sdl2_gradle
# bootstrap)
#android.add_aars =

# (list) Gradle dependencies to add (currently works only with sdl2_gradle
# bootstrap)
#android.gradle_dependencies =

# (list) Java classes to add as activities to the manifest.
#android.add_activites = com.example.ExampleActivity

# (str) python-for-android branch to use, defaults to stable
#p4a.branch = stable

# (str) OUYA Console category. Should be one of GAME or APP
# If you leave this blank, OUYA support will not be enabled
#android.ouya.category = GAME

# (str) Filename of OUYA Console icon. It must be a 732x412 png image.
#android.ouya.icon.filename = %(source.dir)s/data/ouya_icon.png

# (str) XML file to include as an intent filters in <activity> tag
#android.manifest.intent_filters =

# (str) launchMode to set for the main activity
#android.manifest.launch_mode = standard

# (list) Android additional libraries to copy into libs/armeabi
#android.add_libs_armeabi = libs/android/*.so
#android.add_libs_armeabi_v7a = libs/android-v7/*.so
#android.add_libs_x86 = libs/android-x86/*.so
#android.add_libs_mips = libs/android-mips/*.so

# (bool) Indicate whether the screen should stay on
# Don't forget to add the WAKE_LOCK permission if you set this to True
android.wakelock = True

# (list) Android application meta-data to set (key=value format)
#android.meta_data =

# (list) Android library project to add (will be added in the
# project.properties automatically.)
#android.library_references =

# (str) Android logcat filters to use
android.logcat_filters = *:S python:D

# (bool) Copy library instead of making a libpymodules.so
#android.copy_libs = 1

# (str) The Android arch to build for, choices: armeabi-v7a, arm64-v8a, x86
android.arch = armeabi-v7a

#
# Python for android (p4a) specific
#

# (str) python-for-android git clone directory (if empty, it will be automatically cloned from github)
#p4a.source_dir =

# (str) The directory in which python-for-android should look for your own build recipes (if any)
#p4a.local_recipes =

# (str) Filename to the hook for p4a
#p4a.hook =

# (str) Bootstrap to use for android builds
# p4a.bootstrap = sdl2

# (int) port number to specify an explicit --port= p4a argument (eg for bootstrap flask)
#p4a.port =


#
# iOS specific
#

# (str) Path to a custom kivy-ios folder
#ios.kivy_ios_dir = ../kivy-ios

# (str) Name of the certificate to use for signing the debug version
# Get a list of available identities: buildozer ios list_identities
#ios.codesign.debug = "iPhone Developer: <lastname> <firstname> (<hexstring>)"

# (str) Name of the certificate to use for signing the release version
#ios.codesign.release = %(ios.codesign.debug)s


[buildozer]

# (int) Log level (0 = error only, 1 = info, 2 = debug (with command output))
log_level = 2

# (int) Display warning if buildozer is run as root (0 = False, 1 = True)
warn_on_root = 1

# (str) Path to build artifact storage, absolute or relative to spec file
build_dir = ../buildozer

Command:

 buildozer android debug

Logs

buildozer android debug
# Check configuration tokens
# Ensure build layout
# Check configuration tokens
# Preparing build
# Check requirements for android
# Run 'dpkg --version'
# Cwd None
/bin/sh: dpkg: comando non trovato
# Search for Git (git)
#  -> found at /usr/bin/git
# Search for Cython (cython)
#  -> found at /usr/bin/cython
# Search for Java compiler (javac)
#  -> found at /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.181.b15-6.fc28.x86_64/bin/javac
# Search for Java keytool (keytool)
#  -> found at /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.181.b15-6.fc28.x86_64/jre/bin/keytool
# Install platform
# Run "pip install -q --user 'appdirs' 'colorama>=0.3.3' 'jinja2' 'six'"
# Cwd None
# Apache ANT found at /home/pat1/.buildozer/android/platform/apache-ant-1.9.4
# Android SDK found at /home/pat1/.buildozer/android/platform/android-sdk-20
# Android NDK found at /opt/crystax-ndk-10.3.2
# Check application requirements
# Check garden requirements
# Compile platform
# Run '/usr/bin/python2 -m pythonforandroid.toolchain create --dist_name=rmap --bootstrap=sdl2 --requirements=python3crystax,kivy,sqlite3,openssl,plyer,futures,pyserial,simplejson,django,configobj,pika,pillow --arch armeabi-v7a --copy-libs --color=always --storage-dir="/home/pat1/git/rmap/buildozer/android/platform/build"'
# Cwd /home/pat1/git/rmap/buildozer/android/platform/python-for-android-new-toolchain
[INFO]:    Will compile for the following archs: armeabi-v7a
[INFO]:    Found Android API target in $ANDROIDAPI
[INFO]:    Available Android APIs are (15, 19)
[INFO]:    Requested API target 19 is available, continuing.
[INFO]:    Found NDK dir in $ANDROIDNDK
[INFO]:    Got NDK version from $ANDROIDNDKVER
[INFO]:    Using Crystax NDK 10.3.2
[INFO]:    Found virtualenv at /usr/bin/virtualenv
[INFO]:    ccache is missing, the build will not be optimized in the future.
[INFO]:    Found the following toolchain versions: ['4.9', '5', 'clang3.6', 'clang3.7']
[INFO]:    Picking the latest gcc toolchain, here 5
[INFO]:    No existing dists meet the given requirements!
[INFO]:    No dist exists that meets your requirements, so one will be built.
[INFO]:    Found a single valid recipe set: [u'configobj', u'django', u'futures', 'hostpython3crystax', u'openssl', u'pika', u'pillow', u'plyer', u'pyserial', 'sdl2_image', 'sdl2_mixer', 'sdl2_ttf', u'simplejson', u'sqlite3', u'python3crystax', 'sdl2', 'six', 'pyjnius', u'kivy']
[INFO]:    The selected bootstrap is sdl2_gradle
[INFO]:    # Creating dist with sdl2_gradle bootstrap
[INFO]:    Dist will have name rmap and recipes (python3crystax, kivy, sqlite3, openssl, plyer, futures, pyserial, simplejson, django, configobj, pika, pillow)
[INFO]:    Dist will also contain modules (configobj, pika, simplejson, pyserial, futures, django, plyer, pillow) installed from pip
[INFO]:    -> running cp -r /home/pat1/git/rmap/buildozer/android/platform/python-for-android-new-toolc...(and 146 more)
[INFO]:    -> directory context /home/pat1/git/rmap/buildozer/android/platform/build/build/bootstrap_builds/sdl2_gradle-python3crystax
[INFO]:    <- directory context /home/pat1/git/rmap/buildozer/android/platform/python-for-android-new-toolchain
[INFO]:    Recipe build order is ['hostpython3crystax', u'openssl', 'sdl2_image', 'sdl2_mixer', 'sdl2_ttf', u'sqlite3', u'python3crystax', 'sdl2', 'six', 'pyjnius', u'kivy']
[INFO]:    The requirements (configobj, django, futures, pika, pillow, plyer, pyserial, simplejson) were not found as recipes, they will be installed with pip.
[INFO]:    # Downloading recipes 
[INFO]:    Downloading hostpython3crystax
[INFO]:    Skipping hostpython3crystax download as no URL is set
[INFO]:    Downloading openssl
[INFO]:    -> running mkdir -p /home/pat1/git/rmap/buildozer/android/platform/build/packages/openssl
[INFO]:    -> directory context /home/pat1/git/rmap/buildozer/android/platform/build/packages/openssl
[INFO]:    -> running basename https://www.openssl.org/source/openssl-1.0.2h.tar.gz
[INFO]:    openssl download already cached, skipping
[INFO]:    <- directory context /home/pat1/git/rmap/buildozer/android/platform/python-for-android-new-toolchain
[INFO]:    Downloading sdl2_image
[INFO]:    -> running mkdir -p /home/pat1/git/rmap/buildozer/android/platform/build/packages/sdl2_image
[INFO]:    -> directory context /home/pat1/git/rmap/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/pat1/git/rmap/buildozer/android/platform/python-for-android-new-toolchain
[INFO]:    Downloading sdl2_mixer
[INFO]:    -> running mkdir -p /home/pat1/git/rmap/buildozer/android/platform/build/packages/sdl2_mixer
[INFO]:    -> directory context /home/pat1/git/rmap/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/pat1/git/rmap/buildozer/android/platform/python-for-android-new-toolchain
[INFO]:    Downloading sdl2_ttf
[INFO]:    -> running mkdir -p /home/pat1/git/rmap/buildozer/android/platform/build/packages/sdl2_ttf
[INFO]:    -> directory context /home/pat1/git/rmap/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/pat1/git/rmap/buildozer/android/platform/python-for-android-new-toolchain
[INFO]:    Downloading sqlite3
[INFO]:    -> running mkdir -p /home/pat1/git/rmap/buildozer/android/platform/build/packages/sqlite3
[INFO]:    -> directory context /home/pat1/git/rmap/buildozer/android/platform/build/packages/sqlite3
[INFO]:    -> running basename https://www.sqlite.org/2016/sqlite-amalgamation-3150100.zip
[INFO]:    sqlite3 download already cached, skipping
[INFO]:    <- directory context /home/pat1/git/rmap/buildozer/android/platform/python-for-android-new-toolchain
[INFO]:    Downloading python3crystax
[INFO]:    -> running mkdir -p /home/pat1/git/rmap/buildozer/android/platform/build/packages/python3crystax
[INFO]:    -> directory context /home/pat1/git/rmap/buildozer/android/platform/build/packages/python3crystax
[INFO]:    -> running basename 
[INFO]:    -> running rm -f .mark-
[INFO]:    -> running touch .mark-
[INFO]:    <- directory context /home/pat1/git/rmap/buildozer/android/platform/python-for-android-new-toolchain
[INFO]:    Downloading sdl2
[INFO]:    -> running mkdir -p /home/pat1/git/rmap/buildozer/android/platform/build/packages/sdl2
[INFO]:    -> directory context /home/pat1/git/rmap/buildozer/android/platform/build/packages/sdl2
[INFO]:    -> running basename https://www.libsdl.org/release/SDL2-2.0.4.tar.gz
[INFO]:    sdl2 download already cached, skipping
[INFO]:    <- directory context /home/pat1/git/rmap/buildozer/android/platform/python-for-android-new-toolchain
[INFO]:    Downloading six
[INFO]:    -> running mkdir -p /home/pat1/git/rmap/buildozer/android/platform/build/packages/six
[INFO]:    -> directory context /home/pat1/git/rmap/buildozer/android/platform/build/packages/six
[INFO]:    -> running basename https://pypi.python.org/packages/source/s/six/six-1.9.0.tar.gz
[INFO]:    six download already cached, skipping
[INFO]:    <- directory context /home/pat1/git/rmap/buildozer/android/platform/python-for-android-new-toolchain
[INFO]:    Downloading pyjnius
[INFO]:    -> running mkdir -p /home/pat1/git/rmap/buildozer/android/platform/build/packages/pyjnius
[INFO]:    -> directory context /home/pat1/git/rmap/buildozer/android/platform/build/packages/pyjnius
[INFO]:    -> running basename /~https://github.com/kivy/pyjnius/archive/1.1.2.zip
           [INFO]:    pyjnius download already cached, skipping                                                                   
[INFO]:    <- directory context /home/pat1/git/rmap/buildozer/android/platform/python-for-android-new-toolchain
[INFO]:    Downloading kivy
[INFO]:    -> running mkdir -p /home/pat1/git/rmap/buildozer/android/platform/build/packages/kivy
[INFO]:    -> directory context /home/pat1/git/rmap/buildozer/android/platform/build/packages/kivy
[INFO]:    -> running basename /~https://github.com/kivy/kivy/archive/1.10.0.zip
[INFO]:    kivy download already cached, skipping
[INFO]:    <- directory context /home/pat1/git/rmap/buildozer/android/platform/python-for-android-new-toolchain
[INFO]:    # Building all recipes for arch armeabi-v7a
[INFO]:    # Unpacking recipes
[INFO]:    Unpacking hostpython3crystax for armeabi-v7a
[INFO]:    Skipping hostpython3crystax unpack as no URL is set
[INFO]:    Unpacking openssl for armeabi-v7a
[INFO]:    -> running basename https://www.openssl.org/source/openssl-1.0.2h.tar.gz
[INFO]:    -> directory context /home/pat1/git/rmap/buildozer/android/platform/build/build/other_builds/openssl/armeabi-v7a
[INFO]:    openssl is already unpacked, skipping
[INFO]:    <- directory context /home/pat1/git/rmap/buildozer/android/platform/python-for-android-new-toolchain
[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
[INFO]:    -> directory context /home/pat1/git/rmap/buildozer/android/platform/build/build/bootstrap_builds/sdl2_gradle-python3crystax/jni
[INFO]:    sdl2_image is already unpacked, skipping
[INFO]:    <- directory context /home/pat1/git/rmap/buildozer/android/platform/python-for-android-new-toolchain
[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
           working: SDL2_mixer-2.0.1.tar.gz                                           [INFO]:    -> directory context /home/pat1/git/rmap/buildozer/android/platform/build/build/bootstrap_builds/sdl2_gradle-python3crystax/jni
[INFO]:    sdl2_mixer is already unpacked, skipping
[INFO]:    <- directory context /home/pat1/git/rmap/buildozer/android/platform/python-for-android-new-toolchain
[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/pat1/git/rmap/buildozer/android/platform/build/build/bootstrap_builds/sdl2_gradle-python3crystax/jni
[INFO]:    sdl2_ttf is already unpacked, skipping
[INFO]:    <- directory context /home/pat1/git/rmap/buildozer/android/platform/python-for-android-new-toolchain
[INFO]:    Unpacking sqlite3 for armeabi-v7a
[INFO]:    -> running basename https://www.sqlite.org/2016/sqlite-amalgamation-3150100.zip
[INFO]:    -> directory context /home/pat1/git/rmap/buildozer/android/platform/build/build/other_builds/sqlite3/armeabi-v7a
[INFO]:    sqlite3 is already unpacked, skipping
[INFO]:    <- directory context /home/pat1/git/rmap/buildozer/android/platform/python-for-android-new-toolchain
[INFO]:    Unpacking python3crystax for armeabi-v7a
[INFO]:    -> running basename 
[INFO]:    -> directory context /home/pat1/git/rmap/buildozer/android/platform/build/build/other_builds/python3crystax-version3.5/armeabi-v7a
[INFO]:    python3crystax is already unpacked, skipping
[INFO]:    <- directory context /home/pat1/git/rmap/buildozer/android/platform/python-for-android-new-toolchain
[INFO]:    Unpacking sdl2 for armeabi-v7a
[INFO]:    -> running basename https://www.libsdl.org/release/SDL2-2.0.4.tar.gz
[INFO]:    -> directory context /home/pat1/git/rmap/buildozer/android/platform/build/build/bootstrap_builds/sdl2_gradle-python3crystax/jni
[INFO]:    sdl2 is already unpacked, skipping
[INFO]:    <- directory context /home/pat1/git/rmap/buildozer/android/platform/python-for-android-new-toolchain
[INFO]:    Unpacking six for armeabi-v7a
[INFO]:    -> running basename https://pypi.python.org/packages/source/s/six/six-1.9.0.tar.gz
           working: six-1.[INFO]:    -> directory context /home/pat1/git/rmap/buildozer/android/platform/build/build/other_builds/six-python3crystax/armeabi-v7a
[INFO]:    six is already unpacked, skipping
[INFO]:    <- directory context /home/pat1/git/rmap/buildozer/android/platform/python-for-android-new-toolchain
[INFO]:    Unpacking pyjnius for armeabi-v7a
[INFO]:    -> running basename /~https://github.com/kivy/pyjnius/archive/1.1.2.zip
[INFO]:    -> directory context /home/pat1/git/rmap/buildozer/android/platform/build/build/other_builds/pyjnius-python3crystax-sdl2/armeabi-v7a
[INFO]:    pyjnius is already unpacked, skipping
[INFO]:    <- directory context /home/pat1/git/rmap/buildozer/android/platform/python-for-android-new-toolchain
[INFO]:    Unpacking kivy for armeabi-v7a
[INFO]:    -> running basename /~https://github.com/kivy/kivy/archive/1.10.0.zip
[INFO]:    -> directory context /home/pat1/git/rmap/buildozer/android/platform/build/build/other_builds/kivy-python3crystax-sdl2/armeabi-v7a
[INFO]:    kivy is already unpacked, skipping
[INFO]:    <- directory context /home/pat1/git/rmap/buildozer/android/platform/python-for-android-new-toolchain
[INFO]:    # Prebuilding recipes
[INFO]:    Prebuilding hostpython3crystax for armeabi-v7a
[INFO]:    hostpython3crystax has no prebuild_armeabi_v7a, skipping
[INFO]:    Prebuilding openssl for armeabi-v7a
[INFO]:    openssl 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 sqlite3 for armeabi-v7a
[INFO]:    sqlite3 has no prebuild_armeabi_v7a, skipping
[INFO]:    Prebuilding python3crystax for armeabi-v7a
[INFO]:    python3crystax has no prebuild_armeabi_v7a, 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 six for armeabi-v7a
[INFO]:    six has no prebuild_armeabi_v7a, skipping
[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 kivy for armeabi-v7a
[INFO]:    kivy has no prebuild_armeabi_v7a, skipping
[INFO]:    # Building recipes
[INFO]:    Building hostpython3crystax for armeabi-v7a
[INFO]:    Building openssl for armeabi-v7a
[INFO]:    openssl 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 sqlite3 for armeabi-v7a
[INFO]:    sqlite3 said it is already built, skipping
[INFO]:    Building python3crystax for armeabi-v7a
[INFO]:    Building sdl2 for armeabi-v7a
[INFO]:    -> directory context /home/pat1/git/rmap/buildozer/android/platform/build/build/bootstrap_builds/sdl2_gradle-python3crystax/jni
[INFO]:    -> running ndk-build V=1
                                                                     [INFO]:    <- directory context /home/pat1/git/rmap/buildozer/android/platform/python-for-android-new-toolchain
[INFO]:    Building six for armeabi-v7a
[INFO]:    Python package already exists in site-packages
[INFO]:    six said it is already built, skipping
[INFO]:    Building pyjnius for armeabi-v7a
[INFO]:    jnius apparently isn't already in site-packages
[INFO]:    Cythonizing anything necessary in pyjnius
[INFO]:    -> directory context /home/pat1/git/rmap/buildozer/android/platform/build/build/other_builds/pyjnius-python3crystax-sdl2/armeabi-v7a/pyjnius
[INFO]:    -> running python3.5 -c import sys; print(sys.path)
[INFO]:    Trying first build of pyjnius to get cython files: this is expected to fail
[INFO]:    -> running python3.5 setup.py build_ext -v
('cwd is', '/home/pat1/git/rmap/buildozer/android/platform/build/build/other_builds/pyjnius-python3crystax-sdl2/armeabi-v7a/pyjnius')
           working: error: command 'arm-linux-androideabi-gcc' failed withException in thread background thread for pid 29761:e)  
Traceback (most recent call last):
  File "/usr/lib64/python2.7/threading.py", line 804, in __bootstrap_inner
    self.run()
  File "/usr/lib64/python2.7/threading.py", line 757, in run
    self.__target(*self.__args, **self.__kwargs)
  File "/usr/lib/python2.7/site-packages/sh.py", line 2170, in background_thread
    handle_exit_code(exit_code)
  File "/usr/lib/python2.7/site-packages/sh.py", line 1929, in fn
    return self.command.handle_command_exit_code(exit_code)
  File "/usr/lib/python2.7/site-packages/sh.py", line 672, in handle_command_exit_code
    raise exc
ErrorReturnCode_1: 

  RAN: /usr/bin/python3.5 setup.py build_ext -v

  STDOUT:
/usr/lib64/python3.5/distutils/dist.py:261: UserWarning: Unknown distribution option: 'install_requires'
  warnings.warn(msg)
running build_ext
building 'jnius' extension
arm-linux-androideabi-gcc -DANDROID -mandroid -fomit-frame-pointer -D__ANDROID_API__=19 -I/opt/crystax-ndk-10.3.2/platforms/android-19/arch-arm -isysroot /opt/crystax-ndk-10.3.2/platforms/android-19/arch-arm -I/home/pat1/git/rmap/buildozer/android/platform/build/build/python-installs/rmap/include/python3.5 -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE -fPIC -fwrapv -I/opt/crystax-ndk-10.3.2/sources/python/3.5/include/python -DANDROID -mandroid -fomit-frame-pointer -D__ANDROID_API__=19 -I/opt/crystax-ndk-10.3.2/platforms/android-19/arch-arm -isysroot /opt/crystax-ndk-10.3.2/platforms/android-19/arch-arm -I/home/pat1/git/rmap/buildozer/android/platform/build/build/python-installs/rmap/include/python3.5 -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -mthumb -fPIC -I/usr/include/python3.5m -c jnius/jnius.c -o build/temp.linux-x86_64-3.5/jnius/jnius.o
arm-linux-androideabi-gcc: error: unrecognized argument in option '-mtune=generic'
arm-linux-androideabi-gcc: note: valid arguments to '-mtune=' are: arm1020e arm1020t arm1022e arm1026ej-s arm10e arm10tdmi arm1136j-s arm1136jf-s arm1156t2-s arm1156t2f-s arm1176jz-s arm1176jzf-s arm2 arm250 arm3 arm6 arm60 arm600 arm610 arm620 arm7 arm70 arm700 arm700i arm710 arm7100 arm710c arm710t arm720 arm720t arm740t arm7500 arm7500fe arm7d arm7di arm7dm arm7dmi arm7m arm7tdmi arm7tdmi-s arm8 arm810 arm9 arm920 arm920t arm922t arm926ej-s arm940t arm946e-s arm966e-s arm968e-s arm9e arm9tdmi cortex-a12 cortex-a15 cortex-a15.cortex-a7 cortex-a17 cortex-a17.cortex-a7 cortex-a5 cortex-a53 cortex-a57 cortex-a57.cortex-a53 cortex-a7 cortex-a72 cortex-a72.cortex-a53 cortex-a8 cortex-a9 cortex-m0 cortex-m0.small-multiply cortex-m0plus cortex-m0plus.small-multiply cortex-m1 cortex-m1.small-multiply cortex-m3 cortex-m4 cortex-m7 cortex-r4 cortex-r4f cortex-r5 cortex-r7 ep9312 exynos-m1 fa526 fa606te fa626 fa626te fa726te fmp626 generic-armv7-a iwmmxt iwmmxt2 marvell-pj4 mpcore mpcorenovfp native strongarm strongarm110 strongarm1100 strongarm1110 xgene1 xscale
error: command 'arm-linux-androideabi-gcc' failed with exit status 1


  STDERR:


[INFO]:    pyjnius first build failed (as expected)
[INFO]:    Running cython where appropriate
[INFO]:    Cythonize jnius/jnius.pyx
[INFO]:    -> running cython ./jnius/jnius.pyx
[INFO]:    -> running python3.5 setup.py build_ext -v
()                                                                                                                                
           working: error: command 'arm-linux-androideabi-gcc' failed withException in thread background thread for pid 29777:e)  
Traceback (most recent call last):
  File "/usr/lib64/python2.7/threading.py", line 804, in __bootstrap_inner
    self.run()
  File "/usr/lib64/python2.7/threading.py", line 757, in run
    self.__target(*self.__args, **self.__kwargs)
  File "/usr/lib/python2.7/site-packages/sh.py", line 2170, in background_thread
    handle_exit_code(exit_code)
  File "/usr/lib/python2.7/site-packages/sh.py", line 1929, in fn
    return self.command.handle_command_exit_code(exit_code)
  File "/usr/lib/python2.7/site-packages/sh.py", line 672, in handle_command_exit_code
    raise exc
ErrorReturnCode_1: 

  RAN: /usr/bin/python3.5 setup.py build_ext -v

  STDOUT:
/usr/lib64/python3.5/distutils/dist.py:261: UserWarning: Unknown distribution option: 'install_requires'
  warnings.warn(msg)
running build_ext
building 'jnius' extension
arm-linux-androideabi-gcc -DANDROID -mandroid -fomit-frame-pointer -D__ANDROID_API__=19 -I/opt/crystax-ndk-10.3.2/platforms/android-19/arch-arm -isysroot /opt/crystax-ndk-10.3.2/platforms/android-19/arch-arm -I/home/pat1/git/rmap/buildozer/android/platform/build/build/python-installs/rmap/include/python3.5 -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE -fPIC -fwrapv -I/opt/crystax-ndk-10.3.2/sources/python/3.5/include/python -DANDROID -mandroid -fomit-frame-pointer -D__ANDROID_API__=19 -I/opt/crystax-ndk-10.3.2/platforms/android-19/arch-arm -isysroot /opt/crystax-ndk-10.3.2/platforms/android-19/arch-arm -I/home/pat1/git/rmap/buildozer/android/platform/build/build/python-installs/rmap/include/python3.5 -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -mthumb -fPIC -I/usr/include/python3.5m -c jnius/jnius.c -o build/temp.linux-x86_64-3.5/jnius/jnius.o
arm-linux-androideabi-gcc: error: unrecognized argument in option '-mtune=generic'
arm-linux-androideabi-gcc: note: valid arguments to '-mtune=' are: arm1020e arm1020t arm1022e arm1026ej-s arm10e arm10tdmi arm1136j-s arm1136jf-s arm1156t2-s arm1156t2f-s arm1176jz-s arm1176jzf-s arm2 arm250 arm3 arm6 arm60 arm600 arm610 arm620 arm7 arm70 arm700 arm700i arm710 arm7100 arm710c arm710t arm720 arm720t arm740t arm7500 arm7500fe arm7d arm7di arm7dm arm7dmi arm7m arm7tdmi arm7tdmi-s arm8 arm810 arm9 arm920 arm920t arm922t arm926ej-s arm940t arm946e-s arm966e-s arm968e-s arm9e arm9tdmi cortex-a12 cortex-a15 cortex-a15.cortex-a7 cortex-a17 cortex-a17.cortex-a7 cortex-a5 cortex-a53 cortex-a57 cortex-a57.cortex-a53 cortex-a7 cortex-a72 cortex-a72.cortex-a53 cortex-a8 cortex-a9 cortex-m0 cortex-m0.small-multiply cortex-m0plus cortex-m0plus.small-multiply cortex-m1 cortex-m1.small-multiply cortex-m3 cortex-m4 cortex-m7 cortex-r4 cortex-r4f cortex-r5 cortex-r7 ep9312 exynos-m1 fa526 fa606te fa626 fa626te fa726te fmp626 generic-armv7-a iwmmxt iwmmxt2 marvell-pj4 mpcore mpcorenovfp native strongarm strongarm110 strongarm1100 strongarm1110 xgene1 xscale
error: command 'arm-linux-androideabi-gcc' failed with exit status 1


  STDERR:


[INFO]:    STDOUT:
	/usr/lib64/python3.5/distutils/dist.py:261: UserWarning: Unknown distribution option: 'install_requires'	
  warnings.warn(msg)	
running build_ext	
building 'jnius' extension	
arm-linux-androideabi-gcc -DANDROID -mandroid -fomit-frame-pointer -D__ANDROID_API__=19 -I/opt/crystax-ndk-10.3.2/platforms/android-19/arch-arm -isysroot /opt/crystax-ndk-10.3.2/platforms/android-19/arch-arm -I/home/pat1/git/rmap/buildozer/android/platform/build/build/python-installs/rmap/include/python3.5 -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE -fPIC -fwrapv -I/opt/crystax-ndk-10.3.2/sources/python/3.5/include/python -DANDROID -mandroid -fomit-frame-pointer -D__ANDROID_API__=19 -I/opt/crystax-ndk-10.3.2/platforms/android-19/arch-arm -isysroot /opt/crystax-ndk-10.3.2/platforms/android-19/arch-arm -I/home/pat1/git/rmap/buildozer/android/platform/build/build/python-installs/rmap/include/python3.5 -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -mthumb -fPIC -I/usr/include/python3.5m -c jnius/jnius.c -o build/temp.linux-x86_64-3.5/jnius/jnius.o	
arm-linux-androideabi-gcc: error: unrecognized argument in option '-mtune=generic'	
arm-linux-androideabi-gcc: note: valid arguments to '-mtune=' are: arm1020e arm1020t arm1022e arm1026ej-s arm10e arm10tdmi arm1136j-s arm1136jf-s arm1156t2-s arm1156t2f-s arm1176jz-s arm1176jzf-s arm2 arm250 arm3 arm6 arm60 arm600 arm610 arm620 arm7 arm70 arm700 arm700i arm710 arm7100 arm710c arm710t arm720 arm720t arm740t arm7500 arm7500fe arm7d arm7di arm7dm arm7dmi arm7m arm7tdmi arm7tdmi-s arm8 arm810 arm9 arm920 arm920t arm922t arm926ej-s arm940t arm946e-s arm966e-s arm968e-s arm9e arm9tdmi cortex-a12 cortex-a15 cortex-a15.cortex-a7 cortex-a17 cortex-a17.cortex-a7 cortex-a5 cortex-a53 cortex-a57 cortex-a57.cortex-a53 cortex-a7 cortex-a72 cortex-a72.cortex-a53 cortex-a8 cortex-a9 cortex-m0 cortex-m0.small-multiply cortex-m0plus cortex-m0plus.small-multiply cortex-m1 cortex-m1.small-multiply cortex-m3 cortex-m4 cortex-m7 cortex-r4 cortex-r4f cortex-r5 cortex-r7 ep9312 exynos-m1 fa526 fa606te fa626 fa626te fa726te fmp626 generic-armv7-a iwmmxt iwmmxt2 marvell-pj4 mpcore mpcorenovfp native strongarm strongarm110 strongarm1100 strongarm1110 xgene1 xscale	
error: command 'arm-linux-androideabi-gcc' failed with exit status 1
[INFO]:    STDERR:
	
[INFO]:    COMMAND:
cd /home/pat1/git/rmap/buildozer/android/platform/build/build/other_builds/pyjnius-python3crystax-sdl2/armeabi-v7a/pyjnius && /usr/bin/python3.5 setup.py build_ext -v

[WARNING]: ERROR: /usr/bin/python3.5 failed!
# Command failed: /usr/bin/python2 -m pythonforandroid.toolchain create --dist_name=rmap --bootstrap=sdl2 --requirements=python3crystax,kivy,sqlite3,openssl,plyer,futures,pyserial,simplejson,django,configobj,pika,pillow --arch armeabi-v7a --copy-libs --color=always --storage-dir="/home/pat1/git/rmap/buildozer/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
@AndreMiras
Copy link
Member

I'm not too sure why you're patching so many things, but if you want your tooling up to date, go full 😄
pip install --user --upgrade /~https://github.com/kivy/buildozer/archive/master.zip
And then p4a master branch, so in your buildozer.spec:

p4a.branch = master

@pat1
Copy link
Contributor Author

pat1 commented Oct 29, 2018

Thanks for your fast response.
I have patched buildozer for #731 bug and to remove "r" prefix from crystax-ndk version.
I have done it in master branch:

[pat1@localhost buildozer]$ git pull
Already up to date.
[pat1@localhost buildozer]$ git branch
* master
sudo pip install -e .

as suggested in the documentation.

setting:
p4a.branch = master
I get:

buildozer android update
# Check configuration tokens
# Ensure build layout
# Check configuration tokens
# Preparing build
# Check requirements for android
# Run 'dpkg --version'
# Cwd None
/bin/sh: dpkg: comando non trovato
# Search for Git (git)
#  -> found at /usr/bin/git
# Search for Cython (cython)
#  -> found at /usr/bin/cython
# Search for Java compiler (javac)
#  -> found at /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.181.b15-6.fc28.x86_64/bin/javac
# Search for Java keytool (keytool)
#  -> found at /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.181.b15-6.fc28.x86_64/jre/bin/keytool
# Install platform
# Run 'git clean -dxf'
# Cwd /home/pat1/git/rmap/buildozer/android/platform/python-for-android-new-toolchain
Rimozione di Rmap-7.4-debug.apk
Rimozione di Rmap-7.4-release-unsigned.apk
Rimozione di pythonforandroid/__init__.pyc
Rimozione di pythonforandroid/archs.pyc
Rimozione di pythonforandroid/bootstrap.pyc
Rimozione di pythonforandroid/bootstraps/__init__.pyc
Rimozione di pythonforandroid/bootstraps/sdl2/__init__.pyc
Rimozione di pythonforandroid/build.pyc
Rimozione di pythonforandroid/distribution.pyc
Rimozione di pythonforandroid/graph.pyc
Rimozione di pythonforandroid/logger.pyc
Rimozione di pythonforandroid/patching.pyc
Rimozione di pythonforandroid/recipe.pyc
Rimozione di pythonforandroid/recipes/__init__.pyc
Rimozione di pythonforandroid/recipes/genericndkbuild/__init__.pyc
Rimozione di pythonforandroid/recipes/hostpython2/__init__.pyc
Rimozione di pythonforandroid/recipes/hostpython3crystax/__init__.pyc
Rimozione di pythonforandroid/recipes/jpeg/__init__.pyc
Rimozione di pythonforandroid/recipes/kivy/__init__.pyc
Rimozione di pythonforandroid/recipes/openssl/__init__.pyc
Rimozione di pythonforandroid/recipes/pil/__init__.pyc
Rimozione di pythonforandroid/recipes/png/__init__.pyc
Rimozione di pythonforandroid/recipes/pygame/__init__.pyc
Rimozione di pythonforandroid/recipes/pygame_bootstrap_components/__init__.pyc
Rimozione di pythonforandroid/recipes/pyjnius/__init__.pyc
Rimozione di pythonforandroid/recipes/python2/__init__.pyc
Rimozione di pythonforandroid/recipes/python3crystax/__init__.pyc
Rimozione di pythonforandroid/recipes/requests/__init__.pyc
Rimozione di pythonforandroid/recipes/sdl/__init__.pyc
Rimozione di pythonforandroid/recipes/sdl2/__init__.pyc
Rimozione di pythonforandroid/recipes/sdl2_image/__init__.pyc
Rimozione di pythonforandroid/recipes/sdl2_mixer/__init__.pyc
Rimozione di pythonforandroid/recipes/sdl2_ttf/__init__.pyc
Rimozione di pythonforandroid/recipes/setuptools/__init__.pyc
Rimozione di pythonforandroid/recipes/six/__init__.pyc
Rimozione di pythonforandroid/recipes/sqlite3/__init__.pyc
Rimozione di pythonforandroid/toolchain.pyc
Rimozione di pythonforandroid/util.pyc
# Run 'git rev-parse --abbrev-ref HEAD'
# Cwd /home/pat1/git/rmap/buildozer/android/platform/python-for-android-new-toolchain
stable
# Run 'git fetch --tags origin master:master'
# Cwd /home/pat1/git/rmap/buildozer/android/platform/python-for-android-new-toolchain
Da /~https://github.com/kivy/python-for-android
 * [nuovo branch]    master     -> master
# Run 'git checkout master'
# Cwd /home/pat1/git/rmap/buildozer/android/platform/python-for-android-new-toolchain
Si è passati al branch 'master'
# Run 'pip install -q --user \'appdirs\' \'colorama>=0.3.3\' \'jinja2\' \'six\' \'enum34; python_version<"3.4"\' \'sh>=1.10; sys_platform!="nt"\''
# Cwd None
# Apache ANT found at /home/pat1/.buildozer/android/platform/apache-ant-1.9.4
# Android SDK found at /home/pat1/.buildozer/android/platform/android-sdk-20
# Android NDK found at /opt/crystax-ndk-10.3.2
# Check application requirements
# Check garden requirements
# Compile platform
# Run '/usr/bin/python2 -m pythonforandroid.toolchain create --dist_name=rmap --bootstrap=sdl2 --requirements=python3crystax,kivy,pyjnius,sqlite3,openssl,plyer,futures,pyserial,simplejson,django,configobj,pika,pillow --arch armeabi-v7a --copy-libs --color=always --storage-dir="/home/pat1/git/rmap/buildozer/android/platform/build"'
# Cwd /home/pat1/git/rmap/buildozer/android/platform/python-for-android-new-toolchain
[INFO]:    Will compile for the following archs: armeabi-v7a
[INFO]:    Found Android API target in $ANDROIDAPI
[INFO]:    Available Android APIs are (15, 19)
[INFO]:    Requested API target 19 is available, continuing.
[INFO]:    Found NDK dir in $ANDROIDNDK
[INFO]:    Got NDK version from $ANDROIDNDKVER
[INFO]:    Using Crystax NDK 10.3.2
[INFO]:    Found virtualenv at /usr/bin/virtualenv
[INFO]:    ccache is missing, the build will not be optimized in the future.
[INFO]:    Found the following toolchain versions: ['4.9', '5', 'clang3.6', 'clang3.7']
[INFO]:    Picking the latest gcc toolchain, here 5
[INFO]:    No existing dists meet the given requirements!
[INFO]:    No dist exists that meets your requirements, so one will be built.
/home/pat1/git/rmap/buildozer/android/platform/python-for-android-new-toolchain/pythonforandroid/recipes/python3crystax/__init__.py:2: RuntimeWarning: Parent module 'pythonforandroid.recipes' not found while handling absolute import
  from pythonforandroid.recipe import TargetPythonRecipe
/home/pat1/git/rmap/buildozer/android/platform/python-for-android-new-toolchain/pythonforandroid/recipes/python3crystax/__init__.py:3: RuntimeWarning: Parent module 'pythonforandroid.recipes' not found while handling absolute import
  from pythonforandroid.toolchain import shprint
/home/pat1/git/rmap/buildozer/android/platform/python-for-android-new-toolchain/pythonforandroid/recipes/python3crystax/__init__.py:4: RuntimeWarning: Parent module 'pythonforandroid.recipes' not found while handling absolute import
  from pythonforandroid.logger import info, error
/home/pat1/git/rmap/buildozer/android/platform/python-for-android-new-toolchain/pythonforandroid/recipes/python3crystax/__init__.py:5: RuntimeWarning: Parent module 'pythonforandroid.recipes' not found while handling absolute import
  from pythonforandroid.util import ensure_dir, temp_directory
/home/pat1/git/rmap/buildozer/android/platform/python-for-android-new-toolchain/pythonforandroid/recipes/python3crystax/__init__.py:6: RuntimeWarning: Parent module 'pythonforandroid.recipes' not found while handling absolute import
  from os.path import exists, join
/home/pat1/git/rmap/buildozer/android/platform/python-for-android-new-toolchain/pythonforandroid/recipes/python3crystax/__init__.py:7: RuntimeWarning: Parent module 'pythonforandroid.recipes' not found while handling absolute import
  import sh
/home/pat1/git/rmap/buildozer/android/platform/python-for-android-new-toolchain/pythonforandroid/recipes/hostpython3crystax/__init__.py:1: RuntimeWarning: Parent module 'pythonforandroid.recipes' not found while handling absolute import
  from pythonforandroid.toolchain import Recipe, shprint
/home/pat1/git/rmap/buildozer/android/platform/python-for-android-new-toolchain/pythonforandroid/recipes/hostpython3crystax/__init__.py:2: RuntimeWarning: Parent module 'pythonforandroid.recipes' not found while handling absolute import
  from os.path import join
/home/pat1/git/rmap/buildozer/android/platform/python-for-android-new-toolchain/pythonforandroid/recipes/hostpython3crystax/__init__.py:3: RuntimeWarning: Parent module 'pythonforandroid.recipes' not found while handling absolute import
  import sh
/home/pat1/git/rmap/buildozer/android/platform/python-for-android-new-toolchain/pythonforandroid/recipes/kivy/__init__.py:1: RuntimeWarning: Parent module 'pythonforandroid.recipes' not found while handling absolute import
  from pythonforandroid.recipe import CythonRecipe
/home/pat1/git/rmap/buildozer/android/platform/python-for-android-new-toolchain/pythonforandroid/recipes/kivy/__init__.py:2: RuntimeWarning: Parent module 'pythonforandroid.recipes' not found while handling absolute import
  from pythonforandroid.toolchain import current_directory, shprint
/home/pat1/git/rmap/buildozer/android/platform/python-for-android-new-toolchain/pythonforandroid/recipes/kivy/__init__.py:3: RuntimeWarning: Parent module 'pythonforandroid.recipes' not found while handling absolute import
  from os.path import exists, join, basename
/home/pat1/git/rmap/buildozer/android/platform/python-for-android-new-toolchain/pythonforandroid/recipes/kivy/__init__.py:4: RuntimeWarning: Parent module 'pythonforandroid.recipes' not found while handling absolute import
  import sh
/home/pat1/git/rmap/buildozer/android/platform/python-for-android-new-toolchain/pythonforandroid/recipes/kivy/__init__.py:5: RuntimeWarning: Parent module 'pythonforandroid.recipes' not found while handling absolute import
  import glob
/home/pat1/git/rmap/buildozer/android/platform/python-for-android-new-toolchain/pythonforandroid/recipes/pyjnius/__init__.py:1: RuntimeWarning: Parent module 'pythonforandroid.recipes' not found while handling absolute import
  from pythonforandroid.recipe import CythonRecipe
/home/pat1/git/rmap/buildozer/android/platform/python-for-android-new-toolchain/pythonforandroid/recipes/pyjnius/__init__.py:2: RuntimeWarning: Parent module 'pythonforandroid.recipes' not found while handling absolute import
  from pythonforandroid.toolchain import shprint, current_directory, info
/home/pat1/git/rmap/buildozer/android/platform/python-for-android-new-toolchain/pythonforandroid/recipes/pyjnius/__init__.py:3: RuntimeWarning: Parent module 'pythonforandroid.recipes' not found while handling absolute import
  from pythonforandroid.patching import will_build
/home/pat1/git/rmap/buildozer/android/platform/python-for-android-new-toolchain/pythonforandroid/recipes/pyjnius/__init__.py:4: RuntimeWarning: Parent module 'pythonforandroid.recipes' not found while handling absolute import
  import sh
/home/pat1/git/rmap/buildozer/android/platform/python-for-android-new-toolchain/pythonforandroid/recipes/pyjnius/__init__.py:5: RuntimeWarning: Parent module 'pythonforandroid.recipes' not found while handling absolute import
  from os.path import join
/home/pat1/git/rmap/buildozer/android/platform/python-for-android-new-toolchain/pythonforandroid/recipes/six/__init__.py:2: RuntimeWarning: Parent module 'pythonforandroid.recipes' not found while handling absolute import
  from pythonforandroid.recipe import PythonRecipe
/home/pat1/git/rmap/buildozer/android/platform/python-for-android-new-toolchain/pythonforandroid/recipes/python2/__init__.py:1: RuntimeWarning: Parent module 'pythonforandroid.recipes' not found while handling absolute import
  from pythonforandroid.recipe import TargetPythonRecipe, Recipe
/home/pat1/git/rmap/buildozer/android/platform/python-for-android-new-toolchain/pythonforandroid/recipes/python2/__init__.py:2: RuntimeWarning: Parent module 'pythonforandroid.recipes' not found while handling absolute import
  from pythonforandroid.toolchain import shprint, current_directory, info
/home/pat1/git/rmap/buildozer/android/platform/python-for-android-new-toolchain/pythonforandroid/recipes/python2/__init__.py:3: RuntimeWarning: Parent module 'pythonforandroid.recipes' not found while handling absolute import
  from pythonforandroid.patching import (is_darwin, is_api_gt,
/home/pat1/git/rmap/buildozer/android/platform/python-for-android-new-toolchain/pythonforandroid/recipes/python2/__init__.py:5: RuntimeWarning: Parent module 'pythonforandroid.recipes' not found while handling absolute import
  from os.path import exists, join, realpath
/home/pat1/git/rmap/buildozer/android/platform/python-for-android-new-toolchain/pythonforandroid/recipes/python2/__init__.py:6: RuntimeWarning: Parent module 'pythonforandroid.recipes' not found while handling absolute import
  import sh
/home/pat1/git/rmap/buildozer/android/platform/python-for-android-new-toolchain/pythonforandroid/recipes/genericndkbuild/__init__.py:1: RuntimeWarning: Parent module 'pythonforandroid.recipes' not found while handling absolute import
  from pythonforandroid.recipe import BootstrapNDKRecipe
/home/pat1/git/rmap/buildozer/android/platform/python-for-android-new-toolchain/pythonforandroid/recipes/genericndkbuild/__init__.py:2: RuntimeWarning: Parent module 'pythonforandroid.recipes' not found while handling absolute import
  from pythonforandroid.toolchain import current_directory, shprint
/home/pat1/git/rmap/buildozer/android/platform/python-for-android-new-toolchain/pythonforandroid/recipes/genericndkbuild/__init__.py:3: RuntimeWarning: Parent module 'pythonforandroid.recipes' not found while handling absolute import
  import sh
/home/pat1/git/rmap/buildozer/android/platform/python-for-android-new-toolchain/pythonforandroid/recipes/sdl2/__init__.py:1: RuntimeWarning: Parent module 'pythonforandroid.recipes' not found while handling absolute import
  from pythonforandroid.recipe import BootstrapNDKRecipe
/home/pat1/git/rmap/buildozer/android/platform/python-for-android-new-toolchain/pythonforandroid/recipes/sdl2/__init__.py:2: RuntimeWarning: Parent module 'pythonforandroid.recipes' not found while handling absolute import
  from pythonforandroid.toolchain import current_directory, shprint
/home/pat1/git/rmap/buildozer/android/platform/python-for-android-new-toolchain/pythonforandroid/recipes/sdl2/__init__.py:3: RuntimeWarning: Parent module 'pythonforandroid.recipes' not found while handling absolute import
  import sh
/home/pat1/git/rmap/buildozer/android/platform/python-for-android-new-toolchain/pythonforandroid/recipes/sdl/__init__.py:1: RuntimeWarning: Parent module 'pythonforandroid.recipes' not found while handling absolute import
  from pythonforandroid.recipe import BootstrapNDKRecipe
/home/pat1/git/rmap/buildozer/android/platform/python-for-android-new-toolchain/pythonforandroid/recipes/sdl/__init__.py:2: RuntimeWarning: Parent module 'pythonforandroid.recipes' not found while handling absolute import
  from pythonforandroid.toolchain import current_directory, info, shprint
/home/pat1/git/rmap/buildozer/android/platform/python-for-android-new-toolchain/pythonforandroid/recipes/sdl/__init__.py:3: RuntimeWarning: Parent module 'pythonforandroid.recipes' not found while handling absolute import
  from os.path import exists, join
/home/pat1/git/rmap/buildozer/android/platform/python-for-android-new-toolchain/pythonforandroid/recipes/sdl/__init__.py:4: RuntimeWarning: Parent module 'pythonforandroid.recipes' not found while handling absolute import
  import sh
/home/pat1/git/rmap/buildozer/android/platform/python-for-android-new-toolchain/pythonforandroid/recipes/sdl2_image/__init__.py:1: RuntimeWarning: Parent module 'pythonforandroid.recipes' not found while handling absolute import
  from pythonforandroid.recipe import BootstrapNDKRecipe
/home/pat1/git/rmap/buildozer/android/platform/python-for-android-new-toolchain/pythonforandroid/recipes/sdl2_image/__init__.py:2: RuntimeWarning: Parent module 'pythonforandroid.recipes' not found while handling absolute import
  from pythonforandroid.patching import is_arch
/home/pat1/git/rmap/buildozer/android/platform/python-for-android-new-toolchain/pythonforandroid/recipes/sdl2_mixer/__init__.py:1: RuntimeWarning: Parent module 'pythonforandroid.recipes' not found while handling absolute import
  from pythonforandroid.recipe import BootstrapNDKRecipe
/home/pat1/git/rmap/buildozer/android/platform/python-for-android-new-toolchain/pythonforandroid/recipes/sdl2_ttf/__init__.py:1: RuntimeWarning: Parent module 'pythonforandroid.recipes' not found while handling absolute import
  from pythonforandroid.recipe import BootstrapNDKRecipe
/home/pat1/git/rmap/buildozer/android/platform/python-for-android-new-toolchain/pythonforandroid/recipes/pygame_bootstrap_components/__init__.py:1: RuntimeWarning: Parent module 'pythonforandroid.recipes' not found while handling absolute import
  from pythonforandroid.recipe import BootstrapNDKRecipe
/home/pat1/git/rmap/buildozer/android/platform/python-for-android-new-toolchain/pythonforandroid/recipes/pygame_bootstrap_components/__init__.py:2: RuntimeWarning: Parent module 'pythonforandroid.recipes' not found while handling absolute import
  from pythonforandroid.toolchain import current_directory, shprint, info
/home/pat1/git/rmap/buildozer/android/platform/python-for-android-new-toolchain/pythonforandroid/recipes/pygame_bootstrap_components/__init__.py:3: RuntimeWarning: Parent module 'pythonforandroid.recipes' not found while handling absolute import
  from os.path import exists, join
/home/pat1/git/rmap/buildozer/android/platform/python-for-android-new-toolchain/pythonforandroid/recipes/pygame_bootstrap_components/__init__.py:4: RuntimeWarning: Parent module 'pythonforandroid.recipes' not found while handling absolute import
  import sh
/home/pat1/git/rmap/buildozer/android/platform/python-for-android-new-toolchain/pythonforandroid/recipes/pygame_bootstrap_components/__init__.py:5: RuntimeWarning: Parent module 'pythonforandroid.recipes' not found while handling absolute import
  import glob
/home/pat1/git/rmap/buildozer/android/platform/python-for-android-new-toolchain/pythonforandroid/recipes/pygame/__init__.py:2: RuntimeWarning: Parent module 'pythonforandroid.recipes' not found while handling absolute import
  from pythonforandroid.recipe import Recipe
/home/pat1/git/rmap/buildozer/android/platform/python-for-android-new-toolchain/pythonforandroid/recipes/pygame/__init__.py:3: RuntimeWarning: Parent module 'pythonforandroid.recipes' not found while handling absolute import
  from pythonforandroid.util import current_directory, ensure_dir
/home/pat1/git/rmap/buildozer/android/platform/python-for-android-new-toolchain/pythonforandroid/recipes/pygame/__init__.py:4: RuntimeWarning: Parent module 'pythonforandroid.recipes' not found while handling absolute import
  from pythonforandroid.logger import debug, shprint, info, warning
/home/pat1/git/rmap/buildozer/android/platform/python-for-android-new-toolchain/pythonforandroid/recipes/pygame/__init__.py:5: RuntimeWarning: Parent module 'pythonforandroid.recipes' not found while handling absolute import
  from os.path import join
/home/pat1/git/rmap/buildozer/android/platform/python-for-android-new-toolchain/pythonforandroid/recipes/pygame/__init__.py:6: RuntimeWarning: Parent module 'pythonforandroid.recipes' not found while handling absolute import
  import sh
/home/pat1/git/rmap/buildozer/android/platform/python-for-android-new-toolchain/pythonforandroid/recipes/pygame/__init__.py:7: RuntimeWarning: Parent module 'pythonforandroid.recipes' not found while handling absolute import
  import glob
/home/pat1/git/rmap/buildozer/android/platform/python-for-android-new-toolchain/pythonforandroid/recipes/sqlite3/__init__.py:1: RuntimeWarning: Parent module 'pythonforandroid.recipes' not found while handling absolute import
  from pythonforandroid.recipe import NDKRecipe
/home/pat1/git/rmap/buildozer/android/platform/python-for-android-new-toolchain/pythonforandroid/recipes/sqlite3/__init__.py:2: RuntimeWarning: Parent module 'pythonforandroid.recipes' not found while handling absolute import
  from pythonforandroid.toolchain import shutil
/home/pat1/git/rmap/buildozer/android/platform/python-for-android-new-toolchain/pythonforandroid/recipes/sqlite3/__init__.py:3: RuntimeWarning: Parent module 'pythonforandroid.recipes' not found while handling absolute import
  from os.path import join
/home/pat1/git/rmap/buildozer/android/platform/python-for-android-new-toolchain/pythonforandroid/recipes/sqlite3/__init__.py:4: RuntimeWarning: Parent module 'pythonforandroid.recipes' not found while handling absolute import
  import sh
/home/pat1/git/rmap/buildozer/android/platform/python-for-android-new-toolchain/pythonforandroid/recipes/openssl/__init__.py:1: RuntimeWarning: Parent module 'pythonforandroid.recipes' not found while handling absolute import
  from functools import partial
/home/pat1/git/rmap/buildozer/android/platform/python-for-android-new-toolchain/pythonforandroid/recipes/openssl/__init__.py:3: RuntimeWarning: Parent module 'pythonforandroid.recipes' not found while handling absolute import
  from pythonforandroid.toolchain import Recipe, shprint, current_directory
/home/pat1/git/rmap/buildozer/android/platform/python-for-android-new-toolchain/pythonforandroid/recipes/openssl/__init__.py:4: RuntimeWarning: Parent module 'pythonforandroid.recipes' not found while handling absolute import
  import sh
[INFO]:    Found a single valid recipe set: [u'configobj', u'django', u'futures', 'hostpython3crystax', u'openssl', u'pika', u'pillow', u'plyer', u'pyserial', 'sdl2_image', 'sdl2_mixer', 'sdl2_ttf', u'simplejson', u'sqlite3', u'python3crystax', 'sdl2', 'six', 'pyjnius', u'kivy']
[INFO]:    The selected bootstrap is sdl2_gradle
[INFO]:    # Creating dist with sdl2_gradle bootstrap
[INFO]:    Dist will have name rmap and recipes (python3crystax, kivy, pyjnius, sqlite3, openssl, plyer, futures, pyserial, simplejson, django, configobj, pika, pillow)
[INFO]:    Dist will also contain modules (configobj, pika, simplejson, pyserial, futures, django, plyer, pillow) installed from pip
[INFO]:    -> running cp -r /home/pat1/git/rmap/buildozer/android/platform/python-for-android-new-toolc...(and 146 more)
[INFO]:    -> directory context /home/pat1/git/rmap/buildozer/android/platform/build/build/bootstrap_builds/sdl2_gradle-python3crystax
[INFO]:    <- directory context /home/pat1/git/rmap/buildozer/android/platform/python-for-android-new-toolchain
[INFO]:    Recipe build order is ['hostpython3crystax', u'openssl', 'sdl2_image', 'sdl2_mixer', 'sdl2_ttf', u'sqlite3', u'python3crystax', 'sdl2', 'six', 'pyjnius', u'kivy']
[INFO]:    The requirements (configobj, django, futures, pika, pillow, plyer, pyserial, simplejson) were not found as recipes, they will be installed with pip.
[INFO]:    # Downloading recipes 
[INFO]:    Downloading hostpython3crystax
[INFO]:    Skipping hostpython3crystax download as no URL is set
[INFO]:    Downloading openssl
[INFO]:    -> running mkdir -p /home/pat1/git/rmap/buildozer/android/platform/build/packages/openssl
[INFO]:    -> directory context /home/pat1/git/rmap/buildozer/android/platform/build/packages/openssl
[INFO]:    -> running basename https://www.openssl.org/source/openssl-1.0.2h.tar.gz
[INFO]:    openssl download already cached, skipping
[INFO]:    <- directory context /home/pat1/git/rmap/buildozer/android/platform/python-for-android-new-toolchain
[INFO]:    Downloading sdl2_image
[INFO]:    -> running mkdir -p /home/pat1/git/rmap/buildozer/android/platform/build/packages/sdl2_image
[INFO]:    -> directory context /home/pat1/git/rmap/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/pat1/git/rmap/buildozer/android/platform/python-for-android-new-toolchain
[INFO]:    Downloading sdl2_mixer
[INFO]:    -> running mkdir -p /home/pat1/git/rmap/buildozer/android/platform/build/packages/sdl2_mixer
[INFO]:    -> directory context /home/pat1/git/rmap/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/pat1/git/rmap/buildozer/android/platform/python-for-android-new-toolchain
[INFO]:    Downloading sdl2_ttf
[INFO]:    -> running mkdir -p /home/pat1/git/rmap/buildozer/android/platform/build/packages/sdl2_ttf
[INFO]:    -> directory context /home/pat1/git/rmap/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/pat1/git/rmap/buildozer/android/platform/python-for-android-new-toolchain
[INFO]:    Downloading sqlite3
[INFO]:    -> running mkdir -p /home/pat1/git/rmap/buildozer/android/platform/build/packages/sqlite3
[INFO]:    -> directory context /home/pat1/git/rmap/buildozer/android/platform/build/packages/sqlite3
[INFO]:    -> running basename https://www.sqlite.org/2016/sqlite-amalgamation-3150100.zip
[INFO]:    sqlite3 download already cached, skipping
[INFO]:    <- directory context /home/pat1/git/rmap/buildozer/android/platform/python-for-android-new-toolchain
[INFO]:    Downloading python3crystax
[INFO]:    -> running mkdir -p /home/pat1/git/rmap/buildozer/android/platform/build/packages/python3crystax
[INFO]:    -> directory context /home/pat1/git/rmap/buildozer/android/platform/build/packages/python3crystax
[INFO]:    -> running basename 
[INFO]:    -> running rm -f .mark-
[INFO]:    -> running touch .mark-
[INFO]:    <- directory context /home/pat1/git/rmap/buildozer/android/platform/python-for-android-new-toolchain
[INFO]:    Downloading sdl2
[INFO]:    -> running mkdir -p /home/pat1/git/rmap/buildozer/android/platform/build/packages/sdl2
[INFO]:    -> directory context /home/pat1/git/rmap/buildozer/android/platform/build/packages/sdl2
[INFO]:    -> running basename https://www.libsdl.org/release/SDL2-2.0.4.tar.gz
[INFO]:    sdl2 download already cached, skipping
[INFO]:    <- directory context /home/pat1/git/rmap/buildozer/android/platform/python-for-android-new-toolchain
[INFO]:    Downloading six
[INFO]:    -> running mkdir -p /home/pat1/git/rmap/buildozer/android/platform/build/packages/six
[INFO]:    -> directory context /home/pat1/git/rmap/buildozer/android/platform/build/packages/six
[INFO]:    -> running basename https://pypi.python.org/packages/source/s/six/six-1.9.0.tar.gz
[INFO]:    six download already cached, skipping
[INFO]:    <- directory context /home/pat1/git/rmap/buildozer/android/platform/python-for-android-new-toolchain
[INFO]:    Downloading pyjnius
[INFO]:    -> running mkdir -p /home/pat1/git/rmap/buildozer/android/platform/build/packages/pyjnius
[INFO]:    -> directory context /home/pat1/git/rmap/buildozer/android/platform/build/packages/pyjnius
[INFO]:    -> running basename /~https://github.com/kivy/pyjnius/archive/1.1.3.zip
           [INFO]:    -> running rm -f .mark-1.1.3.zip                                                                            
[INFO]:    Downloading pyjnius from /~https://github.com/kivy/pyjnius/archive/1.1.3.zip
[INFO]:    -> running touch .mark-1.1.3.zip
[INFO]:    <- directory context /home/pat1/git/rmap/buildozer/android/platform/python-for-android-new-toolchain
[INFO]:    Downloading kivy
[INFO]:    -> running mkdir -p /home/pat1/git/rmap/buildozer/android/platform/build/packages/kivy
[INFO]:    -> directory context /home/pat1/git/rmap/buildozer/android/platform/build/packages/kivy
[INFO]:    -> running basename /~https://github.com/kivy/kivy/archive/1.10.1.zip
[INFO]:    -> running rm -f .mark-1.10.1.zip
[INFO]:    Downloading kivy from /~https://github.com/kivy/kivy/archive/1.10.1.zip
-[INFO]:    -> running touch .mark-1.10.1.zip                                                                                     
[INFO]:    <- directory context /home/pat1/git/rmap/buildozer/android/platform/python-for-android-new-toolchain
[INFO]:    # Building all recipes for arch armeabi-v7a
[INFO]:    # Unpacking recipes
[INFO]:    Unpacking hostpython3crystax for armeabi-v7a
[INFO]:    Skipping hostpython3crystax unpack as no URL is set
[INFO]:    Unpacking openssl for armeabi-v7a
[INFO]:    -> running basename https://www.openssl.org/source/openssl-1.0.2h.tar.gz
[INFO]:    -> directory context /home/pat1/git/rmap/buildozer/android/platform/build/build/other_builds/openssl/armeabi-v7a
[INFO]:    openssl is already unpacked, skipping
[INFO]:    <- directory context /home/pat1/git/rmap/buildozer/android/platform/python-for-android-new-toolchain
[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
[INFO]:    -> directory context /home/pat1/git/rmap/buildozer/android/platform/build/build/bootstrap_builds/sdl2_gradle-python3crystax/jni
[INFO]:    sdl2_image is already unpacked, skipping
[INFO]:    <- directory context /home/pat1/git/rmap/buildozer/android/platform/python-for-android-new-toolchain
[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/pat1/git/rmap/buildozer/android/platform/build/build/bootstrap_builds/sdl2_gradle-python3crystax/jni
[INFO]:    sdl2_mixer is already unpacked, skipping
[INFO]:    <- directory context /home/pat1/git/rmap/buildozer/android/platform/python-for-android-new-toolchain
[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
           working: SDL2_[INFO]:    -> directory context /home/pat1/git/rmap/buildozer/android/platform/build/build/bootstrap_builds/sdl2_gradle-python3crystax/jni
[INFO]:    sdl2_ttf is already unpacked, skipping
[INFO]:    <- directory context /home/pat1/git/rmap/buildozer/android/platform/python-for-android-new-toolchain
[INFO]:    Unpacking sqlite3 for armeabi-v7a
[INFO]:    -> running basename https://www.sqlite.org/2016/sqlite-amalgamation-3150100.zip
[INFO]:    -> directory context /home/pat1/git/rmap/buildozer/android/platform/build/build/other_builds/sqlite3/armeabi-v7a
[INFO]:    sqlite3 is already unpacked, skipping
[INFO]:    <- directory context /home/pat1/git/rmap/buildozer/android/platform/python-for-android-new-toolchain
[INFO]:    Unpacking python3crystax for armeabi-v7a
[INFO]:    -> running basename 
[INFO]:    -> directory context /home/pat1/git/rmap/buildozer/android/platform/build/build/other_builds/python3crystax-version3.6/armeabi-v7a
[INFO]:    -> running cp -Rv /home/pat1/git/rmap/buildozer/android/platform/build/packages/python3cryst...(and 134 more)
[INFO]:    <- directory context /home/pat1/git/rmap/buildozer/android/platform/python-for-android-new-toolchain
[INFO]:    Unpacking sdl2 for armeabi-v7a
[INFO]:    -> running basename https://www.libsdl.org/release/SDL2-2.0.4.tar.gz
                                                                                                     [INFO]:    -> directory context /home/pat1/git/rmap/buildozer/android/platform/build/build/bootstrap_builds/sdl2_gradle-python3crystax/jni
[INFO]:    sdl2 is already unpacked, skipping
[INFO]:    <- directory context /home/pat1/git/rmap/buildozer/android/platform/python-for-android-new-toolchain
[INFO]:    Unpacking six for armeabi-v7a
[INFO]:    -> running basename https://pypi.python.org/packages/source/s/six/six-1.9.0.tar.gz
[INFO]:    -> directory context /home/pat1/git/rmap/buildozer/android/platform/build/build/other_builds/six-python3crystax/armeabi-v7a
[INFO]:    six is already unpacked, skipping
[INFO]:    <- directory context /home/pat1/git/rmap/buildozer/android/platform/python-for-android-new-toolchain
[INFO]:    Unpacking pyjnius for armeabi-v7a
[INFO]:    -> running basename /~https://github.com/kivy/pyjnius/archive/1.1.3.zip
[INFO]:    -> directory context /home/pat1/git/rmap/buildozer/android/platform/build/build/other_builds/pyjnius-python3crystax-sdl2/armeabi-v7a
[INFO]:    pyjnius is already unpacked, skipping
[INFO]:    <- directory context /home/pat1/git/rmap/buildozer/android/platform/python-for-android-new-toolchain
[INFO]:    Unpacking kivy for armeabi-v7a
[INFO]:    -> running basename /~https://github.com/kivy/kivy/archive/1.10.1.zip
[INFO]:    -> directory context /home/pat1/git/rmap/buildozer/android/platform/build/build/other_builds/kivy-python3crystax-sdl2/armeabi-v7a
[INFO]:    kivy is already unpacked, skipping
[INFO]:    <- directory context /home/pat1/git/rmap/buildozer/android/platform/python-for-android-new-toolchain
[INFO]:    # Prebuilding recipes
[INFO]:    Prebuilding hostpython3crystax for armeabi-v7a
[INFO]:    hostpython3crystax has no prebuild_armeabi_v7a, skipping
[INFO]:    Prebuilding openssl for armeabi-v7a
[INFO]:    openssl 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 sqlite3 for armeabi-v7a
[INFO]:    sqlite3 has no prebuild_armeabi_v7a, skipping
[INFO]:    Prebuilding python3crystax for armeabi-v7a
[INFO]:    python3crystax has no prebuild_armeabi_v7a, 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 six for armeabi-v7a
[INFO]:    six has no prebuild_armeabi_v7a, skipping
[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 kivy for armeabi-v7a
[INFO]:    kivy has no prebuild_armeabi_v7a, skipping
[INFO]:    # Building recipes
[INFO]:    Building hostpython3crystax for armeabi-v7a
[INFO]:    -> running mkdir -p /home/pat1/git/rmap/buildozer/android/platform/build/build/other_builds/...(and 51 more)
[INFO]:    -> running ln -sf /usr/bin/python3.6 /home/pat1/git/rmap/buildozer/android/platform/build/bu...(and 73 more)
[INFO]:    Building openssl for armeabi-v7a
[INFO]:    openssl 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 sqlite3 for armeabi-v7a
[INFO]:    sqlite3 said it is already built, skipping
[INFO]:    Building python3crystax for armeabi-v7a
[INFO]:    The NDK does not have a prebuilt Python 3.6, trying to obtain one.
[INFO]:    Downloading python3crystax from /~https://github.com/inclement/crystax_python_builds/releases/download/0.1/crystax_python_3.6_armeabi_armeabi-v7a.tar.gz
- Download 98.76[INFO]:    -> running tar xf /tmp/tmp1J1keM/downloaded_python --directory /opt/crystax-ndk-10.3.2/sources/python  
[INFO]:    Building sdl2 for armeabi-v7a
/home/pat1/git/rmap/buildozer/android/platform/python-for-android-new-toolchain/pythonforandroid/recipes/hostpython2/__init__.py:2: RuntimeWarning: Parent module 'pythonforandroid.recipes' not found while handling absolute import
  from pythonforandroid.toolchain import Recipe, shprint, current_directory, info, warning
/home/pat1/git/rmap/buildozer/android/platform/python-for-android-new-toolchain/pythonforandroid/recipes/hostpython2/__init__.py:3: RuntimeWarning: Parent module 'pythonforandroid.recipes' not found while handling absolute import
  from os.path import join, exists
/home/pat1/git/rmap/buildozer/android/platform/python-for-android-new-toolchain/pythonforandroid/recipes/hostpython2/__init__.py:4: RuntimeWarning: Parent module 'pythonforandroid.recipes' not found while handling absolute import
  import os
/home/pat1/git/rmap/buildozer/android/platform/python-for-android-new-toolchain/pythonforandroid/recipes/hostpython2/__init__.py:5: RuntimeWarning: Parent module 'pythonforandroid.recipes' not found while handling absolute import
  import sh
[INFO]:    -> directory context /home/pat1/git/rmap/buildozer/android/platform/build/build/bootstrap_builds/sdl2_gradle-python3crystax/jni
[INFO]:    -> running ndk-build V=1
          [INFO]:    <- directory context /home/pat1/git/rmap/buildozer/android/platform/python-for-android-new-toolchain97 more) 
[INFO]:    Building six for armeabi-v7a
[INFO]:    Python package already exists in site-packages
[INFO]:    six said it is already built, skipping
[INFO]:    Building pyjnius for armeabi-v7a
[INFO]:    jnius apparently isn't already in site-packages
[INFO]:    Cythonizing anything necessary in pyjnius
[INFO]:    -> directory context /home/pat1/git/rmap/buildozer/android/platform/build/build/other_builds/pyjnius-python3crystax-sdl2/armeabi-v7a/pyjnius
[INFO]:    -> running python3.6 -c import sys; print(sys.path)
[INFO]:    Trying first build of pyjnius to get cython files: this is expected to fail
[INFO]:    -> running python3.6 setup.py build_ext -v
('cwd is', '/home/pat1/git/rmap/buildozer/android/platform/build/build/other_builds/pyjnius-python3crystax-sdl2/armeabi-v7a/pyjnius')
           working: arm-linux-androideabi-gcc -DANDROID -mandroid -fomit-fException in thread background thread for pid 31831:    
Traceback (most recent call last):
  File "/usr/lib64/python2.7/threading.py", line 804, in __bootstrap_inner
    self.run()
  File "/usr/lib64/python2.7/threading.py", line 757, in run
    self.__target(*self.__args, **self.__kwargs)
  File "/usr/lib/python2.7/site-packages/sh.py", line 2170, in background_thread
    handle_exit_code(exit_code)
  File "/usr/lib/python2.7/site-packages/sh.py", line 1929, in fn
    return self.command.handle_command_exit_code(exit_code)
  File "/usr/lib/python2.7/site-packages/sh.py", line 672, in handle_command_exit_code
    raise exc
ErrorReturnCode_1: 

  RAN: /usr/bin/python3.6 setup.py build_ext -v

  STDOUT:
/usr/lib/python3.6/site-packages/setuptools/dist.py:398: UserWarning: Normalizing '1.1.2-dev' to '1.1.2.dev0'
  normalized_version,
running build_ext
skipping 'jnius/jnius.c' Cython extension (up-to-date)
building 'jnius' extension
creating build/temp.linux-x86_64-3.6
creating build/temp.linux-x86_64-3.6/jnius
arm-linux-androideabi-gcc -DANDROID -mandroid -fomit-frame-pointer -D__ANDROID_API__=19 -I/opt/crystax-ndk-10.3.2/platforms/android-19/arch-arm -isysroot /opt/crystax-ndk-10.3.2/platforms/android-19/arch-arm -I/home/pat1/git/rmap/buildozer/android/platform/build/build/python-installs/rmap/include/python3.6 -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE -fPIC -fwrapv -DANDROID -mandroid -fomit-frame-pointer -D__ANDROID_API__=19 -I/opt/crystax-ndk-10.3.2/platforms/android-19/arch-arm -isysroot /opt/crystax-ndk-10.3.2/platforms/android-19/arch-arm -I/home/pat1/git/rmap/buildozer/android/platform/build/build/python-installs/rmap/include/python3.6 -I/opt/crystax-ndk-10.3.2/sources/python/3.6/include/python/ -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -mthumb -I/opt/crystax-ndk-10.3.2/sources/python/3.6/include/python -fPIC -I/usr/include/python3.6m -c jnius/jnius.c -o build/temp.linux-x86_64-3.6/jnius/jnius.o
arm-linux-androideabi-gcc: error: unrecognized argument in option '-mtune=generic'
arm-linux-androideabi-gcc: note: valid arguments to '-mtune=' are: arm1020e arm1020t arm1022e arm1026ej-s arm10e arm10tdmi arm1136j-s arm1136jf-s arm1156t2-s arm1156t2f-s arm1176jz-s arm1176jzf-s arm2 arm250 arm3 arm6 arm60 arm600 arm610 arm620 arm7 arm70 arm700 arm700i arm710 arm7100 arm710c arm710t arm720 arm720t arm740t arm7500 arm7500fe arm7d arm7di arm7dm arm7dmi arm7m arm7tdmi arm7tdmi-s arm8 arm810 arm9 arm920 arm920t arm922t arm926ej-s arm940t arm946e-s arm966e-s arm968e-s arm9e arm9tdmi cortex-a12 cortex-a15 cortex-a15.cortex-a7 cortex-a17 cortex-a17.cortex-a7 cortex-a5 cortex-a53 cortex-a57 cortex-a57.cortex-a53 cortex-a7 cortex-a72 cortex-a72.cortex-a53 cortex-a8 cortex-a9 cortex-m0 cortex-m0.small-multiply cortex-m0plus cortex-m0plus.small-multiply cortex-m1 cortex-m1.small-multiply cortex-m3 cortex-m4 cortex-m7 cortex-r4 cortex-r4f cortex-r5 cortex-r7 ep9312 exynos-m1 fa526 fa606te fa626 fa626te fa726te fmp626 generic-armv7-a iwmmxt iwmmxt2 marvell-pj4 mpcore mpcorenovfp native strongarm strongarm110 strongarm1100 strongarm1110 xgene1 xscale
error: command 'arm-linux-androideabi-gcc' failed with exit status 1


  STDERR:


[INFO]:    pyjnius first build failed (as expected)
[INFO]:    Running cython where appropriate
[INFO]:    Cythonize jnius/jnius.pyx
[INFO]:    -> running cython ./jnius/jnius.pyx
[INFO]:    -> running python3.6 setup.py build_ext -v
()                                                                                                                                
           working: arm-linux-androideabi-gcc: note: valid arguments to '-Exception in thread background thread for pid 31851:    
Traceback (most recent call last):
  File "/usr/lib64/python2.7/threading.py", line 804, in __bootstrap_inner
    self.run()
  File "/usr/lib64/python2.7/threading.py", line 757, in run
    self.__target(*self.__args, **self.__kwargs)
  File "/usr/lib/python2.7/site-packages/sh.py", line 2170, in background_thread
    handle_exit_code(exit_code)
  File "/usr/lib/python2.7/site-packages/sh.py", line 1929, in fn
    return self.command.handle_command_exit_code(exit_code)
  File "/usr/lib/python2.7/site-packages/sh.py", line 672, in handle_command_exit_code
    raise exc
ErrorReturnCode_1: 

  RAN: /usr/bin/python3.6 setup.py build_ext -v

  STDOUT:
/usr/lib/python3.6/site-packages/setuptools/dist.py:398: UserWarning: Normalizing '1.1.2-dev' to '1.1.2.dev0'
  normalized_version,
running build_ext
skipping 'jnius/jnius.c' Cython extension (up-to-date)
building 'jnius' extension
arm-linux-androideabi-gcc -DANDROID -mandroid -fomit-frame-pointer -D__ANDROID_API__=19 -I/opt/crystax-ndk-10.3.2/platforms/android-19/arch-arm -isysroot /opt/crystax-ndk-10.3.2/platforms/android-19/arch-arm -I/home/pat1/git/rmap/buildozer/android/platform/build/build/python-installs/rmap/include/python3.6 -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE -fPIC -fwrapv -DANDROID -mandroid -fomit-frame-pointer -D__ANDROID_API__=19 -I/opt/crystax-ndk-10.3.2/platforms/android-19/arch-arm -isysroot /opt/crystax-ndk-10.3.2/platforms/android-19/arch-arm -I/home/pat1/git/rmap/buildozer/android/platform/build/build/python-installs/rmap/include/python3.6 -I/opt/crystax-ndk-10.3.2/sources/python/3.6/include/python/ -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -mthumb -I/opt/crystax-ndk-10.3.2/sources/python/3.6/include/python -fPIC -I/usr/include/python3.6m -c jnius/jnius.c -o build/temp.linux-x86_64-3.6/jnius/jnius.o
arm-linux-androideabi-gcc: error: unrecognized argument in option '-mtune=generic'
arm-linux-androideabi-gcc: note: valid arguments to '-mtune=' are: arm1020e arm1020t arm1022e arm1026ej-s arm10e arm10tdmi arm1136j-s arm1136jf-s arm1156t2-s arm1156t2f-s arm1176jz-s arm1176jzf-s arm2 arm250 arm3 arm6 arm60 arm600 arm610 arm620 arm7 arm70 arm700 arm700i arm710 arm7100 arm710c arm710t arm720 arm720t arm740t arm7500 arm7500fe arm7d arm7di arm7dm arm7dmi arm7m arm7tdmi arm7tdmi-s arm8 arm810 arm9 arm920 arm920t arm922t arm926ej-s arm940t arm946e-s arm966e-s arm968e-s arm9e arm9tdmi cortex-a12 cortex-a15 cortex-a15.cortex-a7 cortex-a17 cortex-a17.cortex-a7 cortex-a5 cortex-a53 cortex-a57 cortex-a57.cortex-a53 cortex-a7 cortex-a72 cortex-a72.cortex-a53 cortex-a8 cortex-a9 cortex-m0 cortex-m0.small-multiply cortex-m0plus cortex-m0plus.small-multiply cortex-m1 cortex-m1.small-multiply cortex-m3 cortex-m4 cortex-m7 cortex-r4 cortex-r4f cortex-r5 cortex-r7 ep9312 exynos-m1 fa526 fa606te fa626 fa626te fa726te fmp626 generic-armv7-a iwmmxt iwmmxt2 marvell-pj4 mpcore mpcorenovfp native strongarm strongarm110 strongarm1100 strongarm1110 xgene1 xscale
error: command 'arm-linux-androideabi-gcc' failed with exit status 1


  STDERR:


[INFO]:    STDOUT:
	/usr/lib/python3.6/site-packages/setuptools/dist.py:398: UserWarning: Normalizing '1.1.2-dev' to '1.1.2.dev0'	
  normalized_version,	
running build_ext	
skipping 'jnius/jnius.c' Cython extension (up-to-date)	
building 'jnius' extension	
arm-linux-androideabi-gcc -DANDROID -mandroid -fomit-frame-pointer -D__ANDROID_API__=19 -I/opt/crystax-ndk-10.3.2/platforms/android-19/arch-arm -isysroot /opt/crystax-ndk-10.3.2/platforms/android-19/arch-arm -I/home/pat1/git/rmap/buildozer/android/platform/build/build/python-installs/rmap/include/python3.6 -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE -fPIC -fwrapv -DANDROID -mandroid -fomit-frame-pointer -D__ANDROID_API__=19 -I/opt/crystax-ndk-10.3.2/platforms/android-19/arch-arm -isysroot /opt/crystax-ndk-10.3.2/platforms/android-19/arch-arm -I/home/pat1/git/rmap/buildozer/android/platform/build/build/python-installs/rmap/include/python3.6 -I/opt/crystax-ndk-10.3.2/sources/python/3.6/include/python/ -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -mthumb -I/opt/crystax-ndk-10.3.2/sources/python/3.6/include/python -fPIC -I/usr/include/python3.6m -c jnius/jnius.c -o build/temp.linux-x86_64-3.6/jnius/jnius.o	
arm-linux-androideabi-gcc: error: unrecognized argument in option '-mtune=generic'	
arm-linux-androideabi-gcc: note: valid arguments to '-mtune=' are: arm1020e arm1020t arm1022e arm1026ej-s arm10e arm10tdmi arm1136j-s arm1136jf-s arm1156t2-s arm1156t2f-s arm1176jz-s arm1176jzf-s arm2 arm250 arm3 arm6 arm60 arm600 arm610 arm620 arm7 arm70 arm700 arm700i arm710 arm7100 arm710c arm710t arm720 arm720t arm740t arm7500 arm7500fe arm7d arm7di arm7dm arm7dmi arm7m arm7tdmi arm7tdmi-s arm8 arm810 arm9 arm920 arm920t arm922t arm926ej-s arm940t arm946e-s arm966e-s arm968e-s arm9e arm9tdmi cortex-a12 cortex-a15 cortex-a15.cortex-a7 cortex-a17 cortex-a17.cortex-a7 cortex-a5 cortex-a53 cortex-a57 cortex-a57.cortex-a53 cortex-a7 cortex-a72 cortex-a72.cortex-a53 cortex-a8 cortex-a9 cortex-m0 cortex-m0.small-multiply cortex-m0plus cortex-m0plus.small-multiply cortex-m1 cortex-m1.small-multiply cortex-m3 cortex-m4 cortex-m7 cortex-r4 cortex-r4f cortex-r5 cortex-r7 ep9312 exynos-m1 fa526 fa606te fa626 fa626te fa726te fmp626 generic-armv7-a iwmmxt iwmmxt2 marvell-pj4 mpcore mpcorenovfp native strongarm strongarm110 strongarm1100 strongarm1110 xgene1 xscale	
error: command 'arm-linux-androideabi-gcc' failed with exit status 1
[INFO]:    STDERR:
	
[INFO]:    COMMAND:
cd /home/pat1/git/rmap/buildozer/android/platform/build/build/other_builds/pyjnius-python3crystax-sdl2/armeabi-v7a/pyjnius && /usr/bin/python3.6 setup.py build_ext -v

[WARNING]: ERROR: /usr/bin/python3.6 failed!
# Command failed: /usr/bin/python2 -m pythonforandroid.toolchain create --dist_name=rmap --bootstrap=sdl2 --requirements=python3crystax,kivy,pyjnius,sqlite3,openssl,plyer,futures,pyserial,simplejson,django,configobj,pika,pillow --arch armeabi-v7a --copy-libs --color=always --storage-dir="/home/pat1/git/rmap/buildozer/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

@AndreMiras
Copy link
Member

OK then it's a known Fedora bug, but seems unresolved, see kivy/python-for-android#746
I'm closing it here so we follow up in the original that shared also interesting info.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants