* [Buildroot] [Bug 5666] New: Fails to build python 2.7.2 for 2440 arm
@ 2012-11-12 12:28 bugzilla at busybox.net
2012-11-12 12:38 ` [Buildroot] [Bug 5666] " bugzilla at busybox.net
` (4 more replies)
0 siblings, 5 replies; 6+ messages in thread
From: bugzilla at busybox.net @ 2012-11-12 12:28 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=5666
Summary: Fails to build python 2.7.2 for 2440 arm
Product: buildroot
Version: 2012.08
Platform: PC
OS/Version: Linux
Status: NEW
Severity: blocker
Priority: P5
Component: Other
AssignedTo: unassigned at buildroot.uclibc.org
ReportedBy: hardcore at hardcoreforensics.com
CC: buildroot at uclibc.org
Estimated Hours: 0.0
The build process for Python under the samsung cpu 2440 fails to build with
the following error
bob at bob-virtual-machine:~/buildroot-2012.08$ make
>>> python 2.7.2 Building
PATH="/home/bob/buildroot-2012.08/output/host/bin:/home/bob/buildroot-2012.08/output/host/usr/bin:/home/bob/buildroot-2012.08/output/host/usr/sbin/:/usr/lib/lightdm/lightdm:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games"
PERLLIB="/home/bob/buildroot-2012.08/output/host/usr/lib/perl"
PYTHON_MODULES_INCLUDE=/home/bob/buildroot-2012.08/output/host/usr/arm-unknown-linux-uclibcgnueabi/sysroot/usr/include
PYTHON_MODULES_LIB="/home/bob/buildroot-2012.08/output/host/usr/arm-unknown-linux-uclibcgnueabi/sysroot/lib
/home/bob/buildroot-2012.08/output/host/usr/arm-unknown-linux-uclibcgnueabi/sysroot/usr/lib"
/usr/bin/make -j2 -C /home/bob/buildroot-2012.08/output/build/python-2.7.2/
make[1]: Entering directory
`/home/bob/buildroot-2012.08/output/build/python-2.7.2'
/home/bob/buildroot-2012.08/output/host/usr/bin/arm-unknown-linux-uclibcgnueabi-gcc
-c -fno-strict-aliasing -pipe -Os -DNDEBUG -g -fwrapv -O3 -Wall
-Wstrict-prototypes -I. -IInclude -I./Include -fPIC -DPy_BUILD_CORE -o
Modules/python.o ./Modules/python.c
/home/bob/buildroot-2012.08/output/host/usr/bin/arm-unknown-linux-uclibcgnueabi-gcc
-c -fno-strict-aliasing -pipe -Os -DNDEBUG -g -fwrapv -O3 -Wall
-Wstrict-prototypes -I. -IInclude -I./Include -fPIC -DPy_BUILD_CORE -o
Parser/acceler.o Parser/acceler.c
In file included from Include/Python.h:85:0,
from ./Modules/python.c:3:
Include/unicodeobject.h:575:20: warning: type defaults to 'int' in declaration
of 'wchar_t'
Include/unicodeobject.h:575:28: error: expected ';', ',' or ')' before '*'
token
Include/unicodeobject.h:593:14: warning: type defaults to 'int' in declaration
of 'wchar_t'
Include/unicodeobject.h:593:22: error: expected ';', ',' or ')' before '*'
token
In file included from Include/Python.h:85:0,
from Include/pgenheaders.h:10,
from Parser/acceler.c:13:
Include/unicodeobject.h:575:20: warning: type defaults to 'int' in declaration
of 'wchar_t'
Include/unicodeobject.h:575:28: error: expected ';', ',' or ')' before '*'
token
Include/unicodeobject.h:593:14: warning: type defaults to 'int' in declaration
of 'wchar_t'
Include/unicodeobject.h:593:22: error: expected ';', ',' or ')' before '*'
token
make[1]: *** [Modules/python.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: *** [Parser/acceler.o] Error 1
make[1]: Leaving directory
`/home/bob/buildroot-2012.08/output/build/python-2.7.2'
make: *** [/home/bob/buildroot-2012.08/output/build/python-2.7.2/.stamp_built]
Error 2
bob at bob-virtual-machine:~/buildroot-2012.08$
--
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 6+ messages in thread* [Buildroot] [Bug 5666] Fails to build python 2.7.2 for 2440 arm
2012-11-12 12:28 [Buildroot] [Bug 5666] New: Fails to build python 2.7.2 for 2440 arm bugzilla at busybox.net
@ 2012-11-12 12:38 ` bugzilla at busybox.net
2012-11-12 13:04 ` bugzilla at busybox.net
` (3 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: bugzilla at busybox.net @ 2012-11-12 12:38 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=5666
--- Comment #1 from Thomas Petazzoni <thomas.petazzoni@free-electrons.com> 2012-11-12 12:38:00 UTC ---
Could you please share your Buildroot .config ?
--
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 6+ messages in thread* [Buildroot] [Bug 5666] Fails to build python 2.7.2 for 2440 arm
2012-11-12 12:28 [Buildroot] [Bug 5666] New: Fails to build python 2.7.2 for 2440 arm bugzilla at busybox.net
2012-11-12 12:38 ` [Buildroot] [Bug 5666] " bugzilla at busybox.net
@ 2012-11-12 13:04 ` bugzilla at busybox.net
2012-11-12 14:35 ` bugzilla at busybox.net
` (2 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: bugzilla at busybox.net @ 2012-11-12 13:04 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=5666
--- Comment #2 from hardcorefs <hardcore@hardcoreforensics.com> 2012-11-12 13:04:07 UTC ---
Created attachment 4622
--> https://bugs.busybox.net/attachment.cgi?id=4622
example of broken python build
--
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 6+ messages in thread* [Buildroot] [Bug 5666] Fails to build python 2.7.2 for 2440 arm
2012-11-12 12:28 [Buildroot] [Bug 5666] New: Fails to build python 2.7.2 for 2440 arm bugzilla at busybox.net
2012-11-12 12:38 ` [Buildroot] [Bug 5666] " bugzilla at busybox.net
2012-11-12 13:04 ` bugzilla at busybox.net
@ 2012-11-12 14:35 ` bugzilla at busybox.net
2012-11-12 14:35 ` bugzilla at busybox.net
2012-11-12 22:32 ` bugzilla at busybox.net
4 siblings, 0 replies; 6+ messages in thread
From: bugzilla at busybox.net @ 2012-11-12 14:35 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=5666
--- Comment #3 from Thomas Petazzoni <thomas.petazzoni@free-electrons.com> 2012-11-12 14:34:59 UTC ---
Ok. My guess is that:
*) You built once without WCHAR support in the toolchain (BR2_USE_WCHAR not
enabled)
*) You went back in menuconfig, enabled Python. But to do this, you enabled
WCHAR support in the toolchain. And then, instead of doing a complete "make
clean all" cycle that ensures the toolchain gets rebuilt, you just did "make".
So it tried to build Python without rebuilding the toolchain, leading to your
error.
I'm pretty sure that the problem will go away if you do a "make clean all"
cycle. I tested your configuration here and it built just fine.
--
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Buildroot] [Bug 5666] Fails to build python 2.7.2 for 2440 arm
2012-11-12 12:28 [Buildroot] [Bug 5666] New: Fails to build python 2.7.2 for 2440 arm bugzilla at busybox.net
` (2 preceding siblings ...)
2012-11-12 14:35 ` bugzilla at busybox.net
@ 2012-11-12 14:35 ` bugzilla at busybox.net
2012-11-12 22:32 ` bugzilla at busybox.net
4 siblings, 0 replies; 6+ messages in thread
From: bugzilla at busybox.net @ 2012-11-12 14:35 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=5666
Thomas Petazzoni <thomas.petazzoni@free-electrons.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |WORKSFORME
--
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 6+ messages in thread* [Buildroot] [Bug 5666] Fails to build python 2.7.2 for 2440 arm
2012-11-12 12:28 [Buildroot] [Bug 5666] New: Fails to build python 2.7.2 for 2440 arm bugzilla at busybox.net
` (3 preceding siblings ...)
2012-11-12 14:35 ` bugzilla at busybox.net
@ 2012-11-12 22:32 ` bugzilla at busybox.net
4 siblings, 0 replies; 6+ messages in thread
From: bugzilla at busybox.net @ 2012-11-12 22:32 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=5666
--- Comment #4 from hardcorefs <hardcore@hardcoreforensics.com> 2012-11-12 22:32:37 UTC ---
HI,
Yep you are indeed a fortune teller........
Did "make clean all" and it did solve the problem, just it extends the build
time every time.
--
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2012-11-12 22:32 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-11-12 12:28 [Buildroot] [Bug 5666] New: Fails to build python 2.7.2 for 2440 arm bugzilla at busybox.net
2012-11-12 12:38 ` [Buildroot] [Bug 5666] " bugzilla at busybox.net
2012-11-12 13:04 ` bugzilla at busybox.net
2012-11-12 14:35 ` bugzilla at busybox.net
2012-11-12 14:35 ` bugzilla at busybox.net
2012-11-12 22:32 ` bugzilla at busybox.net
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox