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

Kivy: Permission denied (when running buildozer android on Mac OS X) #517

Closed
jantrachte opened this issue Jun 23, 2017 · 1 comment
Closed

Comments

@jantrachte
Copy link

jantrachte commented Jun 23, 2017

I've been trying for hours to get buildozer running on my Mac OS X Sierra.
I already got rid of a few errors, but don't know what's going wrong now. Can anyone help?

buildozer android debug --verbose
# Check configuration tokens
# Ensure build layout
# Check configuration tokens
# Preparing build
# Check requirements for android
# 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 /System/Library/Frameworks/JavaVM.framework/Versions/A/Commands/javac
# Search for Java keytool (keytool)
#  -> found at /System/Library/Frameworks/JavaVM.framework/Versions/A/Commands/keytool
# Install platform
# Run 'pip install -q --user "appdirs" "colorama>=0.3.3" "sh>=1.10" "jinja2" "six"'
# Cwd None
# Apache ANT found at /Users/jan/.buildozer/android/platform/apache-ant-1.9.4
# Android SDK found at /Users/jan/.buildozer/android/platform/android-sdk-20
# Android NDK found at /Users/jan/.buildozer/android/platform/android-ndk-r9c
# Check application requirements
# Check garden requirements
# Compile platform
# Run '/System/Library/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python -m pythonforandroid.toolchain create --dist_name=myapp --bootstrap=sdl2 --requirements=kivy,hostpython2 --arch armeabi-v7a --copy-libs --color=always --storage-dir=/Users/jan/Kivy Projects/pong/.buildozer/android/platform/build'
# Cwd /Users/jan/Kivy Projects/pong/.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]:    ccache is missing, the build will not be optimized in the future.
[INFO]:    Found the following toolchain versions: ['4.6', '4.8', 'clang3.3']
[INFO]:    Picking the latest gcc toolchain, here 4.8
[WARNING]: Missing executable: autoconf is not installed
[WARNING]: Missing executable: automake is not installed
[WARNING]: Missing executable: libtoolize is not installed
[INFO]:    No existing dists meet the given requirements!
[INFO]:    No dist exists that meets your requirements, so one will be built.
[INFO]:    Bootstrap requires recipes ['sdl2', ('python2', 'python3crystax')]
[INFO]:    Loaded recipe sdl2 (depends on [('python2', 'python3crystax'), 'sdl2_image', 'sdl2_mixer', 'sdl2_ttf'], conflicts ['sdl', 'pygame', 'pygame_bootstrap_components'])
[INFO]:    Loaded recipe hostpython2 (depends on [], conflicts ['hostpython3'])
[INFO]:    Loaded recipe kivy (depends on ['pyjnius', ('sdl2', 'pygame'), ('python2', 'python3crystax')])
[INFO]:    Loaded recipe sdl2_image (depends on [])
[INFO]:    Loaded recipe sdl2_mixer (depends on [])
[INFO]:    Loaded recipe sdl2_ttf (depends on [])
[INFO]:    Loaded recipe pyjnius (depends on ['six', ('sdl2', 'sdl', 'genericndkbuild'), ('python2', 'python3crystax')])
[INFO]:    Loaded recipe six (depends on [('python2', 'python3crystax')])
[INFO]:    Found multiple valid recipe sets:
[INFO]:        ['six', 'sdl2', u'kivy', 'sdl2_ttf', u'hostpython2', 'sdl2_mixer', 'sdl2_image', 'pyjnius', 'python2']
[INFO]:        ['sdl2', 'six', 'sdl2_ttf', u'hostpython2', 'python3crystax', 'sdl2_mixer', 'sdl2_image', 'pyjnius', u'kivy']
[INFO]:    Using the first of these: ['six', 'sdl2', u'kivy', 'sdl2_ttf', u'hostpython2', 'sdl2_mixer', 'sdl2_image', 'pyjnius', 'python2']
[INFO]:    The selected bootstrap is sdl2
[INFO]:    # Creating dist with sdl2 bootstrap
[INFO]:    Dist will have name myapp and recipes (kivy, hostpython2)
[INFO]:    -> running cp -r /Users/jan/Kivy Projects...(and 150 more)
[INFO]:    -> directory context /Users/jan/Kivy/build/bootstrap_builds/sdl2-python2
[INFO]:    <- directory context /Users/jan/Kivy Projects/pong/.buildozer/android/platform/python-for-android-master
[INFO]:    Recipe build order is [u'hostpython2', 'python2', 'sdl2_image', 'sdl2_mixer', 'sdl2_ttf', 'sdl2', 'six', 'pyjnius', u'kivy']
[INFO]:    # Downloading recipes
[INFO]:    Downloading hostpython2
[INFO]:    -> running mkdir -p /Users/jan/Kivy/packages/hostpython2
[INFO]:    -> directory context /Users/jan/Kivy/packages/hostpython2
[INFO]:    -> running basename http://python.org/ftp/py...(and 31 more)
[INFO]:    hostpython2 download already cached, skipping
[INFO]:    <- directory context /Users/jan/Kivy Projects/pong/.buildozer/android/platform/python-for-android-master
[INFO]:    Downloading python2
[INFO]:    -> running mkdir -p /Users/jan/Kivy/packages/python2
[INFO]:    -> directory context /Users/jan/Kivy/packages/python2
[INFO]:    -> running basename http://python.org/ftp/py...(and 31 more)
[INFO]:    python2 download already cached, skipping
[INFO]:    <- directory context /Users/jan/Kivy Projects/pong/.buildozer/android/platform/python-for-android-master
[INFO]:    Downloading sdl2_image
[INFO]:    -> running mkdir -p /Users/jan/Kivy/packages/sdl2_image
[INFO]:    -> directory context /Users/jan/Kivy/packages/sdl2_image
[INFO]:    -> running basename https://www.libsdl.org/...(and 50 more)
[INFO]:    sdl2_image download already cached, skipping
[INFO]:    <- directory context /Users/jan/Kivy Projects/pong/.buildozer/android/platform/python-for-android-master
[INFO]:    Downloading sdl2_mixer
[INFO]:    -> running mkdir -p /Users/jan/Kivy/packages/sdl2_mixer
[INFO]:    -> directory context /Users/jan/Kivy/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 /Users/jan/Kivy Projects/pong/.buildozer/android/platform/python-for-android-master
[INFO]:    Downloading sdl2_ttf
[INFO]:    -> running mkdir -p /Users/jan/Kivy/packages/sdl2_ttf
[INFO]:    -> directory context /Users/jan/Kivy/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 /Users/jan/Kivy Projects/pong/.buildozer/android/platform/python-for-android-master
[INFO]:    Downloading sdl2
[INFO]:    -> running mkdir -p /Users/jan/Kivy/packages/sdl2
[INFO]:    -> directory context /Users/jan/Kivy/packages/sdl2
[INFO]:    -> running basename https://www.libsdl.org/release/SDL2-2.0.4.tar.gz
[INFO]:    <- directory context /Users/jan/Kivy Projects/pong/.buildozer/android/platform/python-for-android-master
[INFO]:    Downloading six
[INFO]:    -> running mkdir -p /Users/jan/Kivy/packages/six
[INFO]:    -> directory context /Users/jan/Kivy/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 /Users/jan/Kivy Projects/pong/.buildozer/android/platform/python-for-android-master
[INFO]:    Downloading pyjnius
[INFO]:    -> running mkdir -p /Users/jan/Kivy/packages/pyjnius
[INFO]:    -> directory context /Users/jan/Kivy/packages/pyjnius
[INFO]:    -> running basename https://github.com/kivy/pyjnius/archive/master.zip
[INFO]:    pyjnius download already cached, skipping
[INFO]:    <- directory context /Users/jan/Kivy Projects/pong/.buildozer/android/platform/python-for-android-master
[INFO]:    Downloading kivy
[INFO]:    -> running mkdir -p /Users/jan/Kivy/packages/kivy
[INFO]:    -> directory context /Users/jan/Kivy/packages/kivy
[INFO]:    -> running basename https://github.com/kivy/kivy/archive/1.10.0.zip
[INFO]:    kivy download already cached, skipping
[INFO]:    <- directory context /Users/jan/Kivy Projects/pong/.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 /Users/jan/Kivy/build/other_builds/hostpython2/desktop
[INFO]:    hostpython2 is already unpacked, skipping
[INFO]:    <- directory context /Users/jan/Kivy Projects/pong/.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 /Users/jan/Kivy/build/other_builds/python2/armeabi-v7a
[INFO]:    python2 is already unpacked, skipping
[INFO]:    <- directory context /Users/jan/Kivy Projects/pong/.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
[INFO]:    -> directory context /Users/jan/Kivy/build/bootstrap_builds/sdl2-python2/jni
[INFO]:    sdl2_image is already unpacked, skipping
[INFO]:    <- directory context /Users/jan/Kivy Projects/pong/.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 /Users/jan/Kivy/build/bootstrap_builds/sdl2-python2/jni
[INFO]:    sdl2_mixer is already unpacked, skipping
[INFO]:    <- directory context /Users/jan/Kivy Projects/pong/.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 /Users/jan/Kivy/build/bootstrap_builds/sdl2-python2/jni
[INFO]:    sdl2_ttf is already unpacked, skipping
[INFO]:    <- directory context /Users/jan/Kivy Projects/pong/.buildozer/android/platform/python-for-android-master
[INFO]:    Unpacking sdl2 for armeabi-v7a
[INFO]:    -> running basename https://www.libsdl.org/release/SDL2-2.0.4.tar.gz
[INFO]:    -> directory context /Users/jan/Kivy/build/bootstrap_builds/sdl2-python2/jni
[INFO]:    sdl2 is already unpacked, skipping
[INFO]:    <- directory context /Users/jan/Kivy Projects/pong/.buildozer/android/platform/python-for-android-master
[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 /Users/jan/Kivy/build/other_builds/six-python2/armeabi-v7a
[INFO]:    six is already unpacked, skipping
[INFO]:    <- directory context /Users/jan/Kivy Projects/pong/.buildozer/android/platform/python-for-android-master
[INFO]:    Unpacking pyjnius for armeabi-v7a
[INFO]:    -> running basename https://github.com/kivy/pyjnius/archive/master.zip
[INFO]:    -> directory context /Users/jan/Kivy/build/other_builds/pyjnius-python2-sdl2/armeabi-v7a
[INFO]:    pyjnius is already unpacked, skipping
[INFO]:    <- directory context /Users/jan/Kivy Projects/pong/.buildozer/android/platform/python-for-android-master
[INFO]:    Unpacking kivy for armeabi-v7a
[INFO]:    -> running basename https://github.com/kivy/kivy/archive/1.10.0.zip
[INFO]:    -> directory context /Users/jan/Kivy/build/other_builds/kivy-python2-sdl2/armeabi-v7a
[INFO]:    kivy is already unpacked, skipping
[INFO]:    <- directory context /Users/jan/Kivy Projects/pong/.buildozer/android/platform/python-for-android-master
[INFO]:    # Prebuilding recipes
[INFO]:    Prebuilding hostpython2 for armeabi-v7a
[INFO]:    -> running cp /Users/jan/Kivy Projects/pong/.buildozer/android/platform/python-for-android-master/...(and 123 more)
[INFO]:    Prebuilding python2 for armeabi-v7a
[INFO]:    python2 has no prebuild_armeabi_v7a, skipping
[INFO]:    Applying patches for python2[armeabi-v7a]
[INFO]:    python2 already patched, skipping
[INFO]:    Prebuilding 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 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 hostpython2 for armeabi-v7a
[INFO]:    -> directory context /Users/jan/Kivy/build/other_builds/hostpython2/desktop/hostpython2
[INFO]:    hostpython already exists, skipping build
[INFO]:    <- directory context /Users/jan/Kivy Projects/pong/.buildozer/android/platform/python-for-android-master
[INFO]:    Building python2 for armeabi-v7a
[INFO]:    Copying hostpython binary to targetpython folder
[INFO]:    -> running cp /Users/jan/Kivy/build/other_builds/hostpython2/desktop/hostpython2/hostpython /Users/jan/K...(and 47 more)
[INFO]:    Building sdl2_image for armeabi-v7a
[INFO]:    Building sdl2_mixer for armeabi-v7a
[INFO]:    Building sdl2_ttf for armeabi-v7a
[INFO]:    Building sdl2 for armeabi-v7a
[INFO]:    -> directory context /Users/jan/Kivy/build/bootstrap_builds/sdl2-python2/jni
[INFO]:    -> running ndk-build V=1
[INFO]:    <- directory context /Users/jan/Kivy Projects/pong/.buildozer/android/platform/python-for-android-master
[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 /Users/jan/Kivy/build/other_builds/pyjnius-python2-sdl2/armeabi-v7a/pyjnius
[INFO]:    -> running python.host -c import sys; print(sys.path)
[INFO]:    Trying first build of pyjnius to get cython files: this is expected to fail
[INFO]:    -> running python.host setup.py build_ext -v
('cwd is', '/Users/jan/Kivy/build/other_builds/pyjnius-python2-sdl2/armeabi-v7a/pyjnius')
           working: error: command '/Users/jan/Kivy' failed with exit status 1                                                                 Exception in thread background thread for pid 56000:
Traceback (most recent call last):
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/threading.py", line 810, in __bootstrap_inner
    self.run()
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/threading.py", line 763, in run
    self.__target(*self.__args, **self.__kwargs)
  File "/Users/jan/Library/Python/2.7/lib/python/site-packages/sh.py", line 1540, in wrap
    fn(*args, **kwargs)
  File "/Users/jan/Library/Python/2.7/lib/python/site-packages/sh.py", line 2459, in background_thread
    handle_exit_code(exit_code)
  File "/Users/jan/Library/Python/2.7/lib/python/site-packages/sh.py", line 2157, in fn
    return self.command.handle_command_exit_code(exit_code)
  File "/Users/jan/Library/Python/2.7/lib/python/site-packages/sh.py", line 815, in handle_command_exit_code
    raise exc
ErrorReturnCode_1:

  RAN: /Users/jan/Kivy/build/python-installs/myapp/bin/python.host setup.py build_ext -v

  STDOUT:
/Users/jan/Kivy/build/python-installs/myapp/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'install_requires'
  warnings.warn(msg)
running build_ext
building 'jnius' extension
arm-linux-androideabi-gcc -DANDROID -mandroid -fomit-frame-pointer --sysroot /Users/jan/.buildozer/android/platform/android-ndk-r9c/platforms/android-19/arch-arm -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -DANDROID -mandroid -fomit-frame-pointer --sysroot /Users/jan/.buildozer/android/platform/android-ndk-r9c/platforms/android-19/arch-arm -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -mthumb -I/Users/jan/Kivy/build/python-installs/myapp/include/python2.7 -c jnius/jnius.c -o build/temp.macosx-10.12-x86_64-2.7/jnius/jnius.o
jnius/jnius.c: In function '__pyx_f_5jnius_5jnius_check_assignable_from':
jnius/jnius.c:5073:7: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
       __pyx_t_4 = __Pyx_PyBool_FromLong((!(!__pyx_t_2))); if (unlikely(!__pyx_t_4)) __PYX_ERR(2, 195, __pyx_L1_error)
       ^
jnius/jnius.c:5073:7: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
jnius/jnius.c:5100:7: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
       __pyx_t_4 = __Pyx_PyBool_FromLong((!(!__pyx_t_2))); if (unlikely(!__pyx_t_4)) __PYX_ERR(2, 197, __pyx_L1_error)
       ^
jnius/jnius.c:5100:7: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
jnius/jnius.c:5161:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
     __pyx_t_4 = __Pyx_PyBool_FromLong((!(!__pyx_t_2))); if (unlikely(!__pyx_t_4)) __PYX_ERR(2, 204, __pyx_L1_error)
     ^
jnius/jnius.c:5161:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
jnius/jnius.c: In function '__pyx_f_5jnius_5jnius_jstringy_arg':
jnius/jnius.c:7086:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
   __pyx_t_1 = __Pyx_PyBool_FromLong(__pyx_t_2); if (unlikely(!__pyx_t_1)) __PYX_ERR(3, 4, __pyx_L1_error)
   ^
jnius/jnius.c:7086:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
jnius/jnius.c: In function '__pyx_f_5jnius_5jnius_convert_jarray_to_python':
jnius/jnius.c:10111:9: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
         __Pyx_INCREF(Py_True);
         ^
jnius/jnius.c:10114:9: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
         __Pyx_INCREF(Py_False);
         ^
jnius/jnius.c: In function '__pyx_pf_5jnius_5jnius_9ByteArray_12__richcmp__':
jnius/jnius.c:15932:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
     __Pyx_INCREF(Py_False);
     ^
jnius/jnius.c: In function '__pyx_f_5jnius_5jnius_9JavaField_read_field':
jnius/jnius.c:22733:7: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
       __Pyx_INCREF(Py_True);
       ^
jnius/jnius.c:22736:7: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
       __Pyx_INCREF(Py_False);
       ^
jnius/jnius.c: In function '__pyx_f_5jnius_5jnius_9JavaField_read_static_field':
jnius/jnius.c:23373:7: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
       __Pyx_INCREF(Py_True);
       ^
jnius/jnius.c:23376:7: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
       __Pyx_INCREF(Py_False);
       ^
jnius/jnius.c: In function '__pyx_f_5jnius_5jnius_10JavaMethod_call_method':
jnius/jnius.c:25599:7: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
       __Pyx_INCREF(Py_True);
       ^
jnius/jnius.c:25602:7: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
       __Pyx_INCREF(Py_False);
       ^
jnius/jnius.c: In function '__pyx_f_5jnius_5jnius_10JavaMethod_call_staticmethod':
jnius/jnius.c:26619:7: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
       __Pyx_INCREF(Py_True);
       ^
jnius/jnius.c:26622:7: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
       __Pyx_INCREF(Py_False);
       ^
jnius/jnius.c: In function '__pyx_pf_5jnius_5jnius_18JavaMultipleMethod_6__call__':
jnius/jnius.c:28588:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
     __pyx_t_1 = __Pyx_PyBool_FromLong(__pyx_v_jm->is_varargs); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 893, __pyx_L1_error)
     ^
jnius/jnius.c:28588:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
jnius/jnius.c: In function '__pyx_f_5jnius_5jnius_py_invoke0':
jnius/jnius.c:31193:29: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
   __pyx_t_2 = ((PyObject *)((void *)__pyx_v_jptr));
                             ^
jnius/jnius.c: In function '__pyx_array_get_memview':
jnius/jnius.c:34177:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
   __pyx_t_2 = __Pyx_PyBool_FromLong(__pyx_v_self->dtype_is_object); if (unlikely(!__pyx_t_2)) __PYX_ERR(7, 226, __pyx_L1_error)
   ^
jnius/jnius.c:34177:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
jnius/jnius.c: In function '__pyx_memoryview_is_slice':
jnius/jnius.c:35950:9: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
         __pyx_t_7 = __Pyx_PyBool_FromLong(__pyx_v_self->dtype_is_object); if (unlikely(!__pyx_t_7)) __PYX_ERR(7, 424, __pyx_L4_error)
         ^
jnius/jnius.c:35950:9: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
jnius/jnius.c: In function '__pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_16is_c_contig':
jnius/jnius.c:38390:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
   __pyx_t_1 = __Pyx_PyBool_FromLong(__pyx_memviewslice_is_contig((__pyx_v_mslice[0]), 'C', __pyx_v_self->view.ndim)); if (unlikely(!__pyx_t_1)) __PYX_ERR(7, 609, __pyx_L1_error)
   ^
jnius/jnius.c:38390:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
jnius/jnius.c: In function '__pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_18is_f_contig':
jnius/jnius.c:38461:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
   __pyx_t_1 = __Pyx_PyBool_FromLong(__pyx_memviewslice_is_contig((__pyx_v_mslice[0]), 'F', __pyx_v_self->view.ndim)); if (unlikely(!__pyx_t_1)) __PYX_ERR(7, 615, __pyx_L1_error)
   ^
jnius/jnius.c:38461:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
jnius/jnius.c: In function '__pyx_memoryview_new':
jnius/jnius.c:38695:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
   __pyx_t_2 = __Pyx_PyBool_FromLong(__pyx_v_dtype_is_object); if (unlikely(!__pyx_t_2)) __PYX_ERR(7, 644, __pyx_L1_error)
   ^
jnius/jnius.c:38695:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
jnius/jnius.c: In function '_unellipsify':
jnius/jnius.c:39204:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
     __pyx_t_4 = __Pyx_PyBool_FromLong(__pyx_v_have_slices); if (unlikely(!__pyx_t_4)) __PYX_ERR(7, 684, __pyx_L1_error)
     ^
jnius/jnius.c:39204:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
jnius/jnius.c: In function '__pyx_memoryview_fromslice':
jnius/jnius.c:41506:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
   __pyx_t_2 = __Pyx_PyBool_FromLong(__pyx_v_dtype_is_object); if (unlikely(!__pyx_t_2)) __PYX_ERR(7, 999, __pyx_L1_error)
   ^
jnius/jnius.c:41506:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
jnius/jnius.c: In function 'initjnius':
jnius/jnius.c:48570:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
   __Pyx_INCREF(((PyObject *)(&PyType_Type)));
   ^
jnius/jnius.c: In function '__Pyx_RaiseTooManyValuesError':
jnius/jnius.c:49566:18: warning: format '%zd' expects argument of type 'signed size_t', but argument 3 has type 'Py_ssize_t' [-Wformat=]
                  "too many values to unpack (expected %" CYTHON_FORMAT_SSIZE_T "d)", expected);
                  ^
