Date: Tue, 01 Jun 2021 17:24:29 +0000 From: bugzilla-noreply@freebsd.org To: gnome@FreeBSD.org Subject: maintainer-feedback requested: [Bug 256344] x11-toolkits/libadwaita: build error: vulkan/vulkan.h file not found Message-ID: <bug-256344-6497-N3L0By98Fn@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-256344-6497@https.bugs.freebsd.org/bugzilla/> References: <bug-256344-6497@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
Bugzilla Automation <bugzilla@FreeBSD.org> has asked freebsd-gnome (Nobody) <gnome@FreeBSD.org> for maintainer-feedback: Bug 256344: x11-toolkits/libadwaita: build error: vulkan/vulkan.h file not found https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D256344 --- Description --- x11-toolkits/gtk40 has a VULKAN option which, when on, adds a build time dependency on graphics/vulkan-headers. It is on by default. When on, it enables some vulkan related compite time features in installed headers. Such as: /usr/local/include/gtk-4.0/gdk/gdkconfig.h:#define GDK_RENDERING_VULKAN x11-toolkits/libadwaita depends on gtk40, but not vulkan-headers (optionall= y or otherwise). As a result, the following libadwaita build error occurs if the vulkan-headers package is not installed (it is only a build time dependency= for gtk40). =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D . . cc -Isrc/libadwaita-1.so.0.p -Isrc -I../src -I. -I.. -Isrc/stylesheet -I/usr/loc/include/glib-2.0 -I/usr/loc/lib/glib-2.0/include -I/usr/loc/incl= ude -I/usr/loc/include/fribidi -I/usr/loc/include/gtk-4.0 -I/usr/loc/include/pango-1.0 -I/usr/loc/include/harfbuzz -I/usr/loc/include/freetype2 -I/usr/loc/include/cairo -I/usr/loc/include/pixman-1 -I/usr/loc/include/libdrm -I/usr/loc/include/libpng16 -I/usr/loc/include/gdk-pixbuf-2.0 -I/usr/loc/include/graphene-1.0 -I/usr/loc/lib/graphene-1.0/include -I/usr/loc/include/gio-unix-2.0 -I/usr/loc/include/libepoll-shim -I/wrkdirs/usr/ports/x11-toolkits/libadwaita/work/libadwaita-7f61711633dfd0= 67f4 928df80afe6b14f16f886e/_build -fno-color-diagnostics -pipe -D_FILE_OFFSET_BITS=3D64 -Wall -Winvalid-pch -std=3Dgnu11 -O3 -DHAVE_CONFIG_H -DADWAITA_COMPILATION -Wcast-align -Wdate-= time -Wdeclaration-after-statement -Werror=3Dformat-security -Werror=3Dformat=3D2 -Wendif-labels -Werror=3Dincompatible-pointer-types -Werror=3Dmissing-decla= rations -Werror=3Doverflow -Werror=3Dreturn-type -Werror=3Dshift-count-overflow -Wformat-nonliteral -Wformat-security -Winit-self -Wmissing-field-initializ= ers -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wno-missing-field-initializers -Wno-sign-compare -Wno-strict-aliasing -Wno-unused-parameter -Wold-style-definition -Wpointer-arith -Wredundant-de= cls -Wshadow -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wtype-limits -Wundef -Wunused-function -fstack-protector-strong -O2 -fstack-protector-st= rong -fno-strict-aliasing -fPIC -mfpmath=3Dsse -msse -msse2 -D_THREAD_SAFE -pthr= ead '-DG_LOG_DOMAIN=3D"Adwaita"' -fvisibility=3Dhidden -MD -MQ src/libadwaita-1.so.0.p/meson-generated_.._adw-enums.c.o -MF src/libadwaita-1.so.0.p/meson-generated_.._adw-enums.c.o.d -o src/libadwaita-1.so.0.p/meson-generated_.._adw-enums.c.o -c src/adw-enums.c In file included from src/adw-enums.c:7: In file included from ../src/adw-flap.h:15: In file included from /usr/local/include/gtk-4.0/gtk/gtk.h:31: In file included from /usr/local/include/gtk-4.0/gdk/gdk.h:76: /usr/local/include/gtk-4.0/gdk/gdkvulkancontext.h:32:10: fatal error: 'vulkan/vulkan.h' file not found #include <vulkan/vulkan.h> ^~~~~~~~~~~~~~~~~ 1 error generated. =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-256344-6497-N3L0By98Fn>