GNOME Bugzilla – Bug 583836
build failure: org.freedesktop.DeviceKit.Disks.xml not found
Last modified: 2009-06-02 20:02:03 UTC
I'm using jhbuild to set up a development area. The configuration file is http://ftp.gnome.org/pub/GNOME/teams/releng/2.27.1/sample-tarball.jhbuildrc with the moduleset line commented out. Build goes fine until gnome-disk-utility which fails as follows: The problem isn't "/usr/share" rather than "/home/frank/releases/gnome-2.28": the unfound file isn't in my releases directory either. Am I missing a dependency? make all-recursive make[1]: Entering directory `/home/frank/releases/gnome-2.28/gnome-disk-utility' Making all in src make[2]: Entering directory `/home/frank/releases/gnome-2.28/gnome-disk-utility/src' Making all in gdu make[3]: Entering directory `/home/frank/releases/gnome-2.28/gnome-disk-utility/src/gdu' make[3]: *** No rule to make target `/usr/share/dbus-1/interfaces/org.freedesktop.DeviceKit.Disks.xml', needed by `devkit-disks-daemon-glue.h'. Stop. make[3]: Leaving directory `/home/frank/releases/gnome-2.28/gnome-disk-utility/src/gdu' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/home/frank/releases/gnome-2.28/gnome-disk-utility/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/frank/releases/gnome-2.28/gnome-disk-utility' make: *** [all] Error 2
*** Bug 584344 has been marked as a duplicate of this bug. ***
See thread at http://mail.gnome.org/archives/desktop-devel-list/2009-May/msg00340.html It is very hard to build gnome-disk-utility. It directly depends on DeviceKit, DeviceKit-disks and trunk version of PolicyKit. Those three packages in turn depends on eggdbus, libparted, libdevmapper, libselinux, libatasmart, libuuid and a recent libudev. Many of those packages are not packaged in Ubuntu Intrepid and at least and some of them haven't had any real releases yet.
Same here.
After installing DeviceKit-disks-002-0 and DeviceKit-disks-devel-002-0 I get a different error: ../../src/gdu/.libs/libgdu.so: undefined reference to `org_freedesktop_DeviceKit_Disks_Device_drive_ata_smart_refresh_data_async' ../../src/gdu/.libs/libgdu.so: undefined reference to `org_freedesktop_DeviceKit_Disks_Device_drive_poll_media_async' ../../src/gdu/.libs/libgdu.so: undefined reference to `org_freedesktop_DeviceKit_Disks_Device_drive_ata_smart_get_historical_data_async' ../../src/gdu/.libs/libgdu.so: undefined reference to `org_freedesktop_DeviceKit_Disks_Device_drive_ata_smart_initiate_selftest_async' ../../src/gdu/.libs/libgdu.so: undefined reference to `org_freedesktop_DeviceKit_Disks_Device_drive_ata_smart_get_historical_data' collect2: ld returned 1 exit status make[3]: *** [palimpsest] Error 1 Installing DeviceKit-devel-002-0-devel, DeviceKit-power-001-2, DeviceKit-power-devel-001-2, libatasmart-devel, uuid-devel, and libudev-devel-127-5 did not fix this. Also see http://mail.gnome.org/archives/desktop-devel-list/2009-May/msg00016.html
This module also should check for devicekit-disks because i don't have it installed and it passes configure.
I've now added a pkg-config file to DeviceKit-disks which gnome-disk-utility now checks for: http://git.gnome.org/cgit/gnome-disk-utility/commit/?id=f63a17787b4b8211ac20105e732de71e78711f00 so we can fail earlier. Closing this as a dupe of bug 581515 since that bug lists the reason for why we insist on looking in /usr/share for introspection XML. *** This bug has been marked as a duplicate of 581515 ***