Opened 13 months ago
Closed 13 months ago
#68484 closed defect (worksforme)
gtk4 @4.12.3: fatal error: 'gdk/version/gdkversionmacros.h' file not found
Reported by: | barracuda156 | Owned by: | mascguy (Christopher Nielsen) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.8.1 |
Keywords: | sonoma xcode15 | Cc: | |
Port: | gtk4 |
Description
:info:build FAILED: gdk/x11/libgdk-x11.a.p/gdkcursor-x11.c.o :info:build /usr/bin/clang -Igdk/x11/libgdk-x11.a.p -Igdk/x11 -I../gtk-4.12.3/gdk/x11 -I. -I../gtk-4.12.3 -Igdk -I../gtk-4.12.3/gdk -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 -I/opt/local/include/cairo -I/opt/local/include/pixman-1 -I/opt/local/include/freetype2 -I/opt/local/include/pango-1.0 -I/opt/local/include/fribidi -I/opt/local/include/harfbuzz -I/opt/local/include/graphene-1.0 -I/opt/local/lib/graphene-1.0/include -I/opt/local/include/gio-unix-2.0 -I/opt/local/include -fcolor-diagnostics -Wall -Winvalid-pch -std=gnu99 -O2 -g -DG_LOG_USE_STRUCTURED=1 -DGLIB_DISABLE_DEPRECATION_WARNINGS '-DGTK_VERSION="4.12.3"' -D_GNU_SOURCE -DG_ENABLE_DEBUG -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk -arch arm64 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk -DGTK_COMPILATION '-DG_LOG_DOMAIN="Gdk"' -fno-strict-aliasing -Wno-c++11-extensions -Wno-missing-include-dirs -Wno-typedef-redefinition -Wno-tautological-constant-out-of-range-compare -Wformat=2 -Wformat-nonliteral -Wformat-security -Wignored-qualifiers -Wimplicit-function-declaration -Wmisleading-indentation -Wmissing-format-attribute -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wshadow -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wuninitialized -Wunused -Waddress -Warray-bounds -Wempty-body -Wimplicit -Wimplicit-fallthrough -Winit-self -Wint-to-pointer-cast -Wmain -Wmissing-braces -Wmissing-declarations -Wmissing-prototypes -Wnonnull -Woverride-init -Wpointer-to-int-cast -Wredundant-decls -Wreturn-type -Wsequence-point -Wtrigraphs -Wvla -Wwrite-strings -Wnull-dereference -fvisibility=hidden -MD -MQ gdk/x11/libgdk-x11.a.p/gdkcursor-x11.c.o -MF gdk/x11/libgdk-x11.a.p/gdkcursor-x11.c.o.d -o gdk/x11/libgdk-x11.a.p/gdkcursor-x11.c.o -c ../gtk-4.12.3/gdk/x11/gdkcursor-x11.c :info:build In file included from ../gtk-4.12.3/gdk/x11/gdkcursor-x11.c:31: :info:build In file included from ../gtk-4.12.3/gdk/gdkcursor.h:31: :info:build In file included from ../gtk-4.12.3/gdk/gdktypes.h:45: :info:build ../gtk-4.12.3/gdk/gdkenums.h:33:10: fatal error: 'gdk/version/gdkversionmacros.h' file not found :info:build #include <gdk/version/gdkversionmacros.h> :info:build ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ :info:build 1 error generated. :info:build [15/1112] /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gnome_gtk4/gtk4/work/gtk-4.12.3/build-aux/meson/gen-visibility-macros.py 4.12.3 visibility-macros GDK gdk/version/gdk-visibility.h :info:build [16/1112] /usr/bin/clang -Igdk/x11/libgdk-x11.a.p -Igdk/x11 -I../gtk-4.12.3/gdk/x11 -I. -I../gtk-4.12.3 -Igdk -I../gtk-4.12.3/gdk -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 -I/opt/local/include/cairo -I/opt/local/include/pixman-1 -I/opt/local/include/freetype2 -I/opt/local/include/pango-1.0 -I/opt/local/include/fribidi -I/opt/local/include/harfbuzz -I/opt/local/include/graphene-1.0 -I/opt/local/lib/graphene-1.0/include -I/opt/local/include/gio-unix-2.0 -I/opt/local/include -fcolor-diagnostics -Wall -Winvalid-pch -std=gnu99 -O2 -g -DG_LOG_USE_STRUCTURED=1 -DGLIB_DISABLE_DEPRECATION_WARNINGS '-DGTK_VERSION="4.12.3"' -D_GNU_SOURCE -DG_ENABLE_DEBUG -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk -arch arm64 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk -DGTK_COMPILATION '-DG_LOG_DOMAIN="Gdk"' -fno-strict-aliasing -Wno-c++11-extensions -Wno-missing-include-dirs -Wno-typedef-redefinition -Wno-tautological-constant-out-of-range-compare -Wformat=2 -Wformat-nonliteral -Wformat-security -Wignored-qualifiers -Wimplicit-function-declaration -Wmisleading-indentation -Wmissing-format-attribute -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wshadow -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wuninitialized -Wunused -Waddress -Warray-bounds -Wempty-body -Wimplicit -Wimplicit-fallthrough -Winit-self -Wint-to-pointer-cast -Wmain -Wmissing-braces -Wmissing-declarations -Wmissing-prototypes -Wnonnull -Woverride-init -Wpointer-to-int-cast -Wredundant-decls -Wreturn-type -Wsequence-point -Wtrigraphs -Wvla -Wwrite-strings -Wnull-dereference -fvisibility=hidden -MD -MQ gdk/x11/libgdk-x11.a.p/gdkdevice-xi2.c.o -MF gdk/x11/libgdk-x11.a.p/gdkdevice-xi2.c.o.d -o gdk/x11/libgdk-x11.a.p/gdkdevice-xi2.c.o -c ../gtk-4.12.3/gdk/x11/gdkdevice-xi2.c :info:build FAILED: gdk/x11/libgdk-x11.a.p/gdkdevice-xi2.c.o :info:build /usr/bin/clang -Igdk/x11/libgdk-x11.a.p -Igdk/x11 -I../gtk-4.12.3/gdk/x11 -I. -I../gtk-4.12.3 -Igdk -I../gtk-4.12.3/gdk -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 -I/opt/local/include/cairo -I/opt/local/include/pixman-1 -I/opt/local/include/freetype2 -I/opt/local/include/pango-1.0 -I/opt/local/include/fribidi -I/opt/local/include/harfbuzz -I/opt/local/include/graphene-1.0 -I/opt/local/lib/graphene-1.0/include -I/opt/local/include/gio-unix-2.0 -I/opt/local/include -fcolor-diagnostics -Wall -Winvalid-pch -std=gnu99 -O2 -g -DG_LOG_USE_STRUCTURED=1 -DGLIB_DISABLE_DEPRECATION_WARNINGS '-DGTK_VERSION="4.12.3"' -D_GNU_SOURCE -DG_ENABLE_DEBUG -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk -arch arm64 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk -DGTK_COMPILATION '-DG_LOG_DOMAIN="Gdk"' -fno-strict-aliasing -Wno-c++11-extensions -Wno-missing-include-dirs -Wno-typedef-redefinition -Wno-tautological-constant-out-of-range-compare -Wformat=2 -Wformat-nonliteral -Wformat-security -Wignored-qualifiers -Wimplicit-function-declaration -Wmisleading-indentation -Wmissing-format-attribute -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wshadow -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wuninitialized -Wunused -Waddress -Warray-bounds -Wempty-body -Wimplicit -Wimplicit-fallthrough -Winit-self -Wint-to-pointer-cast -Wmain -Wmissing-braces -Wmissing-declarations -Wmissing-prototypes -Wnonnull -Woverride-init -Wpointer-to-int-cast -Wredundant-decls -Wreturn-type -Wsequence-point -Wtrigraphs -Wvla -Wwrite-strings -Wnull-dereference -fvisibility=hidden -MD -MQ gdk/x11/libgdk-x11.a.p/gdkdevice-xi2.c.o -MF gdk/x11/libgdk-x11.a.p/gdkdevice-xi2.c.o.d -o gdk/x11/libgdk-x11.a.p/gdkdevice-xi2.c.o -c ../gtk-4.12.3/gdk/x11/gdkdevice-xi2.c :info:build In file included from ../gtk-4.12.3/gdk/x11/gdkdevice-xi2.c:20: :info:build In file included from ../gtk-4.12.3/gdk/x11/gdkx11device-xi2.h:20: :info:build In file included from ../gtk-4.12.3/gdk/gdk.h:29: :info:build In file included from ../gtk-4.12.3/gdk/gdkapplaunchcontext.h:27: :info:build In file included from ../gtk-4.12.3/gdk/gdktypes.h:45: :info:build ../gtk-4.12.3/gdk/gdkenums.h:33:10: fatal error: 'gdk/version/gdkversionmacros.h' file not found :info:build #include <gdk/version/gdkversionmacros.h> :info:build ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ :info:build 1 error generated. :info:build [17/1112] /usr/bin/clang -Igdk/x11/libgdk-x11.a.p -Igdk/x11 -I../gtk-4.12.3/gdk/x11 -I. -I../gtk-4.12.3 -Igdk -I../gtk-4.12.3/gdk -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 -I/opt/local/include/cairo -I/opt/local/include/pixman-1 -I/opt/local/include/freetype2 -I/opt/local/include/pango-1.0 -I/opt/local/include/fribidi -I/opt/local/include/harfbuzz -I/opt/local/include/graphene-1.0 -I/opt/local/lib/graphene-1.0/include -I/opt/local/include/gio-unix-2.0 -I/opt/local/include -fcolor-diagnostics -Wall -Winvalid-pch -std=gnu99 -O2 -g -DG_LOG_USE_STRUCTURED=1 -DGLIB_DISABLE_DEPRECATION_WARNINGS '-DGTK_VERSION="4.12.3"' -D_GNU_SOURCE -DG_ENABLE_DEBUG -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk -arch arm64 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk -DGTK_COMPILATION '-DG_LOG_DOMAIN="Gdk"' -fno-strict-aliasing -Wno-c++11-extensions -Wno-missing-include-dirs -Wno-typedef-redefinition -Wno-tautological-constant-out-of-range-compare -Wformat=2 -Wformat-nonliteral -Wformat-security -Wignored-qualifiers -Wimplicit-function-declaration -Wmisleading-indentation -Wmissing-format-attribute -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wshadow -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wuninitialized -Wunused -Waddress -Warray-bounds -Wempty-body -Wimplicit -Wimplicit-fallthrough -Winit-self -Wint-to-pointer-cast -Wmain -Wmissing-braces -Wmissing-declarations -Wmissing-prototypes -Wnonnull -Woverride-init -Wpointer-to-int-cast -Wredundant-decls -Wreturn-type -Wsequence-point -Wtrigraphs -Wvla -Wwrite-strings -Wnull-dereference -fvisibility=hidden -MD -MQ gdk/x11/libgdk-x11.a.p/gdkdevicemanager-x11.c.o -MF gdk/x11/libgdk-x11.a.p/gdkdevicemanager-x11.c.o.d -o gdk/x11/libgdk-x11.a.p/gdkdevicemanager-x11.c.o -c ../gtk-4.12.3/gdk/x11/gdkdevicemanager-x11.c :info:build FAILED: gdk/x11/libgdk-x11.a.p/gdkdevicemanager-x11.c.o :info:build /usr/bin/clang -Igdk/x11/libgdk-x11.a.p -Igdk/x11 -I../gtk-4.12.3/gdk/x11 -I. -I../gtk-4.12.3 -Igdk -I../gtk-4.12.3/gdk -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 -I/opt/local/include/cairo -I/opt/local/include/pixman-1 -I/opt/local/include/freetype2 -I/opt/local/include/pango-1.0 -I/opt/local/include/fribidi -I/opt/local/include/harfbuzz -I/opt/local/include/graphene-1.0 -I/opt/local/lib/graphene-1.0/include -I/opt/local/include/gio-unix-2.0 -I/opt/local/include -fcolor-diagnostics -Wall -Winvalid-pch -std=gnu99 -O2 -g -DG_LOG_USE_STRUCTURED=1 -DGLIB_DISABLE_DEPRECATION_WARNINGS '-DGTK_VERSION="4.12.3"' -D_GNU_SOURCE -DG_ENABLE_DEBUG -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk -arch arm64 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk -DGTK_COMPILATION '-DG_LOG_DOMAIN="Gdk"' -fno-strict-aliasing -Wno-c++11-extensions -Wno-missing-include-dirs -Wno-typedef-redefinition -Wno-tautological-constant-out-of-range-compare -Wformat=2 -Wformat-nonliteral -Wformat-security -Wignored-qualifiers -Wimplicit-function-declaration -Wmisleading-indentation -Wmissing-format-attribute -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wshadow -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wuninitialized -Wunused -Waddress -Warray-bounds -Wempty-body -Wimplicit -Wimplicit-fallthrough -Winit-self -Wint-to-pointer-cast -Wmain -Wmissing-braces -Wmissing-declarations -Wmissing-prototypes -Wnonnull -Woverride-init -Wpointer-to-int-cast -Wredundant-decls -Wreturn-type -Wsequence-point -Wtrigraphs -Wvla -Wwrite-strings -Wnull-dereference -fvisibility=hidden -MD -MQ gdk/x11/libgdk-x11.a.p/gdkdevicemanager-x11.c.o -MF gdk/x11/libgdk-x11.a.p/gdkdevicemanager-x11.c.o.d -o gdk/x11/libgdk-x11.a.p/gdkdevicemanager-x11.c.o -c ../gtk-4.12.3/gdk/x11/gdkdevicemanager-x11.c :info:build In file included from ../gtk-4.12.3/gdk/x11/gdkdevicemanager-x11.c:20: :info:build In file included from ../gtk-4.12.3/gdk/x11/gdkx11devicemanager-xi2.h:20: :info:build In file included from ../gtk-4.12.3/gdk/gdk.h:29: :info:build In file included from ../gtk-4.12.3/gdk/gdkapplaunchcontext.h:27: :info:build In file included from ../gtk-4.12.3/gdk/gdktypes.h:45: :info:build ../gtk-4.12.3/gdk/gdkenums.h:33:10: fatal error: 'gdk/version/gdkversionmacros.h' file not found :info:build #include <gdk/version/gdkversionmacros.h> :info:build ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ :info:build 1 error generated.
Attachments (1)
Change History (8)
Changed 13 months ago by barracuda156
comment:1 Changed 13 months ago by ryandesign (Ryan Carsten Schmidt)
Summary: | gtk4 fails to build on Sonoma: fatal error: 'gdk/version/gdkversionmacros.h' file not found → gtk4 @4.12.3: fatal error: 'gdk/version/gdkversionmacros.h' file not found |
---|
comment:2 Changed 13 months ago by mascguy (Christopher Nielsen)
Keywords: | xcode15 added |
---|
comment:3 follow-up: 4 Changed 13 months ago by barracuda156
comment:4 Changed 13 months ago by mascguy (Christopher Nielsen)
Replying to barracuda156:
I guess it has been fixed?
Nothing has been changed. But this is now working for you?
comment:5 follow-up: 6 Changed 13 months ago by mascguy (Christopher Nielsen)
Sergey, is this still an issue?
comment:6 follow-up: 7 Changed 13 months ago by barracuda156
Replying to mascguy:
Sergey, is this still an issue?
svacchanda@43-19 ~ % port -v installed gtk4 The following ports are currently installed: gtk4 @4.12.3_0+x11 (active) requested_variants='' platform='darwin 23' archs='arm64' date='2023-10-18T20:58:33+0800'
I did not do anything special for this.
comment:7 Changed 13 months ago by mascguy (Christopher Nielsen)
Resolution: | → worksforme |
---|---|
Status: | assigned → closed |
Replying to barracuda156:
Replying to mascguy:
Sergey, is this still an issue?
svacchanda@43-19 ~ % port -v installed gtk4 The following ports are currently installed: gtk4 @4.12.3_0+x11 (active) requested_variants='' platform='darwin 23' archs='arm64' date='2023-10-18T20:58:33+0800'I did not do anything special for this.
Great, glad everything is now working!
Note: See
TracTickets for help on using
tickets.
I guess it has been fixed?