After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 583836 - build failure: org.freedesktop.DeviceKit.Disks.xml not found
build failure: org.freedesktop.DeviceKit.Disks.xml not found
Status: RESOLVED DUPLICATE of bug 581515
Product: gnome-disk-utility
Classification: Core
Component: general
unspecified
Other Linux
: High blocker
: ---
Assigned To: gnome-disk-utility-maint
: 584344 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2009-05-25 20:28 UTC by Frank Solensky
Modified: 2009-06-02 20:02 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Frank Solensky 2009-05-25 20:28:13 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
Comment 1 Tobias Mueller 2009-05-31 14:18:30 UTC
*** Bug 584344 has been marked as a duplicate of this bug. ***
Comment 2 Tobias Mueller 2009-05-31 14:19:51 UTC
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.
Comment 3 André Klapper 2009-06-02 10:44:20 UTC
Same here.
Comment 4 André Klapper 2009-06-02 11:01:02 UTC
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
Comment 5 Luis Medinas 2009-06-02 19:12:20 UTC
This module also should check for devicekit-disks because i don't have it installed and it passes configure.

Comment 6 David Zeuthen (not reading bugmail) 2009-06-02 20:02:03 UTC
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 ***