{"action":"created","issue":{"url":"https://api.github.com/repos/spesmilo/electrum/issues/3740","repository_url":"https://api.github.com/repos/spesmilo/electrum","labels_url":"https://api.github.com/repos/spesmilo/electrum/issues/3740/labels{/name}","comments_url":"https://api.github.com/repos/spesmilo/electrum/issues/3740/comments","events_url":"https://api.github.com/repos/spesmilo/electrum/issues/3740/events","html_url":"https://github.com/spesmilo/electrum/issues/3740","id":289596705,"number":3740,"title":"The python3crystax recipe can only be built when using the CrystaX NDK. Exiting.","user":{"login":"LorDo","id":1587284,"avatar_url":"https://avatars2.githubusercontent.com/u/1587284?v=4","gravatar_id":"","url":"https://api.github.com/users/LorDo","html_url":"https://github.com/LorDo","followers_url":"https://api.github.com/users/LorDo/followers","following_url":"https://api.github.com/users/LorDo/following{/other_user}","gists_url":"https://api.github.com/users/LorDo/gists{/gist_id}","starred_url":"https://api.github.com/users/LorDo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LorDo/subscriptions","organizations_url":"https://api.github.com/users/LorDo/orgs","repos_url":"https://api.github.com/users/LorDo/repos","events_url":"https://api.github.com/users/LorDo/events{/privacy}","received_events_url":"https://api.github.com/users/LorDo/received_events","type":"User","site_admin":false},"labels":[{"id":806687566,"url":"https://api.github.com/repos/spesmilo/electrum/labels/android","name":"android","color":"0052cc","default":false},{"id":10740362,"url":"https://api.github.com/repos/spesmilo/electrum/labels/question","name":"question","color":"cc317c","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":12,"created_at":"2018-01-18T11:32:50Z","updated_at":"2018-02-04T02:55:48Z","closed_at":null,"author_association":"NONE","body":"python3crystax says that it works only with a CrystaX NDK but it already loaded the CrystaX NDK!\r\n\r\n```\r\nubuntu@LINUX-UNUNTU:~/Desktop/electrum_test-master/dist$ ./contrib/make_apk\r\n~/Desktop/electrum_test-master/dist/lib ~/Desktop/electrum_test-master/dist\r\n~/Desktop/electrum_test-master/dist\r\n3.0.5.0\r\n~/Desktop/electrum_test-master/dist/gui/kivy ~/Desktop/electrum_test-master/dist\r\nmake[1]: Entering directory '/home/ubuntu/Desktop/electrum_test-master/dist/gui/kivy'\r\n#running pre build setup\r\n#copy electrum to main.py\r\nmake[1]: Leaving directory '/home/ubuntu/Desktop/electrum_test-master/dist/gui/kivy'\r\n#Check configuration tokens\r\n#Ensure build layout\r\n#Create directory /home/ubuntu/Desktop/electrum_test-master/dist/bin\r\n#Check configuration tokens\r\n#Preparing build\r\n#Check requirements for android\r\n#Run 'dpkg --version'\r\n#Cwd None\r\nb\"Debian 'dpkg' package management program version 1.18.24 (amd64).\\n\"b'This is free software; see the GNU General Public License version 2 or\\nlater for copying conditions. There is NO warranty.\\n'# Search for Git (git)\r\n#-> found at /usr/bin/git\r\n#Search for Cython (cython)\r\n#-> found at /usr/local/bin/cython\r\n#Search for Java compiler (javac)\r\n#-> found at /usr/lib/jvm/java-8-openjdk-amd64/bin/javac\r\n#Search for Java keytool (keytool)\r\n#-> found at /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/keytool\r\n#Install platform\r\n#Run 'pip install -q --user \"appdirs\" \"colorama>=0.3.3\" \"sh>=1.10,<1.12.5\" \"jinja2\" \"six\"'\r\n#Cwd None\r\n#Apache ANT found at /home/ubuntu/.buildozer/android/platform/apache-ant-1.9.4\r\n#Android SDK found at /home/ubuntu/.buildozer/android/platform/android-sdk-20\r\n# Android NDK found at /opt/crystax-ndk-10.3.2\r\n#Check application requirements\r\n#Check garden requirements\r\n#Compile platform\r\n#Run '/usr/bin/python3 -m pythonforandroid.toolchain create --dist_name=Electrum --bootstrap=sdl2 --requirements=python3crystax,android,openssl,plyer,kivy==master --arch armeabi-v7a --copy-libs --color=always --storage-dir=/home/ubuntu/Desktop/electrum_test-master/dist/.buildozer/android/platform/build'\r\n#Cwd /opt/python-for-android\r\n[INFO]:    Recipe kivy: version \"master\" requested\r\n[INFO]:    Will compile for the following archs: armeabi-v7a\r\n[INFO]:    Found Android API target in $ANDROIDAPI\r\n[INFO]:    Available Android APIs are (15, 19, 24)\r\n[INFO]:    Requested API target 19 is available, continuing.\r\n[INFO]:    Found NDK dir in $ANDROIDNDK\r\n[INFO]:    Got NDK version from $ANDROIDNDKVER\r\n[INFO]:    Using Google NDK r9c\r\n[INFO]:    Found virtualenv at /usr/local/bin/virtualenv\r\n[INFO]:    Found the following toolchain versions: ['4.6', '4.8', 'clang3.3']\r\n[INFO]:    Picking the latest gcc toolchain, here 4.8\r\n[INFO]:    No existing dists meet the given requirements!\r\n[INFO]:    No dist exists that meets your requirements, so one will be built.\r\n[INFO]:    Found a single valid recipe set: ['hostpython3crystax', 'openssl', 'plyer', 'sdl2_image', 'sdl2_mixer', 'sdl2_ttf', 'python3crystax', 'sdl2', 'six', 'android', 'pyjnius', 'kivy']\r\n[INFO]:    The selected bootstrap is sdl2_gradle\r\n[INFO]:    # Creating dist with sdl2_gradle bootstrap\r\n[INFO]:    Dist will have name Electrum and recipes (python3crystax, android, openssl, plyer, kivy)\r\n[INFO]:    Dist will also contain modules (plyer) installed from pip\r\n[INFO]:    -> running cp -r /opt/python-for-android/pythonforandroid/bootstraps/sdl2/build /home/ubuntu/Desktop/elect...(and 104 more)\r\n[INFO]:    -> directory context /home/ubuntu/Desktop/electrum_test-master/dist/.buildozer/android/platform/build/build/bootstrap_builds/sdl2_gradle-python3crystax\r\n[INFO]:    <- directory context /opt/python-for-android\r\n[INFO]:    Recipe build order is ['hostpython3crystax', 'openssl', 'sdl2_image', 'sdl2_mixer', 'sdl2_ttf', 'python3crystax', 'sdl2', 'six', 'android', 'pyjnius', 'kivy']\r\n[INFO]:    The requirements (plyer) were not found as recipes, they will be installed with pip.\r\n[INFO]:    # Downloading recipes \r\n[INFO]:    Downloading hostpython3crystax\r\n[INFO]:    Skipping hostpython3crystax download as no URL is set\r\n[INFO]:    Downloading openssl\r\n[INFO]:    -> running mkdir -p /home/ubuntu/Desktop/electrum_test-master/dist/.buildozer/android/platform/build/packages/openssl\r\n[INFO]:    -> directory context /home/ubuntu/Desktop/electrum_test-master/dist/.buildozer/android/platform/build/packages/openssl\r\n[INFO]:    -> running basename https://www.openssl.org/source/openssl-1.0.2h.tar.gz\r\n[INFO]:    openssl download already cached, skipping\r\n[INFO]:    <- directory context /opt/python-for-android\r\n[INFO]:    Downloading sdl2_image\r\n[INFO]:    -> running mkdir -p /home/ubuntu/Desktop/electrum_test-master/dist/.buildozer/android/platform/build/packages/sdl2_image\r\n[INFO]:    -> directory context /home/ubuntu/Desktop/electrum_test-master/dist/.buildozer/android/platform/build/packages/sdl2_image\r\n[INFO]:    -> running basename https://www.libsdl.org/projects/SDL_image/release/SDL2_image-2.0.1.tar.gz\r\n[INFO]:    sdl2_image download already cached, skipping\r\n[INFO]:    <- directory context /opt/python-for-android\r\n[INFO]:    Downloading sdl2_mixer\r\n[INFO]:    -> running mkdir -p /home/ubuntu/Desktop/electrum_test-master/dist/.buildozer/android/platform/build/packages/sdl2_mixer\r\n[INFO]:    -> directory context /home/ubuntu/Desktop/electrum_test-master/dist/.buildozer/android/platform/build/packages/sdl2_mixer\r\n[INFO]:    -> running basename https://www.libsdl.org/projects/SDL_mixer/release/SDL2_mixer-2.0.1.tar.gz\r\n[INFO]:    sdl2_mixer download already cached, skipping\r\n[INFO]:    <- directory context /opt/python-for-android\r\n[INFO]:    Downloading sdl2_ttf\r\n[INFO]:    -> running mkdir -p /home/ubuntu/Desktop/electrum_test-master/dist/.buildozer/android/platform/build/packages/sdl2_ttf\r\n[INFO]:    -> directory context /home/ubuntu/Desktop/electrum_test-master/dist/.buildozer/android/platform/build/packages/sdl2_ttf\r\n[INFO]:    -> running basename https://www.libsdl.org/projects/SDL_ttf/release/SDL2_ttf-2.0.14.tar.gz\r\n[INFO]:    sdl2_ttf download already cached, skipping\r\n[INFO]:    <- directory context /opt/python-for-android\r\n[INFO]:    Downloading python3crystax\r\n[INFO]:    -> running mkdir -p /home/ubuntu/Desktop/electrum_test-master/dist/.buildozer/android/platform/build/packages/python3crystax\r\n[INFO]:    -> directory context /home/ubuntu/Desktop/electrum_test-master/dist/.buildozer/android/platform/build/packages/python3crystax\r\n[INFO]:    -> running basename https://www.python.org/ftp/python/3.5.1/Python-3.5.1.tgz\r\n[INFO]:    python3crystax download already cached, skipping\r\n[INFO]:    <- directory context /opt/python-for-android\r\n[INFO]:    Downloading sdl2\r\n[INFO]:    -> running mkdir -p /home/ubuntu/Desktop/electrum_test-master/dist/.buildozer/android/platform/build/packages/sdl2\r\n[INFO]:    -> directory context /home/ubuntu/Desktop/electrum_test-master/dist/.buildozer/android/platform/build/packages/sdl2\r\n[INFO]:    -> running basename https://www.libsdl.org/release/SDL2-2.0.4.tar.gz\r\n[INFO]:    sdl2 download already cached, skipping\r\n[INFO]:    <- directory context /opt/python-for-android\r\n[INFO]:    Downloading six\r\n[INFO]:    -> running mkdir -p /home/ubuntu/Desktop/electrum_test-master/dist/.buildozer/android/platform/build/packages/six\r\n[INFO]:    -> directory context /home/ubuntu/Desktop/electrum_test-master/dist/.buildozer/android/platform/build/packages/six\r\n[INFO]:    -> running basename https://pypi.python.org/packages/source/s/six/six-1.9.0.tar.gz\r\n[INFO]:    six download already cached, skipping\r\n[INFO]:    <- directory context /opt/python-for-android\r\n[INFO]:    Downloading android\r\n[INFO]:    Skipping android download as no URL is set\r\n[INFO]:    Downloading pyjnius\r\n[INFO]:    -> running mkdir -p /home/ubuntu/Desktop/electrum_test-master/dist/.buildozer/android/platform/build/packages/pyjnius\r\n[INFO]:    -> directory context /home/ubuntu/Desktop/electrum_test-master/dist/.buildozer/android/platform/build/packages/pyjnius\r\n[INFO]:    -> running basename https://github.com/kivy/pyjnius/archive/master.zip\r\n[INFO]:    pyjnius download already cached, skipping\r\n[INFO]:    <- directory context /opt/python-for-android\r\n[INFO]:    Downloading kivy\r\n[INFO]:    -> running mkdir -p /home/ubuntu/Desktop/electrum_test-master/dist/.buildozer/android/platform/build/packages/kivy\r\n[INFO]:    -> directory context /home/ubuntu/Desktop/electrum_test-master/dist/.buildozer/android/platform/build/packages/kivy\r\n[INFO]:    -> running basename https://github.com/kivy/kivy/archive/master.zip\r\n[INFO]:    kivy download already cached, skipping\r\n[INFO]:    <- directory context /opt/python-for-android\r\n[INFO]:    # Building all recipes for arch armeabi-v7a\r\n[INFO]:    # Unpacking recipes\r\n[INFO]:    Unpacking hostpython3crystax for armeabi-v7a\r\n[INFO]:    Skipping hostpython3crystax unpack as no URL is set\r\n[INFO]:    Unpacking openssl for armeabi-v7a\r\n[INFO]:    -> running basename https://www.openssl.org/source/openssl-1.0.2h.tar.gz\r\n[INFO]:    -> directory context /home/ubuntu/Desktop/electrum_test-master/dist/.buildozer/android/platform/build/build/other_builds/openssl/armeabi-v7a\r\n[INFO]:    openssl is already unpacked, skipping\r\n[INFO]:    <- directory context /opt/python-for-android\r\n[INFO]:    Unpacking sdl2_image for armeabi-v7a\r\n[INFO]:    -> running basename https://www.libsdl.org/projects/SDL_image/release/SDL2_image-2.0.1.tar.gz\r\n[INFO]:    -> directory context /home/ubuntu/Desktop/electrum_test-master/dist/.buildozer/android/platform/build/build/bootstrap_builds/sdl2_gradle-python3crystax/jni\r\n[INFO]:    sdl2_image is already unpacked, skipping\r\n[INFO]:    <- directory context /opt/python-for-android\r\n[INFO]:    Unpacking sdl2_mixer for armeabi-v7a\r\n[INFO]:    -> running basename https://www.libsdl.org/projects/SDL_mixer/release/SDL2_mixer-2.0.1.tar.gz\r\n[INFO]:    -> directory context /home/ubuntu/Desktop/electrum_test-master/dist/.buildozer/android/platform/build/build/bootstrap_builds/sdl2_gradle-python3crystax/jni\r\n[INFO]:    sdl2_mixer is already unpacked, skipping\r\n[INFO]:    <- directory context /opt/python-for-android\r\n[INFO]:    Unpacking sdl2_ttf for armeabi-v7a\r\n[INFO]:    -> running basename https://www.libsdl.org/projects/SDL_ttf/release/SDL2_ttf-2.0.14.tar.gz\r\n[INFO]:    -> directory context /home/ubuntu/Desktop/electrum_test-master/dist/.buildozer/android/platform/build/build/bootstrap_builds/sdl2_gradle-python3crystax/jni\r\n[INFO]:    sdl2_ttf is already unpacked, skipping\r\n[INFO]:    <- directory context /opt/python-for-android\r\n[INFO]:    Unpacking python3crystax for armeabi-v7a\r\n[INFO]:    -> running basename https://www.python.org/ftp/python/3.5.1/Python-3.5.1.tgz\r\n[INFO]:    -> directory context /home/ubuntu/Desktop/electrum_test-master/dist/.buildozer/android/platform/build/build/other_builds/python3crystax-version3.5/armeabi-v7a\r\n[INFO]:    python3crystax is already unpacked, skipping\r\n[INFO]:    <- directory context /opt/python-for-android\r\n[INFO]:    Unpacking sdl2 for armeabi-v7a\r\n[INFO]:    -> running basename https://www.libsdl.org/release/SDL2-2.0.4.tar.gz\r\n[INFO]:    -> directory context /home/ubuntu/Desktop/electrum_test-master/dist/.buildozer/android/platform/build/build/bootstrap_builds/sdl2_gradle-python3crystax/jni\r\n[INFO]:    sdl2 is already unpacked, skipping\r\n[INFO]:    <- directory context /opt/python-for-android\r\n[INFO]:    Unpacking six for armeabi-v7a\r\n[INFO]:    -> running basename https://pypi.python.org/packages/source/s/six/six-1.9.0.tar.gz\r\n[INFO]:    -> directory context /home/ubuntu/Desktop/electrum_test-master/dist/.buildozer/android/platform/build/build/other_builds/six-python3crystax/armeabi-v7a\r\n[INFO]:    six is already unpacked, skipping\r\n[INFO]:    <- directory context /opt/python-for-android\r\n[INFO]:    -> running rm -rf /home/ubuntu/Desktop/electrum_test-master/dist/.buildozer/android/platform/build/build/o...(and 59 more)\r\n[INFO]:    -> running cp -a /opt/python-for-android/pythonforandroid/recipes/android/src /home/ubuntu/Desktop/electru...(and 119 more)\r\n[INFO]:    Unpacking pyjnius for armeabi-v7a\r\n[INFO]:    -> running basename https://github.com/kivy/pyjnius/archive/master.zip\r\n[INFO]:    -> directory context /home/ubuntu/Desktop/electrum_test-master/dist/.buildozer/android/platform/build/build/other_builds/pyjnius-python3crystax-sdl2/armeabi-v7a\r\n[INFO]:    pyjnius is already unpacked, skipping\r\n[INFO]:    <- directory context /opt/python-for-android\r\n[INFO]:    Unpacking kivy for armeabi-v7a\r\n[INFO]:    -> running basename https://github.com/kivy/kivy/archive/master.zip\r\n[INFO]:    -> directory context /home/ubuntu/Desktop/electrum_test-master/dist/.buildozer/android/platform/build/build/other_builds/kivy-python3crystax-sdl2/armeabi-v7a\r\n[INFO]:    kivy is already unpacked, skipping\r\n[INFO]:    <- directory context /opt/python-for-android\r\n[INFO]:    # Prebuilding recipes\r\n[INFO]:    Prebuilding hostpython3crystax for armeabi-v7a\r\n[INFO]:    hostpython3crystax has no prebuild_armeabi_v7a, skipping\r\n[INFO]:    Prebuilding openssl for armeabi-v7a\r\n[INFO]:    openssl has no prebuild_armeabi_v7a, skipping\r\n[INFO]:    Prebuilding sdl2_image for armeabi-v7a\r\n[INFO]:    sdl2_image has no prebuild_armeabi_v7a, skipping\r\n[INFO]:    Applying patches for sdl2_image[armeabi-v7a]\r\n[INFO]:    sdl2_image already patched, skipping\r\n[INFO]:    Prebuilding sdl2_mixer for armeabi-v7a\r\n[INFO]:    sdl2_mixer has no prebuild_armeabi_v7a, skipping\r\n[INFO]:    Applying patches for sdl2_mixer[armeabi-v7a]\r\n[INFO]:    sdl2_mixer already patched, skipping\r\n[INFO]:    Prebuilding sdl2_ttf for armeabi-v7a\r\n[INFO]:    sdl2_ttf has no prebuild_armeabi_v7a, skipping\r\n[INFO]:    Prebuilding python3crystax for armeabi-v7a\r\n[INFO]:    python3crystax has no prebuild_armeabi_v7a, skipping\r\n# [ERROR]:   The python3crystax recipe can only be built when using the CrystaX NDK. Exiting.\r\n#Command failed: /usr/bin/python3 -m pythonforandroid.toolchain create --dist_name=Electrum --bootstrap=sdl2 --requirements=python3crystax,android,openssl,plyer,kivy==master --arch armeabi-v7a --copy-libs --color=always --storage-dir=/home/ubuntu/Desktop/electrum_test-master/dist/.buildozer/android/platform/build\r\n#\r\n#Buildozer failed to execute the last command\r\n#The error might be hidden in the log above this error\r\n#Please read the full log, and search for it before\r\n#raising an issue with buildozer itself.\r\n#In case of a bug report, please add a full log with log_level = 2\r\nmake[1]: Entering directory '/home/ubuntu/Desktop/electrum_test-master/dist/gui/kivy'\r\n#Cleaning up\r\n#rename main.py to electrum\r\n#remove buildozer.spec\r\nmake[1]: Leaving directory '/home/ubuntu/Desktop/electrum_test-master/dist/gui/kivy'\r\n~/Desktop/electrum_test-master/dist\r\n```"},"comment":{"url":"https://api.github.com/repos/spesmilo/electrum/issues/comments/362876164","html_url":"https://github.com/spesmilo/electrum/issues/3740#issuecomment-362876164","issue_url":"https://api.github.com/repos/spesmilo/electrum/issues/3740","id":362876164,"user":{"login":"Neustart","id":10336022,"avatar_url":"https://avatars1.githubusercontent.com/u/10336022?v=4","gravatar_id":"","url":"https://api.github.com/users/Neustart","html_url":"https://github.com/Neustart","followers_url":"https://api.github.com/users/Neustart/followers","following_url":"https://api.github.com/users/Neustart/following{/other_user}","gists_url":"https://api.github.com/users/Neustart/gists{/gist_id}","starred_url":"https://api.github.com/users/Neustart/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Neustart/subscriptions","organizations_url":"https://api.github.com/users/Neustart/orgs","repos_url":"https://api.github.com/users/Neustart/repos","events_url":"https://api.github.com/users/Neustart/events{/privacy}","received_events_url":"https://api.github.com/users/Neustart/received_events","type":"User","site_admin":false},"created_at":"2018-02-04T02:55:48Z","updated_at":"2018-02-04T02:55:48Z","author_association":"NONE","body":"@LorDo take a look here: I've described why source -7 issue happens and how to resolve it \r\nhttps://github.com/spesmilo/electrum/issues/3832"}}
{"actor":{"display_login":"Neustart"}}