jnius/jnius.c: In function '__Pyx_RaiseNeedMoreValuesError':
jnius/jnius.c:49573:18: warning: format '%zd' expects argument of type 'signed size_t', but argument 3 has type 'Py_ssize_t' [-Wformat=]
                  index, (index == 1) ? "" : "s");
                  ^
jnius/jnius.c: In function '__Pyx_PyUnicode_AsPy_UCS4':
jnius/jnius.c:50070:17: warning: format '%zd' expects argument of type 'signed size_t', but argument 3 has type 'Py_ssize_t' [-Wformat=]
                 "got length %" CYTHON_FORMAT_SSIZE_T "d", length);
                 ^
jnius/jnius.c: In function '__Pyx__PyObject_Ord':
jnius/jnius.c:50099:9: warning: format '%zd' expects argument of type 'signed size_t', but argument 3 has type 'Py_ssize_t' [-Wformat=]
         "ord() expected a character, but string of length %zd found", size);
         ^
jnius/jnius.c: In function '__Pyx_RaiseArgtupleInvalid':
jnius/jnius.c:50542:18: warning: format '%zd' expects argument of type 'signed size_t', but argument 5 has type 'Py_ssize_t' [-Wformat=]
                  (num_expected == 1) ? "" : "s", num_found);
                  ^
