Problem compiling openmoko with MokoMakefile

Peter Trapp openmoko at genial.ms
Sat Mar 24 19:40:09 CET 2007



Gary Oliver:
> I've been trying to get the openmoko build (using the super Makefile)
> to go for the last few days without complete success.
>
> I believe I've followed the instructions with respect to the system
> requirements, and the build DOES get through about 12 hours of work
> (about 400meg has been downloaded and the build directory contains
> about 5 Gb before failing, so it seems to be quite well along.
>
> The failure comes at:
>
> NOTE: package gtk+-directfb-2.10.9-r0: task do_fetch: completed
> NOTE: package gtk+-directfb-2.10.9-r0: task do_unpack: started
> NOTE: Unpacking /home/go/Projects/openmoko/sources/gtk+-2.10.9.tar.bz2
> to
> /home/go/Projects/openmoko/build/tmp/work/armv4t-linux/gtk+-directfb-2.10.9-r0/
> NOTE: package gtk+-directfb-2.10.9-r0: task do_unpack: completed
> NOTE: package gtk+-directfb-2.10.9-r0: task do_patch: started
> NOTE: Applying patch 'no-xwc.patch'
> ERROR: Error in executing:
> /home/go/Projects/openmoko/openembedded/packages/gtk+/gtk+-directfb_2.10.9.bb
> ERROR: Exception:exceptions.IOError Message:[Errno 2] No such file or
> directory:
> '/home/go/Projects/openmoko/openembedded/packages/gtk+/files/./no-xwc.patch'
I did a

/home/moko$ find . -name no-xwc.patch
./openmoko/branches/oe/pre-20070305/packages/gtk+/gtk+-2.10.3/no-xwc.patch
./openmoko/branches/oe/pre-20070305/packages/gtk+/gtk+-2.6.10/no-xwc.patch
./openmoko/branches/oe/pre-20070305/packages/gtk+/gtk+-2.10.6/no-xwc.patch
./openmoko/branches/oe/pre-20070305/packages/gtk+/gtk+-2.4.13/no-xwc.patch
./openmoko/branches/oe/pre-20070305/packages/gtk+/gtk+-2.8.16/no-xwc.patch
./openmoko/branches/oe/pre-20070305/packages/gtk+/gtk+-2.2.4/no-xwc.patch
./openmoko/branches/oe/pre-20070305/packages/gtk+/gtk+-2.8.9/no-xwc.patch
./openembedded/packages/gtk+/gtk+-2.2.4/no-xwc.patch
./openembedded/packages/gtk+/gtk+-2.4.13/no-xwc.patch
./openembedded/packages/gtk+/gtk+-2.6.10/no-xwc.patch
./openembedded/packages/gtk+/gtk+-2.8.9/no-xwc.patch
./openembedded/packages/gtk+/gtk+-2.8.16/no-xwc.patch
./openembedded/packages/gtk+/gtk+-2.10.9/no-xwc.patch
./openembedded/packages/gtk+/gtk+-2.10.10/no-xwc.patch


I decided to copy all patches from ...gtk+-2.10.9/   (because of 
"18:46:56 (97.93 KB/s) - »/home/moko/sources/gtk+-2.10.9.tar.bz2« saved 
[14933330]"  ... )

/home/moko$ cp ./openembedded/packages/gtk+/gtk+-2.10.9/* 
/home/moko/openembedded/packages/gtk+/files/./

The result is, that all patches appling:
NOTE: package gtk+-directfb-2.10.9-r0: task do_patch: started
NOTE: Applying patch 'no-xwc.patch'
NOTE: Applying patch 'automake-lossage.patch'
NOTE: Applying patch 'disable-tooltips.patch'
NOTE: Applying patch 'gtklabel-resize-patch'
NOTE: Applying patch 'menu-deactivate.patch'
NOTE: Applying patch 'xsettings.patch'
NOTE: Applying patch 'scroll-timings.patch'
NOTE: Applying patch 'small-gtkfilesel.patch'
NOTE: Applying patch 'migration.patch'
NOTE: Applying patch 'run-iconcache.patch'
NOTE: Applying patch 'hardcoded_libtool.patch'
NOTE: Applying patch 'no-demos.patch'
NOTE: Applying patch 'single-click.patch'
NOTE: Applying patch 'spinbutton.patch'
NOTE: Applying patch 'gtk+-handhelds.patch'


But only the last one failed (known: `less 
/home/moko/openembedded/packages/gtk+/gtk+-directfb_2.10.9.bb`)

NOTE: Applying patch 'directfb_pixbuf_deprecated_fix.patch'
ERROR: Error in executing: 
/home/moko/openembedded/packages/gtk+/gtk+-directfb_2.10.9.bb

I did not find the "directfb_pixbuf...", neither by a locale "find" nor 
by a "google find"  and also not with "google openmoko find" :-(

I also checked the tarball "gtk+-2.10.9.tar.bz2" (there's no other "gtk" 
inside of /home/moko/sources).


The error is reproduceable...
I did a

`rm -rf sources build openmoko`
`mtn update`      (mtn was complaining about a missing file (mtpaint-??) )
`make update makefile`
`make setup`
`make openmoko-devel-image`


rgd
/homyx




More information about the community mailing list