[ovirt-devel] Building log collector rpm

Sandro Bonazzola sbonazzo at redhat.com
Tue May 13 08:21:00 UTC 2014


Il 13/05/2014 10:17, Piotr Kliczewski ha scritto:
> On Tue, May 13, 2014 at 10:08 AM, Sandro Bonazzola <sbonazzo at redhat.com> wrote:
>> Il 13/05/2014 10:03, Piotr Kliczewski ha scritto:
>>> On Tue, May 13, 2014 at 8:58 AM, Sandro Bonazzola <sbonazzo at redhat.com> wrote:
>>>> Il 13/05/2014 08:42, Piotr Kliczewski ha scritto:
>>>>> On Mon, May 12, 2014 at 5:55 PM, Sandro Bonazzola <sbonazzo at redhat.com> wrote:
>>>>>> Il 12/05/2014 17:09, Piotr Kliczewski ha scritto:
>>>>>>> I want to build log collector rpm and noticed that is failing due to:
>>>>>>>
>>>>>>> + /usr/lib/rpm/redhat/brp-java-repack-jars
>>>>>>>
>>>>>>> Processing files: ovirt-log-collector-3.5.0-0.0.master.fc19.noarch
>>>>>>>
>>>>>>> error: File not found by glob:
>>>>>>> /home/pkliczewski/rpmbuild/BUILDROOT/ovirt-log-collector-3.5.0-0.0.master.fc19.x86_64/usr/lib/python2.7/site-packages/sos/plugins/*.py*
>>>>>>>
>>>>>>>
>>>>>>> I pulled the code from master few minutes ago.
>>>>>>>
>>>>>>> Can someone help to solve this issue?
>>>>>>
>>>>>> Can you try with http://gerrit.ovirt.org/27438 ?
>>>>>> Thanks,
>>>>>>
>>>>>
>>>>> I pulled your patch and did make clean but I still can see this issue.
>>>>
>>>> ./autogen.sh
>>>> ./configure
>>>> make dist
>>>> rpmbuild -ta <tarball>
>>>>
>>>
>>> With this commands I was able to build rpm. I used the same command
>>> set like for all the other
>>> components and it is failing. I thought that Alon wanted to unify how
>>> all the rpms are built.
>>
>> And how above commands differ from other auto tools based projects?
>> As far as I know all of them are built like that.
>>
> 
> Please take a look at packaging section in:
> 
> http://gerrit.ovirt.org/gitweb?p=ovirt-engine.git;a=blob;f=README.developer

ovirt-engine is not auto tools based.
ovirt-engine is static makefile based as dwh and reports.

Auto tools based projects are for example otopi, ovirt-hosted-engine-setup, vdsm, ...
and are all built the same way using autogen, configure, make dist and rpmbuild.

> 
> 
>>
>>>
>>>>
>>>> it works for me on F19 with sos-3.0-23.fc19.noarch installed.
>>>>
>>>> Note that for having it working you'll need to rebuild
>>>> http://resources.ovirt.org/pub/ovirt-master-snapshot-static/rpm/fc20/SRPMS/sos-3.1-1.fc20.ovirt.src.rpm
>>>>
>>>> on f19.
>>>> We're still working with upstream sos in order to get ovirt plugins properly included in sos package.
>>>>
>>>>
>>>>>
>>>>>>
>>>>>>>
>>>>>>> Thanks,
>>>>>>> Piotr
>>>>>>> _______________________________________________
>>>>>>> Devel mailing list
>>>>>>> Devel at ovirt.org
>>>>>>> http://lists.ovirt.org/mailman/listinfo/devel
>>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>> Sandro Bonazzola
>>>>>> Better technology. Faster innovation. Powered by community collaboration.
>>>>>> See how it works at redhat.com
>>>>
>>>>
>>>> --
>>>> Sandro Bonazzola
>>>> Better technology. Faster innovation. Powered by community collaboration.
>>>> See how it works at redhat.com
>>
>>
>> --
>> Sandro Bonazzola
>> Better technology. Faster innovation. Powered by community collaboration.
>> See how it works at redhat.com


-- 
Sandro Bonazzola
Better technology. Faster innovation. Powered by community collaboration.
See how it works at redhat.com



More information about the Devel mailing list