Skip to content

Instantly share code, notes, and snippets.

@matham
Created January 16, 2017 05:17
Show Gist options
  • Save matham/3ab7dae50f9a158b5ff6a58359a0cbf7 to your computer and use it in GitHub Desktop.
Save matham/3ab7dae50f9a158b5ff6a58359a0cbf7 to your computer and use it in GitHub Desktop.
Matthew Einhorn@Dove-TDSkope MINGW64 /g/Python/py4a/builds
$ CCACHE_DISABLE=1 time p4a apk --package=org.example.myapp --name "My application" --version 0.1 --bootstrap=sdl2 --requirements=python2 --storage-dir=/g/python/py4a/builds/storage --arch=armeabi-v7a
--debug
[INFO]: Will compile for the following archs: armeabi-v7a
[INFO]: Found Android API target in $ANDROIDAPI
['E:\\Android\\sdk\\tools\\android.bat', 'list'] None
[INFO]: Available Android APIs are (23, 25)
[INFO]: Requested API target 23 is available, continuing.
[INFO]: Found NDK dir in $ANDROIDNDK
[INFO]: Got NDK version from $ANDROIDNDKVER
[INFO]: Using Google NDK r13b
[INFO]: Found virtualenv at E:\Python\Python27-x64\Scripts\virtualenv.exe
[INFO]: ccache is missing, the build will not be optimized in the future.
[INFO]: Found the following toolchain versions: ['4.9']
[INFO]: Picking the latest gcc toolchain, here 4.9
[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 python2 (depends on ['hostpython2'], conflicts ['python3crystax', 'python3'])
[INFO]: Loaded recipe sdl2_image (depends on [])
[INFO]: Loaded recipe sdl2_mixer (depends on [])
[INFO]: Loaded recipe sdl2_ttf (depends on [])
[INFO]: Loaded recipe hostpython2 (depends on [], conflicts ['hostpython3'])
[INFO]: Found a single valid recipe set (this is good)
[INFO]: The selected bootstrap is sdl2
[INFO]: # Creating dist with sdl2 bootstrap
[INFO]: Dist will have name unnamed_dist_27 and recipes (python2)
[DEBUG]: -> running E:\msys64\usr\bin\cp.exe -r g:\python\py4a\python-for-android\pythonforandroid\bootstraps\sdl2\build G:/python/py4a/builds/storage\build\bootstrap_builds\sdl2-python2
['E:\\msys64\\usr\\bin\\cp.exe', '-r', 'g:\\python\\py4a\\python-for-android\\pythonforandroid\\bootstraps\\sdl2\\build', 'G:/python/py4a/builds/storage\\build\\bootstrap_builds\\sdl2-python2'] None
[INFO]: -> directory context G:/python/py4a/builds/storage\build\bootstrap_builds\sdl2-python2
[INFO]: <- directory context G:\Python\py4a\builds
[INFO]: Recipe build order is ['hostpython2', 'sdl2_image', 'sdl2_mixer', 'sdl2_ttf', 'python2', 'sdl2']
[INFO]: # Downloading recipes
[INFO]: Downloading hostpython2
[INFO]: Skipping hostpython2 download as no URL is set
[INFO]: Downloading sdl2_image
[DEBUG]: -> running E:\msys64\usr\bin\mkdir.exe -p G:/python/py4a/builds/storage\packages\sdl2_image
['E:\\msys64\\usr\\bin\\mkdir.exe', '-p', 'G:/python/py4a/builds/storage\\packages\\sdl2_image'] None
[INFO]: -> directory context G:/python/py4a/builds/storage\packages\sdl2_image
[DEBUG]: -> running E:\msys64\usr\bin\basename.exe https://www.libsdl.org/projects/SDL_image/release/SDL2_image-2.0.1.zip
['E:\\msys64\\usr\\bin\\basename.exe', 'https://www.libsdl.org/projects/SDL_image/release/SDL2_image-2.0.1.zip'] None
[DEBUG]: SDL2_image-2.0.1.zip
[INFO]: sdl2_image download already cached, skipping
[WARNING]: Should check headers here! Skipping for now.
[INFO]: <- directory context G:\Python\py4a\builds
[INFO]: Downloading sdl2_mixer
[DEBUG]: -> running E:\msys64\usr\bin\mkdir.exe -p G:/python/py4a/builds/storage\packages\sdl2_mixer
['E:\\msys64\\usr\\bin\\mkdir.exe', '-p', 'G:/python/py4a/builds/storage\\packages\\sdl2_mixer'] None
[INFO]: -> directory context G:/python/py4a/builds/storage\packages\sdl2_mixer
[DEBUG]: -> running E:\msys64\usr\bin\basename.exe https://www.libsdl.org/projects/SDL_mixer/release/SDL2_mixer-2.0.1.zip
['E:\\msys64\\usr\\bin\\basename.exe', 'https://www.libsdl.org/projects/SDL_mixer/release/SDL2_mixer-2.0.1.zip'] None
[DEBUG]: SDL2_mixer-2.0.1.zip
[INFO]: sdl2_mixer download already cached, skipping
[WARNING]: Should check headers here! Skipping for now.
[INFO]: <- directory context G:\Python\py4a\builds
[INFO]: Downloading sdl2_ttf
[DEBUG]: -> running E:\msys64\usr\bin\mkdir.exe -p G:/python/py4a/builds/storage\packages\sdl2_ttf
['E:\\msys64\\usr\\bin\\mkdir.exe', '-p', 'G:/python/py4a/builds/storage\\packages\\sdl2_ttf'] None
[INFO]: -> directory context G:/python/py4a/builds/storage\packages\sdl2_ttf
[DEBUG]: -> running E:\msys64\usr\bin\basename.exe https://www.libsdl.org/projects/SDL_ttf/release/SDL2_ttf-2.0.14.zip
['E:\\msys64\\usr\\bin\\basename.exe', 'https://www.libsdl.org/projects/SDL_ttf/release/SDL2_ttf-2.0.14.zip'] None
[DEBUG]: SDL2_ttf-2.0.14.zip
[INFO]: sdl2_ttf download already cached, skipping
[WARNING]: Should check headers here! Skipping for now.
[INFO]: <- directory context G:\Python\py4a\builds
[INFO]: Downloading python2
[DEBUG]: -> running E:\msys64\usr\bin\mkdir.exe -p G:/python/py4a/builds/storage\packages\python2
['E:\\msys64\\usr\\bin\\mkdir.exe', '-p', 'G:/python/py4a/builds/storage\\packages\\python2'] None
[INFO]: -> directory context G:/python/py4a/builds/storage\packages\python2
[DEBUG]: -> running E:\msys64\usr\bin\basename.exe http://python.org/ftp/python/2.7.2/Python-2.7.2.tar.bz2
['E:\\msys64\\usr\\bin\\basename.exe', 'http://python.org/ftp/python/2.7.2/Python-2.7.2.tar.bz2'] None
[DEBUG]: Python-2.7.2.tar.bz2
[INFO]: python2 download already cached, skipping
[WARNING]: Should check headers here! Skipping for now.
[INFO]: <- directory context G:\Python\py4a\builds
[INFO]: Downloading sdl2
[DEBUG]: -> running E:\msys64\usr\bin\mkdir.exe -p G:/python/py4a/builds/storage\packages\sdl2
['E:\\msys64\\usr\\bin\\mkdir.exe', '-p', 'G:/python/py4a/builds/storage\\packages\\sdl2'] None
[INFO]: -> directory context G:/python/py4a/builds/storage\packages\sdl2
[DEBUG]: -> running E:\msys64\usr\bin\basename.exe https://www.libsdl.org/release/SDL2-2.0.4.tar.gz
['E:\\msys64\\usr\\bin\\basename.exe', 'https://www.libsdl.org/release/SDL2-2.0.4.tar.gz'] None
[DEBUG]: SDL2-2.0.4.tar.gz
[DEBUG]: Checked md5sum: downloaded expected content!
[WARNING]: Should check headers here! Skipping for now.
[INFO]: <- directory context G:\Python\py4a\builds
[INFO]: # Building all recipes for arch armeabi-v7a
[INFO]: # Unpacking recipes
[INFO]: Unpacking hostpython2 for armeabi-v7a
[INFO]: Skipping hostpython2 unpack as no URL is set
[INFO]: Unpacking sdl2_image for armeabi-v7a
[DEBUG]: -> running E:\msys64\usr\bin\basename.exe https://www.libsdl.org/projects/SDL_image/release/SDL2_image-2.0.1.zip
['E:\\msys64\\usr\\bin\\basename.exe', 'https://www.libsdl.org/projects/SDL_image/release/SDL2_image-2.0.1.zip'] None
[DEBUG]: SDL2_image-2.0.1.zip
[INFO]: -> directory context G:/python/py4a/builds/storage\build\bootstrap_builds\sdl2-python2\jni
[INFO]: sdl2_image is already unpacked, skipping
[INFO]: <- directory context G:\Python\py4a\builds
[INFO]: Unpacking sdl2_mixer for armeabi-v7a
[DEBUG]: -> running E:\msys64\usr\bin\basename.exe https://www.libsdl.org/projects/SDL_mixer/release/SDL2_mixer-2.0.1.zip
['E:\\msys64\\usr\\bin\\basename.exe', 'https://www.libsdl.org/projects/SDL_mixer/release/SDL2_mixer-2.0.1.zip'] None
[DEBUG]: SDL2_mixer-2.0.1.zip
[INFO]: -> directory context G:/python/py4a/builds/storage\build\bootstrap_builds\sdl2-python2\jni
[INFO]: sdl2_mixer is already unpacked, skipping
[INFO]: <- directory context G:\Python\py4a\builds
[INFO]: Unpacking sdl2_ttf for armeabi-v7a
[DEBUG]: -> running E:\msys64\usr\bin\basename.exe https://www.libsdl.org/projects/SDL_ttf/release/SDL2_ttf-2.0.14.zip
['E:\\msys64\\usr\\bin\\basename.exe', 'https://www.libsdl.org/projects/SDL_ttf/release/SDL2_ttf-2.0.14.zip'] None
[DEBUG]: SDL2_ttf-2.0.14.zip
[INFO]: -> directory context G:/python/py4a/builds/storage\build\bootstrap_builds\sdl2-python2\jni
[INFO]: sdl2_ttf is already unpacked, skipping
[INFO]: <- directory context G:\Python\py4a\builds
[INFO]: Unpacking python2 for armeabi-v7a
[DEBUG]: -> running E:\msys64\usr\bin\basename.exe http://python.org/ftp/python/2.7.2/Python-2.7.2.tar.bz2
['E:\\msys64\\usr\\bin\\basename.exe', 'http://python.org/ftp/python/2.7.2/Python-2.7.2.tar.bz2'] None
[DEBUG]: Python-2.7.2.tar.bz2
[INFO]: -> directory context G:/python/py4a/builds/storage\build\other_builds\python2\armeabi-v7a
[INFO]: python2 is already unpacked, skipping
[INFO]: <- directory context G:\Python\py4a\builds
[INFO]: Unpacking sdl2 for armeabi-v7a
[DEBUG]: -> running E:\msys64\usr\bin\basename.exe https://www.libsdl.org/release/SDL2-2.0.4.tar.gz
['E:\\msys64\\usr\\bin\\basename.exe', 'https://www.libsdl.org/release/SDL2-2.0.4.tar.gz'] None
[DEBUG]: SDL2-2.0.4.tar.gz
[INFO]: -> directory context G:/python/py4a/builds/storage\build\bootstrap_builds\sdl2-python2\jni
[INFO]: sdl2 is already unpacked, skipping
[INFO]: <- directory context G:\Python\py4a\builds
[INFO]: # Prebuilding recipes
[INFO]: Prebuilding hostpython2 for armeabi-v7a
[DEBUG]: -> running E:\msys64\usr\bin\cp.exe -r g:\python\py4a\python-for-android\pythonforandroid\recipes\hostpython2\mingw_2.7.12 G:/python/py4a/builds/storage\build\other_builds\hostpython2\desktop\hostpython2
['E:\\msys64\\usr\\bin\\cp.exe', '-r', 'g:\\python\\py4a\\python-for-android\\pythonforandroid\\recipes\\hostpython2\\mingw_2.7.12', 'G:/python/py4a/builds/storage\\build\\other_builds\\hostpython2\\desktop\\hostpython2'] None
[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 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 for armeabi-v7a
[INFO]: sdl2 has no prebuild_armeabi_v7a, skipping
[INFO]: Applying patches for sdl2[armeabi-v7a]
[INFO]: sdl2 already patched, skipping
[INFO]: # Building recipes
[INFO]: Building hostpython2 for armeabi-v7a
[INFO]: -> directory context G:/python/py4a/builds/storage\build\other_builds\hostpython2\desktop\hostpython2
[INFO]: hostpython already exists, skipping build
[INFO]: <- directory context G:\Python\py4a\builds
[INFO]: Building sdl2_image for armeabi-v7a
[INFO]: Building sdl2_mixer for armeabi-v7a
[INFO]: Building sdl2_ttf for armeabi-v7a
[INFO]: Building python2 for armeabi-v7a
[DEBUG]: -> running E:\msys64\usr\bin\cp.exe G:/python/py4a/builds/storage\build\other_builds\hostpython2\desktop\hostpython2\hostpython G:/python/py4a/builds/storage\build\other_builds\python2\armeabi-v7a\python2
['E:\\msys64\\usr\\bin\\cp.exe', 'G:/python/py4a/builds/storage\\build\\other_builds\\hostpython2\\desktop\\hostpython2\\hostpython', 'G:/python/py4a/builds/storage\\build\\other_builds\\python2\\armeabi-v7a\\python2'] None
[DEBUG]: -> running E:\msys64\usr\bin\cp.exe G:/python/py4a/builds/storage\build\other_builds\hostpython2\desktop\hostpython2\hostpgen G:/python/py4a/builds/storage\build\other_builds\python2\armeabi-v7a\python2
['E:\\msys64\\usr\\bin\\cp.exe', 'G:/python/py4a/builds/storage\\build\\other_builds\\hostpython2\\desktop\\hostpython2\\hostpgen', 'G:/python/py4a/builds/storage\\build\\other_builds\\python2\\armeabi-v7a\\python2'] None
[INFO]: -> directory context G:/python/py4a/builds/storage\build\other_builds\python2\armeabi-v7a\python2
[DEBUG]: -> running E:\msys64\usr\bin\cp.exe g:\python\py4a\python-for-android\pythonforandroid\recipes\hostpython2\Setup Modules
['E:\\msys64\\usr\\bin\\cp.exe', 'g:\\python\\py4a\\python-for-android\\pythonforandroid\\recipes\\hostpython2\\Setup', 'Modules'] None
('path is', 'E:\\Android\\android-ndk-r13b/toolchains/arm-linux-androideabi-4.9/prebuilt/windows-x86/bin/;E:\\Android\\android-ndk-r13b/toolchains/arm-linux-androideabi-4.9/prebuilt/windows-x86_64/bin/;E:\\Android\\android-ndk-r13b;E:\\Android\\sdk/tools;E:\\Python\\Python27-x64;E:\\Python\\Python27-x64\\Scripts;E:\\msys64\\mingw64\\bin;E:\\msys64\\usr\\local\\bin;E:\\msys64\\usr\\bin;E:\\msys64\\usr\\bin;C:\\Windows\\System32;C:\\Windows;C:\\Windows\\System32\\Wbem;C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\;E:\\msys64\\usr\\bin\\site_perl;E:\\msys64\\usr\\bin\\vendor_perl;E:\\msys64\\usr\\bin\\core_perl;E:\\apache-ant-1.10.0\\bin;E:\\FFmpeg\\dev\\ffmpeg_x64\\bin;E:\\FFmpeg\\dev\\sdl_x64\\bin;e:\\python\\python27-x64\\lib\\site-packages\\pywin32_system32')
arm-linux-androideabi-gcc
['E:\\msys64\\usr\\bin\\uname.exe', '-m'] None
[DEBUG]: -> running E:\Python\Python27-x64\Scripts\gcc.exe -dumpmachine
['E:\\Python\\Python27-x64\\Scripts\\gcc.exe', '-dumpmachine'] None
[DEBUG]: x86_64-w64-mingw32
[DEBUG]: -> running configure --host=arm-eabi --build=x86_64-w64-mingw32 --prefix=G:\python\py4a\builds\storage\build\other_builds\python2\armeabi-v7a\python2\python-install --enable-shared --disable-toolbox-glue --disable-framework
['E:\\msys64\\usr\\bin\\bash.exe', 'G:\\python\\py4a\\builds\\storage\\build\\other_builds\\python2\\armeabi-v7a\\python2\\configure', '--host=arm-eabi', '--build=x86_64-w64-mingw32', '--prefix=G:\\python\\py4a\\builds\\storage\\build\\other_builds\\python2\\armeabi-v7a\\python2\\python-install', '--enable-shared', '--disable-toolbox-glue', '--disable-framework'] None
checking for --enable-universalsdk... no
checking for --with-universal-archs... 32-bit
checking MACHDEP... msys_nt-10.02
checking EXTRAPLATDIR...
checking machine type as reported by uname -m... x86_64
checking for --without-gcc... no
checking for arm-eabi-gcc... arm-linux-androideabi-gcc -DANDROID -mandroid -fomit-frame-pointer --sysroot E:\Android\android-ndk-r13b\platforms\android-23\arch-arm
checking whether the C compiler works... no
configure: error: in `/g/python/py4a/builds/storage/build/other_builds/python2/armeabi-v7a/python2':
configure: error: C compiler cannot create executables
See `config.log' for more details
E:\msys64\usr\bin\bash.exe G:\python\py4a\builds\storage\build\other_builds\python2\armeabi-v7a\python2\configure --host=arm-eabi --build=x86_64-w64-mingw32 --prefix=G:\python\py4a\builds\storage\build\other_builds\python2\armeabi-v7a\python2\python-install --enable-shared --disable-toolbox-glue --disable-framework
Traceback (most recent call last):
File "E:\Python\Python27-x64\Scripts\p4a-script.py", line 11, in <module>
load_entry_point('python-for-android', 'console_scripts', 'p4a')()
File "g:\python\py4a\python-for-android\pythonforandroid\toolchain.py", line 868, in main
ToolchainCL()
File "g:\python\py4a\python-for-android\pythonforandroid\toolchain.py", line 494, in __init__
getattr(self, args.subparser_name.replace('-', '_'))(args)
File "g:\python\py4a\python-for-android\pythonforandroid\toolchain.py", line 147, in wrapper_func
build_dist_from_args(ctx, dist, args)
File "g:\python\py4a\python-for-android\pythonforandroid\toolchain.py", line 190, in build_dist_from_args
build_recipes(build_order, python_modules, ctx)
File "g:\python\py4a\python-for-android\pythonforandroid\build.py", line 566, in build_recipes
recipe.build_arch(arch)
File "g:\python\py4a\python-for-android\pythonforandroid\recipes\python2\__init__.py", line 44, in build_arch
self.do_python_build(arch)
File "g:\python\py4a\python-for-android\pythonforandroid\recipes\python2\__init__.py", line 125, in do_python_build
_env=env)
File "g:\python\py4a\python-for-android\pythonforandroid\logger.py", line 175, in shprint
for line in output:
File "g:\python\py4a\python-for-android\pythonforandroid\sh.py", line 204, in __iter__
if self.call_args["bg"]: self.wait()
File "g:\python\py4a\python-for-android\pythonforandroid\sh.py", line 193, in wait
self._handle_exit_code(self.process.wait())
File "g:\python\py4a\python-for-android\pythonforandroid\sh.py", line 198, in _handle_exit_code
raise get_rc_exc(rc)(self.command_ran, self._stdout, self._stderr)
pythonforandroid.sh.ErrorReturnCode_77:
Ran: 'E:\\msys64\\usr\\bin\\bash.exe G:\\python\\py4a\\builds\\storage\\build\\other_builds\\python2\\armeabi-v7a\\python2\\configure --host=arm-eabi --build=x86_64-w64-mingw32 --prefix=G:\\python\\py4a\\builds\\storage\\build\\other_builds\\python2\\armeabi-v7a\\python2\\python-install --enable-shared --disable-toolbox-glue --disable-framework'
STDOUT:
checking for --enable-universalsdk... no
checking for --with-universal-archs... 32-bit
checking MACHDEP... msys_nt-10.02
checking EXTRAPLATDIR...
checking machine type as reported by uname -m... x86_64
checking for --without-gcc... no
checking for arm-eabi-gcc... arm-linux-androideabi-gcc -DANDROID -mandroid -fomit-frame-pointer --sysroot E:\Android\android-ndk-r13b\platforms\android-23\arch-arm
checking whether the C compiler works... no
STDERR:
configure: error: in `/g/python/py4a/builds/storage/build/other_builds/python2/armeabi-v7a/python2':
configure: error: C compiler cannot create executables
See `config.log' for more details
Command exited with non-zero status 1
0.00user 0.06system 0:36.03elapsed 0%CPU (0avgtext+0avgdata 728832maxresident)k
0inputs+0outputs (5121major+0minor)pagefaults 0swaps
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
It was created by python configure 2.7, which was
generated by GNU Autoconf 2.68. Invocation command line was
$ G:\python\py4a\builds\storage\build\other_builds\python2\armeabi-v7a\python2\configure --host=arm-eabi --build=x86_64-w64-mingw32 --prefix=G:\python\py4a\builds\storage\build\other_builds\python2\armeabi-v7a\python2\python-install --enable-shared --disable-toolbox-glue --disable-framework
## --------- ##
## Platform. ##
## --------- ##
hostname = Dove-TDSkope
uname -m = x86_64
uname -r = 2.6.0(0.304/5/3)
uname -s = MSYS_NT-10.0
uname -v = 2016-09-07 20:45
/usr/bin/uname -p = unknown
/bin/uname -X = unknown
/bin/arch = x86_64
/usr/bin/arch -k = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo = unknown
/bin/machine = unknown
/usr/bin/oslevel = unknown
/bin/universe = unknown
PATH: /e/Android/android-ndk-r13b/toolchains/arm-linux-androideabi-4.9/prebuilt/windows-x86/bin/
PATH: /e/Android/android-ndk-r13b/toolchains/arm-linux-androideabi-4.9/prebuilt/windows-x86_64/bin/
PATH: /e/Android/android-ndk-r13b
PATH: /e/Android/sdk/tools
PATH: /e/Python/Python27-x64
PATH: /e/Python/Python27-x64/Scripts
PATH: /mingw64/bin
PATH: /usr/local/bin
PATH: /usr/bin
PATH: /usr/bin
PATH: /c/Windows/System32
PATH: /c/Windows
PATH: /c/Windows/System32/Wbem
PATH: /c/Windows/System32/WindowsPowerShell/v1.0
PATH: /usr/bin/site_perl
PATH: /usr/bin/vendor_perl
PATH: /usr/bin/core_perl
PATH: /e/apache-ant-1.10.0/bin
PATH: /e/FFmpeg/dev/ffmpeg_x64/bin
PATH: /e/FFmpeg/dev/sdl_x64/bin
PATH: /e/python/python27-x64/lib/site-packages/pywin32_system32
## ----------- ##
## Core tests. ##
## ----------- ##
configure:2764: checking for --enable-universalsdk
configure:2805: result: no
configure:2814: checking for --with-universal-archs
configure:2831: result: 32-bit
configure:2988: checking MACHDEP
configure:3136: result: msys_nt-10.02
configure:3142: checking EXTRAPLATDIR
configure:3157: result:
configure:3168: checking machine type as reported by uname -m
configure:3171: result: x86_64
configure:3184: checking for --without-gcc
configure:3228: result: no
configure:3249: checking for arm-eabi-gcc
configure:3276: result: arm-linux-androideabi-gcc -DANDROID -mandroid -fomit-frame-pointer --sysroot E:\Android\android-ndk-r13b\platforms\android-23\arch-arm
configure:3545: checking for C compiler version
configure:3554: arm-linux-androideabi-gcc -DANDROID -mandroid -fomit-frame-pointer --sysroot E:\Android\android-ndk-r13b\platforms\android-23\arch-arm --version >&5
arm-linux-androideabi-gcc.exe (GCC) 4.9.x 20150123 (prerelease)
Copyright (C) 2014 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
configure:3565: $? = 0
configure:3554: arm-linux-androideabi-gcc -DANDROID -mandroid -fomit-frame-pointer --sysroot E:\Android\android-ndk-r13b\platforms\android-23\arch-arm -v >&5
Using built-in specs.
COLLECT_GCC=E:\Android\android-ndk-r13b\toolchains\arm-linux-androideabi-4.9\prebuilt\windows-x86_64\bin\arm-linux-androideabi-gcc.exe
COLLECT_LTO_WRAPPER=e:/android/android-ndk-r13b/toolchains/arm-linux-androideabi-4.9/prebuilt/windows-x86_64/bin/../libexec/gcc/arm-linux-androideabi/4.9.x/lto-wrapper.exe
Target: arm-linux-androideabi
Configured with: /usr/local/google/buildbot/src/android/gcc/toolchain/build/../gcc/gcc-4.9/configure --prefix=/tmp/54f254f8bb7b48dd787052921220a87d --target=arm-linux-androideabi --host=x86_64-pc-mingw32msvc --build=x86_64-linux-gnu --with-gnu-as --with-gnu-ld --enable-languages=c,c++ --with-gmp=/buildbot/tmp/build/toolchain/temp-install --with-mpfr=/buildbot/tmp/build/toolchain/temp-install --with-mpc=/buildbot/tmp/build/toolchain/temp-install --with-cloog=/buildbot/tmp/build/toolchain/temp-install --with-isl=/buildbot/tmp/build/toolchain/temp-install --with-ppl=/buildbot/tmp/build/toolchain/temp-install --disable-ppl-version-check --disable-cloog-version-check --disable-isl-version-check --enable-cloog-backend=isl --with-host-libstdcxx='-static-libgcc -static-libstdc++ -lstdc++ -lm -static' --disable-libssp --enable-threads --disable-nls --disable-libmudflap --disable-libgomp --disable-libstdc__-v3 --disable-sjlj-exceptions --disable-shared --disable-tls --disable-libitm --with-float=soft --with-fpu=vfp --with-arch=armv5te --enable-target-optspace --enable-bionic-libs --enable-libatomic-ifuncs=no --enable-initfini-array --disable-nls --prefix=/tmp/54f254f8bb7b48dd787052921220a87d --with-sysroot=/tmp/54f254f8bb7b48dd787052921220a87d/sysroot --with-binutils-version=2.25 --with-mpfr-version=3.1.1 --with-mpc-version=1.0.1 --with-gmp-version=5.0.5 --with-gcc-version=4.9 --with-gdb-version=none --with-gxx-include-dir=/tmp/54f254f8bb7b48dd787052921220a87d/include/c++/4.9.x --with-bugurl=http://source.android.com/source/report-bugs.html --enable-languages=c,c++ --disable-bootstrap --enable-plugins --enable-libgomp --enable-gnu-indirect-function --disable-libsanitizer --enable-gold --enable-eh-frame-hdr-for-static --enable-graphite=yes --with-isl-version=0.11.1 --with-cloog-version=0.18.0 --with-arch=armv5te --program-transform-name='s&^&arm-linux-androideabi-&' --enable-gold=default
Thread model: posix
gcc version 4.9.x 20150123 (prerelease) (GCC)
configure:3565: $? = 0
configure:3554: arm-linux-androideabi-gcc -DANDROID -mandroid -fomit-frame-pointer --sysroot E:\Android\android-ndk-r13b\platforms\android-23\arch-arm -V >&5
arm-linux-androideabi-gcc.exe: error: unrecognized command line option '-V'
arm-linux-androideabi-gcc.exe: fatal error: no input files
compilation terminated.
configure:3565: $? = 1
configure:3554: arm-linux-androideabi-gcc -DANDROID -mandroid -fomit-frame-pointer --sysroot E:\Android\android-ndk-r13b\platforms\android-23\arch-arm -qversion >&5
arm-linux-androideabi-gcc.exe: error: unrecognized command line option '-qversion'
arm-linux-androideabi-gcc.exe: fatal error: no input files
compilation terminated.
configure:3565: $? = 1
configure:3585: checking whether the C compiler works
configure:3607: arm-linux-androideabi-gcc -DANDROID -mandroid -fomit-frame-pointer --sysroot E:\Android\android-ndk-r13b\platforms\android-23\arch-arm -DANDROID -mandroid -fomit-frame-pointer --sysroot E:\Android\android-ndk-r13b\platforms\android-23\arch-arm -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -mthumb -DNO_MALLINFO -lm -LG:/python/py4a/builds/storage\build\libs_collections\unnamed_dist_27\armeabi-v7a conftest.c >&5
This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information.
Cannot create temporary file in C:\Windows\: Permission denied
configure:3611: $? = 3
configure:3649: result: no
configure: failed program was:
| /* confdefs.h */
| #define _GNU_SOURCE 1
| #define _NETBSD_SOURCE 1
| #define __BSD_VISIBLE 1
| #define _BSD_TYPES 1
| #define _DARWIN_C_SOURCE 1
| #define _XOPEN_SOURCE 600
| #define _XOPEN_SOURCE_EXTENDED 1
| #define _POSIX_C_SOURCE 200112L
| /* end confdefs.h. */
|
| int
| main ()
| {
|
| ;
| return 0;
| }
configure:3654: error: in `/g/python/py4a/builds/storage/build/other_builds/python2/armeabi-v7a/python2':
configure:3656: error: C compiler cannot create executables
See `config.log' for more details
## ---------------- ##
## Cache variables. ##
## ---------------- ##
ac_cv_env_CC_set=set
ac_cv_env_CC_value='arm-linux-androideabi-gcc -DANDROID -mandroid -fomit-frame-pointer --sysroot E:\Android\android-ndk-r13b\platforms\android-23\arch-arm'
ac_cv_env_CFLAGS_set=set
ac_cv_env_CFLAGS_value='-DANDROID -mandroid -fomit-frame-pointer --sysroot E:\Android\android-ndk-r13b\platforms\android-23\arch-arm -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -mthumb -DNO_MALLINFO'
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CPP_set=
ac_cv_env_CPP_value=
ac_cv_env_LDFLAGS_set=set
ac_cv_env_LDFLAGS_value='-lm -LG:/python/py4a/builds/storage\build\libs_collections\unnamed_dist_27\armeabi-v7a'
ac_cv_env_LIBS_set=
ac_cv_env_LIBS_value=
ac_cv_env_build_alias_set=set
ac_cv_env_build_alias_value=x86_64-w64-mingw32
ac_cv_env_host_alias_set=set
ac_cv_env_host_alias_value=arm-eabi
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_prog_CC='arm-linux-androideabi-gcc -DANDROID -mandroid -fomit-frame-pointer --sysroot E:\Android\android-ndk-r13b\platforms\android-23\arch-arm'
## ----------------- ##
## Output variables. ##
## ----------------- ##
AR='arm-linux-androideabi-ar'
ARCH_RUN_32BIT=''
ARFLAGS=''
BASECFLAGS=''
BLDLIBRARY=''
BLDSHARED=''
BUILDEXEEXT=''
CC='arm-linux-androideabi-gcc -DANDROID -mandroid -fomit-frame-pointer --sysroot E:\Android\android-ndk-r13b\platforms\android-23\arch-arm'
CCSHARED=''
CFLAGS='-DANDROID -mandroid -fomit-frame-pointer --sysroot E:\Android\android-ndk-r13b\platforms\android-23\arch-arm -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -mthumb -DNO_MALLINFO'
CFLAGSFORSHARED=''
CONFIGURE_MACOSX_DEPLOYMENT_TARGET=''
CONFIG_ARGS=' '\''--host=arm-eabi'\'' '\''--build=x86_64-w64-mingw32'\'' '\''--prefix=G:\python\py4a\builds\storage\build\other_builds\python2\armeabi-v7a\python2\python-install'\'' '\''--enable-shared'\'' '\''--disable-toolbox-glue'\'' '\''--disable-framework'\'' '\''build_alias=x86_64-w64-mingw32'\'' '\''host_alias=arm-eabi'\'' '\''CC=arm-linux-androideabi-gcc -DANDROID -mandroid -fomit-frame-pointer --sysroot E:\Android\android-ndk-r13b\platforms\android-23\arch-arm'\'' '\''CFLAGS=-DANDROID -mandroid -fomit-frame-pointer --sysroot E:\Android\android-ndk-r13b\platforms\android-23\arch-arm -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -mthumb -DNO_MALLINFO'\'' '\''LDFLAGS=-lm -LG:/python/py4a/builds/storage\build\libs_collections\unnamed_dist_27\armeabi-v7a'\'''
CPP=''
CPPFLAGS=''
CXX='arm-linux-androideabi-g++ -DANDROID -mandroid -fomit-frame-pointer --sysroot E:\Android\android-ndk-r13b\platforms\android-23\arch-arm'
DEFS=''
DLINCLDIR=''
DLLLIBRARY=''
DYNLOADFILE=''
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP=''
EXEEXT=''
EXPORT_MACOSX_DEPLOYMENT_TARGET='#'
EXTRAMACHDEPPATH=''
EXTRAPLATDIR=''
FRAMEWORKALTINSTALLFIRST=''
FRAMEWORKALTINSTALLLAST=''
FRAMEWORKINSTALLAPPSPREFIX=''
FRAMEWORKINSTALLFIRST=''
FRAMEWORKINSTALLLAST=''
FRAMEWORKUNIXTOOLSPREFIX='G:\python\py4a\builds\storage\build\other_builds\python2\armeabi-v7a\python2\python-install'
GNULD=''
GREP=''
HAS_HG=''
HAVE_GETHOSTBYNAME=''
HAVE_GETHOSTBYNAME_R=''
HAVE_GETHOSTBYNAME_R_3_ARG=''
HAVE_GETHOSTBYNAME_R_5_ARG=''
HAVE_GETHOSTBYNAME_R_6_ARG=''
HGBRANCH=''
HGTAG=''
HGVERSION=''
INSTALL_DATA=''
INSTALL_PROGRAM=''
INSTALL_SCRIPT=''
INSTSONAME=''
LDCXXSHARED=''
LDFLAGS='-lm -LG:/python/py4a/builds/storage\build\libs_collections\unnamed_dist_27\armeabi-v7a'
LDLAST=''
LDLIBRARY=''
LDLIBRARYDIR=''
LDSHARED=''
LIBC=''
LIBFFI_INCLUDEDIR=''
LIBM=''
LIBOBJS=''
LIBRARY=''
LIBS=''
LIBTOOL_CRUFT=''
LINKCC=''
LINKFORSHARED=''
LIPO_32BIT_FLAGS=''
LN=''
LTLIBOBJS=''
MACHDEP='msys_nt-10.02'
MACHDEP_OBJS=''
MAINCC=''
OBJEXT=''
OPT=''
OTHER_LIBTOOL_OPT=''
PACKAGE_BUGREPORT='http://bugs.python.org/'
PACKAGE_NAME='python'
PACKAGE_STRING='python 2.7'
PACKAGE_TARNAME='python'
PACKAGE_URL=''
PACKAGE_VERSION='2.7'
PATH_SEPARATOR=':'
PKG_CONFIG=''
PYTHONFRAMEWORK=''
PYTHONFRAMEWORKDIR='no-framework'
PYTHONFRAMEWORKIDENTIFIER='org.python.python'
PYTHONFRAMEWORKINSTALLDIR=''
PYTHONFRAMEWORKPREFIX=''
RANLIB='arm-linux-androideabi-ranlib'
RUNSHARED=''
SGI_ABI=''
SHELL='/bin/sh'
SHLIBS=''
SIGNAL_OBJS=''
SO=''
SOVERSION='1.0'
SRCDIRS=''
SVNVERSION=''
THREADHEADERS=''
THREADOBJ=''
TRUE=''
UNICODE_OBJS=''
UNIVERSALSDK=''
UNIVERSAL_ARCH_FLAGS=''
USE_SIGNAL_MODULE=''
USE_THREAD_MODULE=''
VERSION='2.7'
ac_ct_CC=''
bindir='${exec_prefix}/bin'
build_alias='x86_64-w64-mingw32'
datadir='${datarootdir}'
datarootdir='${prefix}/share'
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
dvidir='${docdir}'
exec_prefix='NONE'
host_alias='arm-eabi'
htmldir='${docdir}'
includedir='${prefix}/include'
infodir='${datarootdir}/info'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localedir='${datarootdir}/locale'
localstatedir='${prefix}/var'
mandir='${datarootdir}/man'
oldincludedir='/usr/include'
pdfdir='${docdir}'
prefix='G:\python\py4a\builds\storage\build\other_builds\python2\armeabi-v7a\python2\python-install'
program_transform_name='s,x,x,'
psdir='${docdir}'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
target_alias=''
## ----------- ##
## confdefs.h. ##
## ----------- ##
/* confdefs.h */
#define _GNU_SOURCE 1
#define _NETBSD_SOURCE 1
#define __BSD_VISIBLE 1
#define _BSD_TYPES 1
#define _DARWIN_C_SOURCE 1
#define _XOPEN_SOURCE 600
#define _XOPEN_SOURCE_EXTENDED 1
#define _POSIX_C_SOURCE 200112L
configure: exit 77
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment