[Users] I am tiring to manually create the RPM but getting the following errors.
Robert Middleawarth
robert at middleswarth.net
Sat Jun 30 16:35:14 UTC 2012
Sent from my Samsung Epic™ 4G Touch
-------- Original message --------
Subject: Re: [Users] I am tiring to manually create the RPM but getting the following errors.
From: Itamar Heim <iheim at redhat.com>
To: Robert Middleswarth <robert at middleswarth.net>
CC: Juan Hernandez <jhernand at redhat.com>,users <users at ovirt.org>
On 06/29/2012 09:50 PM, Robert Middleswarth wrote:
> On 06/29/2012 05:44 AM, Juan Hernandez wrote:
>> 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.
>>
>>
> I had already shutdown the VM so the tmp folder was cleared. I am
> running the build again and going to grab a full log and that file and
> fpaste them. But the build process is taking me 12 hours to do so it
> will be a day or two before I can reply.
12 hours, why?!
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
Thanks
Robert
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/users/attachments/20120630/09350d92/attachment-0001.html>
More information about the Users
mailing list