[Engine-devel] Trouble building ovirt engine - exit code 137 from javac

Hi all, I am having some trouble building the engine with `mvn clean install -Pgwt-admin,gwt-user -DskipTests=true -X`, the output I eventually get indicates a failure in building WebAdmin. I am doing this in a clean F16 environment with a fresh clone of the repository. The javac version is javac 1.6.0_22. http://pastebin.com/VZvUpmTK Any suggestions on how to get past this and successfully building the WebAdmin stuff? Thanks, Steve

On 11/11/2011 09:09 PM, Steve Gordon wrote:
Hi all,
I am having some trouble building the engine with `mvn clean install -Pgwt-admin,gwt-user -DskipTests=true -X`, the output I eventually get indicates a failure in building WebAdmin. I am doing this in a clean F16 environment with a fresh clone of the repository. The javac version is javac 1.6.0_22.
Any suggestions on how to get past this and successfully building the WebAdmin stuff?
Thanks,
Steve
Hi Steve, can you please send the output of $> mvn --version also can you please try running this without the 'clean' phase, i want to see if it is related to some kind of timeout mvn install -Pgwt-admin,gwt-user -DskipTests=true -X Livnat
_______________________________________________ Engine-devel mailing list Engine-devel@ovirt.org http://lists.ovirt.org/mailman/listinfo/engine-devel

Hi, It could be an error either in java or the libraries it is building on, very environment dependent. Did this javac command leave an crash report behind? Something like hs_err_pidNNNN.log ----- Original Message -----
From: "Livnat Peer" <lpeer@redhat.com> To: "Steve Gordon" <sgordon@redhat.com> Cc: engine-devel@ovirt.org Sent: Sunday, November 13, 2011 8:40:47 AM Subject: Re: [Engine-devel] Trouble building ovirt engine - exit code 137 from javac
On 11/11/2011 09:09 PM, Steve Gordon wrote:
Hi all,
I am having some trouble building the engine with `mvn clean install -Pgwt-admin,gwt-user -DskipTests=true -X`, the output I eventually get indicates a failure in building WebAdmin. I am doing this in a clean F16 environment with a fresh clone of the repository. The javac version is javac 1.6.0_22.
Any suggestions on how to get past this and successfully building the WebAdmin stuff?
Thanks,
Steve
Hi Steve,
can you please send the output of
$> mvn --version
also can you please try running this without the 'clean' phase, i want to see if it is related to some kind of timeout
mvn install -Pgwt-admin,gwt-user -DskipTests=true -X
Livnat
_______________________________________________ Engine-devel mailing list Engine-devel@ovirt.org http://lists.ovirt.org/mailman/listinfo/engine-devel
_______________________________________________ Engine-devel mailing list Engine-devel@ovirt.org http://lists.ovirt.org/mailman/listinfo/engine-devel

On 11/14/2011 02:50 AM, Laszlo Hornyak wrote:
Hi,
It could be an error either in java or the libraries it is building on, very environment dependent. Did this javac command leave an crash report behind? Something like hs_err_pidNNNN.log
----- Original Message -----
From: "Livnat Peer"<lpeer@redhat.com> To: "Steve Gordon"<sgordon@redhat.com> Cc: engine-devel@ovirt.org Sent: Sunday, November 13, 2011 8:40:47 AM Subject: Re: [Engine-devel] Trouble building ovirt engine - exit code 137 from javac
On 11/11/2011 09:09 PM, Steve Gordon wrote:
Hi all,
I am having some trouble building the engine with `mvn clean install -Pgwt-admin,gwt-user -DskipTests=true -X`, the output I eventually get indicates a failure in building WebAdmin. I am doing this in a clean F16 environment with a fresh clone of the repository. The javac version is javac 1.6.0_22.
Any suggestions on how to get past this and successfully building the WebAdmin stuff?
Thanks,
Steve
Hi Steve,
can you please send the output of
$> mvn --version
also can you please try running this without the 'clean' phase, i want to see if it is related to some kind of timeout
mvn install -Pgwt-admin,gwt-user -DskipTests=true -X
Livnat
_______________________________________________ Engine-devel mailing list Engine-devel@ovirt.org http://lists.ovirt.org/mailman/listinfo/engine-devel
Engine-devel mailing list Engine-devel@ovirt.org http://lists.ovirt.org/mailman/listinfo/engine-devel
_______________________________________________ Engine-devel mailing list Engine-devel@ovirt.org http://lists.ovirt.org/mailman/listinfo/engine-devel I have seen a few people on irc that have encountered this. I believe one of them was sgtpepper. I suggest you ask there.

I have seen a few people on irc that have encountered this. I believe one of them was sgtpepper. I suggest you ask there.
Hi, I'm already reasonably active on the IRC channel and am aware that sgtpepper was having the same issue, but last I heard he was still trying to get around it which is why I asked here. Thanks, Steve