jnius/jnius.c:50542:18: warning: format '%zd' expects argument of type 'signed size_t', but argument 7 has type 'Py_ssize_t' [-Wformat=]
jnius/jnius.c: In function '__Pyx_BufFmt_ProcessTypeChunk':
jnius/jnius.c:50873:20: warning: format '%zd' expects argument of type 'signed size_t', but argument 3 has type 'long int' [-Wformat=]
                    (Py_ssize_t)ctx->fmt_offset, (Py_ssize_t)offset);
                    ^
jnius/jnius.c:50873:20: warning: format '%zd' expects argument of type 'signed size_t', but argument 4 has type 'long int' [-Wformat=]
jnius/jnius.c: In function '__Pyx_GetBufferAndValidate':
jnius/jnius.c:51120:7: warning: format '%zd' expects argument of type 'signed size_t', but argument 3 has type 'Py_ssize_t' [-Wformat=]
       dtype->name, (Py_ssize_t)dtype->size, (dtype->size > 1) ? "s" : "");
       ^
jnius/jnius.c:51120:7: warning: format '%zd' expects argument of type 'signed size_t', but argument 6 has type 'long int' [-Wformat=]
jnius/jnius.c: In function '__Pyx_PyInt_EqObjC':
jnius/jnius.c:51396:9: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
         Py_RETURN_TRUE;
         ^
