>From your pastebin, it looks like maven ran out of memory, either while
compiling or while generating javadoc.
After you give mvn more memory, it tries to javadoc the class files instead
of just java files. Weird. Do you have abnormal mvn/java settings? Let's
file a JIRA.
I'm glad you found a hacky workaround to get you moving. You can also try
`configure --disable-java` if you don't need to build the java language
bindings.

On Tue, Jul 21, 2015 at 7:35 AM, Hans van den Bogert <hansbog...@gmail.com>
wrote:

> Hi,
>
> When compiling mesos under centos 6.5, I get numerous errors at some
> point, which if I understand correctly, is at creating the mesos.jar, at
> the javadoc phase:
>
> I get the following:
> http://pastebin.com/TNRERS4p
>
> When I give mvn more JVM memory, actual errors appear (these are just two,
> of the __many__  instances that appear):
> [ERROR]
> /var/scratch/vdbogert/src/mesos-reproduce-error/build/src/java/target/classes/org/apache/mesos/Protos$DiscoveryInfo$Builder.class:149:
> error: unmappable character for encoding UTF-8
> [ERROR] 
> T*:*@~@"***k+lm*+*7*+aW*Y@TTR****7*W**~*8*Y@7*bn>**do*O(**fY**g*hi**(#A#*pA#*qA9*+,r
> A.*+sA#*pA#*qA9*+,r A#*qA #*A #*tA!.*+sA#*pA#9*+,r
> A$#*qA%#*A%#*tA$#*pA%#*uA #*uA'9*+,r A(#*qA)#*q+.8*+ /123|6{}~@,6c,e6
>  .6n.o6       v               "     &     w60
> [ERROR] ^
> [ERROR]
> /var/scratch/vdbogert/src/mesos-reproduce-error/build/src/java/target/classes/org/apache/mesos/Protos$DiscoveryInfo$Builder.class:149:
> error: unmappable character for encoding UTF-8
> [ERROR] 
> T*:*@~@"***k+lm*+*7*+aW*Y@TTR****7*W**~*8*Y@7*bn>**do*O(**fY**g*hi**(#A#*pA#*qA9*+,r
> A.*+sA#*pA#*qA9*+,r A#*qA #*A #*tA!.*+sA#*pA#9*+,r
> A$#*qA%#*A%#*tA$#*pA%#*uA #*uA'9*+,r A(#*qA)#*q+.8*+ /123|6{}~@,6c,e6
>  .6n.o6       v               "     &     w60
> [ERROR] ^
> [ERROR]
> /var/scratch/vdbogert/src/mesos-reproduce-error/build/src/java/target/classes/org/apache/mesos/Protos$DiscoveryInfo$Builder.class:149:
> error: unmappable character for encoding UTF-8
>
> When I ‘cd’ to src/java and manually do:
>     $ mvn -f mesos.pom package  -Dmaven.javadoc.skip=true
>
> The jar file is created and I can continue with a simple make from the
> root of the mesos build dir.
>
> Is this an error in my configuration?
>
> If more environment info is needed let me know.
>
> Hans

Reply via email to