cloudstack-users-cn mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "兲兲姠仩" <rayang2...@qq.com>
Subject Re:RE: Re:Building RPMs 报错
Date Tue, 04 Dec 2012 07:52:00 GMT
是的,你上传x86_64 那个目录到你的webserver 修改repo文件网络路径指向你上传的目录就行了


------------------ 原始邮件 ------------------
发件人: "Shuiping Xie"<shuiping.xie@dilatoit.com>;
发送时间: 2012年12月4日(星期二) 下午3:44
收件人: "cloudstack-users-cn@incubator.apache.org"<cloudstack-users-cn@incubator.apache.org>;


主题: RE: Re:Building RPMs 报错



再问一下,我运行到 $createrepo ./ 后,如何upload 到一个web server? 修改cloudstack.repo
里的这条baseur=http://webserver.tld/path/to/repo 是指定web server存放 这些RPMs的路径么?

Next we'll issue a command to create the repository metadata by issuing the following command:
$ createrepo ./
The files and directories within our current working directory can now be uploaded to a web
server and serve as a yum repository
3.6.2. Configuring your systems to use your new yum repository
Now that your yum repository is populated with RPMs and metadata we need to configure our
machines that need to install CloudStack. We will create a file at /etc/yum.repos.d/cloudstack.repo
with the following content:
[apache-cloudstack]
name=Apache CloudStack
baseurl=http://webserver.tld/path/to/repo
enabled=1
gpgcheck=0



Thanks
Shuiping

-----Original Message-----
From: Shuiping Xie [mailto:shuiping.xie@dilatoit.com] 
Sent: 2012年12月4日 15:19
To: cloudstack-users-cn@incubator.apache.org
Subject: RE: Re:Building RPMs 报错

非常感谢!运行 yum install ant* 把ant所有包装上后, 'rpm' finished successfully.

Thanks,
Shuiping

-----Original Message-----
From: 兲兲姠仩 [mailto:rayang2004@qq.com] 
Sent: 2012年12月4日 15:01
To: cloudstack-users-cn
Subject: Re:Building RPMs 报错

yum install ant*




------------------ 原始邮件 ------------------
发件人: "Shuiping Xie"<shuiping.xie@dilatoit.com>;
发送时间: 2012年12月4日(星期二) 下午2:57
收件人: "cloudstack-users-cn@incubator.apache.org"<cloudstack-users-cn@incubator.apache.org>;


主题: Building RPMs 报错



hi 大家好,

我在build CS4.0时在Building RPMs步骤报错,请问该问题如何解决呀? 我运行mvn
–P 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
  • Unnamed multipart/alternative (inline, 8-Bit, 0 bytes)
View raw message