jnius/jnius.c:51403:13: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
             Py_RETURN_TRUE;
             ^
jnius/jnius.c:51405:13: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
             Py_RETURN_FALSE;
             ^
jnius/jnius.c:51453:17: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
                 default: Py_RETURN_FALSE;
                 ^
jnius/jnius.c:51458:17: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
                 Py_RETURN_TRUE;
                 ^
jnius/jnius.c:51460:17: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
                 Py_RETURN_FALSE;
                 ^
jnius/jnius.c:51468:17: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
                 Py_RETURN_TRUE;
                 ^
jnius/jnius.c:51470:17: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
                 Py_RETURN_FALSE;
                 ^
jnius/jnius.c: In function '__Pyx_CyFunction_CallMethod':
jnius/jnius.c:52309:17: warning: format '%zd' expects argument of type 'signed size_t', but argument 4 has type 'Py_ssize_t' [-Wformat=]
                 f->m_ml->ml_name, size);
                 ^
jnius/jnius.c:52325:17: warning: format '%zd' expects argument of type 'signed size_t', but argument 4 has type 'Py_ssize_t' [-Wformat=]
                 f->m_ml->ml_name, size);
                 ^
jnius/jnius.c: In function '__Pyx_ValidateAndInit_memviewslice':
jnius/jnius.c:55570:22: warning: format '%zu' expects argument of type 'size_t', but argument 3 has type 'Py_ssize_t' [-Wformat=]
                      (dtype->size > 1) ? "s" : "");
                      ^
