You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was trying to build launcher with the new toolchain, because there are minimal if any changes in build.py, so basically --launcher should work. However, it can't locate Python.h. When I look into locate Python.h, it returns path to classic header. When I looked into arm compiled python folders, the header was there too. Is some path crippled or what?
The same result for both stable and master branch.
kivy@kivy:~$ p4a apk --requirements=sqlite3 openssl pyopenssl lxml audiostream cymunk ffmpeg pil pyjnius twisted plyer docutils pygments kivy --launcher --package=zzz.test.launcher --name="Z Kivy Launcher stable" --version=0.5 --bootstrap=pygame
[INFO]: This python-for-android revamp is an experimental alpha release!
[INFO]: It should work (mostly), but you may experience missing features or bugs.
[INFO]: Will compile for the following archs: armeabi
[INFO]: Found Android API target in $ANDROIDAPI
[INFO]: Available Android APIs are (8, 10, 14, 19)
[INFO]: Requested API target 14 is available, continuing.
[INFO]: Found NDK dir in $ANDROIDNDK
[INFO]: Got NDK version from $ANDROIDNDKVER
[INFO]: Using Google NDK r8c
[INFO]: Found virtualenv at /usr/local/bin/virtualenv
[INFO]: Found the following toolchain versions: ['4.4.3', '4.6', 'clang3.1']
[INFO]: Picking the latest gcc toolchain, here 4.6
[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 ['hostpython2', 'python2', 'pyjnius', 'sdl', 'pygame', 'android', 'kivy']
[INFO]: Loaded recipe hostpython2 (depends on [], conflicts ['hostpython3'])
[INFO]: Loaded recipe sdl (depends on ['python2', 'pygame_bootstrap_components'], conflicts ['sdl2'])
[INFO]: Loaded recipe pygame (depends on ['python2', 'sdl'], conflicts ['sdl2'])
[INFO]: Loaded recipe kivy (depends on ['pyjnius', ('sdl2', 'pygame'), ('python2', 'python3crystax')])
[INFO]: Loaded recipe sqlite3 (depends on [])
[INFO]: Loaded recipe pyjnius (depends on ['six', ('sdl2', 'sdl', 'genericndkbuild'), ('python2', 'python3crystax')])
[INFO]: Loaded recipe android (depends on [('python2', 'python3'), ('python2', 'python3crystax'), ('pygame', 'sdl2', 'genericndkbuild')])
[INFO]: Loaded recipe python2 (depends on ['hostpython2'], conflicts ['python3crystax', 'python3'])
[INFO]: Loaded recipe pygame_bootstrap_components (depends on [])
[INFO]: Loaded recipe six (depends on [('python2', 'python3crystax')])
[INFO]: Found a single valid recipe set (this is good)
[INFO]: The selected bootstrap is pygame
[INFO]: # Creating dist with pygame bootstrap
[INFO]: Dist will have name unnamed_dist_4 and recipes (sqlite3)
[INFO]: -> running cp -r /usr/local/lib/python2.7...(and 128 more)
[INFO]: -> directory context /home/kivy/.local/share/python-for-android/build/bootstrap_builds/pygame
[INFO]: <- directory context /home/kivy
[INFO]: Recipe build order is ['hostpython2', 'pygame_bootstrap_components', u'sqlite3', 'python2', 'sdl', 'six', 'pygame', 'pyjnius', 'android', 'kivy']
[INFO]: # Downloading recipes
[INFO]: Downloading hostpython2
[INFO]: -> running mkdir -p /home/kivy/.local/shar...(and 41 more)
[INFO]: -> directory context /home/kivy/.local/share/python-for-android/packages/hostpython2
[INFO]: -> running basename http://python.org/ftp/...(and 33 more)
[INFO]: hostpython2 download already cached, skipping
[WARNING]: Should check headers here! Skipping for now.
[INFO]: <- directory context /home/kivy
[INFO]: Downloading pygame_bootstrap_components
[INFO]: -> running mkdir -p /home/kivy/.local/sha...(and 58 more)
[INFO]: -> directory context /home/kivy/.local/share/python-for-android/packages/pygame_bootstrap_components
[INFO]: -> running basename https://github.com/ki...(and 53 more)
[INFO]: pygame_bootstrap_components download already cached, skipping
[WARNING]: Should check headers here! Skipping for now.
[INFO]: <- directory context /home/kivy
[INFO]: Downloading sqlite3
[INFO]: -> running mkdir -p /home/kivy/.local/shar...(and 37 more)
[INFO]: -> directory context /home/kivy/.local/share/python-for-android/packages/sqlite3
[INFO]: -> running basename https://www.sqlite.org...(and 37 more)
[INFO]: sqlite3 download already cached, skipping
[WARNING]: Should check headers here! Skipping for now.
[INFO]: <- directory context /home/kivy
[INFO]: Downloading python2
[INFO]: -> running mkdir -p /home/kivy/.local/shar...(and 37 more)
[INFO]: -> directory context /home/kivy/.local/share/python-for-android/packages/python2
[INFO]: -> running basename http://python.org/ftp/...(and 33 more)
[INFO]: python2 download already cached, skipping
[WARNING]: Should check headers here! Skipping for now.
[INFO]: <- directory context /home/kivy
[INFO]: Downloading sdl
[INFO]: Skipping sdl download as no URL is set
[INFO]: Downloading six
[INFO]: -> running mkdir -p /home/kivy/.local/shar...(and 33 more)
[INFO]: -> directory context /home/kivy/.local/share/python-for-android/packages/six
[INFO]: -> running basename https://pypi.python.or...(and 40 more)
[INFO]: six download already cached, skipping
[WARNING]: Should check headers here! Skipping for now.
[INFO]: <- directory context /home/kivy
[INFO]: Downloading pygame
[INFO]: -> running mkdir -p /home/kivy/.local/shar...(and 36 more)
[INFO]: -> directory context /home/kivy/.local/share/python-for-android/packages/pygame
[INFO]: -> running basename http://pygame.org/ftp/...(and 26 more)
[INFO]: pygame download already cached, skipping
[WARNING]: Should check headers here! Skipping for now.
[INFO]: <- directory context /home/kivy
[INFO]: Downloading pyjnius
[INFO]: -> running mkdir -p /home/kivy/.local/shar...(and 37 more)
[INFO]: -> directory context /home/kivy/.local/share/python-for-android/packages/pyjnius
[INFO]: -> running basename https://github.com/kiv...(and 28 more)
[INFO]: pyjnius download already cached, skipping
[WARNING]: Should check headers here! Skipping for now.
[INFO]: <- directory context /home/kivy
[INFO]: Downloading android
[INFO]: Skipping android download as no URL is set
[INFO]: Downloading kivy
[INFO]: -> running mkdir -p /home/kivy/.local/shar...(and 34 more)
[INFO]: -> directory context /home/kivy/.local/share/python-for-android/packages/kivy
[INFO]: -> running basename https://github.com/kiv...(and 25 more)
[INFO]: kivy download already cached, skipping
[WARNING]: Should check headers here! Skipping for now.
[INFO]: <- directory context /home/kivy
[INFO]: # Building all recipes for arch armeabi
[INFO]: # Unpacking recipes
[INFO]: Unpacking hostpython2 for armeabi
[INFO]: -> running basename http://python.org/ftp/...(and 33 more)
[INFO]: -> directory context /home/kivy/.local/share/python-for-android/build/other_builds/hostpython2/desktop
[INFO]: hostpython2 is already unpacked, skipping
[INFO]: <- directory context /home/kivy
[INFO]: Unpacking pygame_bootstrap_components for armeabi
[INFO]: -> running basename https://github.com/ki...(and 53 more)
[INFO]: -> directory context /home/kivy/.local/share/python-for-android/build/bootstrap_builds/pygame/jni
[INFO]: pygame_bootstrap_components is already unpacked, skipping
[INFO]: <- directory context /home/kivy
[INFO]: Unpacking sqlite3 for armeabi
[INFO]: -> running basename https://www.sqlite.org...(and 37 more)
[INFO]: -> directory context /home/kivy/.local/share/python-for-android/build/other_builds/sqlite3/armeabi
[INFO]: sqlite3 is already unpacked, skipping
[INFO]: <- directory context /home/kivy
[INFO]: Unpacking python2 for armeabi
[INFO]: -> running basename http://python.org/ftp/...(and 33 more)
[INFO]: -> directory context /home/kivy/.local/share/python-for-android/build/other_builds/python2-sqlite3/armeabi
[INFO]: python2 is already unpacked, skipping
[INFO]: <- directory context /home/kivy
[INFO]: Unpacking sdl for armeabi
[INFO]: Skipping sdl unpack as no URL is set
[INFO]: Unpacking six for armeabi
[INFO]: -> running basename https://pypi.python.or...(and 40 more)
[INFO]: -> directory context /home/kivy/.local/share/python-for-android/build/other_builds/six-python2/armeabi
[INFO]: six is already unpacked, skipping
[INFO]: <- directory context /home/kivy
[INFO]: Unpacking pygame for armeabi
[INFO]: -> running basename http://pygame.org/ftp/...(and 26 more)
[INFO]: -> directory context /home/kivy/.local/share/python-for-android/build/other_builds/pygame/armeabi
[INFO]: pygame is already unpacked, skipping
[INFO]: <- directory context /home/kivy
[INFO]: Unpacking pyjnius for armeabi
[INFO]: -> running basename https://github.com/kiv...(and 28 more)
[INFO]: -> directory context /home/kivy/.local/share/python-for-android/build/other_builds/pyjnius-python2-sdl/armeabi
[INFO]: pyjnius is already unpacked, skipping
[INFO]: <- directory context /home/kivy
[INFO]: -> running rm -rf /home/kivy/.local/share...(and 85 more)
[INFO]: -> running cp -a /usr/local/lib/python2.7...(and 160 more)
[INFO]: Unpacking kivy for armeabi
[INFO]: -> running basename https://github.com/kiv...(and 25 more)
[INFO]: -> directory context /home/kivy/.local/share/python-for-android/build/other_builds/kivy-pygame-python2/armeabi
[INFO]: kivy is already unpacked, skipping
[INFO]: <- directory context /home/kivy
[INFO]: # Prebuilding recipes
[INFO]: Prebuilding hostpython2 for armeabi
[INFO]: -> running cp /usr/local/lib/python2.7/di...(and 162 more)
[INFO]: Prebuilding pygame_bootstrap_components for armeabi
[INFO]: Unpacking pygame bootstrap JNI dir components
[INFO]: -> directory context /home/kivy/.local/share/python-for-android/build/bootstrap_builds/pygame/jni
[INFO]: sdl dir exists, so it looks like the JNI componentsare already unpacked. Skipping.
[INFO]: <- directory context /home/kivy
[INFO]: Prebuilding sqlite3 for armeabi
[INFO]: sqlite3 has no prebuild_armeabi, skipping
[INFO]: Prebuilding python2 for armeabi
[INFO]: python2 has no prebuild_armeabi, skipping
[INFO]: Applying patches for python2[armeabi]
[INFO]: python2 already patched, skipping
[INFO]: Prebuilding sdl for armeabi
[INFO]: sdl has no prebuild_armeabi, skipping
[INFO]: Prebuilding six for armeabi
[INFO]: six has no prebuild_armeabi, skipping
[INFO]: Prebuilding pygame for armeabi
[INFO]: Applying patches for pygame[armeabi]
[INFO]: pygame already patched, skipping
[INFO]: Prebuilding pyjnius for armeabi
[INFO]: pyjnius has no prebuild_armeabi, skipping
[INFO]: Applying patches for pyjnius[armeabi]
[INFO]: pyjnius already patched, skipping
[INFO]: Prebuilding android for armeabi
[INFO]: android has no prebuild_armeabi, skipping
[INFO]: -> directory context /home/kivy/.local/share/python-for-android/build/other_builds/android-pygame-python2-python2/armeabi/android
[INFO]: <- directory context /home/kivy
[INFO]: Prebuilding kivy for armeabi
[INFO]: kivy has no prebuild_armeabi, skipping
[INFO]: # Building recipes
[INFO]: Building hostpython2 for armeabi
[INFO]: -> directory context /home/kivy/.local/share/python-for-android/build/other_builds/hostpython2/desktop/hostpython2
[INFO]: hostpython already exists, skipping build
[INFO]: <- directory context /home/kivy
[INFO]: Building pygame_bootstrap_components for armeabi
[INFO]: Building sqlite3 for armeabi
ccache found, will optimize builds
('path is', '/home/kivy/android/android-ndk-r8c/toolchains/arm-linux-androideabi-4.6/prebuilt/linux-x86/bin/:/home/kivy/android/android-ndk-r8c/toolchains/arm-linux-androideabi-4.6/prebuilt/linux-x86_64/bin/:/home/kivy/android/android-ndk-r8c:/home/kivy/android/android-sdk-linux/tools:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games')
[INFO]: -> directory context /home/kivy/.local/share/python-for-android/build/other_builds/sqlite3/armeabi/sqlite3
[INFO]: -> running ndk-build V=1 APP_ABI=armeabi
[INFO]: <- directory context /home/kivy
[INFO]: Building python2 for armeabi
[INFO]: -> running cp -a /home/kivy/.local/share/...(and 164 more)
[INFO]: Copying hostpython binary to targetpython folder
[INFO]: -> running cp /home/kivy/.local/share/pyt...(and 173 more)
[INFO]: -> running cp /home/kivy/.local/share/pyt...(and 171 more)
[INFO]: Building sdl for armeabi
ccache found, will optimize builds
('path is', '/home/kivy/android/android-ndk-r8c/toolchains/arm-linux-androideabi-4.6/prebuilt/linux-x86/bin/:/home/kivy/android/android-ndk-r8c/toolchains/arm-linux-androideabi-4.6/prebuilt/linux-x86_64/bin/:/home/kivy/android/android-ndk-r8c:/home/kivy/android/android-sdk-linux/tools:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games')
[INFO]: -> directory context /home/kivy/.local/share/python-for-android/build/bootstrap_builds/pygame/jni
[INFO]: -> running ndk-build V=1
[INFO]: STDOUT:
rm -f /home/kivy/.local/share/python-for-android/build/bootstrap_builds/pygame/jni/../libs/armeabi/lib*.so /home/kivy/.local/share/python-for-android/build/bootstrap_builds/pygame/jni/../libs/armeabi-v7a/lib*.so /home/kivy/.local/share/python-for-android/build/bootstrap_builds/pygame/jni/../libs/mips/lib*.so /home/kivy/.local/share/python-for-android/build/bootstrap_builds/pygame/jni/../libs/x86/lib*.so
rm -f /home/kivy/.local/share/python-for-android/build/bootstrap_builds/pygame/jni/../libs/armeabi/gdbserver /home/kivy/.local/share/python-for-android/build/bootstrap_builds/pygame/jni/../libs/armeabi-v7a/gdbserver /home/kivy/.local/share/python-for-android/build/bootstrap_builds/pygame/jni/../libs/mips/gdbserver /home/kivy/.local/share/python-for-android/build/bootstrap_builds/pygame/jni/../libs/x86/gdbserver
rm -f /home/kivy/.local/share/python-for-android/build/bootstrap_builds/pygame/jni/../libs/armeabi/gdb.setup /home/kivy/.local/share/python-for-android/build/bootstrap_builds/pygame/jni/../libs/armeabi-v7a/gdb.setup /home/kivy/.local/share/python-for-android/build/bootstrap_builds/pygame/jni/../libs/mips/gdb.setup /home/kivy/.local/share/python-for-android/build/bootstrap_builds/pygame/jni/../libs/x86/gdb.setup
Compile thumb : application <= start.c
/usr/bin/ccache /home/kivy/android/android-ndk-r8c/toolchains/arm-linux-androideabi-4.6/prebuilt/linux-x86/bin/arm-linux-androideabi-gcc -MMD -MP -MF /home/kivy/.local/share/python-for-android/build/bootstrap_builds/pygame/obj/local/armeabi/objs/application/src//start.o.d -fpic -ffunction-sections -funwind-tables -fstack-protector -D__ARM_ARCH_5__ -D__ARM_ARCH_5T__ -D__ARM_ARCH_5E__ -D__ARM_ARCH_5TE__ -march=armv5te -mtune=xscale -msoft-float -mthumb -Os -fomit-frame-pointer -fno-strict-aliasing -finline-limit=64 -I/home/kivy/.local/share/python-for-android/build/bootstrap_builds/pygame/jni/../jni/application -DANDROID -I/home/kivy/.local/share/python-for-android/build/bootstrap_builds/pygame/jni/../jni/application/src/ -I/home/kivy/.local/share/python-for-android/build/bootstrap_builds/pygame/jni/../jni/application/../sdl/include -I/home/kivy/.local/share/python-for-android/build/bootstrap_builds/pygame/jni/../jni/application/../sdl_mixer -I/home/kivy/.local/share/python-for-android/build/bootstrap_builds/pygame/jni/../jni/application/../sdl_image -I/home/kivy/.local/share/python-for-android/build/bootstrap_builds/pygame/jni/../jni/application/../sdl_ttf -I/home/kivy/.local/share/python-for-android/build/bootstrap_builds/pygame/jni/../jni/application/../sdl_net -I/home/kivy/.local/share/python-for-android/build/bootstrap_builds/pygame/jni/../jni/application/../sdl_blitpool -I/home/kivy/.local/share/python-for-android/build/bootstrap_builds/pygame/jni/../jni/application/../sdl_gfx -I/home/kivy/.local/share/python-for-android/build/bootstrap_builds/pygame/jni/../jni/application/../png -I/home/kivy/.local/share/python-for-android/build/bootstrap_builds/pygame/jni/../jni/application/../jpeg -I/home/kivy/.local/share/python-for-android/build/bootstrap_builds/pygame/jni/../jni/application/../intl -I/home/kivy/.local/share/python-for-android/build/bootstrap_builds/pygame/jni/../jni/application/.. -I/home/kivy/.local/share/python-for-android/build/bootstrap_builds/pygame/jni/../jni/application/../../../../other_builds/python2/armeabi/python2/python-install/include/python2.7 -finline-functions -O2 -DSDL_JAVA_PACKAGE_PATH=org_renpy_android -Wa,--noexecstack -O2 -DNDEBUG -g -I/home/kivy/android/android-ndk-r8c/platforms/android-14/arch-arm/usr/include -c /home/kivy/.local/share/python-for-android/build/bootstrap_builds/pygame/jni/../jni/application/src//start.c -o /home/kivy/.local/share/python-for-android/build/bootstrap_builds/pygame/obj/local/armeabi/objs/application/src//start.o
/home/kivy/.local/share/python-for-android/build/bootstrap_builds/pygame/jni/../jni/application/src//start.c:2:20: fatal error: Python.h: No such file or directory
compilation terminated.
make: *** [/home/kivy/.local/share/python-for-android/build/bootstrap_builds/pygame/obj/local/armeabi/objs/application/src//start.o] Error 1
[INFO]: STDERR:
[INFO]: COMMAND:
cd /home/kivy/.local/share/python-for-android/build/bootstrap_builds/pygame/jni && /home/kivy/android/android-ndk-r8c/ndk-build V=1
[WARNING]: ERROR: /home/kivy/android/android-ndk-r8c/ndk-build failed!
The text was updated successfully, but these errors were encountered:
I was trying to build launcher with the new toolchain, because there are minimal if any changes in build.py, so basically
--launcher
should work. However, it can't locatePython.h
. When I look intolocate Python.h
, it returns path to classic header. When I looked into arm compiled python folders, the header was there too. Is some path crippled or what?The same result for both stable and master branch.
The text was updated successfully, but these errors were encountered: