[Bug 873007] Re: python fails to cross-build
Launchpad Bug Tracker
873007 at bugs.launchpad.net
Sat Sep 29 20:09:24 UTC 2012
Status changed to 'Confirmed' because the bug affects multiple users.
** Changed in: python2.7 (Ubuntu)
Status: New => Confirmed
--
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:
Confirmed
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