jnius/jnius.c: In function '__pyx_f_5jnius_5jnius_convert_python_to_jobject':
jnius/jnius.c:12369:21: warning: '__pyx_v_retmidinit' may be used uninitialized in this function [-Wmaybe-uninitialized]
   __pyx_v_retobject = (__pyx_v_j_env[0])->NewObjectA(__pyx_v_j_env, __pyx_v_retclass, __pyx_v_retmidinit, __pyx_v_j_ret);
                     ^
jnius/jnius.c:12369:21: warning: '__pyx_v_retclass' may be used uninitialized in this function [-Wmaybe-uninitialized]
/Users/jan/Kivy Projects/pong/.buildozer/android/platform/python-for-android-master/pythonforandroid/tools/liblink.sh -lm -L/Users/jan/Kivy/build/libs_collections/myapp/armeabi-v7a -L/Users/jan/Kivy/build/libs_collections/myapp/armeabi-v7a -L/Users/jan/Kivy/build/libs_collections/myapp -L/Users/jan/Kivy/build/bootstrap_builds/sdl2-python2/obj/local/armeabi-v7a -DANDROID -mandroid -fomit-frame-pointer --sysroot /Users/jan/.buildozer/android/platform/android-ndk-r9c/platforms/android-19/arch-arm -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -mthumb build/temp.macosx-10.12-x86_64-2.7/jnius/jnius.o -Llibs/armeabi-v7a -L/Users/jan/Kivy/build/other_builds/python2/armeabi-v7a/python2/python-install/lib -lSDL2 -llog -lpython2.7 -o build/lib.macosx-10.12-x86_64-2.7/jnius/jnius.so
unable to execute /Users/jan/Kivy: Permission denied
error: command '/Users/jan/Kivy' 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 python.host setup.py build_ext -v
           working: error: command '/Users/jan/Kivy' failed with exit status 1                                                                 Exception in thread background thread for pid 56015:
Traceback (most recent call last):
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/threading.py", line 810, in __bootstrap_inner
    self.run()
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/threading.py", line 763, in run
    self.__target(*self.__args, **self.__kwargs)
  File "/Users/jan/Library/Python/2.7/lib/python/site-packages/sh.py", line 1540, in wrap
    fn(*args, **kwargs)
  File "/Users/jan/Library/Python/2.7/lib/python/site-packages/sh.py", line 2459, in background_thread
    handle_exit_code(exit_code)
  File "/Users/jan/Library/Python/2.7/lib/python/site-packages/sh.py", line 2157, in fn
    return self.command.handle_command_exit_code(exit_code)
  File "/Users/jan/Library/Python/2.7/lib/python/site-packages/sh.py", line 815, in handle_command_exit_code
    raise exc
