[Gta04-owner] State of the wheezy/armhf art?

Neil Jerram neil at ossau.homelinux.net
Thu Dec 13 20:02:42 CET 2012


Gilles Filippini <gilles.filippini at free.fr> writes:

> Neil Jerram a écrit , Le 13/12/2012 10:18:
>> 
>> Thanks.  I think I'll need to be able to build future changes for
>> myself, so I'll try Gilles' approach again.  I see that that's now using
>> gcc 4.6 instead of 4.7; perhaps that's enough to avoid the problems I
>> saw before with installing a toolchain in the chroot.
>
> I've used gcc-4.7 for my last builds and they have been successful so far.

Well my build, using whatever it is that the pdebuild-cross config in
Radek's QtMoko git uses, has now completed successfully.  Hooray!

(I _think_ it was using gcc-4.6, but I'm not sure because the build
transcript includes lots of occurrences of both "gcc-4.6" and
"gcc-4.7".)

I have one nit to report, and two follow on questions.  The nit is that
the build (i.e. the "CROSSARCH=armhf CROSSVERS=4.6 DIST=wheezy
QTMOKO_DEVICES=gta04 pdebuild-cross" invocation) appears to end with a
"find" that's looking for something outside the qtmoko codebase.  My
build transcript ends with:

...
dpkg-buildpackage: full upload (original source is included)
I: Copying back the cached apt archive contents
I: unmounting dev/pts filesystem
I: unmounting proc filesystem
I: cleaning the build env 
I: removing directory /var/lib/pdebuild-cross/build//22422 and its subdirectories
I: Current time: Thu Dec 13 12:48:59 GMT 2012
I: pbuilder-time-stamp: 1355402939
find: `../Freerunner/save2/2269ffe5-b2d9-4c78-be8b-ff33a8aa5aff/lost+found': Permission denied
find: `../Freerunner/save2/2269ffe5-b2d9-4c78-be8b-ff33a8aa5aff/Maps': Permission denied
find: `../Freerunner/save2/131f5c65-0860-4ea9-aa9a-1ebc197108b5/var/lib/polkit-1': Permission denied
find: `../Freerunner/save2/131f5c65-0860-4ea9-aa9a-1ebc197108b5/etc/polkit-1/localauthority': Permission denied
find: `../Freerunner/save2/131f5c65-0860-4ea9-aa9a-1ebc197108b5/lost+found': Permission denied
...
(several more pages of "Permission denied" errors)

That seems surprising.

My follow on questions are:

1. How can I now do an incremental build, if I've made a change that I
want to try out?

2. What's the best way for me to construct a rootfs to install the
QtMoko package in?  I could just follow Radek's instructions for this,
but I'm wondering if the build process might have already done most of
this for me.

Many thanks,
     Neil


More information about the Gta04-owner mailing list