[Engine-devel] ovirt 3.2 build from srpm

Paco qw qw.iampaco at gmail.com
Tue Apr 2 15:38:41 UTC 2013


Hi!

Trying to build an RPM of ovirt in Centos 6.4.
Srpms take away http://resources.ovirt.org/releases/3.2/rpm/EL/6/SRPMS/
Сommand to execute
rpmbuild --rebuild otopi  -- OK
rpmbuild --rebuild ovirt-host-deploy -- OK
install otopi and ovirt-host-deploy
rpmbuild --rebuild ovirt-engine-3.2.1-1.el6.src.rpm

as a result of getting an error message

[INFO]    Compiling 6 permutations
[INFO]       Compiling permutation 0...
[INFO]       Process output
[INFO]          [ERROR] [AppClassLoader at 75da931b] info AspectJ Weaver
Version 1.6.11 built on Tuesday Mar 15, 2011 at 15:31:04 GMT
[INFO]          [ERROR] [AppClassLoader at 75da931b] info register classloader
sun.misc.Launcher$AppClassLoader at 75da931b
[INFO]          [ERROR] [AppClassLoader at 75da931b] info using configuration
file:/root/rpmbuild/BUILD/ovirt-engine-3.2.1/frontend/webadmin/modules/gwt-extension/target/gwt-extension-3.2.0.jar!/META-INF/aop.xml
[INFO]          [ERROR] [AppClassLoader at 75da931b] info using configuration
file:/root/rpmbuild/BUILD/ovirt-engine-3.2.1/frontend/webadmin/modules/gwt-extension/target/gwt-extension-3.2.0-sources.jar!/META-INF/aop.xml
[INFO]          [ERROR] [AppClassLoader at 75da931b] info register aspect
org.ovirt.engine.ui.gwtextension.DontPrune
[INFO]          [ERROR] [AppClassLoader at 75da931b] info register aspect
org.ovirt.engine.ui.gwtextension.DontPrune
[INFO]          Compiling
[INFO]             Compiling permutation 1...
[INFO]       [WARN] Lost communication with remote process
[INFO] java.io.EOFException
[INFO]  at
java.io.ObjectInputStream$BlockDataInputStream.peekByte(ObjectInputStream.java:2577)
[INFO]  at
java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1315)
[INFO]  at java.io.ObjectInputStream.readObject(ObjectInputStream.java:369)
[INFO]  at
com.google.gwt.dev.ExternalPermutationWorkerFactory$ExternalPermutationWorker.compile(ExternalPermutationWorkerFactory.java:150)
[INFO]  at
com.google.gwt.dev.PermutationWorkerFactory$Manager$WorkerThread.run(PermutationWorkerFactory.java:73)
[INFO]  at java.lang.Thread.run(Thread.java:722)

