[MacPorts] #56548: geoclue2 : build error with dependency glib2 +quartz

MacPorts noreply at macports.org
Mon May 28 22:02:52 UTC 2018


#56548: geoclue2 : build error with dependency glib2 +quartz
--------------------+-----------------------------
 Reporter:  tk7r    |      Owner:  (none)
     Type:  defect  |     Status:  new
 Priority:  Normal  |  Milestone:
Component:  ports   |    Version:  2.5.0
 Keywords:          |       Port:  geoclue2, glib2
--------------------+-----------------------------
 i am trying to build geoclue2 but the build stops with the following error


 /usr/bin/clang -DHAVE_CONFIG_H -I. -I..   -I/opt/local/include
 -D_REENTRANT -I/opt/local/include/gio-unix-2.0/ -I/opt/local/include/gdk-
 pixbuf-2.0 -I/opt/local/include/libpng16 -I/opt/local/include/glib-2.0
 -I/opt/local/lib/glib-2.0/include -Wall
 -DLOCALEDIR="\"/opt/local/share/locale\""
 -DABS_SRCDIR=\""/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_geoclue2/geoclue2/work/geoclue-2.4.10/demo"\"
 -I../src -I../src -I../src/agent -I../src/agent -I../public-api -I
 ../public-api -pipe -Os -arch x86_64 -O0 -ggdb3 -MT agent-gclue-service-
 agent.o -MD -MP -MF .deps/agent-gclue-service-agent.Tpo -c -o agent-gclue-
 service-agent.o `test -f 'gclue-service-agent.c' || echo './'`gclue-
 service-agent.c
 :info:build gclue-service-agent.c:26:10: fatal error:
 'gio/gdesktopappinfo.h' file not found
 :info:build #include <gio/gdesktopappinfo.h>
 :info:build          ^~~~~~~~~~~~~~~~~~~~~~~
 :info:build 1 error generated.
 :info:build make[2]: *** [agent-gclue-service-agent.o] Error 1


 looking into the contents of glib2 (+quartz) there is no such header file
 "gio/gdesktopappinfo.h". - is it a problem with glib2 using variant
 +quartz or has the missing file been removed in a newer glib2 version?

 please help!

-- 
Ticket URL: <https://trac.macports.org/ticket/56548>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list