incubator-cloudstack-users-cn mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Shuiping Xie <shuiping....@dilatoit.com>
Subject RE: Re:Building RPMs 报错
Date Tue, 04 Dec 2012 07:18:37 GMT
dzл yum install ant* antаװϺ 'rpm' finished successfully.

Thanks,
Shuiping

-----Original Message-----
From: ̃̊ [mailto:rayang2004@qq.com] 
Sent: 2012124 15:01
To: cloudstack-users-cn
Subject: ReBuilding RPMs 

yum install ant*




------------------ ԭʼʼ ------------------
: "Shuiping Xie"<shuiping.xie@dilatoit.com>;
ʱ: 2012124(ڶ) 2:57
ռ: "cloudstack-users-cn@incubator.apache.org"<cloudstack-users-cn@incubator.apache.org>;


: Building RPMs 



hi Һã

build CS4.0ʱBuilding RPMs豨ʸνѽ mvn CP deps û⣬./waf
rpm ʱͱ´

BUILD FAILED
/home/administrator/Downloads/apache-cloudstack-4.0.0-incubating-src/artifacts/rpmbuild/BUILD/cloud-4.0.0/build/build-cloud.xml:180:
The following error occurred while executing this line:
/home/administrator/Downloads/apache-cloudstack-4.0.0-incubating-src/artifacts/rpmbuild/BUILD/cloud-4.0.0/build/build-common.xml:62:
Problem: failed to create task or type depend
Cause: the class org.apache.tools.ant.taskdefs.optional.depend.Depend was not found.
        This looks like one of Ant's optional components.
Action: Check that the appropriate optional JAR exists in
        -/usr/share/ant/lib
        -/root/.ant/lib
        -a directory added on the command line with the -lib argument

Do not panic, this is a common problem.
The commonest cause is a missing JAR.

This is not a bug; it is a configuration problem


