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 am (still) working on building Python for Android with Zope2 by:
./distribute.sh -m "openssl pil zope2"
I have gotten passed all my compiling errors however P4A now errors out with the below:
Leaving ARM enviromnent
Skipped build_python
Skipped build_pil
Entering in ARM enviromnent
Compiler found at /home/zachary/android-ndk-r8c/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86/bin//arm-linux-androideabi-gcc
Biglink create /home/zachary/python-for-android/build/libs/libpymodules.so library
Biglink arguments:
/home/zachary/python-for-android/build/objects/_arraysurfarray.so.o
/home/zachary/python-for-android/build/objects/c_opengl_debug.so.o
/home/zachary/python-for-android/build/objects/_MethodObject.so.o
/home/zachary/python-for-android/build/objects/_android_sound.so.o
/home/zachary/python-for-android/build/objects/key.so.o
/home/zachary/python-for-android/build/objects/pixelarray.so.o
/home/zachary/python-for-android/build/objects/shader.so.o
/home/zachary/python-for-android/build/objects/buffer.so.o
/home/zachary/python-for-android/build/objects/cPickleCache.so.o
/home/zachary/python-for-android/build/objects/stencil_instructions.so.o
/home/zachary/python-for-android/build/objects/draw.so.o
/home/zachary/python-for-android/build/objects/instructions.so.o
/home/zachary/python-for-android/build/objects/TimeStamp.so.o
/home/zachary/python-for-android/build/objects/gfxdraw.so.o
/home/zachary/python-for-android/build/objects/fbo.so.o
/home/zachary/python-for-android/build/objects/_android.so.o
/home/zachary/python-for-android/build/objects/opengl_utils.so.o
/home/zachary/python-for-android/build/objects/_event.so.o
/home/zachary/python-for-android/build/objects/transformation.so.o
/home/zachary/python-for-android/build/objects/_proxy.so.o
/home/zachary/python-for-android/build/objects/surface.so.o
/home/zachary/python-for-android/build/objects/_IOBTree.so.o
/home/zachary/python-for-android/build/objects/display.so.o
/home/zachary/python-for-android/build/objects/_initgroups.so.o
/home/zachary/python-for-android/build/objects/_LOBTree.so.o
/home/zachary/python-for-android/build/objects/transform.so.o
/home/zachary/python-for-android/build/objects/_imagingmath.so.o
/home/zachary/python-for-android/build/objects/_Record.so.o
/home/zachary/python-for-android/build/objects/_IIBTree.so.o
/home/zachary/python-for-android/build/objects/vertex.so.o
/home/zachary/python-for-android/build/objects/gl_instructions.so.o
/home/zachary/python-for-android/build/objects/_zope_interface_coptimizations.so.o
/home/zachary/python-for-android/build/objects/opengl.so.o
/home/zachary/python-for-android/build/objects/_ExtensionClass.so.o
/home/zachary/python-for-android/build/objects/properties.so.o
/home/zachary/python-for-android/build/objects/_Persistence.so.o
/home/zachary/python-for-android/build/objects/surflock.so.o
/home/zachary/python-for-android/build/objects/texture.so.o
/home/zachary/python-for-android/build/objects/_zope_security_checker.so.o
/home/zachary/python-for-android/build/objects/joystick.so.o
/home/zachary/python-for-android/build/objects/_OIBTree.so.o
/home/zachary/python-for-android/build/objects/_LLBTree.so.o
/home/zachary/python-for-android/build/objects/_zope_i18nmessageid_message.so.o
/home/zachary/python-for-android/build/objects/context_instructions.so.o
/home/zachary/python-for-android/build/objects/_IFBTree.so.o
/home/zachary/python-for-android/build/objects/_fsBTree.so.o
/home/zachary/python-for-android/build/objects/_MultiMapping.so.o
/home/zachary/python-for-android/build/objects/font.so.o
-lsdl_ttf
/home/zachary/python-for-android/build/objects/base.so.o
/home/zachary/python-for-android/build/objects/_OOBTree.so.o
/home/zachary/python-for-android/build/objects/vbo.so.o
/home/zachary/python-for-android/build/objects/event.so.o
/home/zachary/python-for-android/build/objects/_ComputedAttribute.so.o
/home/zachary/python-for-android/build/objects/imageext.so.o
-lsdl_image
-lpng
/home/zachary/python-for-android/build/objects/cdrom.so.o
/home/zachary/python-for-android/build/objects/_zope_container_contained.so.o
/home/zachary/python-for-android/build/objects/color.so.o
/home/zachary/python-for-android/build/objects/_android_billing.so.o
/home/zachary/python-for-android/build/objects/constants.so.o
/home/zachary/python-for-android/build/objects/rwobject.so.o
/home/zachary/python-for-android/build/objects/_Acquisition.so.o
/home/zachary/python-for-android/build/objects/cPersistence.so.o
/home/zachary/python-for-android/build/objects/context.so.o
/home/zachary/python-for-android/build/objects/vertex_instructions.so.o
/home/zachary/python-for-android/build/objects/bufferproxy.so.o
/home/zachary/python-for-android/build/objects/image.so.o
/home/zachary/python-for-android/build/objects/_LFBTree.so.o
/home/zachary/python-for-android/build/objects/rect.so.o
/home/zachary/python-for-android/build/objects/mask.so.o
/home/zachary/python-for-android/build/objects/cAccessControl.so.o
/home/zachary/python-for-android/build/objects/overlay.so.o
/home/zachary/python-for-android/build/objects/jnius.so.o
-Llibs/armeabi
-llog
/home/zachary/python-for-android/build/objects/_imaging.so.o
-L/home/zachary/python-for-android/src/obj/local/armeabi
-L/home/zachary/android-ndk-r8c/platforms/android-14/arch-arm/usr/lib
-ljpeg
/home/zachary/python-for-android/build/objects/time.so.o
/home/zachary/python-for-android/build/objects/fastevent.so.o
/home/zachary/python-for-android/build/objects/okascore.so.o
/home/zachary/python-for-android/build/objects/compiler.so.o
-lGLESv2
/home/zachary/python-for-android/build/objects/_Missing.so.o
/home/zachary/python-for-android/build/objects/cDocumentTemplate.so.o
/home/zachary/python-for-android/build/objects/_zope_proxy_proxy.so.o
/home/zachary/python-for-android/build/objects/mouse.so.o
-L/home/zachary/python-for-android/src/obj/local/armeabi/
-lz
-L/home/zachary/python-for-android/build/python-install/lib
-lsdl
-lpython2.7
/home/zachary/python-for-android/build/objects/_OLBTree.so.o
/home/zachary/python-for-android/build/objects/stopper.so.o
-lm
-L/home/zachary/python-for-android/build/libs
/home/zachary/python-for-android/build/objects/_LOBTree.so.o: In function `init_persist_type':
/tmp/easy_install-mi1nSH/ZODB3-3.10.5/src/BTrees/BTreeModuleTemplate.c:455: multiple definition of `init_persist_type'
/home/zachary/python-for-android/build/objects/_IOBTree.so.o:/tmp/easy_install-mi1nSH/ZODB3-3.10.5/src/BTrees/BTreeModuleTemplate.c:455: first defined here
/home/zachary/python-for-android/build/objects/_LOBTree.so.o: In function `get_bucket_state':
/tmp/easy_install-mi1nSH/ZODB3-3.10.5/src/BTrees/BTreeTemplate.c:1150: multiple definition of `get_bucket_state'
/home/zachary/python-for-android/build/objects/_IOBTree.so.o:/tmp/easy_install-mi1nSH/ZODB3-3.10.5/src/BTrees/BTreeTemplate.c:1150: first defined here
/home/zachary/python-for-android/build/objects/_IIBTree.so.o: In function `init_persist_type':
/tmp/easy_install-mi1nSH/ZODB3-3.10.5/src/BTrees/BTreeModuleTemplate.c:455: multiple definition of `init_persist_type'
/home/zachary/python-for-android/build/objects/_IOBTree.so.o:/tmp/easy_install-mi1nSH/ZODB3-3.10.5/src/BTrees/BTreeModuleTemplate.c:455: first defined here
/home/zachary/python-for-android/build/objects/_IIBTree.so.o: In function `get_bucket_state':
/tmp/easy_install-mi1nSH/ZODB3-3.10.5/src/BTrees/BTreeTemplate.c:1150: multiple definition of `get_bucket_state'
/home/zachary/python-for-android/build/objects/_IOBTree.so.o:/tmp/easy_install-mi1nSH/ZODB3-3.10.5/src/BTrees/BTreeTemplate.c:1150: first defined here
/home/zachary/python-for-android/build/objects/_OIBTree.so.o: In function `init_persist_type':
/tmp/easy_install-mi1nSH/ZODB3-3.10.5/src/BTrees/BTreeModuleTemplate.c:455: multiple definition of `init_persist_type'
/home/zachary/python-for-android/build/objects/_IOBTree.so.o:/tmp/easy_install-mi1nSH/ZODB3-3.10.5/src/BTrees/BTreeModuleTemplate.c:455: first defined here
/home/zachary/python-for-android/build/objects/_OIBTree.so.o: In function `get_bucket_state':
/tmp/easy_install-mi1nSH/ZODB3-3.10.5/src/BTrees/BTreeTemplate.c:1150: multiple definition of `get_bucket_state'
/home/zachary/python-for-android/build/objects/_IOBTree.so.o:/tmp/easy_install-mi1nSH/ZODB3-3.10.5/src/BTrees/BTreeTemplate.c:1150: first defined here
/home/zachary/python-for-android/build/objects/_LLBTree.so.o: In function `init_persist_type':
/tmp/easy_install-mi1nSH/ZODB3-3.10.5/src/BTrees/BTreeModuleTemplate.c:455: multiple definition of `init_persist_type'
/home/zachary/python-for-android/build/objects/_IOBTree.so.o:/tmp/easy_install-mi1nSH/ZODB3-3.10.5/src/BTrees/BTreeModuleTemplate.c:455: first defined here
/home/zachary/python-for-android/build/objects/_LLBTree.so.o: In function `get_bucket_state':
/tmp/easy_install-mi1nSH/ZODB3-3.10.5/src/BTrees/BTreeTemplate.c:1150: multiple definition of `get_bucket_state'
/home/zachary/python-for-android/build/objects/_IOBTree.so.o:/tmp/easy_install-mi1nSH/ZODB3-3.10.5/src/BTrees/BTreeTemplate.c:1150: first defined here
/home/zachary/python-for-android/build/objects/_IFBTree.so.o: In function `init_persist_type':
/tmp/easy_install-mi1nSH/ZODB3-3.10.5/src/BTrees/BTreeModuleTemplate.c:455: multiple definition of `init_persist_type'
/home/zachary/python-for-android/build/objects/_IOBTree.so.o:/tmp/easy_install-mi1nSH/ZODB3-3.10.5/src/BTrees/BTreeModuleTemplate.c:455: first defined here
/home/zachary/python-for-android/build/objects/_IFBTree.so.o: In function `get_bucket_state':
/tmp/easy_install-mi1nSH/ZODB3-3.10.5/src/BTrees/BTreeTemplate.c:1150: multiple definition of `get_bucket_state'
/home/zachary/python-for-android/build/objects/_IOBTree.so.o:/tmp/easy_install-mi1nSH/ZODB3-3.10.5/src/BTrees/BTreeTemplate.c:1150: first defined here
/home/zachary/python-for-android/build/objects/_fsBTree.so.o: In function `init_persist_type':
/tmp/easy_install-mi1nSH/ZODB3-3.10.5/src/BTrees/BTreeModuleTemplate.c:455: multiple definition of `init_persist_type'
/home/zachary/python-for-android/build/objects/_IOBTree.so.o:/tmp/easy_install-mi1nSH/ZODB3-3.10.5/src/BTrees/BTreeModuleTemplate.c:455: first defined here
/home/zachary/python-for-android/build/objects/_fsBTree.so.o: In function `get_bucket_state':
/tmp/easy_install-mi1nSH/ZODB3-3.10.5/src/BTrees/BTreeTemplate.c:1150: multiple definition of `get_bucket_state'
/home/zachary/python-for-android/build/objects/_IOBTree.so.o:/tmp/easy_install-mi1nSH/ZODB3-3.10.5/src/BTrees/BTreeTemplate.c:1150: first defined here
/home/zachary/python-for-android/build/objects/_OOBTree.so.o: In function `init_persist_type':
/tmp/easy_install-mi1nSH/ZODB3-3.10.5/src/BTrees/BTreeModuleTemplate.c:455: multiple definition of `init_persist_type'
/home/zachary/python-for-android/build/objects/_IOBTree.so.o:/tmp/easy_install-mi1nSH/ZODB3-3.10.5/src/BTrees/BTreeModuleTemplate.c:455: first defined here
/home/zachary/python-for-android/build/objects/_OOBTree.so.o: In function `get_bucket_state':
/tmp/easy_install-mi1nSH/ZODB3-3.10.5/src/BTrees/BTreeTemplate.c:1150: multiple definition of `get_bucket_state'
/home/zachary/python-for-android/build/objects/_IOBTree.so.o:/tmp/easy_install-mi1nSH/ZODB3-3.10.5/src/BTrees/BTreeTemplate.c:1150: first defined here
/home/zachary/python-for-android/build/objects/cPersistence.so.o: In function `ring_move_to_head':
/tmp/easy_install-mi1nSH/ZODB3-3.10.5/src/persistent/ring.c:55: multiple definition of `ring_move_to_head'
/home/zachary/python-for-android/build/objects/cPickleCache.so.o:/tmp/easy_install-mi1nSH/ZODB3-3.10.5/src/persistent/ring.c:55: first defined here
/home/zachary/python-for-android/build/objects/cPersistence.so.o: In function `ring_add':
/tmp/easy_install-mi1nSH/ZODB3-3.10.5/src/persistent/ring.c:38: multiple definition of `ring_add'
/home/zachary/python-for-android/build/objects/cPickleCache.so.o:/tmp/easy_install-mi1nSH/ZODB3-3.10.5/src/persistent/ring.c:38: first defined here
/home/zachary/python-for-android/build/objects/cPersistence.so.o: In function `ring_del':
/tmp/easy_install-mi1nSH/ZODB3-3.10.5/src/persistent/ring.c:46: multiple definition of `ring_del'
/home/zachary/python-for-android/build/objects/cPickleCache.so.o:/tmp/easy_install-mi1nSH/ZODB3-3.10.5/src/persistent/ring.c:46: first defined here
/home/zachary/python-for-android/build/objects/_LFBTree.so.o: In function `init_persist_type':
/tmp/easy_install-mi1nSH/ZODB3-3.10.5/src/BTrees/BTreeModuleTemplate.c:455: multiple definition of `init_persist_type'
/home/zachary/python-for-android/build/objects/_IOBTree.so.o:/tmp/easy_install-mi1nSH/ZODB3-3.10.5/src/BTrees/BTreeModuleTemplate.c:455: first defined here
/home/zachary/python-for-android/build/objects/_LFBTree.so.o: In function `get_bucket_state':
/tmp/easy_install-mi1nSH/ZODB3-3.10.5/src/BTrees/BTreeTemplate.c:1150: multiple definition of `get_bucket_state'
/home/zachary/python-for-android/build/objects/_IOBTree.so.o:/tmp/easy_install-mi1nSH/ZODB3-3.10.5/src/BTrees/BTreeTemplate.c:1150: first defined here
/home/zachary/python-for-android/build/objects/_zope_proxy_proxy.so.o: In function `init_zope_proxy_proxy':
/tmp/easy_install-pE3zst/zope.proxy-3.6.1/src/zope/proxy/_zope_proxy_proxy.c:1120: multiple definition of `init_zope_proxy_proxy'
/home/zachary/python-for-android/build/objects/_zope_container_contained.so.o:/tmp/easy_install-yJWap3/zope.container-3.11.2/src/zope/container/_zope_proxy_proxy.c:1074: first defined here
/home/zachary/python-for-android/build/objects/_zope_proxy_proxy.so.o: In function `WrapperType_Lookup':
/tmp/easy_install-pE3zst/zope.proxy-3.6.1/src/zope/proxy/_zope_proxy_proxy.c:154: multiple definition of `WrapperType_Lookup'
/home/zachary/python-for-android/build/objects/_zope_container_contained.so.o:/tmp/easy_install-yJWap3/zope.container-3.11.2/src/zope/container/_zope_proxy_proxy.c:154: first defined here
/home/zachary/python-for-android/build/objects/_OLBTree.so.o: In function `init_persist_type':
/tmp/easy_install-mi1nSH/ZODB3-3.10.5/src/BTrees/BTreeModuleTemplate.c:455: multiple definition of `init_persist_type'
/home/zachary/python-for-android/build/objects/_IOBTree.so.o:/tmp/easy_install-mi1nSH/ZODB3-3.10.5/src/BTrees/BTreeModuleTemplate.c:455: first defined here
/home/zachary/python-for-android/build/objects/_OLBTree.so.o: In function `get_bucket_state':
/tmp/easy_install-mi1nSH/ZODB3-3.10.5/src/BTrees/BTreeTemplate.c:1150: multiple definition of `get_bucket_state'
/home/zachary/python-for-android/build/objects/_IOBTree.so.o:/tmp/easy_install-mi1nSH/ZODB3-3.10.5/src/BTrees/BTreeTemplate.c:1150: first defined here
collect2: ld returned 1 exit status
zachary@zachary-VirtualBox:~/python-for-android$
To get this point (and thus replicate the bug/issue) I had to do the following:
Use a 32bit Build environment in this case Ubutu 13.10
Use this recipe to build Zope2:
#!/bin/bash
VERSION_zope2=${VERSION_zope2:-2.13}
URL_zope2=http://github.com/zopefoundation/Zope/archive/$VERSION_zope2.zip
BUILD_zope2=$BUILD_PATH/zope2/$(get_directory $URL_zope2)
RECIPE_zope2=$RECIPES_PATH/zope2
function prebuild_zope2() {
true
}
function build_zope2() {
cd $BUILD_zope2
push_arm
export LDFLAGS="$LDFLAGS -L$LIBS_PATH"
export LDSHARED="$LIBLINK"
HOSTPYTHON=/home/zac/Documents/Projects/Apps/python-for-android/build/hostpython/Python-2.7.2/hostpython
try $HOSTPYTHON bootstrap.py
try bin/buildout
unset LDSHARED
pop_arm
}
function postbuild_zope2() {
true
}
Hello all,
I am (still) working on building Python for Android with Zope2 by:
I have gotten passed all my compiling errors however P4A now errors out with the below:
To get this point (and thus replicate the bug/issue) I had to do the following:
And then everything should build to the point above
The text was updated successfully, but these errors were encountered: