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

The attached patch teaches the rpm spec about the new logrotate file, which unbreaks rpm builds. Thanks, Cole

On Wed, Dec 10, 2008 at 02:39:26PM -0500, Cole Robinson wrote:
The attached patch teaches the rpm spec about the new logrotate file, which unbreaks rpm builds.
Sure, +1 ! Daniel -- Daniel Veillard | libxml Gnome XML XSLT toolkit http://xmlsoft.org/ daniel@veillard.com | Rpmfind RPM search engine http://rpmfind.net/ http://veillard.com/ | virtualization library http://libvirt.org/

Cole Robinson <crobinso@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? So, "make rpm" works for you, right? I suppose this failure is due to something specific to my rawhide build system.

On Thu, Dec 11, 2008 at 03:24:34PM +0100, Jim Meyering wrote:
Cole Robinson <crobinso@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 Daniel -- |: Red Hat, Engineering, London -o- http://people.redhat.com/berrange/ :| |: http://libvirt.org -o- http://virt-manager.org -o- http://ovirt.org :| |: http://autobuild.org -o- http://search.cpan.org/~danberr/ :| |: GnuPG: 7D3B9505 -o- F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 :|

"Daniel P. Berrange" <berrange@redhat.com> wrote:
On Thu, Dec 11, 2008 at 03:24:34PM +0100, Jim Meyering wrote:
Cole Robinson <crobinso@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
participants (4)
-
Cole Robinson
-
Daniel P. Berrange
-
Daniel Veillard
-
Jim Meyering