[INFO]       Compiling permutation 2...
[INFO]
------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] ovirt-root ........................................ SUCCESS [1.311s]
[INFO] oVirt Build Tools root ............................ SUCCESS [0.026s]
[INFO] oVirt checkstyle .................................. SUCCESS [2.206s]
[INFO] oVirt JBoss Modules Maven Plugin .................. SUCCESS [7.823s]
[INFO] oVirt Checkstyle Checks ........................... SUCCESS [1.712s]
[INFO] oVirt Modules - backend ........................... SUCCESS [0.020s]
[INFO] oVirt Manager ..................................... SUCCESS [0.039s]
[INFO] oVirt DB Scripts .................................. SUCCESS [0.299s]
[INFO] oVirt Engine dependencies ......................... SUCCESS [2.053s]
[INFO] oVirt Modules - manager ........................... SUCCESS [1.845s]
[INFO] CSharp Compatibility .............................. SUCCESS [6.803s]
[INFO] Common Code ....................................... SUCCESS [19.745s]
[INFO] Common utilities .................................. SUCCESS [10.625s]
[INFO] Data Access Layer ................................. SUCCESS [16.322s]
[INFO] engine beans ...................................... SUCCESS [0.098s]
[INFO] engine scheduler bean ............................. SUCCESS [3.615s]
[INFO] Vds broker ........................................ SUCCESS [11.356s]
[INFO] Search Backend .................................... SUCCESS [5.869s]
[INFO] Backend Logic @Service bean ....................... SUCCESS [29.194s]
[INFO] oVirt RESTful API Backend Integration ............. SUCCESS [0.369s]
[INFO] oVirt RESTful API interface ....................... SUCCESS [0.147s]
[INFO] oVirt Engine API Definition ....................... SUCCESS [12.313s]
[INFO] oVirt Engine API Commom Parent POM ................ SUCCESS [0.130s]
[INFO] oVirt Engine API Common JAX-RS .................... SUCCESS [5.514s]
[INFO] oVirt RESTful API Backend Integration Type Mappers  SUCCESS [8.108s]
[INFO] oVirt RESTful API Backend Integration JAX-RS Resources  SUCCESS
[19.997s]
[INFO] oVirt RESTful API Backend Integration Webapp ...... SUCCESS [1.065s]
[INFO] oVirt Engine Web Root ............................. SUCCESS [2.290s]
[INFO] oVirt Engine Tools ................................ SUCCESS [5.784s]
[INFO] oVirt Modules :: Frontend ......................... SUCCESS [0.020s]
[INFO] oVirt APIs ........................................ SUCCESS [0.123s]
[INFO] oVirt generic API ................................. SUCCESS [4.327s]
[INFO] oVirt Modules :: Webadmin ......................... SUCCESS [0.033s]
[INFO] oVirt Modules - ui ................................ SUCCESS [0.031s]
[INFO] Extensions for GWT ................................ SUCCESS [2.283s]
[INFO] UI Utils Compatibility (for UICommon) ............. SUCCESS [3.808s]
[INFO] Frontend for GWT UI Projects ...................... SUCCESS [6.468s]
[INFO] UICommonWeb ....................................... SUCCESS [24.879s]
[INFO] oVirt GWT UI common infrastructure ................ SUCCESS [29.410s]
[INFO] WebAdmin .......................................... FAILURE
[28:10.304s]
[INFO] UserPortal ........................................ SKIPPED
[INFO] oVirt WARs ........................................ SKIPPED
[INFO] oVirt Web Application Module ...................... SKIPPED
[INFO] oVirt Server EAR .................................. SKIPPED
[INFO]
------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 32:21.698s
[INFO] Finished at: Tue Apr 02 23:18:37 MSK 2013
[INFO] Final Memory: 288M/707M
[INFO]
------------------------------------------------------------------------
[ERROR] Failed to execute goal
org.codehaus.mojo:gwt-maven-plugin:2.3.0-1:compile (gwtcompile) on project
webadmin: Command [[
[ERROR] /bin/sh -c
/usr/lib/jvm/java-1.7.0-openjdk-1.7.0.9.x86_64/jre/bin/java
-javaagent:/root/.m2/repository/org/aspectj/aspectjweaver/1.6.11/aspectjweaver-1.6.11.jar
-Xms1024M -Xmx2048M -XX:PermSize=256M -XX:MaxPermSize=256M
'-Dgwt.dontPrune=org\.ovirt\.engine\.core\.(common|compat)\..*' -classpath
/root/rpmbuild/BUILD/ovirt-engine-3.2.1/frontend/webadmin/modules/webadmin/src/main/java:/root/rpmbuild/BUILD/ovirt-engine-3.2.1/frontend/webadmin/modules/webadmin/target/generated-sources/annotations:/root/rpmbuild/BUILD/ovirt-engine-3.2.1/frontend/webadmin/modules/webadmin/target/generated-sources/gwt:/root/rpmbuild/BUILD/ovirt-engine-3.2.1/frontend/webadmin/modules/webadmin/src/main/resources:/root/rpmbuild/BUILD/ovirt-engine-3.2.1/frontend/webadmin/modules/webadmin/target/webadmin-3.2.0/WEB-INF/classes:/root/.m2/repository/com/google/gwt/gwt-user/2.3.0/gwt-user-2.3.0.jar:/root/.m2/repository/com/google/gwt/gwt-dev/2.3.0/gwt-dev-2.3.0.jar:/root/.m2/repository/com/gwtplatform/gwtp-mvp-client/0.6/gwtp-mvp-client-0.6.jar:/root/.m2/repository/com/gwtplatform/gwtp-clients-common/0.6/gwtp-clients-common-0.6.jar:/root/.m2/repository/com/gwtplatform/gwtp-processors/0.6/gwtp-processors-0.6.jar:/root/.m2/repository/com/google/inject/guice/3.0/guice-3.0.jar:/root/.m2/repository/javax/inject/javax.inject/1/javax.inject-1.jar:/root/.m2/repository/aopalliance/aopalliance/1.0/aopalliance-1.0.jar:/root/.m2/repository/com/google/inject/extensions/guice-assistedinject/3.0/guice-assistedinject-3.0.jar:/root/.m2/repository/com/google/gwt/inject/gin/1.5.0/gin-1.5.0.jar:/root/rpmbuild/BUILD/ovirt-engine-3.2.1/frontend/webadmin/modules/uicommonweb/target/uicommonweb-3.2.0.jar:/root/rpmbuild/BUILD/ovirt-engine-3.2.1/backend/manager/modules/searchbackend/target/searchbackend-3.2.0.jar:/root/rpmbuild/BUILD/ovirt-engine-3.2.1/backend/manager/modules/compat/target/compat-3.2.0.jar:/root/rpmbuild/BUILD/ovirt-engine-3.2.1/frontend/webadmin/modules/uicompat/target/uicompat-3.2.0.jar:/root/rpmbuild/BUILD/ovirt-engine-3.2.1/backend/manager/modules/common/target/common-3.2.0-sources.jar:/root/rpmbuild/BUILD/ovirt-engine-3.2.1/backend/manager/modules/compat/target/compat-3.2.0-sources.jar:/root/rpmbuild/BUILD/ovirt-engine-3.2.1/backend/manager/modules/searchbackend/target/searchbackend-3.2.0-sources.jar:/root/rpmbuild/BUILD/ovirt-engine-3.2.1/frontend/webadmin/modules/gwt-common/target/gwt-common-3.2.0.jar:/root/rpmbuild/BUILD/ovirt-engine-3.2.1/frontend/api/genericapi/target/genericapi-3.2.0.jar:/root/rpmbuild/BUILD/ovirt-engine-3.2.1/backend/manager/modules/common/target/common-3.2.0.jar:/root/.m2/repository/org/hibernate/hibernate-validator/
4.0.2.GA/hibernate-validator-4.0.2.GA.jar:/root/.m2/repository/javax/validation/validation-api/1.0.0.GA/validation-api-1.0.0.GA.jar:/root/.m2/repository/org/slf4j/slf4j-api/1.5.6/slf4j-api-1.5.6.jar:/root/.m2/repository/com/sun/xml/bind/jaxb-impl/2.1.3/jaxb-impl-2.1.3.jar:/root/.m2/repository/org/hibernate/hibernate-annotations/3.4.0.GA/hibernate-annotations-3.4.0.GA.jar:/root/.m2/repository/org/hibernate/ejb3-persistence/1.0.2.GA/ejb3-persistence-1.0.2.GA.jar:/root/.m2/repository/org/hibernate/hibernate-commons-annotations/3.1.0.GA/hibernate-commons-annotations-3.1.0.GA.jar:/root/.m2/repository/org/hibernate/hibernate-core/3.3.0.SP1/hibernate-core-3.3.0.SP1.jar:/root/.m2/repository/antlr/antlr/2.7.6/antlr-2.7.6.jar:/root/.m2/repository/commons-collections/commons-collections/3.1/commons-collections-3.1.jar:/root/.m2/repository/javax/transaction/jta/1.1/jta-1.1.jar:/root/.m2/repository/dom4j/dom4j/1.6.1/dom4j-1.6.1.jar:/root/.m2/repository/xml-apis/xml-apis/1.0.b2/xml-apis-1.0.b2.jar:/root/.m2/repository/org/codehaus/jackson/jackson-mapper-asl/1.9.4/jackson-mapper-asl-1.9.4.jar:/root/rpmbuild/BUILD/ovirt-engine-3.2.1/backend/manager/modules/utils/target/utils-3.2.0.jar:/root/.m2/repository/commons-beanutils/commons-beanutils/1.8.2/commons-beanutils-1.8.2.jar:/root/.m2/repository/org/apache/mina/mina-core/2.0.1/mina-core-2.0.1.jar:/root/.m2/repository/org/apache/sshd/sshd-core/0.7.0/sshd-core-0.7.0.jar:/root/.m2/repository/org/ovirt/otopi/otopi/1.0.0/otopi-1.0.0.jar:/root/.m2/repository/org/ovirt/ovirt-host-deploy/ovirt-host-deploy/1.0.0/ovirt-host-deploy-1.0.0.jar:/root/.m2/repository/org/apache/commons/commons-compress/1.3/commons-compress-1.3.jar:/root/.m2/repository/commons-lang/commons-lang/2.6/commons-lang-2.6.jar:/root/.m2/repository/commons-codec/commons-codec/1.4/commons-codec-1.4.jar:/root/.m2/repository/org/apache/xmlrpc/xmlrpc-client/3.1.3/xmlrpc-client-3.1.3.jar:/root/.m2/repository/org/apache/xmlrpc/xmlrpc-common/3.1.3/xmlrpc-common-3.1.3.jar:/root/.m2/repository/org/apache/ws/commons/util/ws-commons-util/1.0.2/ws-commons-util-1.0.2.jar:/root/.m2/repository/commons-httpclient/commons-httpclient/3.1/commons-httpclient-3.1.jar:/root/.m2/repository/org/codehaus/jackson/jackson-core-asl/1.9.4/jackson-core-asl-1.9.4.jar:/root/.m2/repository/org/springframework/spring-core/3.1.1.RELEASE/spring-core-3.1.1.RELEASE.jar:/root/.m2/repository/org/springframework/spring-asm/3.1.1.RELEASE/spring-asm-3.1.1.RELEASE.jar:/root/rpmbuild/BUILD/ovirt-engine-3.2.1/frontend/webadmin/modules/frontend/target/frontend-3.2.0.jar:/root/rpmbuild/BUILD/ovirt-engine-3.2.1/frontend/webadmin/modules/gwt-extension/target/gwt-extension-3.2.0.jar:/root/.m2/repository/javax/xml/bind/jaxb-api/2.1/jaxb-api-2.1.jar:/root/.m2/repository/javax/xml/stream/stax-api/1.0-2/stax-api-1.0-2.jar:/root/.m2/repository/javax/activation/activation/1.1/activation-1.1.jar:/root/.m2/repository/org/jboss/spec/javax/ejb/jboss-ejb-api_3.1_spec/1.0.1.Final/jboss-ejb-api_3.1_spec-1.0.1.Final.jar:/root/.m2/repository/org/aspectj/aspectjweaver/1.6.11/aspectjweaver-1.6.11.jar:/root/.m2/repository/commons-logging/commons-logging/1.1/commons-logging-1.1.jar:/root/.m2/repository/log4j/log4j/1.2.16/log4j-1.2.16.jar:/root/.m2/repository/logkit/logkit/1.0.1/logkit-1.0.1.jar:/root/.m2/repository/avalon-framework/avalon-framework/4.1.3/avalon-framework-4.1.3.jar:/root/.m2/repository/javax/servlet/servlet-api/2.3/servlet-api-2.3.jar:/root/.m2/repository/com/google/gwt/gwt-user/2.3.0/gwt-user-2.3.0.jar:/root/.m2/repository/javax/validation/validation-api/1.0.0.GA/validation-api-1.0.0.GA.jar:/root/.m2/repository/javax/validation/validation-api/1.0.0.GA/validation-api-1.0.0.GA-sources.jar:/root/.m2/repository/com/google/gwt/gwt-dev/2.3.0/gwt-dev-2.3.0.jar:/root/rpmbuild/BUILD/ovirt-engine-3.2.1/frontend/webadmin/modules/gwt-extension/target/gwt-extension-3.2.0-sources.jar:/root/rpmbuild/BUILD/ovirt-engine-3.2.1/frontend/webadmin/modules/uicommonweb/target/uicommonweb-3.2.0-sources.jarcom.google.gwt.dev.Compiler
-gen
/root/rpmbuild/BUILD/ovirt-engine-3.2.1/frontend/webadmin/modules/webadmin/gen
-logLevel INFO -style OBF -war
/root/rpmbuild/BUILD/ovirt-engine-3.2.1/frontend/webadmin/modules/webadmin/target/webadmin-3.2.0
-localWorkers 2 org.ovirt.engine.ui.webadmin.WebAdmin
[ERROR] ]] failed with status 137
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e
switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions,
please read the following articles:
[ERROR] [Help 1]
http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the
command
[ERROR]   mvn <goals> -rf :webadmin
make: *** [tmp.built] Error 1
error: Bad exit status from /var/tmp/rpm-tmp.p0jiQq (%build)


RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.p0jiQq (%build)


what am I doing wrong?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/engine-devel/attachments/20130402/58d084b5/attachment.html>


More information about the Engine-devel mailing list