MokoMakefile now builds OM-2007.2 (Was: Balancing simplicity with complexity)

John Seghers jseghers at cequint.com
Fri Aug 24 20:26:13 CEST 2007


It looks like an upstream change was made and a patch was not updated.
If you look at the patch
(build/tmp/work/i686-linux/qemu-native-0.8.2+cvs20070613-r2/patches/configur
e.patch) you can see the line that is being changed.

Manual workaround:

Apply the patch manually:
* edit the file
build/tmp/work/i686-linux/qemu-native-0.8.2+cvs20070613-r2/configure, search
for "STRIP=" and replace that line with the patch line.

Tell bitbake that the patching has been done:
* touch the file
build/tmp/stamps/i686-linux/qemu-native-0.8.2+cvs20070613-r2.do_patch

Then build.

Entered as Openmoko bug #750

- John

> -----Original Message-----
> From: openmoko-devel-bounces at lists.openmoko.org [mailto:openmoko-devel-
> bounces at lists.openmoko.org] On Behalf Of Jeff Rush
> Sent: Friday, August 24, 2007 9:22 AM
> To: Rod Whitby
> Cc: openmoko-devel at lists.openmoko.org
> Subject: Re: MokoMakefile now builds OM-2007.2 (Was: Balancing simplicity
> with complexity)
> 
> Rod Whitby wrote:
> >
> > The MokoMakefile (<http://wiki.openmoko.org/wiki/MokoMakefile>) has been
> > updated to build OM-2007.2 images.
> >
> > If you're starting from scratch, just follow the instructions on that
> > wiki page.  Pay careful attention to the host software package
> > requirements for the OpenEmbedded build system.
> >
> > If you're migrating from a previous version of the MokoMakefile, then
> > just type:
> >
> >   make update-makefile ; make setup update openmoko-devel-image
> 
> I'm hitting a build problem here.  I was previously able to build the
> OM-2007.1 but wanted to switch to .2.  First I updated my old build env
> and
> got the following error.  Then I blew it away and did a completely fresh
> build, still with the same error.  This was last night, latest version
> available.   The error is a missing patch file.
> 
> NOTE: Running task 181 of 3372 (ID: 1153,
> /var/hostings/MOKO2/openembedded/packages/qemu/qemu-native_0.9.0+cvs.bb,
> do_patch)
> NOTE: package qemu-native-0.9.0+cvs20070613: started
> NOTE: package qemu-native-0.9.0+cvs20070613-r1: task do_patch: started
> NOTE: Applying patch 'configure-0.9.0.patch'
> NOTE: Task failed: Error:
> /var/hostings/MOKO2/openembedded/packages/qemu/files/./configure-
> 0.9.0.patch
> not found.
> NOTE: package qemu-native-0.9.0+cvs20070613-r1: task do_patch: failed
> ERROR: TaskFailed event exception, aborting
> NOTE: package qemu-native-0.9.0+cvs20070613: failed
> ERROR: Build of
> /var/hostings/MOKO2/openembedded/packages/qemu/qemu-native_0.9.0+cvs.bb
> do_patch failed
> ERROR: Task 1153
> (/var/hostings/MOKO2/openembedded/packages/qemu/qemu-native_0.9.0+cvs.bb,
> do_patch) failed
> NOTE: Tasks Summary: Attempted 180 tasks of which 0 didn't need to be
> rerun
> and 1 failed.
> ERROR:
> '/var/hostings/MOKO2/openembedded/packages/qemu/qemu-native_0.9.0+cvs.bb'
> failed
> make: *** [openmoko-devel-image] Error 1
> 
> 
> I've run make setup update multiple times, same error.  It appears to be
> real.
> 
> -Jeff





More information about the openmoko-devel mailing list