[Users] make rpm error
??????
zorro at megatrone.ru
Fri Apr 6 08:53:13 EDT 2012
Hi.
I tried to collect the RPM packages for instructions:
http://www.ovirt.org/wiki/Build_and_Install_Engine_RPM
Commands: "git clone git://gerrit.ovirt.org/ovirt-engine" and "make" and
"make test" Executed without error
make rpm error:
[root at noc-2-synt ovirt-engine]# make rpm
tar zcf ovirt-engine-3.1.0_0001.tar.gz `git ls-files`
mkdir -p /root/ovirt-engine/output
sed -e 's/^Version:.*/Version: 3.1.0_0001/' \
-e 's/^Release:.*/Release: 1.8%{?dist}/'
packaging/fedora/spec/ovirt-engine.spec.in > ovirt-engine.spec
mkdir -p
/root/ovirt-engine/srcrpmbuild/{SPECS,RPMS,SRPMS,SOURCES,BUILD,BUILDROOT}
cp -f ovirt-engine.spec /root/ovirt-engine/srcrpmbuild/SPECS/
cp -f ovirt-engine-3.1.0_0001.tar.gz
/root/ovirt-engine/srcrpmbuild/SOURCES/
rpmbuild -bs --define="_topdir /root/ovirt-engine/srcrpmbuild"
--define="_sourcedir ." ovirt-engine.spec
Wrote:
/root/ovirt-engine/srcrpmbuild/SRPMS/ovirt-engine-3.1.0_0001-1.8.el6.src.rpm
mv /root/ovirt-engine/srcrpmbuild/SRPMS/*.rpm /root/ovirt-engine/output
rm -rf /root/ovirt-engine/srcrpmbuild ovirt-engine.spec
ovirt-engine-3.1.0_0001.tar.gz
rm -rf /root/ovirt-engine/rpmbuild
mkdir -p
/root/ovirt-engine/rpmbuild/{SPECS,RPMS,SRPMS,SOURCES,BUILD,BUILDROOT}
rpmbuild --define="_topdir /root/ovirt-engine/rpmbuild" --rebuild
/root/ovirt-engine/output/ovirt-engine-3.1.0_0001-1.8.el6.src.rpm
Installing /root/ovirt-engine/output/ovirt-engine-3.1.0_0001-1.8.el6.src.rpm
error: Failed build dependencies:
maven is needed by ovirt-engine-3.1.0_0001-1.8.el6.x86_64
make: *** [rpm] Error 1
[root at noc-2-synt ovirt-engine]#
You can fix this?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/users/attachments/20120406/b9d7adc0/attachment-0002.html>
More information about the Users
mailing list