ErrorReturnCode_1:

  RAN: /Users/jan/Kivy/build/python-installs/myapp/bin/python.host setup.py build_ext -v

  STDOUT:
/Users/jan/Kivy/build/python-installs/myapp/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'install_requires'
  warnings.warn(msg)
running build_ext
building 'jnius' extension
arm-linux-androideabi-gcc -DANDROID -mandroid -fomit-frame-pointer --sysroot /Users/jan/.buildozer/android/platform/android-ndk-r9c/platforms/android-19/arch-arm -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -DANDROID -mandroid -fomit-frame-pointer --sysroot /Users/jan/.buildozer/android/platform/android-ndk-r9c/platforms/android-19/arch-arm -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -mthumb -I/Users/jan/Kivy/build/python-installs/myapp/include/python2.7 -c jnius/jnius.c -o build/temp.macosx-10.12-x86_64-2.7/jnius/jnius.o
jnius/jnius.c: In function '__pyx_f_5jnius_5jnius_check_assignable_from':
jnius/jnius.c:5073:7: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
       __pyx_t_4 = __Pyx_PyBool_FromLong((!(!__pyx_t_2))); if (unlikely(!__pyx_t_4)) __PYX_ERR(2, 195, __pyx_L1_error)
       ^
jnius/jnius.c:5073:7: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
jnius/jnius.c:5100:7: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
       __pyx_t_4 = __Pyx_PyBool_FromLong((!(!__pyx_t_2))); if (unlikely(!__pyx_t_4)) __PYX_ERR(2, 197, __pyx_L1_error)
       ^
jnius/jnius.c:5100:7: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
jnius/jnius.c:5161:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
     __pyx_t_4 = __Pyx_PyBool_FromLong((!(!__pyx_t_2))); if (unlikely(!__pyx_t_4)) __PYX_ERR(2, 204, __pyx_L1_error)
     ^
jnius/jnius.c:5161:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
jnius/jnius.c: In function '__pyx_f_5jnius_5jnius_jstringy_arg':
jnius/jnius.c:7086:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
   __pyx_t_1 = __Pyx_PyBool_FromLong(__pyx_t_2); if (unlikely(!__pyx_t_1)) __PYX_ERR(3, 4, __pyx_L1_error)
   ^
jnius/jnius.c:7086:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
jnius/jnius.c: In function '__pyx_f_5jnius_5jnius_convert_jarray_to_python':
jnius/jnius.c:10111:9: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
         __Pyx_INCREF(Py_True);
         ^
jnius/jnius.c:10114:9: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
         __Pyx_INCREF(Py_False);
         ^
jnius/jnius.c: In function '__pyx_pf_5jnius_5jnius_9ByteArray_12__richcmp__':
jnius/jnius.c:15932:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
     __Pyx_INCREF(Py_False);
     ^
jnius/jnius.c: In function '__pyx_f_5jnius_5jnius_9JavaField_read_field':
jnius/jnius.c:22733:7: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
       __Pyx_INCREF(Py_True);
       ^
jnius/jnius.c:22736:7: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
       __Pyx_INCREF(Py_False);
       ^
jnius/jnius.c: In function '__pyx_f_5jnius_5jnius_9JavaField_read_static_field':
jnius/jnius.c:23373:7: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
       __Pyx_INCREF(Py_True);
       ^
jnius/jnius.c:23376:7: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
       __Pyx_INCREF(Py_False);
       ^
jnius/jnius.c: In function '__pyx_f_5jnius_5jnius_10JavaMethod_call_method':
jnius/jnius.c:25599:7: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
       __Pyx_INCREF(Py_True);
       ^
jnius/jnius.c:25602:7: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
       __Pyx_INCREF(Py_False);
       ^
jnius/jnius.c: In function '__pyx_f_5jnius_5jnius_10JavaMethod_call_staticmethod':
jnius/jnius.c:26619:7: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
       __Pyx_INCREF(Py_True);
       ^
jnius/jnius.c:26622:7: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
       __Pyx_INCREF(Py_False);
       ^
jnius/jnius.c: In function '__pyx_pf_5jnius_5jnius_18JavaMultipleMethod_6__call__':
jnius/jnius.c:28588:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
     __pyx_t_1 = __Pyx_PyBool_FromLong(__pyx_v_jm->is_varargs); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 893, __pyx_L1_error)
     ^
jnius/jnius.c:28588:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
jnius/jnius.c: In function '__pyx_f_5jnius_5jnius_py_invoke0':
jnius/jnius.c:31193:29: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
   __pyx_t_2 = ((PyObject *)((void *)__pyx_v_jptr));
                             ^
jnius/jnius.c: In function '__pyx_array_get_memview':
jnius/jnius.c:34177:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
   __pyx_t_2 = __Pyx_PyBool_FromLong(__pyx_v_self->dtype_is_object); if (unlikely(!__pyx_t_2)) __PYX_ERR(7, 226, __pyx_L1_error)
   ^
jnius/jnius.c:34177:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
jnius/jnius.c: In function '__pyx_memoryview_is_slice':
jnius/jnius.c:35950:9: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
         __pyx_t_7 = __Pyx_PyBool_FromLong(__pyx_v_self->dtype_is_object); if (unlikely(!__pyx_t_7)) __PYX_ERR(7, 424, __pyx_L4_error)
         ^
jnius/jnius.c:35950:9: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
jnius/jnius.c: In function '__pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_16is_c_contig':
jnius/jnius.c:38390:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
   __pyx_t_1 = __Pyx_PyBool_FromLong(__pyx_memviewslice_is_contig((__pyx_v_mslice[0]), 'C', __pyx_v_self->view.ndim)); if (unlikely(!__pyx_t_1)) __PYX_ERR(7, 609, __pyx_L1_error)
   ^
