MokoMakefile, ERROR: function do_rootfs failed, Fedora 9
Mike (mwester)
mwester at dls.net
Sun Jun 22 17:16:53 CEST 2008
Dominik Krenner wrote:
> Hello Openmoko-Developers,
>
> I have already built openmoko using the MokoMakfile on an Ubuntu system,
> but currently I'm working on an fedora x64 system and the process fails
> with the following error:
>
[snip]
>
> I've tried cleaning and rebuilding the package as recommended, but it
> still fails. I've also tried to build the toolchain and qemu, both fail
> with different errors (qemu complains because I use gcc4).
>
> I also found a (very old) patch [1] which I tried to apply but it failed
> too. So I added the two lines given in the patch by hand. Result: build
> fails with another error.
>
> I would appriciate any suggestions,
> Dominik
You don't actually tell us what patch you have applied in [1]...
However, a fix for this was committed to the main OE repository about a
week ago; the powers-that-be will have to merge that into the OM repository.
Commit: d162dc983ded73541698d0c356a5af38c08d5229
Bug: http://bugs.openembedded.net/show_bug.cgi?id=4350
Here's a copy of the patch that was incorporated into the ipkg-utils bb
recipe to resolve this:
--- ipkg-utils/arfile.py.orig 2008-06-11 21:07:01.000000000 -0500
+++ ipkg-utils/arfile.py 2008-06-14 19:56:04.000000000 -0500
@@ -86,6 +86,8 @@
return FileSection(self.f, self.f.tell(), size)
# Skip data and loop
+ if size % 2:
+ size = size + 1
data = self.f.seek(size, 1)
# print hex(f.tell())
More information about the openmoko-devel
mailing list