Bug 473510

Summary: libvirt 0.5.0 does not compile on RHEL/CentOS 5
Product: [Community] Virtualization Tools Reporter: Gerd v. Egidy <gerd>
Component: libvirtAssignee: Daniel Veillard <veillard>
Status: CLOSED UPSTREAM QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: crobinso
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-12-05 16:21:20 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
patch to use the correct function name depending on dbus version none

Description Gerd v. Egidy 2008-11-29 00:04:59 UTC
when compiling libvirt 0.5.0 on RHEL/CentOS 5 the compilation fails because 
dbus_watch_get_unix_fd() is not defined. The dbus 1.0.0 installed on these distos doesn't know this func yet and requires the old name of the same func dbus_watch_get_fd().

dbus_watch_get_fd() is deprecated but still available in current versions of dbus.

See http://dbus.freedesktop.org/doc/api/html/group__DBusWatch.html#g5982ecc2c22de76f3b40ac3a4c633843

Comment 1 Gerd v. Egidy 2008-11-29 00:20:56 UTC
Created attachment 325057 [details]
patch to use the correct function name depending on dbus version

Comment 2 Gerd v. Egidy 2008-12-05 16:21:20 UTC
fixed by checkin from daniel veillard,
see thread starting at
https://www.redhat.com/archives/libvir-list/2008-December/msg00176.html