building openmoko devel image

Charles Lohr webmaster at cnlohr.com
Mon Jul 23 03:47:35 CEST 2007


Since I don't really know the community, just say when and I can join
the devel lists and move to that.  (Or we can just do the discussion
off-list)

I actually have a very similar java setup (it looks like I'm just
missing the jre 1.4):

moko at localhost ~ $ 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.5.0 (1.5)
[I--] [  ] virtual/jre-1.6.0 (1.6)
moko at localhost ~ $ eselect java-vm show
Current system-vm
  sun-jdk-1.5
Current user-vm
  sun-jdk-1.5

And -- with regards to the log file;  the log file seems to only contain
what the standard output provides. 

moko at localhost ~ $ cat
/home/moko/build/tmp/work/i686-linux/gettext-native-0.14.1-r4/temp/log.do_compile.3610
NOTE: make
make[1]: Entering directory
`/home/moko/build/tmp/work/i686-linux/gettext-native-0.14.1-r4/gettext-0.14.1'
Making all in autoconf-lib-link
make[2]: Entering directory
`/home/moko/build/tmp/work/i686-linux/gettext-native-0.14.1-r4/gettext-0.14.1/autoconf-lib-link'
Making all in m4
make[3]: Entering directory
`/home/moko/build/tmp/work/i686-linux/gettext-native-0.14.1-r4/gettext-0.14.1/autoconf-lib-link/m4'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory
`/home/moko/build/tmp/work/i686-linux/gettext-native-0.14.1-r4/gettext-0.14.1/autoconf-lib-link/m4'
Making all in tests
make[3]: Entering directory
`/home/moko/build/tmp/work/i686-linux/gettext-native-0.14.1-r4/gettext-0.14.1/autoconf-lib-link/tests'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory
`/home/moko/build/tmp/work/i686-linux/gettext-native-0.14.1-r4/gettext-0.14.1/autoconf-lib-link/tests'
make[3]: Entering directory
`/home/moko/build/tmp/work/i686-linux/gettext-native-0.14.1-r4/gettext-0.14.1/autoconf-lib-link'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory
`/home/moko/build/tmp/work/i686-linux/gettext-native-0.14.1-r4/gettext-0.14.1/autoconf-lib-link'
make[2]: Leaving directory
`/home/moko/build/tmp/work/i686-linux/gettext-native-0.14.1-r4/gettext-0.14.1/autoconf-lib-link'
Making all in gettext-runtime
make[2]: Entering directory
`/home/moko/build/tmp/work/i686-linux/gettext-native-0.14.1-r4/gettext-0.14.1/gettext-runtime'
make  all-recursive
make[3]: Entering directory
`/home/moko/build/tmp/work/i686-linux/gettext-native-0.14.1-r4/gettext-0.14.1/gettext-runtime'
Making all in doc
make[4]: Entering directory
`/home/moko/build/tmp/work/i686-linux/gettext-native-0.14.1-r4/gettext-0.14.1/gettext-runtime/doc'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory
`/home/moko/build/tmp/work/i686-linux/gettext-native-0.14.1-r4/gettext-0.14.1/gettext-runtime/doc'
Making all in intl
make[4]: Entering directory
`/home/moko/build/tmp/work/i686-linux/gettext-native-0.14.1-r4/gettext-0.14.1/gettext-runtime/intl'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory
`/home/moko/build/tmp/work/i686-linux/gettext-native-0.14.1-r4/gettext-0.14.1/gettext-runtime/intl'
Making all in intl-java
make[4]: Entering directory
`/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

I am curious what your GettextResource.java is.  Since it's possible
that the problem is in the GettextResource.java file or my java selection.

Charles

> 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
>
>
> _______________________________________________
> OpenMoko community mailing list
> community at lists.openmoko.org
> http://lists.openmoko.org/mailman/listinfo/community
>
>   

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.openmoko.org/pipermail/community/attachments/20070722/9f8c3e3a/attachment.htm 


More information about the community mailing list