<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"></head><body><br><br><br><span style="font-size:87%">Sent from my Samsung Epicâ„¢ 4G Touch</span> <br><br><br>-------- Original message --------<br>Subject: Re: [Users] I am tiring to manually create the RPM but getting the following errors. <br>From: Itamar Heim <iheim@redhat.com> <br>To: Robert Middleswarth <robert@middleswarth.net> <br>CC: Juan Hernandez <jhernand@redhat.com>,users <users@ovirt.org> <br><br><br><div style="word-break:break-all;">On 06/29/2012 09:50 PM, Robert Middleswarth wrote:<br>> On 06/29/2012 05:44 AM, Juan Hernandez wrote:<br>>> On 06/29/2012 04:52 AM, Robert Middleswarth wrote:<br>>>> Note I am attempting to build on CentOS after applying<br>>>> http://www1.dreyou.org/ovirt/ engine patch.<br>>>><br>>>> I have tiried with both master and engine_3.1 branch but I am pretty<br>>>> certain that it is a missing depend in my build environment? Any hints?<br>>>><br>>>> # Hibernate validator module:<br>>>> ln -s /usr/share/java/hibernate-validator.jar<br>>>> /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/.<br>>>><br>>>> ln -s /usr/share/java/jtype.jar<br>>>> /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/.<br>>>><br>>>> *** Deploying service<br>>>> # Install the files:<br>>>> install -m 644 packaging/fedora/engine-service.xml<br>>>> /root/centos_engine_3.1/rpmbuild/BUILDROOT/ovirt-engine-3.1.0-3.el6.x86_64/etc/ovirt-engine<br>>>><br>>>> install -m 644 packaging/fedora/engine-service-logging.properties<br>>>> /root/centos_engine_3.1/rpmbuild/BUILDROOT/ovirt-engine-3.1.0-3.el6.x86_64/etc/ovirt-engine<br>>>><br>>>> install -m 644 packaging/fedora/engine-service-users.properties<br>>>> /root/centos_engine_3.1/rpmbuild/BUILDROOT/ovirt-engine-3.1.0-3.el6.x86_64/etc/ovirt-engine<br>>>><br>>>> install -m 644 packaging/fedora/engine-service.sysconfig<br>>>> /root/centos_engine_3.1/rpmbuild/BUILDROOT/ovirt-engine-3.1.0-3.el6.x86_64/etc/sysconfig/ovirt-engine<br>>>><br>>>> install -m 644 packaging/fedora/engine-service.limits<br>>>> /root/centos_engine_3.1/rpmbuild/BUILDROOT/ovirt-engine-3.1.0-3.el6.x86_64/etc/security/limits.d/10-ovirt-engine.conf<br>>>><br>>>> install -m 755 packaging/fedora/engine-service.py<br>>>> /root/centos_engine_3.1/rpmbuild/BUILDROOT/ovirt-engine-3.1.0-3.el6.x86_64/usr/share/ovirt-engine/scripts<br>>>><br>>>> install -m 755 packaging/fedora/engine-service.systemv<br>>>> /root/centos_engine_3.1/rpmbuild/BUILDROOT/ovirt-engine-3.1.0-3.el6.x86_64/etc/rc.d/init.d/ovirt-engine<br>>>><br>>>> make[1]: Leaving directory<br>>>> `/root/centos_engine_3.1/rpmbuild/BUILD/ovirt-engine-3.1.0'<br>>>> + install -d -m 755<br>>>> /root/centos_engine_3.1/rpmbuild/BUILDROOT/ovirt-engine-3.1.0-3.el6.x86_64/usr/share/java/ovirt-engine<br>>>><br>>>> + install -d -m 755<br>>>> /root/centos_engine_3.1/rpmbuild/BUILDROOT/ovirt-engine-3.1.0-3.el6.x86_64/usr/share/maven2/poms<br>>>><br>>>> + install -d -m 755<br>>>> /root/centos_engine_3.1/rpmbuild/BUILDROOT/ovirt-engine-3.1.0-3.el6.x86_64/usr/share/javadoc/ovirt-engine<br>>>><br>>>> + read module_path artifact_id<br>>>> + pom_file=./pom.xml<br>>>> + jar_file=./target/parent-3.1.0.jar<br>>>> + install -p -m 644 ./pom.xml<br>>>> /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<br>>>><br>>>> + '[' -f ./target/parent-3.1.0.jar ']'<br>>>> + %add_maven_depmap JPP.ovirt-engine-parent.pom<br>>>> /var/tmp/rpm-tmp.hkOAWN: line 58: fg: no job control<br>>>> error: Bad exit status from /var/tmp/rpm-tmp.hkOAWN (%install)<br>>>><br>>>><br>>>> RPM build errors:<br>>>> Bad exit status from /var/tmp/rpm-tmp.hkOAWN (%install)<br>>>> make: *** [rpm] Error 1<br>>> Can you share the temp file where you get that error? I is<br>>> /var/tmp/rpm-tmp.hkOAWN in your latests message, but will be different<br>>> if you repeat the build.<br>>><br>>><br>> I had already shutdown the VM so the tmp folder was cleared. I am<br>> running the build again and going to grab a full log and that file and<br>> fpaste them. But the build process is taking me 12 hours to do so it<br>> will be a day or two before I can reply.<br><br>12 hours, why?!<br></div><div style="word-break:break-all;"><br></div><div style="word-break:break-all;">That is how long make rpm is taking? I suspect the fact the system only has 3g of ram might be part of the long compile times</div><div style="word-break:break-all;"><br></div><div style="word-break:break-all;">Thanks</div><div style="word-break:break-all;">Robert</div> </body>