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
# 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
}
This happens because the recipe tries to import a compiled component of the arm python, which can't run on the desktop. A possible workaround is to run hostpython from its build dir, as is done by some existing recipes. The new toolchain actually has a flag to do this automatically.
My recipe/fabric/recipe.sh looks like below
It fails with message like
Could you please me know whether recipe.sh has issues?
The text was updated successfully, but these errors were encountered: