-
Notifications
You must be signed in to change notification settings - Fork 2k
Closed
Labels
Description
My recipe/fabric/recipe.sh looks like below
# version of your package
VERSION_fabric=${VERSION_fabric:-1.8.3}
# dependencies of this recipe
DEPS_fabric=(python setuptools)
# url of the package
URL_fabric=https://pypi.python.org/packages/source/F/Fabric/Fabric-1.8.3.tar.gz
# md5 of the package
MD5_fabric=02ce0ad4657f2d0ab6497a8fd3a09c2c
# default build path
BUILD_fabric=$BUILD_PATH/fabric/$(get_directory $URL_fabric)
# default recipe path
RECIPE_fabric=$RECIPES_PATH/fabric
# function called for preparing source code if needed
# (you can apply patch etc here.)
function prebuild_fabric() {
true
}
# function called to build the source code
function build_fabric() {
cd $BUILD_fabric
export LDFLAGS="$LDFLAGS -L$LIBS_PATH"
export LDSHARED="$LIBLINK"
push_arm
try $HOSTPYTHON setup.py install
pop_arm
}
# function called after all the compile have been done
function postbuild_fabric() {
true
}
It fails with message like
import _io
ImportError: /home/kivy/.buildozer/android/platform/python-for-android/build/python-install/lib/python2.7/lib-dynload/_io.so: wrong ELF class: ELFCLASS32
Could you please me know whether recipe.sh has issues?
Reactions are currently unavailable