Gentoo Archives: gentoo-embedded

From: "Melton
To: gentoo-embedded@l.g.o
Subject: [gentoo-embedded] Cross-Compiling Python
Date: Fri, 17 Oct 2008 17:47:15
Message-Id: C977FA1845860B44B84CF9A5FCD54FFB02F49660@psi-exch2.planningsystems.local
1 Hello everyone,
2
3
4
5 I have been trying to get Gentoo to run on the Atmel AT91RM9200
6 processor that I have on a custom board. So far, I have managed to
7 cross compile quite a few packages (some requiring help) for the
8 processor but when it comes to Python, I get the following error:
9
10
11
12 >>> Verifying ebuild Manifests...
13
14 >>> Emerging (1 of 1) dev-lang/python-2.4.4-r6 to
15 /usr/arm-softfloat-linux-gnu/
16 * Python-2.4.4.tar.bz2 RMD160 SHA1 SHA256 size ;-) ...
17 [ ok ]
18 * python-gentoo-patches-2.4.4-r4.tar.bz2 RMD160 SHA1 SHA256 size ;-)
19 ... [ ok ]
20 * checking ebuild checksums ;-) ...
21 [ ok ]
22 * checking auxfile checksums ;-) ...
23 [ ok ]
24 * checking miscfile checksums ;-) ...
25 [ ok ]
26 * checking Python-2.4.4.tar.bz2 ;-) ...
27 [ ok ]
28 * checking python-gentoo-patches-2.4.4-r4.tar.bz2 ;-) ...
29 [ ok ]
30 >>> Unpacking source...
31 >>> Unpacking Python-2.4.4.tar.bz2 to
32 /var/tmp/portage/dev-lang/python-2.4.4-r6/work
33 >>> Unpacking python-gentoo-patches-2.4.4-r4.tar.bz2 to
34 /var/tmp/portage/dev-lang/python-2.4.4-r6/work
35 *
36 * ERROR: dev-lang/python-2.4.4-r6 failed.
37 * Call stack:
38 * ebuild.sh, line 49: Called src_unpack
39 * environment, line 3466: Called die
40 * The specific snippet of code:
41 * [[ $(python -V 2>&1) != "Python ${PV}" ]] && die
42 "Crosscompiling requires the same host and build versions.";
43 * The die message:
44 * Crosscompiling requires the same host and build versions.
45 *
46 * If you need support, post the topmost build error, and the call stack
47 if relevant.
48 * A complete build log is located at
49 '/var/tmp/portage/dev-lang/python-2.4.4-r6/temp/build.log'.
50 * The ebuild environment file is located at
51 '/var/tmp/portage/dev-lang/python-2.4.4-r6/temp/environment'.
52
53
54
55 It seems to be complaining about requiring the host and build versions
56 to be the same. I am really confused by this since I am building the
57 system on an x86. I've been looking thru the past messages on this list
58 and haven't found anything like this yet (I may have missed it). Has
59 anyone encountered this before and know a solution?
60
61
62
63 I've also posted to the Gentoo Forums but in a message it suggested that
64 I might try asking this list.
65
66
67
68 http://forums.gentoo.org/viewtopic-t-691364.html
69
70
71
72 Thanks
73
74 Jason
75
76 --------------------------------------------------------------------
77 CONFIDENTIALITY NOTE: This transmission is intended solely for the use of the individual(s)
78 to whom it is addressed and may contain information that is privileged, confidential,
79 or otherwise exempt from disclosure under applicable law.
80 If the reader of this message is not the intended recipient, or an
81 authorized representative of the intended recipient, you are hereby
82 notified that any review, retransmission, dissemination, distribution,
83 copying of or taking of any action in reliance upon this communication is strictly prohibited.
84 If you have received this communication in error, please delete it
85 from your system without copying or forwarding it, and notify the
86 sender of the error by reply e-mail.

Replies

Subject Author
Re: [gentoo-embedded] Cross-Compiling Python Jason <gentoo@××××××××××.net>