graphics/vulkan-tools build failing due to graphics/wayland?

"Jonathan Chen" <[email protected]>
Newsgroups gmane.os.freebsd.devel.ports
Message-ID <[email protected]>
Hi,

I've just updated my ports-tree, and a build of graphics/vulkan-tools currently fails with:

===>  Building for vulkan-tools-1.4.321
[  5% 1/17] cd /construction/xports/graphics/vulkan-tools/work/.build/cube && /usr/local/bin/wayland-scanner private-code //usr/local/share/wayland/wayland.xml /construction/xpor
ts/graphics/vulkan-tools/work/.build/cube/wayland-client.c
[ 11% 2/17] cd /construction/xports/graphics/vulkan-tools/work/.build/cube && /usr/local/bin/wayland-scanner private-code //usr/local/share/wayland-protocols/stable/xdg-shell/xdg
-shell.xml /construction/xports/graphics/vulkan-tools/work/.build/cube/xdg-shell-code.c
[ 17% 3/17] cd /construction/xports/graphics/vulkan-tools/work/.build/cube && /usr/local/bin/wayland-scanner client-header //usr/local/share/wayland-protocols/stable/xdg-shell/xd
g-shell.xml /construction/xports/graphics/vulkan-tools/work/.build/cube/xdg-shell-client-header.h
[ 23% 4/17] cd /construction/xports/graphics/vulkan-tools/work/.build/cube && /usr/local/bin/wayland-scanner private-code //usr/local/share/wayland-protocols/unstable/xdg-decorat
ion/xdg-decoration-unstable-v1.xml /construction/xports/graphics/vulkan-tools/work/.build/cube/xdg-decoration-code.c
[ 29% 5/17] cd /construction/xports/graphics/vulkan-tools/work/.build/cube && /usr/local/bin/wayland-scanner client-header //usr/local/share/wayland-protocols/unstable/xdg-decora
tion/xdg-decoration-unstable-v1.xml /construction/xports/graphics/vulkan-tools/work/.build/cube/xdg-decoration-client-header.h
[ 35% 6/17] /usr/local/libexec/ccache/cc -D/usr/lib/libm.so" -DVK_USE_PLATFORM_DISPLAY_KHR -DVK_USE_PLATFORM_WAYLAND_KHR -DVK_USE_PLATFORM_XCB_KHR -DVK_USE_PLATFORM_XLIB_KHR -DWA
YLAND_LIBRARY=\"/usr/local/lib/libwayland-client.so -DXCB_LIBRARY=\"/usr/local/lib/libxcb.so\" -DXLIB_LIBRARY=\"/usr/local/lib/libX11.so\" -I/construction/xports/graphics/vulkan-
tools/work/.build/cube -I/construction/xports/graphics/vulkan-tools/work/Vulkan-Tools-1.4.321/cube/. -isystem /usr/local/include -O2 -pipe  -fstack-protector-strong -fno-strict-a
liasing -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -DNDEBUG -std=c99 -fPIE -fvisibility=hidden -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers
-Wno-sign-conversion -Wno-shorten-64-to-32 -Wno-string-conversion -Wno-implicit-int-conversion -Wno-enum-enum-conversion -pthread -MD -MT cube/CMakeFiles/vkcube.dir/cube.c.o -MF
cube/CMakeFiles/vkcube.dir/cube.c.o.d -o cube/CMakeFiles/vkcube.dir/cube.c.o -c /construction/xports/graphics/vulkan-tools/work/Vulkan-Tools-1.4.321/cube/cube.c
FAILED: cube/CMakeFiles/vkcube.dir/cube.c.o
/usr/local/libexec/ccache/cc -D/usr/lib/libm.so" -DVK_USE_PLATFORM_DISPLAY_KHR -DVK_USE_PLATFORM_WAYLAND_KHR -DVK_USE_PLATFORM_XCB_KHR -DVK_USE_PLATFORM_XLIB_KHR -DWAYLAND_LIBRAR
Y=\"/usr/local/lib/libwayland-client.so -DXCB_LIBRARY=\"/usr/local/lib/libxcb.so\" -DXLIB_LIBRARY=\"/usr/local/lib/libX11.so\" -I/construction/xports/graphics/vulkan-tools/work/.
build/cube -I/construction/xports/graphics/vulkan-tools/work/Vulkan-Tools-1.4.321/cube/. -isystem /usr/local/include -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -O2
-pipe  -fstack-protector-strong -fno-strict-aliasing  -DNDEBUG -std=c99 -fPIE -fvisibility=hidden -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -Wno-sign-co
nversion -Wno-shorten-64-to-32 -Wno-string-conversion -Wno-implicit-int-conversion -Wno-enum-enum-conversion -pthread -MD -MT cube/CMakeFiles/vkcube.dir/cube.c.o -MF cube/CMakeFi
les/vkcube.dir/cube.c.o.d -o cube/CMakeFiles/vkcube.dir/cube.c.o -c /construction/xports/graphics/vulkan-tools/work/Vulkan-Tools-1.4.321/cube/cube.c
/bin/sh: Syntax error: Unterminated quoted string
ninja: build stopped: subcommand failed.
*** Error code 1

It doesn't look like graphics/vulkan-tools has changed since the last time I built it, so the fault probably lies with one of its build tools. If I were to guess, I think the update to graphics/wayland has introduced a regression on wayland-scanner.

Cheers.
--
Jonathan Chen <[email protected]>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.