jnius/jnius.c:38390:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
jnius/jnius.c: In function '__pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_18is_f_contig':
jnius/jnius.c:38461:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
   __pyx_t_1 = __Pyx_PyBool_FromLong(__pyx_memviewslice_is_contig((__pyx_v_mslice[0]), 'F', __pyx_v_self->view.ndim)); if (unlikely(!__pyx_t_1)) __PYX_ERR(7, 615, __pyx_L1_error)
   ^
jnius/jnius.c:38461:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
jnius/jnius.c: In function '__pyx_memoryview_new':
jnius/jnius.c:38695:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
   __pyx_t_2 = __Pyx_PyBool_FromLong(__pyx_v_dtype_is_object); if (unlikely(!__pyx_t_2)) __PYX_ERR(7, 644, __pyx_L1_error)
   ^
jnius/jnius.c:38695:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
jnius/jnius.c: In function '_unellipsify':
jnius/jnius.c:39204:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
     __pyx_t_4 = __Pyx_PyBool_FromLong(__pyx_v_have_slices); if (unlikely(!__pyx_t_4)) __PYX_ERR(7, 684, __pyx_L1_error)
     ^
jnius/jnius.c:39204:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
jnius/jnius.c: In function '__pyx_memoryview_fromslice':
jnius/jnius.c:41506:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
   __pyx_t_2 = __Pyx_PyBool_FromLong(__pyx_v_dtype_is_object); if (unlikely(!__pyx_t_2)) __PYX_ERR(7, 999, __pyx_L1_error)
   ^
jnius/jnius.c:41506:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
jnius/jnius.c: In function 'initjnius':
jnius/jnius.c:48570:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
   __Pyx_INCREF(((PyObject *)(&PyType_Type)));
   ^
jnius/jnius.c: In function '__Pyx_RaiseTooManyValuesError':
jnius/jnius.c:49566:18: warning: format '%zd' expects argument of type 'signed size_t', but argument 3 has type 'Py_ssize_t' [-Wformat=]
                  "too many values to unpack (expected %" CYTHON_FORMAT_SSIZE_T "d)", expected);
                  ^
jnius/jnius.c: In function '__Pyx_RaiseNeedMoreValuesError':
jnius/jnius.c:49573:18: warning: format '%zd' expects argument of type 'signed size_t', but argument 3 has type 'Py_ssize_t' [-Wformat=]
                  index, (index == 1) ? "" : "s");
                  ^
jnius/jnius.c: In function '__Pyx_PyUnicode_AsPy_UCS4':
jnius/jnius.c:50070:17: warning: format '%zd' expects argument of type 'signed size_t', but argument 3 has type 'Py_ssize_t' [-Wformat=]
                 "got length %" CYTHON_FORMAT_SSIZE_T "d", length);
                 ^
jnius/jnius.c: In function '__Pyx__PyObject_Ord':
jnius/jnius.c:50099:9: warning: format '%zd' expects argument of type 'signed size_t', but argument 3 has type 'Py_ssize_t' [-Wformat=]
         "ord() expected a character, but string of length %zd found", size);
         ^
jnius/jnius.c: In function '__Pyx_RaiseArgtupleInvalid':
jnius/jnius.c:50542:18: warning: format '%zd' expects argument of type 'signed size_t', but argument 5 has type 'Py_ssize_t' [-Wformat=]
                  (num_expected == 1) ? "" : "s", num_found);
                  ^
jnius/jnius.c:50542:18: warning: format '%zd' expects argument of type 'signed size_t', but argument 7 has type 'Py_ssize_t' [-Wformat=]
jnius/jnius.c: In function '__Pyx_BufFmt_ProcessTypeChunk':
jnius/jnius.c:50873:20: warning: format '%zd' expects argument of type 'signed size_t', but argument 3 has type 'long int' [-Wformat=]
                    (Py_ssize_t)ctx->fmt_offset, (Py_ssize_t)offset);
                    ^
jnius/jnius.c:50873:20: warning: format '%zd' expects argument of type 'signed size_t', but argument 4 has type 'long int' [-Wformat=]
jnius/jnius.c: In function '__Pyx_GetBufferAndValidate':
jnius/jnius.c:51120:7: warning: format '%zd' expects argument of type 'signed size_t', but argument 3 has type 'Py_ssize_t' [-Wformat=]
       dtype->name, (Py_ssize_t)dtype->size, (dtype->size > 1) ? "s" : "");
       ^
jnius/jnius.c:51120:7: warning: format '%zd' expects argument of type 'signed size_t', but argument 6 has type 'long int' [-Wformat=]
jnius/jnius.c: In function '__Pyx_PyInt_EqObjC':
jnius/jnius.c:51396:9: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
         Py_RETURN_TRUE;
         ^
jnius/jnius.c:51403:13: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
             Py_RETURN_TRUE;
             ^
jnius/jnius.c:51405:13: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
             Py_RETURN_FALSE;
             ^
jnius/jnius.c:51453:17: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
                 default: Py_RETURN_FALSE;
                 ^
jnius/jnius.c:51458:17: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
                 Py_RETURN_TRUE;
                 ^
jnius/jnius.c:51460:17: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
                 Py_RETURN_FALSE;
                 ^
jnius/jnius.c:51468:17: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
                 Py_RETURN_TRUE;
                 ^
jnius/jnius.c:51470:17: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
                 Py_RETURN_FALSE;
                 ^
jnius/jnius.c: In function '__Pyx_CyFunction_CallMethod':
jnius/jnius.c:52309:17: warning: format '%zd' expects argument of type 'signed size_t', but argument 4 has type 'Py_ssize_t' [-Wformat=]
                 f->m_ml->ml_name, size);
                 ^
jnius/jnius.c:52325:17: warning: format '%zd' expects argument of type 'signed size_t', but argument 4 has type 'Py_ssize_t' [-Wformat=]
                 f->m_ml->ml_name, size);
                 ^
