{"action":"created","issue":{"url":"https://api.github.com/repos/kivy/buildozer/issues/406","repository_url":"https://api.github.com/repos/kivy/buildozer","labels_url":"https://api.github.com/repos/kivy/buildozer/issues/406/labels{/name}","comments_url":"https://api.github.com/repos/kivy/buildozer/issues/406/comments","events_url":"https://api.github.com/repos/kivy/buildozer/issues/406/events","html_url":"https://github.com/kivy/buildozer/issues/406","id":180724648,"number":406,"title":"Command '['ant', 'debug']' returned non-zero exit status 1 when building PIL library","user":{"login":"Scoppio","id":12498073,"avatar_url":"https://avatars.githubusercontent.com/u/12498073?v=3","gravatar_id":"","url":"https://api.github.com/users/Scoppio","html_url":"https://github.com/Scoppio","followers_url":"https://api.github.com/users/Scoppio/followers","following_url":"https://api.github.com/users/Scoppio/following{/other_user}","gists_url":"https://api.github.com/users/Scoppio/gists{/gist_id}","starred_url":"https://api.github.com/users/Scoppio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Scoppio/subscriptions","organizations_url":"https://api.github.com/users/Scoppio/orgs","repos_url":"https://api.github.com/users/Scoppio/repos","events_url":"https://api.github.com/users/Scoppio/events{/privacy}","received_events_url":"https://api.github.com/users/Scoppio/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-10-03T19:26:10Z","updated_at":"2016-10-19T04:11:22Z","closed_at":null,"body":"Debug overview of the failed build - failure started at **-dex:**\r\n\r\nThis is unfortunatelly keeping me from finishing a very important project, so any help is deeply appreciated :)\r\n\r\nThe build failure seens to be related to the compilation of one of Pillow's libraries. Specifically **liblcms2-488a716d.so.2.0.8**, which is shown imediatelly before the **subprocess.CalledProcessError: Command '['and', 'debug']' returned non-zero exit status 1**\r\n\r\n**environment** - virtual box \"kivy\" lubuntu present on download section of the kivy site. Buildozer up to date. cpu i3, 8GB RAM, SO running the oracle VB is Windows 7.\r\n\r\nBuildozer.specs follows in this topic\r\n\r\n```\r\n-dex:\r\n\r\n      [dex] input: /home/kivy/Projects/Palette-sampler/.buildozer/android/platform/python-for-android/dist/goghspalette/bin/classes\r\n      [dex] Converting compiled files and external libraries into /home/kivy/Projects/Palette-sampler/.buildozer/android/platform/python-for-android/dist/goghspalette/bin/classes.dex...\r\n       [dx] Exception in thread \"main\" java.lang.UnsupportedClassVersionError: com/android/dx/command/Main : Unsupported major.minor version 52.0\r\n       [dx] \tat java.lang.ClassLoader.defineClass1(Native Method)\r\n       [dx] \tat java.lang.ClassLoader.defineClass(ClassLoader.java:800)\r\n       [dx] \tat java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)\r\n       [dx] \tat java.net.URLClassLoader.defineClass(URLClassLoader.java:449)\r\n       [dx] \tat java.net.URLClassLoader.access$100(URLClassLoader.java:71)\r\n       [dx] \tat java.net.URLClassLoader$1.run(URLClassLoader.java:361)\r\n       [dx] \tat java.net.URLClassLoader$1.run(URLClassLoader.java:355)\r\n       [dx] \tat java.security.AccessController.doPrivileged(Native Method)\r\n       [dx] \tat java.net.URLClassLoader.findClass(URLClassLoader.java:354)\r\n       [dx] \tat java.lang.ClassLoader.loadClass(ClassLoader.java:425)\r\n       [dx] \tat sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)\r\n       [dx] \tat java.lang.ClassLoader.loadClass(ClassLoader.java:358)\r\n       [dx] \tat sun.launcher.LauncherHelper.checkAndLoadMain(LauncherHelper.java:482)\r\n\r\nBUILD FAILED\r\n/home/kivy/.buildozer/android/platform/android-sdk-21/tools/ant/build.xml:888: The following error occurred while executing this line:\r\n/home/kivy/.buildozer/android/platform/android-sdk-21/tools/ant/build.xml:890: The following error occurred while executing this line:\r\n/home/kivy/.buildozer/android/platform/android-sdk-21/tools/ant/build.xml:902: The following error occurred while executing this line:\r\n/home/kivy/.buildozer/android/platform/android-sdk-21/tools/ant/build.xml:283: null returned: 1\r\n\r\nTotal time: 2 seconds\r\napp/_applibs/PIL/EpsImagePlugin.pyo\r\nassets/private.mp3: /home/kivy/Projects/Palette-sampler/.buildozer/android/app/_applibs/PIL/CurImagePlugin.pyo\r\nassets/private.mp3: /home/kivy/Projects/Palette-sampler/.buildozer/android/app/_applibs/PIL/.libs/libwebp-c9f9408c.so.6.0.1\r\nassets/private.mp3: /home/kivy/Projects/Palette-sampler/.buildozer/android/app/_applibs/PIL/.libs/libfreetype-6728d6ce.so.6.12.5\r\nassets/private.mp3: /home/kivy/Projects/Palette-sampler/.buildozer/android/app/_applibs/PIL/.libs/libtiff-a8dfd9d2.so.5.2.4\r\nassets/private.mp3: /home/kivy/Projects/Palette-sampler/.buildozer/android/app/_applibs/PIL/.libs/libopenjp2-59185378.so.2.1.0\r\nassets/private.mp3: /home/kivy/Projects/Palette-sampler/.buildozer/android/app/_applibs/PIL/.libs/libjpeg-bcb94a84.so.9.2.0\r\nassets/private.mp3: /home/kivy/Projects/Palette-sampler/.buildozer/android/app/_applibs/PIL/.libs/libpng16-4b619e46.so.16.25.0\r\nassets/private.mp3: /home/kivy/Projects/Palette-sampler/.buildozer/android/app/_applibs/PIL/.libs/libwebpdemux-cf7700c3.so.2.0.0\r\nassets/private.mp3: /home/kivy/Projects/Palette-sampler/.buildozer/android/app/_applibs/PIL/.libs/liblzma-f444c404.so.5.2.2\r\nassets/private.mp3: /home/kivy/Projects/Palette-sampler/.buildozer/android/app/_applibs/PIL/.libs/libwebpmux-25a4b814.so.2.0.1\r\nassets/private.mp3: /home/kivy/Projects/Palette-sampler/.buildozer/android/app/_applibs/PIL/.libs/libz-a147dcb0.so.1.2.3\r\nassets/private.mp3: /home/kivy/Projects/Palette-sampler/.buildozer/android/app/_applibs/PIL/.libs/liblcms2-488a716d.so.2.0.8\r\nTraceback (most recent call last):\r\n  File \"build.py\", line 517, in <module>\r\n    make_package(args)\r\n  File \"build.py\", line 365, in make_package\r\n    subprocess.check_call([ANT, arg])\r\n  File \"/usr/lib/python2.7/subprocess.py\", line 540, in check_call\r\n    raise CalledProcessError(retcode, cmd)\r\nsubprocess.CalledProcessError: Command '['ant', 'debug']' returned non-zero exit status 1\r\n# Command failed: python build.py --name 'Goghs Palette' --version 0.1 --package gogh.scoppio.goghspalette --sdk 19 --minsdk 9 --private /home/kivy/Projects/Palette-sampler/.buildozer/android/app --orientation sensor debug\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\n```\r\n\r\n```\r\n[app]\r\n\r\n\r\n\r\n# (str) Title of your application\r\n\r\ntitle = Goghs Palette\r\n\r\n\r\n\r\n# (str) Package name\r\n\r\npackage.name = goghspalette\r\n\r\n\r\n\r\n# (str) Package domain (needed for android/ios packaging)\r\n\r\npackage.domain = gogh.scoppio\r\n\r\n\r\n\r\n# (str) Source code where the main.py live\r\n\r\nsource.dir = .\r\n\r\n\r\n\r\n# (list) Source files to include (let empty to include all the files)\r\n\r\nsource.include_exts = py,png,jpg,kv,atlas\r\n\r\n\r\n\r\n# (list) List of inclusions using pattern matching\r\n\r\n#source.include_patterns = assets/*,images/*.png\r\n\r\n\r\n\r\n# (list) Source files to exclude (let empty to not exclude anything)\r\n\r\n#source.exclude_exts = spec\r\n\r\n\r\n\r\n# (list) List of directory to exclude (let empty to not exclude anything)\r\n\r\n#source.exclude_dirs = tests, bin\r\n\r\n\r\n\r\n# (list) List of exclusions using pattern matching\r\n\r\n#source.exclude_patterns = license,images/*/*.jpg\r\n\r\n\r\n\r\n# (str) Application versioning (method 1)\r\n\r\nversion = 0.1\r\n\r\n\r\n\r\n# (str) Application versioning (method 2)\r\n\r\n# version.regex = __version__ = ['\"](.*)['\"]\r\n\r\n# version.filename = %(source.dir)s/main.py\r\n\r\n\r\n\r\n# (list) Application requirements\r\n\r\n# comma seperated e.g. requirements = sqlite3,kivy\r\n\r\nrequirements = kivy,pillow\r\n\r\n#, math, colorsys, random, collections\r\n\r\n\r\n\r\n# (str) Custom source folders for requirements\r\n\r\n# Sets custom source for any requirements with recipes\r\n\r\n# requirements.source.kivy = ../../kivy\r\n\r\n\r\n\r\n# (list) Garden requirements\r\n\r\n#garden_requirements =\r\n\r\n\r\n\r\n# (str) Presplash of the application\r\n\r\n#presplash.filename = %(source.dir)s/data/presplash.png\r\n\r\n\r\n\r\n# (str) Icon of the application\r\n\r\n#icon.filename = %(source.dir)s/data/icon.png\r\n\r\n\r\n\r\n# (str) Supported orientation (one of landscape, portrait or all)\r\n\r\norientation = portrait\r\n\r\n\r\n\r\n# (list) List of service to declare\r\n\r\n#services = NAME:ENTRYPOINT_TO_PY,NAME2:ENTRYPOINT2_TO_PY\r\n\r\n\r\n\r\n#\r\n\r\n# OSX Specific\r\n\r\n#\r\n\r\n\r\n\r\n#\r\n\r\n# author = © Copyright Info\r\n\r\n\r\n\r\n#\r\n\r\n# Android specific\r\n\r\n#\r\n\r\n\r\n\r\n# (bool) Indicate if the application should be fullscreen or not\r\n\r\nfullscreen = 1\r\n\r\n\r\n\r\n# (list) Permissions\r\n\r\n#android.permissions = INTERNET\r\n\r\n\r\n\r\n# (int) Android API to use\r\n\r\n#android.api = 19\r\n\r\n\r\n\r\n# (int) Minimum API required\r\n\r\n#android.minapi = 9\r\n\r\n\r\n\r\n# (int) Android SDK version to use\r\n\r\nandroid.sdk = 21\r\n\r\n\r\n\r\n# (str) Android NDK version to use\r\n\r\n#android.ndk = 9c\r\n\r\n\r\n\r\n# (bool) Use --private data storage (True) or --dir public storage (False)\r\n\r\n#android.private_storage = True\r\n\r\n\r\n\r\n# (str) Android NDK directory (if empty, it will be automatically downloaded.)\r\n\r\n#android.ndk_path =\r\n\r\n\r\n\r\n# (str) Android SDK directory (if empty, it will be automatically downloaded.)\r\n\r\n#android.sdk_path =\r\n\r\n\r\n\r\n# (str) ANT directory (if empty, it will be automatically downloaded.)\r\n\r\n#android.ant_path =\r\n\r\n\r\n\r\n# (str) python-for-android git clone directory (if empty, it will be automatically cloned from github)\r\n\r\n#android.p4a_dir =\r\n\r\n\r\n\r\n# (list) python-for-android whitelist\r\n\r\n#android.p4a_whitelist =\r\n\r\n\r\n\r\n# (bool) If True, then skip trying to update the Android sdk\r\n\r\n# This can be useful to avoid excess Internet downloads or save time\r\n\r\n# when an update is due and you just want to test/build your package\r\n\r\n# android.skip_update = False\r\n\r\n\r\n\r\n# (str) Android entry point, default is ok for Kivy-based app\r\n\r\n#android.entrypoint = org.renpy.android.PythonActivity\r\n\r\n\r\n\r\n# (list) List of Java .jar files to add to the libs so that pyjnius can access\r\n\r\n# their classes. Don't add jars that you do not need, since extra jars can slow\r\n\r\n# down the build process. Allows wildcards matching, for example:\r\n\r\n# OUYA-ODK/libs/*.jar\r\n\r\n#android.add_jars = foo.jar,bar.jar,path/to/more/*.jar\r\n\r\n\r\n\r\n# (list) List of Java files to add to the android project (can be java or a\r\n\r\n# directory containing the files)\r\n\r\n#android.add_src =\r\n\r\n\r\n\r\n# (str) python-for-android branch to use, if not master, useful to try\r\n\r\n# not yet merged features.\r\n\r\n#android.branch = master\r\n\r\n\r\n\r\n# (str) OUYA Console category. Should be one of GAME or APP\r\n\r\n# If you leave this blank, OUYA support will not be enabled\r\n\r\n#android.ouya.category = GAME\r\n\r\n\r\n\r\n# (str) Filename of OUYA Console icon. It must be a 732x412 png image.\r\n\r\n#android.ouya.icon.filename = %(source.dir)s/data/ouya_icon.png\r\n\r\n\r\n\r\n# (str) XML file to include as an intent filters in <activity> tag\r\n\r\n#android.manifest.intent_filters =\r\n\r\n\r\n\r\n# (list) Android additionnal libraries to copy into libs/armeabi\r\n\r\n#android.add_libs_armeabi = libs/android/*.so\r\n\r\n#android.add_libs_armeabi_v7a = libs/android-v7/*.so\r\n\r\n#android.add_libs_x86 = libs/android-x86/*.so\r\n\r\n#android.add_libs_mips = libs/android-mips/*.so\r\n\r\n\r\n\r\n# (bool) Indicate whether the screen should stay on\r\n\r\n# Don't forget to add the WAKE_LOCK permission if you set this to True\r\n\r\n#android.wakelock = False\r\n\r\n\r\n\r\n# (list) Android application meta-data to set (key=value format)\r\n\r\n#android.meta_data =\r\n\r\n\r\n\r\n# (list) Android library project to add (will be added in the\r\n\r\n# project.properties automatically.)\r\n\r\n#android.library_references =\r\n\r\n\r\n\r\n# (str) Android logcat filters to use\r\n\r\n#android.logcat_filters = *:S python:D\r\n\r\n\r\n\r\n# (bool) Copy library instead of making a libpymodules.so\r\n\r\n#android.copy_libs = 1\r\n\r\n\r\n\r\n#\r\n\r\n# iOS specific\r\n\r\n#\r\n\r\n\r\n\r\n# (str) Path to a custom kivy-ios folder\r\n\r\n#ios.kivy_ios_dir = ../kivy-ios\r\n\r\n\r\n\r\n# (str) Name of the certificate to use for signing the debug version\r\n\r\n# Get a list of available identities: buildozer ios list_identities\r\n\r\n#ios.codesign.debug = \"iPhone Developer: <lastname> <firstname> (<hexstring>)\"\r\n\r\n\r\n\r\n# (str) Name of the certificate to use for signing the release version\r\n\r\n#ios.codesign.release = %(ios.codesign.debug)s\r\n\r\n\r\n\r\n\r\n\r\n[buildozer]\r\n\r\n\r\n\r\n# (int) Log level (0 = error only, 1 = info, 2 = debug (with command output))\r\n\r\nlog_level = 2\r\n\r\n\r\n\r\n# (int) Display warning if buildozer is run as root (0 = False, 1 = True)\r\n\r\nwarn_on_root = 1\r\n\r\n\r\n\r\n# (str) Path to build artifact storage, absolute or relative to spec file\r\n\r\n# build_dir = ./.buildozer\r\n\r\n\r\n# (str) Path to build output (i.e. .apk, .ipa) storage\r\n\r\n# bin_dir = ./bin\r\n\r\n```"},"comment":{"url":"https://api.github.com/repos/kivy/buildozer/issues/comments/254705808","html_url":"https://github.com/kivy/buildozer/issues/406#issuecomment-254705808","issue_url":"https://api.github.com/repos/kivy/buildozer/issues/406","id":254705808,"user":{"login":"Scoppio","id":12498073,"avatar_url":"https://avatars.githubusercontent.com/u/12498073?v=3","gravatar_id":"","url":"https://api.github.com/users/Scoppio","html_url":"https://github.com/Scoppio","followers_url":"https://api.github.com/users/Scoppio/followers","following_url":"https://api.github.com/users/Scoppio/following{/other_user}","gists_url":"https://api.github.com/users/Scoppio/gists{/gist_id}","starred_url":"https://api.github.com/users/Scoppio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Scoppio/subscriptions","organizations_url":"https://api.github.com/users/Scoppio/orgs","repos_url":"https://api.github.com/users/Scoppio/repos","events_url":"https://api.github.com/users/Scoppio/events{/privacy}","received_events_url":"https://api.github.com/users/Scoppio/received_events","type":"User","site_admin":false},"created_at":"2016-10-19T04:11:22Z","updated_at":"2016-10-19T04:11:22Z","body":"No solution so far... I will try a fresh install of kivy + buildozer to see if maybe the problem is related to the virtualbox image."}}
{"actor":{"display_login":"Scoppio"}}