[Engine-devel] Error building ovirt engine rpm.
Martin Betak
mbetak at redhat.com
Sat Feb 9 19:07:36 UTC 2013
----- Original Message -----
> From: snmishra at linux.vnet.ibm.com
> To: engine-devel at ovirt.org
> Sent: Saturday, February 9, 2013 2:59:32 AM
> Subject: [Engine-devel] Error building ovirt engine rpm.
>
>
> Hi,
>
> I tried building an ovirt engine RPM for the first time on my
> Fedora17 machine using the wiki instructions. I get the following
> error -
>
> # make rpm
> sed -e 's/@PACKAGE_VERSION@/3.3.0/g' \
> -e 's/@PACKAGE_RELEASE@/0.1.20130208174746/g'
> packaging/fedora/spec/
>
> ovirt-engine.spec.in >
> ovirt-engine.spec
> git ls-files | tar --files-from /proc/self/fd/0 -czf
> ovirt-engine-3.3.0.tar.gz o
>
> virt-engine.spec
> rm -f ovirt-engine.spec
>
> You can use rpmbuild -tb ovirt-engine-3.3.0.tar.gz to produce rpms
>
> rm -rf /home/guest/ovirt-engine/tmp.rpmbuild
> mkdir -p
> /home/guest/ovirt-engine/tmp.rpmbuild/{SPECS,RPMS,SRPMS,SOURCES,BUILD,B
>
>
> UILDROOT}
> mkdir -p output
> rpmbuild -ts --define="_topdir /home/guest/ovirt-engine/tmp.rpmbuild"
> ovirt-engi
>
> ne-3.3.0.tar.gz
> Wrote:
> /home/guest/ovirt-engine/tmp.rpmbuild/SRPMS/ovirt-engine-3.3.0-0.1.201302
>
>
> 08174746.fc17.src.rpm
> mv /home/guest/ovirt-engine/tmp.rpmbuild/SRPMS/*.rpm output
> rm -rf /home/guest/ovirt-engine/tmp.rpmbuild
>
> srpm is ready at output
>
> rm -rf /home/guest/ovirt-engine/tmp.rpmbuild
> mkdir -p
> /home/guest/ovirt-engine/tmp.rpmbuild/{SPECS,RPMS,SRPMS,SOURCES,BUILD,B
>
>
> UILDROOT}
> mkdir -p output
> rpmbuild --define="_topdir /home/guest/ovirt-engine/tmp.rpmbuild"
> --rebuild out
>
> put/ovirt-engine-3.3.0*.src.rpm
> Installing output/ovirt-engine-3.3.0-0.1.20130208172931.fc17.src.rpm
> error: Failed build dependencies:
> ovirt-host-deploy-java is needed by
> ovirt-engine-3.3.0-0.1.2013020817293
>
> 1.fc17.noarch
> make: *** [rpm] Error 1
>
>
> -Sharad
>
> _______________________________________________
> Engine-devel mailing list
> Engine-devel at ovirt.org
> http://lists.ovirt.org/mailman/listinfo/engine-devel
>
Hi Sharad
I have recently run into the same problem trying to create engine rpm.
After long search I have been finally able to install the missing ovirt-host-deploy-java
dependency by enabling the ovirt-nightly repo. Hope that helps.
Martin
More information about the Engine-devel
mailing list