Total time: 33 seconds
Waf: Leaving directory `/home/administrator/Downloads/apache-cloudstack-4.0.0-incubating-src/artifacts/rpmbuild/BUILD/cloud-4.0.0/artifacts'
Build failed: Ant command ['ant', '-Dthirdparty.classpath=deps/jsch-0.1.42.jar,deps/opensaml-1.1.jar,deps/activation-1.1.jar,deps/openws-1.4.1.jar,deps/cglib-nodep-2.2.2.jar,deps/bcprov-jdk14-140.jar,deps/jaxen-1.1.1.jar,deps/jasypt-1.9.0.jar,deps/jcip-annotations-1.0.jar,deps/xmlrpc-common-3.1.3.jar,deps/hamcrest-core-1.1.jar,deps/xmltooling-1.3.1.jar,deps/wstx-asl-3.2.4.jar,deps/ehcache-1.5.0.jar,deps/bcprov-jdk15-1.45.jar,deps/ant-launcher-1.7.0.jar,deps/commons-httpclient-3.1.jar,deps/xstream-1.3.1.jar,deps/stringtemplate-3.2.1.jar,deps/xml-apis-1.3.04.jar,deps/log4j-1.2.16.jar,deps/oro-2.0.8.jar,deps/antlr-runtime-3.4.jar,deps/dom4j-1.6.1.jar,deps/axis-1.4.jar,deps/commons-pool-1.6.jar,deps/xml-resolver-1.2.jar,deps/axiom-api-1.2.8.jar,deps/xmlParserAPIs-2.6.0.jar,deps/jetty-util-6.1.26.jar,deps/XmlSchema-1.4.2.jar,deps/ejb-api-3.0.jar,deps/axis2-java2wsdl-1.4.1.jar,deps/jsr107cache-1.0.jar,deps/jetty-6.1.26.jar,deps/joda-time-1.5.2.jar,deps/commons-io-1.4.jar,deps/commons-codec-1.6.jar,deps/httpcore-4.0.jar,deps/bcprov-jdk16-1.45.jar,deps/rampart-core-1.5.jar,deps/geronimo-activation_1.1_spec-1.0.1.jar,deps/servlet-api-2.3.jar,deps/annogen-0.1.0.jar,deps/junit-4.10.jar,deps/ws-commons-util-1.0.2.jar,deps/slf4j-api-1.5.11.jar,deps/geronimo-jms_1.1_spec-1.1.jar,deps/axiom-dom-1.2.7.jar,deps/rampart-policy-1.5.jar,deps/json-simple-1.1.jar,deps/slf4j-jdk14-1.5.11.jar,deps/xercesImpl-2.8.1.jar,deps/wss4j-1.5.8.jar,deps/log4j-over-slf4j-1.6.1.jar,deps/neethi-2.0.4.jar,deps/rampart-trust-1.5.jar,deps/backport-util-concurrent-3.1.jar,deps/mex-1.5.1-impl.jar,deps/ant-1.7.0.jar,deps/jul-to-slf4j-1.6.1.jar,deps/jstl-1.2.jar,deps/javassist-3.9.0.GA.jar,deps/geronimo-javamail_1.4_spec-1.2.jar,deps/xapi-5.6.100-1-SNAPSHOT.jar,deps/commons-dbcp-1.4.jar,deps/axiom-impl-1.2.8.jar,deps/wsdl4j-1.6.2.jar,deps/xmlsec-1.4.2.jar,deps/commons-logging-1.1.1.jar,deps/commons-discovery-0.5.jar,deps/httpcore-nio-4.0-beta1.jar,deps/axis2-codegen-1.4.1.jar,deps/jcl-over-slf4j-1.6.1.jar,deps/mail-1.4.jar,deps/javax.persistence-2.0.0.jar,deps/velocity-1.5.jar,deps/esapi-2.0GA.jar,deps/geronimo-stax-api_1.0_spec-1.0.1.jar,deps/woden-api-1.0M8.jar,deps/opensaml-2.5.1-1.jar,deps/xalan-2.7.0.jar,deps/trilead-ssh2-build213-svnkit-1.3-patch.jar,deps/antlr-2.7.7.jar,deps/commons-lang-2.1.jar,deps/commons-configuration-1.8.jar,deps/commons-collections-3.2.1.jar,deps/xmlrpc-client-3.1.3.jar,deps/axis-jaxrpc-1.4.jar,deps/servlet-api-2.5-20081211.jar,deps/commons-fileupload-1.2.jar,deps/axis2-1.5.1.jar,deps/woden-impl-dom-1.0M8.jar,deps/axis2-kernel-1.4.1.jar,deps/mysql-connector-java-5.1.21.jar,deps/libvirt-0.4.9.jar,deps/not-yet-commons-ssl-0.3.9.jar,deps/axis2-ant-plugin-1.4.1.jar,deps/axis2-adb-1.4.1.jar,deps/CAStorSDK-1.3.1-CS40.jar,deps/axis2-adb-codegen-1.4.1.jar,deps/gson-1.7.1.jar,deps/apache-log4j-extras-1.1.jar,deps/axis2-mtompolicy-1.5.1.jar,deps/jmdns-2.1.jar,deps/xpp3_min-1.1.4c.jar,/usr/share/java/commons-collections.jar,/usr/share/java/commons-dbcp.jar,/usr/share/java/commons-codec.jar,/usr/share/java/commons-logging.jar,/usr/share/java/commons-logging-api.jar,/usr/share/java/commons-pool.jar,/usr/share/java/commons-httpclient.jar,/usr/share/java/commons-fileupload.jar,/usr/share/java/ws-commons-util.jar,/usr/share/java/mysql-connector-java.jar,/usr/share/java/tomcat6-servlet-2.5-api.jar,/usr/share/java/tomcat6-jsp-2.1-api-6.0.24.jar,/usr/share/java/tomcat6-el-2.1-api-6.0.24.jar,/usr/share/java/jakarta-taglibs-core-1.1.1.jar,/usr/share/java/jakarta-taglibs-standard-1.1.1.jar,/usr/share/java/tomcat6/jasper.jar,/usr/share/java/tomcat6/jasper-el.jar,/usr/share/java/tomcat6/jasper-jdt.jar,/usr/share/tomcat6/bin/bootstrap-6.0.24.jar,/usr/share/tomcat6/bin/tomcat-juli.jar,/usr/share/tomcat6/bin/bootstrap.jar,/usr/share/tomcat6/bin/tomcat-juli-6.0.24.jar,/usr/share/tomcat6/lib/tomcat6-jsp-2.1-api-6.0.24.jar,/usr/share/tomcat6/lib/jasper.jar,/usr/share/tomcat6/lib/catalina-ha.jar,/usr/share/tomcat6/lib/jasper-jdt.jar,/usr/share/tomcat6/lib/catalina-ha-6.0.24.jar,/usr/share/tomcat6/lib/jasper-el.jar,/usr/share/tomcat6/lib/log4j.jar,/usr/share/tomcat6/lib/tomcat-i18n-ja.jar,/usr/share/tomcat6/lib/catalina-tribes.jar,/usr/share/tomcat6/lib/catalina.jar,/usr/share/tomcat6/lib/tomcat-i18n-es-6.0.24.jar,/usr/share/tomcat6/lib/annotations-api.jar,/usr/share/tomcat6/lib/tomcat-i18n-ja-6.0.24.jar,/usr/share/tomcat6/lib/tomcat6-el-2.1-api-6.0.24.jar,/usr/share/tomcat6/lib/tomcat-coyote.jar,/usr/share/tomcat6/lib/mx4j-jmx.jar,/usr/share/tomcat6/lib/tomcat-i18n-es.jar,/usr/share/tomcat6/lib/commons-pool.jar,/usr/share/tomcat6/lib/commons-collections.jar,/usr/share/tomcat6/lib/catalina-6.0.24.jar,/usr/share/tomcat6/lib/tomcat-i18n-fr-6.0.24.jar,/usr/share/tomcat6/lib/jasper-6.0.24.jar,/usr/share/tomcat6/lib/tomcat-juli.jar,/usr/share/tomcat6/lib/tomcat-coyote-6.0.24.jar,/usr/share/tomcat6/lib/catalina-ant.jar,/usr/share/tomcat6/lib/mx4j-remote.jar,/usr/share/tomcat6/lib/catalina-tribes-6.0.24.jar,/usr/share/tomcat6/lib/annotations-api-6.0.24.jar,/usr/share/tomcat6/lib/jasper-el-6.0.24.jar,/usr/share/tomcat6/lib/catalina-ant-6.0.24.jar,/usr/share/tomcat6/lib/commons-dbcp.jar,/usr/share/tomcat6/lib/tomcat-i18n-fr.jar,/usr/share/tomcat6/lib/tomcat6-servlet-2.5-api-6.0.24.jar',
'build-all', '-Dimpl.version=4.0.0.20121203224448', '-Dtarget.dir=target', '-Ddist.dir=dist',
'-Dbase.dir=/home/administrator/Downloads/apache-cloudstack-4.0.0-incubating-src/artifacts/rpmbuild/BUILD/cloud-4.0.0',
'-f build.xml'] failed with error value 1
error: Bad exit status from /var/tmp/rpm-tmp.xgoe4a (%build)


RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.xgoe4a (%build) system command rpmbuild failed with
error value 1


Thanks,
Shuiping
Mime
View raw message