RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 652002 - libvirt rpm fails to build if libxenserver 5.6.0 is installed
Summary: libvirt rpm fails to build if libxenserver 5.6.0 is installed
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: libvirt
Version: 6.0
Hardware: All
OS: Linux
low
medium
Target Milestone: rc
: 6.1
Assignee: Eric Blake
QA Contact: Virtualization Bugs
URL:
Whiteboard:
Depends On: 643118
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-11-10 19:03 UTC by Eric Blake
Modified: 2011-05-19 13:23 UTC (History)
10 users (show)

Fixed In Version: libvirt-0.8.6-1.el6
Doc Type: Bug Fix
Doc Text:
Clone Of: 643118
Environment:
Last Closed: 2011-05-19 13:23:54 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2011:0596 0 normal SHIPPED_LIVE libvirt bug fix and enhancement update 2011-05-18 17:56:36 UTC

Comment 1 Eric Blake 2010-11-10 19:07:43 UTC
Since we've already fixed this for RHEL 5.6, we should also fix it for RHEL 6.  By itself, this doesn't warrant a z-stream fix, but as there are already other BZs related to spec file cleanups that are worth including in the z-stream (https://bugzilla.redhat.com/show_bug.cgi?id=649523), this bug should be considered for the 6.0.z stream in addition to 6.1.

Comment 3 Eric Blake 2010-11-10 19:26:04 UTC
another related BZ for spec file changes:
https://bugzilla.redhat.com/show_bug.cgi?id=643407

Comment 4 Jiri Denemark 2010-12-23 23:47:58 UTC
Fixed by a rebase to libvirt-0.8.6

Comment 7 wangyimiao 2011-01-06 10:52:02 UTC
Verified passed with build 
libvirt-0.8.6-1.el6
qemu-kvm-0.12.1.2-2.128.el6.x86_64
qemu-img-0.12.1.2-2.128.el6.x86_64
kernel-2.6.32-93.el6.x86_64

Steps:

1.In libxenserver dir, do make install INSTALL_PROG='$(INSTALL)'
LIBDIR=lib64 LIBXENAPI_HDRS='include/xen/api/*.h'

Note:
If pop-up "error "install: cannot stat `libxenserver.a': No such file or directory", please under that steps to make it:
a)#make clean
b)#make
c)# ar rcs libxenserver.a src/xen_after_apply_guidance.o src/xen_api_failure.o src/xen_auth.o src/xen_blob.o src/xen_bond.o src/xen_cls.o src/xen_common.o src/xen_console.o src/xen_console_protocol.o src/xen_crashdump.o src/xen_event.o src/xen_event_operation.o src/xen_hello_return.o src/xen_host_allowed_operations.o src/xen_host.o src/xen_host_cpu.o src/xen_host_crashdump.o src/xen_host_metrics.o src/xen_host_patch.o src/xen_host_string_set_map.o src/xen_int_float_map.o src/xen_int_int_map.o src/xen_int_string_set_map.o src/xen_ip_configuration_mode.o src/xen_message.o src/xen_network.o src/xen_network_operations.o src/xen_on_boot.o src/xen_on_crash_behaviour.o src/xen_on_normal_exit.o src/xen_pbd.o src/xen_pif.o src/xen_pif_metrics.o src/xen_pool.o src/xen_pool_patch.o src/xen_role.o src/xen_secret.o src/xen_sm.o src/xen_sr.o src/xen_storage_operations.o src/xen_string_blob_map.o src/xen_string_host_allowed_operations_map.o src/xen_string_int_map.o src/xen_string_network_operations_map.o src/xen_string_set.o src/xen_string_storage_operations_map.o src/xen_string_string_map.o src/xen_string_string_set_map.o src/xen_string_string_string_map_map.o src/xen_string_task_allowed_operations_map.o src/xen_string_vbd_operations_map.o src/xen_string_vdi_operations_map.o src/xen_string_vif_operations_map.o src/xen_string_vm_operations_map.o src/xen_subject.o src/xen_task_allowed_operations.o src/xen_task.o src/xen_task_status_type.o src/xen_tunnel.o src/xen_user.o src/xen_vbd.o src/xen_vbd_metrics.o src/xen_vbd_mode.o src/xen_vbd_operations.o src/xen_vbd_type.o src/xen_vdi.o src/xen_vdi_operations.o src/xen_vdi_string_map.o src/xen_vdi_type.o src/xen_vif.o src/xen_vif_metrics.o src/xen_vif_operations.o src/xen_vlan.o src/xen_vm.o src/xen_vm_guest_metrics.o src/xen_vm_metrics.o src/xen_vm_operations.o src/xen_vm_operations_string_map.o src/xen_vm_power_state.o src/xen_vmpp_archive_frequency.o src/xen_vmpp_archive_target_type.o src/xen_vmpp_backup_frequency.o src/xen_vmpp_backup_type.o src/xen_vmpp.o src/xen_vm_string_map.o src/xen_vm_string_set_map.o src/xen_vm_string_string_map_map.o src/xen_vtpm.o

2.# rpmbuild --rebuild --define "rhel 6" libvirt-0.8.6-1.el6.src.rpm 
No error info.

Comment 8 wangyimiao 2011-03-23 03:11:41 UTC
Verified passed with build:
libvirt-0.8.7-13.el6.x86_64
qemu-img-0.12.1.2-2.150.el6.x86_64
qemu-kvm-0.12.1.2-2.150.el6.x86_64
kernel-2.6.32-122.el6.x86_64.

Steps:
1.In libxenserver dir, do make install INSTALL_PROG='$(INSTALL)'
LIBDIR=lib64 LIBXENAPI_HDRS='include/xen/api/*.h'

Note:
If pop-up "error "install: cannot stat `libxenserver.a': No such file or
directory", please under that steps to make it:
a)#make clean
b)#make
c)# ar rcs libxenserver.a src/xen_after_apply_guidance.o src/xen_api_failure.o
src/xen_auth.o src/xen_blob.o src/xen_bond.o src/xen_cls.o src/xen_common.o
src/xen_console.o src/xen_console_protocol.o src/xen_crashdump.o
src/xen_event.o src/xen_event_operation.o src/xen_hello_return.o
src/xen_host_allowed_operations.o src/xen_host.o src/xen_host_cpu.o
src/xen_host_crashdump.o src/xen_host_metrics.o src/xen_host_patch.o
src/xen_host_string_set_map.o src/xen_int_float_map.o src/xen_int_int_map.o
src/xen_int_string_set_map.o src/xen_ip_configuration_mode.o src/xen_message.o
src/xen_network.o src/xen_network_operations.o src/xen_on_boot.o
src/xen_on_crash_behaviour.o src/xen_on_normal_exit.o src/xen_pbd.o
src/xen_pif.o src/xen_pif_metrics.o src/xen_pool.o src/xen_pool_patch.o
src/xen_role.o src/xen_secret.o src/xen_sm.o src/xen_sr.o
src/xen_storage_operations.o src/xen_string_blob_map.o
src/xen_string_host_allowed_operations_map.o src/xen_string_int_map.o
src/xen_string_network_operations_map.o src/xen_string_set.o
src/xen_string_storage_operations_map.o src/xen_string_string_map.o
src/xen_string_string_set_map.o src/xen_string_string_string_map_map.o
src/xen_string_task_allowed_operations_map.o
src/xen_string_vbd_operations_map.o src/xen_string_vdi_operations_map.o
src/xen_string_vif_operations_map.o src/xen_string_vm_operations_map.o
src/xen_subject.o src/xen_task_allowed_operations.o src/xen_task.o
src/xen_task_status_type.o src/xen_tunnel.o src/xen_user.o src/xen_vbd.o
src/xen_vbd_metrics.o src/xen_vbd_mode.o src/xen_vbd_operations.o
src/xen_vbd_type.o src/xen_vdi.o src/xen_vdi_operations.o
src/xen_vdi_string_map.o src/xen_vdi_type.o src/xen_vif.o src/xen_vif_metrics.o
src/xen_vif_operations.o src/xen_vlan.o src/xen_vm.o src/xen_vm_guest_metrics.o
src/xen_vm_metrics.o src/xen_vm_operations.o src/xen_vm_operations_string_map.o
src/xen_vm_power_state.o src/xen_vmpp_archive_frequency.o
src/xen_vmpp_archive_target_type.o src/xen_vmpp_backup_frequency.o
src/xen_vmpp_backup_type.o src/xen_vmpp.o src/xen_vm_string_map.o
src/xen_vm_string_set_map.o src/xen_vm_string_string_map_map.o src/xen_vtpm.o

d)Do step 1 again.

2.# rpmbuild --rebuild --define "rhel 6" libvirt-0.8.7-13.el6.src.rpm

No error info.

Comment 11 errata-xmlrpc 2011-05-19 13:23:54 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHBA-2011-0596.html


Note You need to log in before you can comment on or make changes to this bug.