We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
As you can see below there is a problem while configuring the hostpython build:
thopiekar@home:~/Projekte/python-for-android/playground$ lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 12.10 Release: 12.10 Codename: quantal thopiekar@home:~/Projekte/python-for-android/playground$ ./distribute.sh -m "kivy" Check enviromnent SDK located at /home/thopiekar/.android-sdk/ NDK located at /home/thopiekar/.android-ndk/android-ndk-r7/ NDK version is r7 API level set to 14 Check mandatory tools Distribution will be located at /home/thopiekar/Projekte/python-for-android/playground/dist/default The distribution /home/thopiekar/Projekte/python-for-android/playground/dist/default already exist Press a key to remove it, or Control + C to abort. Entering in ARM enviromnent Compiler found at /home/thopiekar/.android-ndk/android-ndk-r7//toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86/bin//arm-linux-androideabi-gcc PATH is /home/thopiekar/.android-ndk/android-ndk-r7//toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86/bin/:/home/thopiekar/.android-ndk/android-ndk-r7/:/home/thopiekar/.android-sdk//tools:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games Leaving ARM enviromnent Read kivy recipe Module kivy depend on pygame android Dependency order is kivy (current) Dependency order is pygame android kivy (computed) Read pygame recipe Module pygame depend on python sdl Dependency order is pygame android kivy (current) Dependency order is python sdl pygame android kivy (computed) Read android recipe Module android depend on pygame Dependency order is python sdl pygame android kivy (current) Dependency order is python sdl pygame android kivy (computed) Read python recipe Module python depend on hostpython Dependency order is python sdl pygame android kivy (current) Dependency order is hostpython python sdl pygame android kivy (computed) Read sdl recipe Module sdl depend on python Dependency order is hostpython python sdl pygame android kivy (current) Dependency order is hostpython python sdl pygame android kivy (computed) Ignored pygame, already processed Read hostpython recipe Ignored python, already processed Run get packages Download package for hostpython Module hostpython already downloaded Download package for python Module python already downloaded Download package for sdl No package for sdl Download package for pygame Module pygame already downloaded Download package for android No package for android Download package for kivy Module kivy already downloaded Run prebuild Call prebuild_hostpython Call prebuild_python Call prebuild_sdl Call prebuild_pygame Call prebuild_android Call prebuild_kivy Run build Call build_hostpython checking for --enable-universalsdk... no checking for --with-universal-archs... 32-bit checking MACHDEP... linux3 checking EXTRAPLATDIR... checking machine type as reported by uname -m... x86_64 checking for --without-gcc... no checking for gcc... ccache gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... configure: error: in `/home/thopiekar/Projekte/python-for-android/playground/build/hostpython/Python-2.7.2': configure: error: cannot compute suffix of object files: cannot compile See `config.log' for more details thopiekar@home:~/Projekte/python-for-android/playground$ cat build/hostpython/Python-2.7.2/config.log 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 $ ./configure ## --------- ## ## Platform. ## ## --------- ## hostname = home uname -m = x86_64 uname -r = 3.5.0-18-generic uname -s = Linux uname -v = #29-Ubuntu SMP Fri Oct 19 10:26:51 UTC 2012 /usr/bin/uname -p = unknown /bin/uname -X = unknown /bin/arch = unknown /usr/bin/arch -k = unknown /usr/convex/getsysinfo = unknown /usr/bin/hostinfo = unknown /bin/machine = unknown /usr/bin/oslevel = unknown /bin/universe = unknown PATH: /usr/local/sbin PATH: /usr/local/bin PATH: /usr/sbin PATH: /usr/bin PATH: /sbin PATH: /bin PATH: /usr/games PATH: /usr/local/games ## ----------- ## ## 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: linux3 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:3289: checking for gcc configure:3316: result: ccache gcc configure:3545: checking for C compiler version configure:3554: ccache gcc --version >&5 gcc (Ubuntu/Linaro 4.7.2-2ubuntu1) 4.7.2 Copyright (C) 2012 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: ccache gcc -v >&5 Using built-in specs. COLLECT_GCC=/usr/bin/gcc COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/4.7/lto-wrapper Target: x86_64-linux-gnu Configured with: ../src/configure -v --with-pkgversion='Ubuntu/Linaro 4.7.2-2ubuntu1' --with-bugurl=file:///usr/share/doc/gcc-4.7/README.Bugs --enable-languages=c,c++,go,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-4.7 --enable-shared --enable-linker-build-id --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.7 --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --enable-gnu-unique-object --enable-plugin --enable-objc-gc --disable-werror --with-arch-32=i686 --with-tune=generic --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu Thread model: posix gcc version 4.7.2 (Ubuntu/Linaro 4.7.2-2ubuntu1) configure:3565: $? = 0 configure:3554: ccache gcc -V >&5 gcc: error: unrecognized command line option '-V' gcc: fatal error: no input files compilation terminated. configure:3565: $? = 4 configure:3554: ccache gcc -qversion >&5 gcc: error: unrecognized command line option '-qversion' gcc: fatal error: no input files compilation terminated. configure:3565: $? = 4 configure:3585: checking whether the C compiler works configure:3607: ccache gcc conftest.c >&5 configure:3611: $? = 0 configure:3659: result: yes configure:3662: checking for C compiler default output file name configure:3664: result: a.out configure:3670: checking for suffix of executables configure:3677: ccache gcc -o conftest conftest.c >&5 configure:3681: $? = 0 configure:3703: result: configure:3725: checking whether we are cross compiling configure:3733: ccache gcc -o conftest conftest.c >&5 configure:3737: $? = 0 configure:3744: ./conftest configure:3748: $? = 0 configure:3763: result: no configure:3768: checking for suffix of object files configure:3790: ccache gcc -c conftest.c >&5 ccache: FATAL: Failed to create /home/thopiekar/.ccache/0: Permission denied configure:3794: $? = 1 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:3808: error: in `/home/thopiekar/Projekte/python-for-android/playground/build/hostpython/Python-2.7.2': configure:3810: error: cannot compute suffix of object files: cannot compile See `config.log' for more details ## ---------------- ## ## Cache variables. ## ## ---------------- ## ac_cv_env_CC_set=set ac_cv_env_CC_value='ccache gcc' ac_cv_env_CFLAGS_set=set ac_cv_env_CFLAGS_value= 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= ac_cv_env_LIBS_set= ac_cv_env_LIBS_value= ac_cv_env_build_alias_set= ac_cv_env_build_alias_value= ac_cv_env_host_alias_set= ac_cv_env_host_alias_value= ac_cv_env_target_alias_set= ac_cv_env_target_alias_value= ac_cv_prog_ac_ct_CC='ccache gcc' ## ----------------- ## ## Output variables. ## ## ----------------- ## AR='' ARCH_RUN_32BIT='' ARFLAGS='' BASECFLAGS='' BLDLIBRARY='' BLDSHARED='' BUILDEXEEXT='' CC='ccache gcc' CCSHARED='' CFLAGS='' CFLAGSFORSHARED='' CONFIGURE_MACOSX_DEPLOYMENT_TARGET='' CONFIG_ARGS=' '\''CC=ccache gcc'\'' '\''CFLAGS='\'' '\''LDFLAGS='\''' CPP='' CPPFLAGS='' CXX='ccache g++' 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='/usr/local' 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='' LDLAST='' LDLIBRARY='' LDLIBRARYDIR='' LDSHARED='' LIBC='' LIBFFI_INCLUDEDIR='' LIBM='' LIBOBJS='' LIBRARY='' LIBS='' LIBTOOL_CRUFT='' LINKCC='' LINKFORSHARED='' LIPO_32BIT_FLAGS='' LN='' LTLIBOBJS='' MACHDEP='linux3' 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='' RUNSHARED='' SGI_ABI='' SHELL='/bin/bash' 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='ccache gcc' bindir='${exec_prefix}/bin' build_alias='' datadir='${datarootdir}' datarootdir='${prefix}/share' docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' dvidir='${docdir}' exec_prefix='NONE' host_alias='' 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='NONE' 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 1
The text was updated successfully, but these errors were encountered:
UPDATE: does not happen when -m "pil kivy" is set. Is pil needed to build hostpython?
Sorry, something went wrong.
It shouldn't, and the error seemed to be with ccache failing to run, not sure why it would be different with pil compiling before…
Strange.. Started the process again without pil and it works -.-' Seems that this issue can be closed ;)
However it would be interesting why it wasn't working fine before..
No branches or pull requests
As you can see below there is a problem while configuring the hostpython build:
The text was updated successfully, but these errors were encountered: