building openmoko devel image

Jeff Rush jeff at taupro.com
Mon Jul 23 02:04:43 CEST 2007


Charles Lohr wrote:
> To any willing to help:
> 
> I'm a gentoo user who is considering buying one of the FIC1973 phones
> for developing new software for.  I figured I should be able to 'make'
> the phone before buying it.  Note that if this is being sent to the
> wrong list, please direct me in the right direction.

If we get into too many details, it might be best to move it to openmoko-devel
but quick questions are hopefully ok.

I run Gentoo here as well, and have it working, so there is hope. ;-)


> I have been following the instructions on:
> http://wiki.openmoko.org/wiki/MokoMakefile#Installation
> 
> Every time I try building, I first get a list of errors like:
> 
> NOTE: Handling BitBake files: | (4323/4354) [99 %]NOTE: Retrieved remote
> revisions: ['0', '0', '2360', '0']
> NOTE: Handling BitBake files: / (4324/4354) [99 %]NOTE: Retrieved remote
> revisions: ['0', '1828', '0']
> NOTE: Handling BitBake files: - (4325/4354) [99 %]NOTE: Retrieved remote
> revisions: ['0', '0', '2360', '0']
> NOTE: Handling BitBake files: \ (4326/4354) [99 %]NOTE: Retrieved remote
> revisions: ['0', '1828', '0']
> NOTE: Handling BitBake files: \ (4327/4354) [99 %]NOTE: Retrieved remote
> revisions: ['0', '0', '2360', '0']

Those are not errors, just status messages, I believe.


> Originally, I kept getting missing stuff for my java messages, but after
> getting the JDK patched and working, I finally settled on this error
> that I just can't seem to fix:

jeff at kim ~ $ equery list jre
[ Searching for package 'jre' in all categories among: ]
 * installed packages
[I--] [ -] dev-java/blackdown-jre-1.4.2.03-r14 (1.4.2)
[I--] [ -] dev-java/sun-jre-bin-1.6.0.02 (1.6)
[I--] [  ] virtual/jre-1.4.2 (1.4)
[I--] [  ] virtual/jre-1.5.0 (1.5)
[I--] [  ] virtual/jre-1.6.0 (1.6)

jeff at kim ~ $ eselect java-vm show
Current system-vm
  sun-jdk-1.5
Current user-vm
  sun-jdk-1.5

Just FYI.

> `/home/moko/build/tmp/work/i686-linux/gettext-native-0.14.1-r4/gettext-0.14.1/gettext-runtime/intl-java'
> | jar cf libintl.jar gnu/gettext/GettextResource*.class
> | Exception in thread "main" java.lang.NoClassDefFoundError: cf
> | make[4]: *** [libintl.jar] Error 1
> | make[4]: Leaving directory
> `/home/moko/build/tmp/work/i686-linux/gettext-native-0.14.1-r4/gettext-0.14.1/gettext-runtime/intl-java'
> | make[3]: *** [all-recursive] Error 1
> | make[3]: Leaving directory
> `/home/moko/build/tmp/work/i686-linux/gettext-native-0.14.1-r4/gettext-0.14.1/gettext-runtime'
> | make[2]: *** [all] Error 2
> | make[2]: Leaving directory
> `/home/moko/build/tmp/work/i686-linux/gettext-native-0.14.1-r4/gettext-0.14.1/gettext-runtime'
> | make[1]: *** [all-recursive] Error 1
> | make[1]: Leaving directory
> `/home/moko/build/tmp/work/i686-linux/gettext-native-0.14.1-r4/gettext-0.14.1'
> | FATAL: oe_runmake failed
> NOTE: Task failed:
> /home/moko/build/tmp/work/i686-linux/gettext-native-0.14.1-r4/temp/log.do_compile.25316
> NOTE: package gettext-native-0.14.1-r4: task do_compile: failed
> ERROR: TaskFailed event exception, aborting
> NOTE: package gettext-native-0.14.1: failed
> ERROR: Build of openmoko-devel-image failed
> make: *** [openmoko-devel-image] Error 1
> 
> Is there any way to actually view what the Makefile is doing when it
> just sits there and then this thing pops up, like verbose output or
> something?

There are logfiles, listed in your output, that might help.  The one relate to
the failing compile is:

/home/moko/build/tmp/work/i686-linux/gettext-native-0.14.1-r4/temp/log.do_compile.25316

There are *lots* of logfiles created by the build process under the directory
build/tmp/work/ directory.

-Jeff





More information about the community mailing list