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 747570 - Fails to build without gio-unix-2.0
Fails to build without gio-unix-2.0
Status: RESOLVED FIXED
Product: gnome-contacts
Classification: Core
Component: general
3.16.x
Other Linux
: Normal normal
: ---
Assigned To: GNOME Contacts maintainer(s)
GNOME Contacts maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2015-04-09 16:54 UTC by Luca Bruno
Modified: 2015-10-06 19:02 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Luca Bruno 2015-04-09 16:54:18 UTC
Portion of build log:

building contacts-address-map.o
  CC       contacts-address-map.o
contacts-address-map.c:33:33: fatal error: gio/gdesktopappinfo.h: No such file or directory
 #include <gio/gdesktopappinfo.h>
                                 ^
compilation terminated.
make[2]: *** [contacts-address-map.o] Error 1
make[2]: Leaving directory `/tmp/nix-build-gnome-contacts-3.16.0.drv-0/gnome-contacts-3.16.0/src'
make[1]: *** [all-recursive] Error 1

Adding gio-unix-2.0 to pkg_modules in configure.ac fixes the problem:

--- configure.ac.orig   2015-04-09 18:45:50.581232289 +0200
+++ configure.ac        2015-04-09 18:45:59.744280137 +0200
@@ -54,6 +54,7 @@
             champlain-0.12
             clutter-gtk-1.0
             geocode-glib-1.0 >= 3.15.3
+            gio-unix-2.0
             "
 PKG_CHECK_MODULES(CONTACTS, [$pkg_modules])
Comment 1 David King 2015-10-06 19:02:21 UTC
I pushed this fix as commit 984e9f3255e4fb1db7ba3d9754d43736440ca4a8.