is this where i'd report a build error?

75 views
Skip to first unread message

Robert P. J. Day

unread,
Jun 17, 2010, 6:40:33 AM6/17/10
to Android porting list

not sure if this is the right list for this, but i just did a "repo
sync" on my android source checkout, then "make", to get:

...
target Jar: core-tests
(out/target/common/obj/JAVA_LIBRARIES/core-tests_intermediates/javalib.jar)

'out/target/common/obj/JAVA_LIBRARIES/core-tests_intermediates/classes.dex'
as 'classes.dex'...
java.util.zip.ZipException: duplicate entry: hyts_Foo.c
at java.util.zip.ZipOutputStream.putNextEntry(ZipOutputStream.java:192)
at java.util.jar.JarOutputStream.putNextEntry(JarOutputStream.java:109)
at sun.tools.jar.Main.addFile(Main.java:731)
at sun.tools.jar.Main.update(Main.java:585)
at sun.tools.jar.Main.run(Main.java:220)
at sun.tools.jar.Main.main(Main.java:1167)
make: *** [out/target/common/obj/JAVA_LIBRARIES/core-tests_intermediates/javalib.jar] Error 1
make: *** Deleting file `out/target/common/obj/JAVA_LIBRARIES/core-tests_intermediates/javalib.jar'

this is on a fully-updated 64-bit ubuntu 10.04 system.

rday

--

========================================================================
Robert P. J. Day Waterloo, Ontario, CANADA

Top-notch, inexpensive online Linux/OSS/kernel courses
http://crashcourse.ca

Twitter: http://twitter.com/rpjday
LinkedIn: http://ca.linkedin.com/in/rpjday
========================================================================

Dries Harnie

unread,
Jun 17, 2010, 6:54:35 AM6/17/10
to rpj...@crashcourse.ca, Android porting list
Hi,

As the android repository is a moving target, this could be fixed tomorrow or even today :)

You can make the build continue if you remove all files in libcore/dom/src/test/resources and libcore/xml/src/test/resources.

I did that here and didn't see any side effects..

Dries


Pankaj

unread,
Jun 19, 2010, 9:28:43 AM6/19/10
to android-porting
Hi Robert

As per you said that you are build android source code in 64 bit
ubuntu 10.4.
Please check your java version using "$java -version" command.
you should have java 5 for build source code sucessfully.
Please remove your java version and install java 5.

Thank you
Pankaj Gadhiya
> > unsubscribe: android-porti...@googlegroups.com<android-porting%2Bunsubscribe@­googlegroups.com>
> > website:http://groups.google.com/group/android-porting- Hide quoted text -
>
> - Show quoted text -
Reply all
Reply to author
Forward
0 new messages