Opened 6 years ago

Closed 3 years ago

#56548 closed defect (duplicate)

geoclue2: build error with dependency glib2 +quartz

Reported by: tk7r (Thomas Kotzian) Owned by:
Priority: Normal Milestone:
Component: ports Version: 2.5.0
Keywords: Cc: p-bro
Port: geoclue2, glib2

Description (last modified by ryandesign (Ryan Carsten Schmidt))

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!

Change History (7)

comment:1 Changed 6 years ago by tk7r (Thomas Kotzian)

i have found bug #54981 - another package that has problems with "glib2 +quartz" ...

comment:2 Changed 6 years ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)
Summary: geoclue2 : build error with dependency glib2 +quartzgeoclue2: build error with dependency glib2 +quartz

geoclue2 apparently requires glib2 features only offered in X11 mode, not in Quartz mode.

comment:3 Changed 6 years ago by p-bro

Cc: p-bro added

comment:4 in reply to:  1 Changed 6 years ago by stanimura

Replying to tk7r:

See #56461, there is my solution.

comment:5 Changed 6 years ago by p-bro

Duplicate #56461 ?

comment:6 Changed 6 years ago by p-bro

#56461 has a patch that implements stanimura's solution.

comment:7 Changed 3 years ago by mascguy (Christopher Nielsen)

Resolution: duplicate
Status: newclosed

Confirmed that this is effectively a duplicate of issue:56461. Closing.

Note: See TracTickets for help on using tickets.