[libvirt] [PATCH] Fix rpm building with new logrotate file

Jim Meyering jim at meyering.net
Thu Dec 11 14:37:56 UTC 2008


"Daniel P. Berrange" <berrange at redhat.com> wrote:

> On Thu, Dec 11, 2008 at 03:24:34PM +0100, Jim Meyering wrote:
>> Cole Robinson <crobinso at redhat.com> wrote:
>> > The attached patch teaches the rpm spec about the new logrotate file,
>> > which unbreaks rpm builds.
>>
>> Looks fine.
>> I hadn't run "make rpm" for some time.
>> When I try it (with or without your patch), I get this:
>>
>>   ...
>>   extracting debug info from /home/meyering/rpmbuild/BUILDROOT/libvirt-0.5.1-1.fc11.x86_64/usr/lib64/python2.5/site-packages/libvirtmod.so
>>   *** ERROR: No build ID note found in /home/meyering/rpmbuild/BUILDROOT/libvirt-0.5.1-1.fc11.x86_64/usr/lib64/python2.5/site-packages/libvirtmod.so
>>   error: Bad exit status from /var/tmp/rpm-tmp.Ccejgr (%install)
>>
>>
>>   RPM build errors:
>>       Bad exit status from /var/tmp/rpm-tmp.Ccejgr (%install)
>>   make: *** [rpm] Error 1
>>
>> Any idea what causes that?
>
> Missing  redhat-rpm-config usually causes that

Thanks for the reply.  Missing how?
That package is installed:

    $ rpm -q redhat-rpm-config
    redhat-rpm-config-9.0.3-3.fc10.noarch




More information about the libvir-list mailing list