[Users] I am tiring to manually create the RPM but getting the following errors.

Juan Hernandez jhernand at redhat.com
Fri Jun 29 09:44:18 UTC 2012


On 06/29/2012 04:52 AM, Robert Middleswarth wrote:
> Note I am attempting to build on CentOS after applying 
> http://www1.dreyou.org/ovirt/ engine patch.
> 
> I have tiried with both master and engine_3.1 branch but I am pretty 
> certain that it is a missing depend in my build environment?  Any hints?
> 
> # Hibernate validator module:
> ln -s /usr/share/java/hibernate-validator.jar 
> /root/centos_engine_3.1/rpmbuild/BUILDROOT/ovirt-engine-3.1.0-3.el6.x86_64/usr/share/ovirt-engine/modules/org/hibernate/validator/main/.
> ln -s /usr/share/java/jtype.jar 
> /root/centos_engine_3.1/rpmbuild/BUILDROOT/ovirt-engine-3.1.0-3.el6.x86_64/usr/share/ovirt-engine/modules/org/hibernate/validator/main/.
> *** Deploying service
> # Install the files:
> install -m 644 packaging/fedora/engine-service.xml 
> /root/centos_engine_3.1/rpmbuild/BUILDROOT/ovirt-engine-3.1.0-3.el6.x86_64/etc/ovirt-engine
> install -m 644 packaging/fedora/engine-service-logging.properties 
> /root/centos_engine_3.1/rpmbuild/BUILDROOT/ovirt-engine-3.1.0-3.el6.x86_64/etc/ovirt-engine
> install -m 644 packaging/fedora/engine-service-users.properties 
> /root/centos_engine_3.1/rpmbuild/BUILDROOT/ovirt-engine-3.1.0-3.el6.x86_64/etc/ovirt-engine
> install -m 644 packaging/fedora/engine-service.sysconfig 
> /root/centos_engine_3.1/rpmbuild/BUILDROOT/ovirt-engine-3.1.0-3.el6.x86_64/etc/sysconfig/ovirt-engine
> install -m 644 packaging/fedora/engine-service.limits 
> /root/centos_engine_3.1/rpmbuild/BUILDROOT/ovirt-engine-3.1.0-3.el6.x86_64/etc/security/limits.d/10-ovirt-engine.conf
> install -m 755 packaging/fedora/engine-service.py 
> /root/centos_engine_3.1/rpmbuild/BUILDROOT/ovirt-engine-3.1.0-3.el6.x86_64/usr/share/ovirt-engine/scripts
> install -m 755 packaging/fedora/engine-service.systemv 
> /root/centos_engine_3.1/rpmbuild/BUILDROOT/ovirt-engine-3.1.0-3.el6.x86_64/etc/rc.d/init.d/ovirt-engine
> make[1]: Leaving directory 
> `/root/centos_engine_3.1/rpmbuild/BUILD/ovirt-engine-3.1.0'
> + install -d -m 755 
> /root/centos_engine_3.1/rpmbuild/BUILDROOT/ovirt-engine-3.1.0-3.el6.x86_64/usr/share/java/ovirt-engine
> + install -d -m 755 
> /root/centos_engine_3.1/rpmbuild/BUILDROOT/ovirt-engine-3.1.0-3.el6.x86_64/usr/share/maven2/poms
> + install -d -m 755 
> /root/centos_engine_3.1/rpmbuild/BUILDROOT/ovirt-engine-3.1.0-3.el6.x86_64/usr/share/javadoc/ovirt-engine
> + read module_path artifact_id
> + pom_file=./pom.xml
> + jar_file=./target/parent-3.1.0.jar
> + install -p -m 644 ./pom.xml 
> /root/centos_engine_3.1/rpmbuild/BUILDROOT/ovirt-engine-3.1.0-3.el6.x86_64/usr/share/maven2/poms/JPP.ovirt-engine-parent.pom
> + '[' -f ./target/parent-3.1.0.jar ']'
> + %add_maven_depmap JPP.ovirt-engine-parent.pom
> /var/tmp/rpm-tmp.hkOAWN: line 58: fg: no job control
> error: Bad exit status from /var/tmp/rpm-tmp.hkOAWN (%install)
> 
> 
> RPM build errors:
>      Bad exit status from /var/tmp/rpm-tmp.hkOAWN (%install)
> make: *** [rpm] Error 1

Can you share the temp file where you get that error? I is
/var/tmp/rpm-tmp.hkOAWN in your latests message, but will be different
if you repeat the build.


-- 
Dirección Comercial: C/Jose Bardasano Baos, 9, Edif. Gorbea 3, planta
3ºD, 28016 Madrid, Spain
Inscrita en el Reg. Mercantil de Madrid – C.I.F. B82657941 - Red Hat S.L.





More information about the Users mailing list