[Engine-devel] Error building ovirt engine rpm.
snmishra at linux.vnet.ibm.com
snmishra at linux.vnet.ibm.com
Sat Feb 9 01:59:32 UTC 2013
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
More information about the Devel
mailing list