Hi,
Jenkins is complaining about the same thing, I believe this is where it went wrong:
Just guessing but maven is not installed on the OS, is that the problem?
Laszlo
----- Original Message -----
From: "??????" <zorro(a)megatrone.ru>
To: users(a)ovirt.org
Sent: Friday, April 6, 2012 2:53:13 PM
Subject: [Users] make rpm error
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@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@noc-2-synt ovirt-engine]#
You can fix this?
_______________________________________________
Users mailing list
Users(a)ovirt.org
http://lists.ovirt.org/mailman/listinfo/users