[Users] make rpm error

Laszlo Hornyak lhornyak at redhat.com
Fri Apr 6 13:12:06 UTC 2012


Hi,

Jenkins is complaining about the same thing, I believe this is where it went wrong:
http://jenkins.ovirt.org/job/ovirt_engine_create_rpms/191/

Related change:
http://gerrit.ovirt.org/#patch,sidebyside,3337,2,packaging/fedora/spec/ovirt-engine.spec.in

Just guessing but maven is not installed on the OS, is that the problem?

Laszlo


----- Original Message -----
> From: "??????" <zorro at megatrone.ru>
> To: users at 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 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?
> _______________________________________________
> Users mailing list
> Users at ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
> 



More information about the Users mailing list