jnius/jnius.c: In function '__Pyx_ValidateAndInit_memviewslice':
jnius/jnius.c:55570:22: warning: format '%zu' expects argument of type 'size_t', but argument 3 has type 'Py_ssize_t' [-Wformat=]
                      (dtype->size > 1) ? "s" : "");
                      ^
jnius/jnius.c: In function '__pyx_f_5jnius_5jnius_convert_python_to_jobject':
jnius/jnius.c:12369:21: warning: '__pyx_v_retmidinit' may be used uninitialized in this function [-Wmaybe-uninitialized]
   __pyx_v_retobject = (__pyx_v_j_env[0])->NewObjectA(__pyx_v_j_env, __pyx_v_retclass, __pyx_v_retmidinit, __pyx_v_j_ret);
                     ^
jnius/jnius.c:12369:21: warning: '__pyx_v_retclass' may be used uninitialized in this function [-Wmaybe-uninitialized]
/Users/jan/Kivy Projects/pong/.buildozer/android/platform/python-for-android-master/pythonforandroid/tools/liblink.sh -lm -L/Users/jan/Kivy/build/libs_collections/myapp/armeabi-v7a -L/Users/jan/Kivy/build/libs_collections/myapp/armeabi-v7a -L/Users/jan/Kivy/build/libs_collections/myapp -L/Users/jan/Kivy/build/bootstrap_builds/sdl2-python2/obj/local/armeabi-v7a -DANDROID -mandroid -fomit-frame-pointer --sysroot /Users/jan/.buildozer/android/platform/android-ndk-r9c/platforms/android-19/arch-arm -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -mthumb build/temp.macosx-10.12-x86_64-2.7/jnius/jnius.o -Llibs/armeabi-v7a -L/Users/jan/Kivy/build/other_builds/python2/armeabi-v7a/python2/python-install/lib -lSDL2 -llog -lpython2.7 -o build/lib.macosx-10.12-x86_64-2.7/jnius/jnius.so
unable to execute /Users/jan/Kivy: Permission denied
error: command '/Users/jan/Kivy' failed with exit status 1


  STDERR:


[INFO]:    STDOUT (last 20 lines of 185):
	                 ^
jnius/jnius.c: In function '__Pyx_CyFunction_CallMethod':
jnius/jnius.c:52309:17: warning: format '%zd' expects argument of type 'signed size_t', but argument 4 has type 'Py_ssize_t' [-Wformat=]
                 f->m_ml->ml_name, size);
                 ^
jnius/jnius.c:52325:17: warning: format '%zd' expects argument of type 'signed size_t', but argument 4 has type 'Py_ssize_t' [-Wformat=]
                 f->m_ml->ml_name, size);
                 ^
jnius/jnius.c: In function '__Pyx_ValidateAndInit_memviewslice':
jnius/jnius.c:55570:22: warning: format '%zu' expects argument of type 'size_t', but argument 3 has type 'Py_ssize_t' [-Wformat=]
                      (dtype->size > 1) ? "s" : "");
                      ^
jnius/jnius.c: In function '__pyx_f_5jnius_5jnius_convert_python_to_jobject':
jnius/jnius.c:12369:21: warning: '__pyx_v_retmidinit' may be used uninitialized in this function [-Wmaybe-uninitialized]
   __pyx_v_retobject = (__pyx_v_j_env[0])->NewObjectA(__pyx_v_j_env, __pyx_v_retclass, __pyx_v_retmidinit, __pyx_v_j_ret);
                     ^
jnius/jnius.c:12369:21: warning: '__pyx_v_retclass' may be used uninitialized in this function [-Wmaybe-uninitialized]
/Users/jan/Kivy Projects/pong/.buildozer/android/platform/python-for-android-master/pythonforandroid/tools/liblink.sh -lm -L/Users/jan/Kivy/build/libs_collections/myapp/armeabi-v7a -L/Users/jan/Kivy/build/libs_collections/myapp/armeabi-v7a -L/Users/jan/Kivy/build/libs_collections/myapp -L/Users/jan/Kivy/build/bootstrap_builds/sdl2-python2/obj/local/armeabi-v7a -DANDROID -mandroid -fomit-frame-pointer --sysroot /Users/jan/.buildozer/android/platform/android-ndk-r9c/platforms/android-19/arch-arm -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -mthumb build/temp.macosx-10.12-x86_64-2.7/jnius/jnius.o -Llibs/armeabi-v7a -L/Users/jan/Kivy/build/other_builds/python2/armeabi-v7a/python2/python-install/lib -lSDL2 -llog -lpython2.7 -o build/lib.macosx-10.12-x86_64-2.7/jnius/jnius.so
unable to execute /Users/jan/Kivy: Permission denied
error: command '/Users/jan/Kivy' failed with exit status 1
[INFO]:    STDERR:

[INFO]:    COMMAND:
cd /Users/jan/Kivy/build/other_builds/pyjnius-python2-sdl2/armeabi-v7a/pyjnius && /Users/jan/Kivy/build/python-installs/myapp/bin/python.host setup.py build_ext -v

[WARNING]: ERROR: /Users/jan/Kivy/build/python-installs/myapp/bin/python.host failed!
# Command failed: /System/Library/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python -m pythonforandroid.toolchain create --dist_name=myapp --bootstrap=sdl2 --requirements=kivy,hostpython2 --arch armeabi-v7a --copy-libs --color=always --storage-dir=/Users/jan/Kivy Projects/pong/.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
@jantrachte jantrachte changed the title Buildozer Android on Mac OS X: unknown error Kivy: Permission denied (when running buildozer android on Mac OS X) Jun 24, 2017
@inclement
Copy link
Member

Closing as stale, as far as I know this is working now.

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