Bug#964513: gtk+4.0: FTBFS: error: ‘VK_RESULT_RANGE_SIZE’ undeclared

Andreas Beckmann anbe at debian.org
Wed Jul 8 10:26:56 BST 2020


Source: gtk+4.0
Version: 3.98.2-1
Severity: serious
Tags: ftbfs
Justification: fails to build from source

Hi,

gtk+4.0 recently started to FTBFS:

[163/1487] cc -Igdk/ffe01f7@@gdk at sta -Igdk -I../../../gdk -I. -I../../.. -Igdk/x11 -I../../../gdk/x11 -Igdk/wayland -Igtk/css -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/cairo -I/usr/includ
e/pixman-1 -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/fribidi -I/usr/include/harfbuzz -I/usr/include/graphene-1.0 -I/usr/lib/x86_64-linux-gnu/graphene-1.0/include -I/usr/include/gio-unix-2.0 -f
diagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -std=gnu99 -DG_LOG_USE_STRUCTURED=1 -DGLIB_MIN_REQUIRED_VERSION=GLIB_VERSION_2_58 -DGLIB_MAX_ALLOWED_VERSION=GLIB_VERSION_2_60 '-DGTK_VERSION="3.98.2"' -D_GNU_SOURCE -g -O2 -fdebug-prefix-map=/build/gtk+4.
0-3.98.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -pthread -mfpmath=sse -msse -msse2 -DGTK_COMPILATION '-DG_LOG_DOMAIN="Gdk"' -fno-strict-aliasing -Wcast-align -Wduplicated-branches -Wduplicated-cond -W
format=2 -Wformat-nonliteral -Wformat-security -Wignored-qualifiers -Wimplicit-function-declaration -Wlogical-op -Wmisleading-indentation -Wmissing-format-attribute -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wnull-dereference -Wold-style-defi
nition -Wpointer-arith -Wshadow -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wuninitialized -Wunused -Werror=address -Werror=array-bounds -Werror=empty-body -Werror=implicit -Werror=implicit-fallthrough -Werror=init-self -Werror=int-to-pointer-
cast -Werror=main -Werror=missing-braces -Werror=missing-declarations -Werror=missing-prototypes -Werror=nonnull -Werror=pointer-to-int-cast -Werror=redundant-decls -Werror=return-type -Werror=sequence-point -Werror=trigraphs -Werror=vla -Werror=write-strings
 -fvisibility=hidden -MD -MQ 'gdk/ffe01f7@@gdk at sta/gdkvulkancontext.c.o' -MF 'gdk/ffe01f7@@gdk at sta/gdkvulkancontext.c.o.d' -o 'gdk/ffe01f7@@gdk at sta/gdkvulkancontext.c.o' -c ../../../gdk/gdkvulkancontext.c
FAILED: gdk/ffe01f7@@gdk at sta/gdkvulkancontext.c.o 
cc -Igdk/ffe01f7@@gdk at sta -Igdk -I../../../gdk -I. -I../../.. -Igdk/x11 -I../../../gdk/x11 -Igdk/wayland -Igtk/css -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/cairo -I/usr/include/pixman-1 
-I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/fribidi -I/usr/include/harfbuzz -I/usr/include/graphene-1.0 -I/usr/lib/x86_64-linux-gnu/graphene-1.0/include -I/usr/include/gio-unix-2.0 -fdiagnostics
-color=always -pipe -D_FILE_OFFSET_BITS=64 -std=gnu99 -DG_LOG_USE_STRUCTURED=1 -DGLIB_MIN_REQUIRED_VERSION=GLIB_VERSION_2_58 -DGLIB_MAX_ALLOWED_VERSION=GLIB_VERSION_2_60 '-DGTK_VERSION="3.98.2"' -D_GNU_SOURCE -g -O2 -fdebug-prefix-map=/build/gtk+4.0-3.98.2=. 
-fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -pthread -mfpmath=sse -msse -msse2 -DGTK_COMPILATION '-DG_LOG_DOMAIN="Gdk"' -fno-strict-aliasing -Wcast-align -Wduplicated-branches -Wduplicated-cond -Wformat=2 -W
format-nonliteral -Wformat-security -Wignored-qualifiers -Wimplicit-function-declaration -Wlogical-op -Wmisleading-indentation -Wmissing-format-attribute -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wnull-dereference -Wold-style-definition -Wpo
inter-arith -Wshadow -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wuninitialized -Wunused -Werror=address -Werror=array-bounds -Werror=empty-body -Werror=implicit -Werror=implicit-fallthrough -Werror=init-self -Werror=int-to-pointer-cast -Werro
r=main -Werror=missing-braces -Werror=missing-declarations -Werror=missing-prototypes -Werror=nonnull -Werror=pointer-to-int-cast -Werror=redundant-decls -Werror=return-type -Werror=sequence-point -Werror=trigraphs -Werror=vla -Werror=write-strings -fvisibili
ty=hidden -MD -MQ 'gdk/ffe01f7@@gdk at sta/gdkvulkancontext.c.o' -MF 'gdk/ffe01f7@@gdk at sta/gdkvulkancontext.c.o.d' -o 'gdk/ffe01f7@@gdk at sta/gdkvulkancontext.c.o' -c ../../../gdk/gdkvulkancontext.c
../../../gdk/gdkvulkancontext.c: In function ‘gdk_vulkan_strerror’:
../../../gdk/gdkvulkancontext.c:212:10: error: ‘VK_RESULT_RANGE_SIZE’ undeclared (first use in this function)
  212 |     case VK_RESULT_RANGE_SIZE:
      |          ^~~~~~~~~~~~~~~~~~~~
../../../gdk/gdkvulkancontext.c:212:10: note: each undeclared identifier is reported only once for each function it appears in
../../../gdk/gdkvulkancontext.c:126:3: warning: enumeration value ‘VK_ERROR_INCOMPATIBLE_VERSION_KHR’ not handled in switch [-Wswitch-enum]
  126 |   switch (result)
      |   ^~~~~~
../../../gdk/gdkvulkancontext.c:126:3: warning: enumeration value ‘VK_THREAD_IDLE_KHR’ not handled in switch [-Wswitch-enum]
../../../gdk/gdkvulkancontext.c:126:3: warning: enumeration value ‘VK_THREAD_DONE_KHR’ not handled in switch [-Wswitch-enum]
../../../gdk/gdkvulkancontext.c:126:3: warning: enumeration value ‘VK_OPERATION_DEFERRED_KHR’ not handled in switch [-Wswitch-enum]
../../../gdk/gdkvulkancontext.c:126:3: warning: enumeration value ‘VK_OPERATION_NOT_DEFERRED_KHR’ not handled in switch [-Wswitch-enum]
../../../gdk/gdkvulkancontext.c:126:3: warning: enumeration value ‘VK_PIPELINE_COMPILE_REQUIRED_EXT’ not handled in switch [-Wswitch-enum]
../../../gdk/gdkvulkancontext.c:126:3: warning: enumeration value ‘VK_ERROR_PIPELINE_COMPILE_REQUIRED_EXT’ not handled in switch [-Wswitch-enum]


Andreas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gtk+4.0_3.98.2-1.log.gz
Type: application/gzip
Size: 31359 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-gnome-maintainers/attachments/20200708/5bf42e15/attachment-0001.gz>


More information about the pkg-gnome-maintainers mailing list