<div style="line-height:1.7;color:#000000;font-size:14px;font-family:arial">Thanks, but the problem still exists.<div>There is no dist rule be wrote in Makefile, so run make dist, the result is <b>make: *** No rule to make target `dist'. &nbsp;Stop.</b></div><div>run rpmbuild -tb&nbsp;ovirt-engine-3.1.0.tar.gz, the log is the same as former.<br><br><br><div></div><div id="divNeteaseMailCard"></div><pre><br>At&nbsp;2013-03-18&nbsp;16:26:01,"Alon&nbsp;Bar-Lev"&nbsp;&lt;alonbl@redhat.com&gt;&nbsp;wrote:
&gt;Please&nbsp;try:
&gt;
&gt;$&nbsp;make&nbsp;dist
&gt;$&nbsp;rpmbuild&nbsp;-tb&nbsp;&lt;tarball&gt;
&gt;
&gt;
&gt;-----&nbsp;Original&nbsp;Message&nbsp;-----
&gt;&gt;&nbsp;From:&nbsp;"qyddbear"&nbsp;&lt;qyddbear@163.com&gt;
&gt;&gt;&nbsp;To:&nbsp;engine-devel@ovirt.org
&gt;&gt;&nbsp;Sent:&nbsp;Monday,&nbsp;March&nbsp;18,&nbsp;2013&nbsp;10:18:28&nbsp;AM
&gt;&gt;&nbsp;Subject:&nbsp;[Engine-devel]&nbsp;make&nbsp;rpm&nbsp;error:&nbsp;No&nbsp;targets&nbsp;specified&nbsp;and&nbsp;no&nbsp;makefile        found.&nbsp;Stop
&gt;&gt;&nbsp;
&gt;&gt;&nbsp;
&gt;&gt;&nbsp;
&gt;&gt;&nbsp;
&gt;&gt;&nbsp;
&gt;&gt;&nbsp;Hi,&nbsp;I&nbsp;am&nbsp;a&nbsp;green&nbsp;learner,&nbsp;I&nbsp;tried&nbsp;to&nbsp;make&nbsp;ovirt-engine&nbsp;rpm&nbsp;from
&gt;&gt;&nbsp;compiled&nbsp;source&nbsp;code.&nbsp;when&nbsp;I&nbsp;run&nbsp;make&nbsp;rpm,&nbsp;and&nbsp;the&nbsp;log&nbsp;as&nbsp;follows.
&gt;&gt;&nbsp;Can&nbsp;anyone&nbsp;tell&nbsp;me&nbsp;what's&nbsp;the&nbsp;matter?&nbsp;Thanks!
&gt;&gt;&nbsp;
&gt;&gt;&nbsp;
&gt;&gt;&nbsp;[root@localhost&nbsp;ovirt-engine-3.1.0]#&nbsp;make&nbsp;rpm
&gt;&gt;&nbsp;sed&nbsp;-e&nbsp;'s/@PACKAGE_VERSION@/3.1.0/g'&nbsp;\
&gt;&gt;&nbsp;-e&nbsp;'s/@PACKAGE_RELEASE@/3.26/g'
&gt;&gt;&nbsp;packaging/fedora/spec/ovirt-engine.spec.in&nbsp;&gt;&nbsp;ovirt-engine.spec
&gt;&gt;&nbsp;git&nbsp;ls-files&nbsp;|&nbsp;tar&nbsp;--files-from&nbsp;/proc/self/fd/0&nbsp;-czf
&gt;&gt;&nbsp;ovirt-engine-3.1.0.tar.gz&nbsp;ovirt-engine.spec
&gt;&gt;&nbsp;rm&nbsp;-f&nbsp;ovirt-engine.spec
&gt;&gt;&nbsp;
&gt;&gt;&nbsp;
&gt;&gt;&nbsp;You&nbsp;can&nbsp;use&nbsp;rpmbuild&nbsp;-tb&nbsp;ovirt-engine-3.1.0.tar.gz&nbsp;to&nbsp;produce&nbsp;rpms
&gt;&gt;&nbsp;
&gt;&gt;&nbsp;
&gt;&gt;&nbsp;rm&nbsp;-rf&nbsp;/home/wqx/ovirt-engine-3.1.0/tmp.rpmbuild
&gt;&gt;&nbsp;mkdir&nbsp;-p
&gt;&gt;&nbsp;/home/wqx/ovirt-engine-3.1.0/tmp.rpmbuild/{SPECS,RPMS,SRPMS,SOURCES,BUILD,BUILDROOT}
&gt;&gt;&nbsp;mkdir&nbsp;-p&nbsp;output
&gt;&gt;&nbsp;rpmbuild&nbsp;-ts&nbsp;--define="_topdir
&gt;&gt;&nbsp;/home/wqx/ovirt-engine-3.1.0/tmp.rpmbuild"&nbsp;ovirt-engine-3.1.0.tar.gz
&gt;&gt;&nbsp;Wrote:
&gt;&gt;&nbsp;/home/wqx/ovirt-engine-3.1.0/tmp.rpmbuild/SRPMS/ovirt-engine-3.1.0-3.26.el6.src.rpm
&gt;&gt;&nbsp;mv&nbsp;/home/wqx/ovirt-engine-3.1.0/tmp.rpmbuild/SRPMS/*.rpm&nbsp;output
&gt;&gt;&nbsp;rm&nbsp;-rf&nbsp;/home/wqx/ovirt-engine-3.1.0/tmp.rpmbuild
&gt;&gt;&nbsp;
&gt;&gt;&nbsp;
&gt;&gt;&nbsp;srpm&nbsp;is&nbsp;ready&nbsp;at&nbsp;output
&gt;&gt;&nbsp;
&gt;&gt;&nbsp;
&gt;&gt;&nbsp;rm&nbsp;-rf&nbsp;/home/wqx/ovirt-engine-3.1.0/tmp.rpmbuild
&gt;&gt;&nbsp;mkdir&nbsp;-p
&gt;&gt;&nbsp;/home/wqx/ovirt-engine-3.1.0/tmp.rpmbuild/{SPECS,RPMS,SRPMS,SOURCES,BUILD,BUILDROOT}
&gt;&gt;&nbsp;mkdir&nbsp;-p&nbsp;output
&gt;&gt;&nbsp;rpmbuild&nbsp;--define="_topdir&nbsp;/home/wqx/ovirt-engine-3.1.0/tmp.rpmbuild"
&gt;&gt;&nbsp;--rebuild&nbsp;ou&nbsp;tput/ovirt-engine-3.1.0*.src.rpm
&gt;&gt;&nbsp;Installing&nbsp;output/ovirt-engine-3.1.0-3.26.el6.src.rpm
&gt;&gt;&nbsp;Executing(%prep):&nbsp;/bin/sh&nbsp;-e&nbsp;/var/tmp/rpm-tmp.3JQHHM
&gt;&gt;&nbsp;+&nbsp;umask&nbsp;022
&gt;&gt;&nbsp;+&nbsp;cd&nbsp;/home/wqx/ovirt-engine-3.1.0/tmp.rpmbuild/BUILD
&gt;&gt;&nbsp;+&nbsp;LANG=C
&gt;&gt;&nbsp;+&nbsp;export&nbsp;LANG
&gt;&gt;&nbsp;+&nbsp;unset&nbsp;DISPLAY
&gt;&gt;&nbsp;+&nbsp;cd&nbsp;/home/wqx/ovirt-engine-3.1.0/tmp.rpmbuild/BUILD
&gt;&gt;&nbsp;+&nbsp;rm&nbsp;-rf&nbsp;ovirt-engine-3.1.0
&gt;&gt;&nbsp;+&nbsp;/bin/mkdir&nbsp;-p&nbsp;ovirt-engine-3.1.0
&gt;&gt;&nbsp;+&nbsp;cd&nbsp;ovirt-engine-3.1.0
&gt;&gt;&nbsp;+&nbsp;/bin/tar&nbsp;-xf&nbsp;-
&gt;&gt;&nbsp;+&nbsp;/usr/bin/gzip&nbsp;-dc
&gt;&gt;&nbsp;/home/wqx/ovirt-engine-3.1.0/tmp.rpmbuild/SOURCES/ovirt-engine-3.1.0.tar.gz
&gt;&gt;&nbsp;+&nbsp;STATUS=0
&gt;&gt;&nbsp;+&nbsp;'['&nbsp;0&nbsp;-ne&nbsp;0&nbsp;']'
&gt;&gt;&nbsp;+&nbsp;/bin/chmod&nbsp;-Rf&nbsp;a+rX,u+w,g-w,o-w&nbsp;.
&gt;&gt;&nbsp;+&nbsp;exit&nbsp;0
&gt;&gt;&nbsp;Executing(%build):&nbsp;/bin/sh&nbsp;-e&nbsp;/var/tmp/rpm-tmp.qesWT3
&gt;&gt;&nbsp;+&nbsp;umask&nbsp;022
&gt;&gt;&nbsp;+&nbsp;cd&nbsp;/home/wqx/ovirt-engine-3.1.0/tmp.rpmbuild/BUILD
&gt;&gt;&nbsp;+&nbsp;cd&nbsp;ovirt-engine-3.1.0
&gt;&gt;&nbsp;+&nbsp;LANG=C
&gt;&gt;&nbsp;+&nbsp;export&nbsp;LANG
&gt;&gt;&nbsp;+&nbsp;unset&nbsp;DISPLAY
&gt;&gt;&nbsp;+&nbsp;make&nbsp;-j1&nbsp;PACKAGE_NAME=ovirt-engine&nbsp;ENGINE_NAME=ovirt-engine
&gt;&gt;&nbsp;LOCALSTATE_DIR=/var&nbsp;ENGINE_STATE=/var/lib/ovirt-engine&nbsp;PREFIX=/usr
&gt;&gt;&nbsp;SYSCONF_DIR=/etc&nbsp;BIN_DIR=/usr/bin&nbsp;DATAROOT_DIR=/usr/share
&gt;&gt;&nbsp;MAN_DIR=/usr/share/man&nbsp;PYTHON=/usr/bin/python
&gt;&gt;&nbsp;PYTHON_DIR=/usr/lib/python2.6/site-packages&nbsp;JAVA_DIR=/usr/share/java
&gt;&gt;&nbsp;MAVENPOM_DIR=/usr/share/maven2/poms
&gt;&gt;&nbsp;PKG_JAVA_DIR=/usr/share/java/ovirt-engine
&gt;&gt;&nbsp;PKG_SYSCONF_DIR=/etc/ovirt-engine
&gt;&gt;&nbsp;PKG_EAR_DIR=/usr/share/ovirt-engine/engine.ear
&gt;&gt;&nbsp;PKG_PKI_DIR=/etc/pki/ovirt-e&nbsp;ngine
&gt;&gt;&nbsp;PKG_JBOSS_MODULES=/usr/share/ovirt-engine/modules
&gt;&gt;&nbsp;make[1]:&nbsp;Entering&nbsp;directory
&gt;&gt;&nbsp;`/home/wqx/ovirt-engine-3.1.0/tmp.rpmbuild/BUILD/ovirt-engine-3.1.0'
&gt;&gt;&nbsp;make[1]:&nbsp;***&nbsp;No&nbsp;targets&nbsp;specified&nbsp;and&nbsp;no&nbsp;makefile&nbsp;found.&nbsp;Stop.
&gt;&gt;&nbsp;make[1]:&nbsp;Leaving&nbsp;directory
&gt;&gt;&nbsp;`/home/wqx/ovirt-engine-3.1.0/tmp.rpmbuild/BUILD/ovirt-engine-3.1.0'
&gt;&gt;&nbsp;error:&nbsp;Bad&nbsp;exit&nbsp;status&nbsp;from&nbsp;/var/tmp/rpm-tmp.qesWT3&nbsp;(%build)
&gt;&gt;&nbsp;
&gt;&gt;&nbsp;
&gt;&gt;&nbsp;
&gt;&gt;&nbsp;
&gt;&gt;&nbsp;RPM&nbsp;build&nbsp;errors:
&gt;&gt;&nbsp;Bad&nbsp;exit&nbsp;status&nbsp;from&nbsp;/&nbsp;var/tmp/rpm-tmp.qesWT3&nbsp;(%build)
&gt;&gt;&nbsp;make:&nbsp;***&nbsp;[rpm]&nbsp;Error&nbsp;1
&gt;&gt;&nbsp;
&gt;&gt;&nbsp;
&gt;&gt;&nbsp;
&gt;&gt;&nbsp;
&gt;&gt;&nbsp;There&nbsp;is&nbsp;a&nbsp;ovirt-engine.spec&nbsp;under
&gt;&gt;&nbsp;/home/wqx/ovirt-engine-3.1.0/tmp.rpmbuild/BUILD/ovirt-engine-3.1.0
&gt;&gt;&nbsp;
&gt;&gt;&nbsp;
&gt;&gt;&nbsp;
&gt;&gt;&nbsp;
&gt;&gt;&nbsp;
&gt;&gt;&nbsp;
&gt;&gt;&nbsp;_______________________________________________
&gt;&gt;&nbsp;Engine-devel&nbsp;mailing&nbsp;list
&gt;&gt;&nbsp;Engine-devel@ovirt.org
&gt;&gt;&nbsp;http://lists.ovirt.org/mailman/listinfo/engine-devel
&gt;&gt;&nbsp;
</pre></div></div><br><br><span title="neteasefooter"><span id="netease_mail_footer"></span></span>