Opened 2 years ago
Closed 19 months ago
#66231 closed defect (worksforme)
gtk2 @2.24.33_3+x11: Build failure: 'gio/gdesktopappinfo.h' file not found
Reported by: | nbrewster (Neil Brewster) | Owned by: | mascguy (Christopher Nielsen) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.8.0 |
Keywords: | Cc: | ||
Port: | gtk2 |
Description
New M2 Macbook Air. Upgraded to Ventura 13.0.1 and installed MacPorts.
Failing to install gtk2.
# sudo port install gtk2
In the main.log (attached):
:info:build libtool: compile: /usr/bin/clang -arch arm64 -DHAVE_CONFIG_H -I. -I../.. -DG_LOG_DOMAIN=\"Gdk\" -DGDK_COM PILATION -I../.. -I../../gdk -I../../gdk -DG_DISABLE_CAST_CHECKS -I/opt/local/include/pango-1.0 -I/opt/local/include/h arfbuzz -I/opt/local/include/pango-1.0 -I/opt/local/include/fribidi -I/opt/local/include/harfbuzz -I/opt/local/include /gio-unix-2.0 -I/opt/local/include/gdk-pixbuf-2.0 -I/opt/local/include/cairo -I/opt/local/include/glib-2.0 -I/opt/loca l/lib/glib-2.0/include -I/opt/local/include/pixman-1 -I/opt/local/include/freetype2 -I/opt/local/include/libpng16 -I/o pt/local/include -DX_LOCALE -D_IPP_PRIVATE_STRUCTURES=1 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -DG_DISABLE_SINGLE_INCLUDES -DATK_DISABLE_SINGLE_INCLUDES -DGDK_PIXBUF_DISABLE_SINGLE_INCLUDES -DGTK_DISABLE_SINGLE_I NCLUDES -pipe -Os -fstrict-aliasing -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -arch arm64 -Wall - MT gdkdnd-x11.lo -MD -MP -MF .deps/gdkdnd-x11.Tpo -c gdkdnd-x11.c -fno-common -DPIC -o .libs/gdkdnd-x11.o :info:build gdkapplaunchcontext-x11.c:29:10: fatal error: 'gio/gdesktopappinfo.h' file not found :info:build #include <gio/gdesktopappinfo.h> :info:build ^~~~~~~~~~~~~~~~~~~~~~~
Attachments (1)
Change History (3)
Changed 2 years ago by nbrewster (Neil Brewster)
Attachment: | gtk2-fail-main.log added |
---|
comment:1 follow-up: 2 Changed 19 months ago by mascguy (Christopher Nielsen)
Cc: | mascguy removed |
---|
Sorry for the extended delay on this, I was away for five months.
In short, this occurs when there's a mismatch between glib2
and gtk2
. Specifically, it looks like you may have glib2 +quartz
installed.
So you need to install gtk2 +quartz
as well.
comment:2 Changed 19 months ago by mascguy (Christopher Nielsen)
Resolution: | → worksforme |
---|---|
Status: | assigned → closed |
Replying to mascguy:
In short, this occurs when there's a mismatch between
glib2
andgtk2
. Specifically, it looks like you may haveglib2 +quartz
installed.So you need to install
gtk2 +quartz
as well.
Let us know if this is still an issue!
Note: See
TracTickets for help on using
tickets.
main.log from failed gtk2 install