----- Original Message -----
From: "Livnat Peer" <lpeer@redhat.com> To: "Steve Gordon" <sgordon@redhat.com> Cc: engine-devel@ovirt.org Sent: Sunday, November 13, 2011 2:40:47 AM Subject: Re: [Engine-devel] Trouble building ovirt engine - exit code 137 from javac
On 11/11/2011 09:09 PM, Steve Gordon wrote:
Hi all,
I am having some trouble building the engine with `mvn clean install -Pgwt-admin,gwt-user -DskipTests=true -X`, the output I eventually get indicates a failure in building WebAdmin. I am doing this in a clean F16 environment with a fresh clone of the repository. The javac version is javac 1.6.0_22.
Any suggestions on how to get past this and successfully building the WebAdmin stuff?
Thanks,
Steve
Hi Steve,
can you please send the output of
$> mvn --version
/usr/lib/jvm/java Apache Maven 2.2.1 (rNON-CANONICAL_2011-10-11_11-56_mockbuild; 2011-10-11 07:56:30-0400) Java version: 1.6.0_22 Java home: /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre Default locale: en_US, platform encoding: UTF-8 OS name: "linux" version: "3.1.0-7.fc16.x86_64" arch: "amd64" Family: "unix"
also can you please try running this without the 'clean' phase, i want to see if it is related to some kind of timeout
mvn install -Pgwt-admin,gwt-user -DskipTests=true -X
I'm running this again now, only have access to the laptop today so will probably be a while until I can report back :).
Livnat
_______________________________________________ Engine-devel mailing list Engine-devel@ovirt.org http://lists.ovirt.org/mailman/listinfo/engine-devel

$> mvn --version
/usr/lib/jvm/java Apache Maven 2.2.1 (rNON-CANONICAL_2011-10-11_11-56_mockbuild; 2011-10-11 07:56:30-0400) Java version: 1.6.0_22 Java home: /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre Default locale: en_US, platform encoding: UTF-8 OS name: "linux" version: "3.1.0-7.fc16.x86_64" arch: "amd64" Family: "unix"
also can you please try running this without the 'clean' phase, i want to see if it is related to some kind of timeout
mvn install -Pgwt-admin,gwt-user -DskipTests=true -X
I'm running this again now, only have access to the laptop today so will probably be a while until I can report back :).
Livnat
This produced the same result (error). Based on Doron's suggestion earlier in the thread I decided to throw more memory at the problem. I then received a java.lang.OutOfMemoryError: PermGen space error, setting MAVEN_OPTS="-XX:MaxPermSize=128m" seems to have fixed this and I have now built sucessfully. Thankyou for your suggestions! I have added the perm gen space error tip to http://www.ovirt.org/wiki/Building_oVirt_engine#Build, more generally we probably need to consider some hints/recommendations around what kind of computing power (particularly memory) is required to successfully compile the project. -Steve

On 11/15/2011 12:47 AM, Steve Gordon wrote:
$> mvn --version
/usr/lib/jvm/java Apache Maven 2.2.1 (rNON-CANONICAL_2011-10-11_11-56_mockbuild; 2011-10-11 07:56:30-0400) Java version: 1.6.0_22 Java home: /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre Default locale: en_US, platform encoding: UTF-8 OS name: "linux" version: "3.1.0-7.fc16.x86_64" arch: "amd64" Family: "unix"
also can you please try running this without the 'clean' phase, i want to see if it is related to some kind of timeout
mvn install -Pgwt-admin,gwt-user -DskipTests=true -X
I'm running this again now, only have access to the laptop today so will probably be a while until I can report back :).
Livnat
This produced the same result (error). Based on Doron's suggestion earlier in the thread I decided to throw more memory at the problem. I then received a java.lang.OutOfMemoryError: PermGen space error, setting MAVEN_OPTS="-XX:MaxPermSize=128m" seems to have fixed this and I have now built sucessfully. Thankyou for your suggestions!
I have added the perm gen space error tip to http://www.ovirt.org/wiki/Building_oVirt_engine#Build, more generally we probably need to consider some hints/recommendations around what kind of computing power (particularly memory) is required to successfully compile the project.
-Steve
Hi Steve, I Googled around it a little but could not find anything obvious. what i did found is this - http://www.velocityreviews.com/forums/t136593-understanding-error-java-retur... "If you use Unix/Linux: Exit-code above 128 means that the process died because of a received signal (exitCode = 128 + signalNumber). ==> In your case it was signal 9 (= SIGKILL)." Not sure it can give you a lead but the next step i would try is compiling without the UI - $OVIRT_HOME> mvn install -DskipTests=true Livnat
participants (4)
-
Jon Choate
-
Laszlo Hornyak
-
Livnat Peer
-
Steve Gordon