[Bug 873007] Re: python fails to cross-build

Constantine Peresypkin constantine at litestack.com
Fri Nov 1 11:32:28 UTC 2013


Backport (backpackage?) to precise?

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to python2.7 in Ubuntu.
https://bugs.launchpad.net/bugs/873007

Title:
  python fails to cross-build

Status in “python2.7” package in Ubuntu:
  Fix Released

Bug description:
  Python fails to cross-build, with:

  make[3]: Entering directory `/home/wookey/testing/build/build/xdeb/python2.7/build-static'
  gcc -pthread -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -fprofile-generate -I. -IInclude -I../Include   -DPy_BUILD_CORE -o Modules/python.o ../Modules/python.c
  In file included from ../Include/Python.h:58:0,
                   from ../Modules/python.c:3:
  ../Include/pyport.h:849:2: error: #error "LONG_BIT definition appears wrong for platform (bad gcc/glibc config?)."

  Background:
  The build command is:
  xdeb --only-explicit -a armel --prefer-apt --apt-source --debug --force-rebuild python2.7-minimal

  The actual build command xdeb issues is:
  debuild --no-lintian -eUSER -eCONFIG_SITE=/etc/dpkg-cross/cross-config.armel -eDEB_BUILD_OPTIONS=nocheck -eGTEST_INCLUDEDIR=/usr/arm-linux-gnueabi/include -eGTEST_LIBDIR=/usr/arm-linux-gnueabi/lib -ePKG_CONFIG_LIBDIR=/usr/arm-linux-gnueabi/lib/pkgconfig:/usr/arm-linux-gnueabi/share/pkgconfig:/usr/share/pkgconfig -eDH_VERBOSE=1 -aarmel -b -uc -us -tc

  To easily reproduce the build environment in which this bug was discovered follow the HOWTO here:
  https://wiki.linaro.org/Platform/DevPlatform/CrossCompile/CrossBuildNano

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python2.7/+bug/873007/+subscriptions



More information about the foundations-bugs mailing list