Atmel website | ARM Community | AVR freaks | Technical Support
Banner
 FAQ •  Search •  Register •  Login 

All times are UTC + 1 hour [ DST ]




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: Additional OE/Angstrom build instructions with SVN 1.7
PostPosted: Wed Mar 21, 2012 9:14 pm 
Offline

Joined: Fri Oct 28, 2011 7:25 pm
Posts: 57
I'm in the process of building the Open Embedded/Angstrom build environment for my SAM9G25-EK dev board. I was following the instructions as listed on the Linux4SAM website here: http://www.at91.com/linux4sam/bin/view/ ... m_for_AT91. While building the base-image set of packages, I had the following error while it was attempting to build the python package:

x86_64-pc-linux-gnu-gcc: directory": No such file or directory
<command-line>: warning: missing terminating " character
./Modules/getbuildinfo.c: In function '_Py_svnversion':
./Modules/getbuildinfo.c:48: error: missing terminating " character
./Modules/getbuildinfo.c:48: error: expected expression before ';'
token
make: *** [Modules/getbuildinfo.o] Error 1

I found out that there is a patch that needs to be applied to python for it to build correctly if you are using Subversion 1.7 or above. A better description of the problem is here: http://bugs.python.org/issue6094, and the patch is here: http://hg.python.org/cpython/rev/150986ab3db2/. If you are using the OE stable branch as instructed, you have to apply the patch by hand; there's only a few lines to change so it's not too difficult.

Could someone update the instructions on the Linux4SAM website to include the patch?

Thanks,
Bryan


Top
 Profile  
 
 Post subject: Re: Additional OE/Angstrom build instructions with SVN 1.7
PostPosted: Thu Mar 22, 2012 2:58 pm 
Offline

Joined: Fri Oct 28, 2011 7:25 pm
Posts: 57
I had one more error that I wanted to note. This snapshot of OE wants to use fakeroot 1.12.4, which is no longer available at the main mirror. I fixed by making the following change in fakeroot_1.12.4.bb (located in openembedded/recipes/fakeroot):

#SRC_URI = "\
# ${DEBIAN_MIRROR}/main/f/fakeroot/fakeroot_${PV}.tar.gz \
# file://configure-libtool.patch;patch=1 \
#"
SRC_URI = "\
http://snapshot.debian.org/archive/debi ... fakeroot_${PV}.tar.gz \
file://configure-libtool.patch;patch=1 \
"

I added an entry for this site in checksums.ini (located in openembedded/conf). So I added the following lines to checksums.ini:

[http://snapshot.debian.org/archive/debian/20100601T041240Z/pool/main/f/fakeroot/fakeroot_1.12.4.tar.gz]
md5=2eb5e48d0529b736775c0fea00e56aa6
sha256=11c6a1851d9f1797419ca295ddab9d5197a034cb717cf3905276d81507f0932b

The build is still chugging along, about half way through the base-image build. If there are any other tweaks to be made, I'll add it to the list.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to: