Bug 478515 - libvirt has unchecked dependency on dbus > 1.1
Summary: libvirt has unchecked dependency on dbus > 1.1
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Virtualization Tools
Classification: Community
Component: libvirt
Version: unspecified
Hardware: x86_64
OS: Linux
low
medium
Target Milestone: ---
Assignee: Daniel Veillard
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-12-31 07:03 UTC by Barry Gausden
Modified: 2010-03-16 17:17 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2009-01-22 12:59:59 UTC
Embargoed:


Attachments (Terms of Use)

Description Barry Gausden 2008-12-31 07:03:06 UTC
User-Agent:       Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_5_6; en-us) AppleWebKit/525.27.1 (KHTML, like Gecko) Version/3.2.1 Safari/525.27.1

Compilation of libvirt.so(?) fails due to undefined reference to dbus_watch_get_unix_fd


Reproducible: Always

Steps to Reproduce:
1.Unpack libvirt-0.5.1.tgz
2../configure
3.make
Actual Results:  
../src/.libs/libvirt_driver_nodedev.a(libvirt_driver_nodedev_la-node_device_hal.o): In function `add_dbus_watch':
/var/tmp/libvirt-0.5.1/src/node_device_hal.c:578: undefined reference to `dbus_watch_get_unix_fd'



Expected Results:  
compilation :)

Looks to be common issue re: dbus 1.0 vs 1.1. Looked for advice that libvirt 0.5 had the dbus 1.1 dependency but didn't find any.

Comment 1 Daniel Berrangé 2009-01-22 12:59:59 UTC
Thre was a patch merged for this issue upstream and will be in next release

#if HAVE_DBUS_WATCH_GET_UNIX_FD
    fd = dbus_watch_get_unix_fd(watch);
#else
    fd = dbus_watch_get_fd(watch);
#endif


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