Bug#1073310: vulkan-tools: FTBFS: vulkan_hpp_macros.hpp:135:38: error: operator '==' has no left operand
Source: vulkan-tools
Version: 1.3.280.0+dfsg1-1
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: lucas@debian.org
Usertags: ftbfs-20240615 ftbfs-trixie
Hi,
During a rebuild of all packages in sid, your package failed to build
on amd64.
Relevant part (hopefully):
> cd /<<PKGBUILDDIR>>/build/cube && /usr/bin/cc -DVK_NO_PROTOTYPES -DVK_USE_PLATFORM_WAYLAND_KHR -I/<<PKGBUILDDIR>>/build/cube -I/<<PKGBUILDDIR>>/cube/. -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=c99 -fPIE -fvisibility=hidden -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -Wno-stringop-truncation -MD -MT cube/CMakeFiles/vkcube-wayland.dir/xdg-shell-code.c.o -MF CMakeFiles/vkcube-wayland.dir/xdg-shell-code.c.o.d -o CMakeFiles/vkcube-wayland.dir/xdg-shell-code.c.o -c /<<PKGBUILDDIR>>/build/cube/xdg-shell-code.c
> In file included from /usr/include/vulkan/vulkan.hpp:16,
> from /<<PKGBUILDDIR>>/cube/cube.cpp:44:
> /usr/include/vulkan/vulkan_hpp_macros.hpp:135:38: error: operator '==' has no left operand
> 135 | #if ( VULKAN_HPP_TYPESAFE_CONVERSION == 1 )
> | ^~
> In file included from /usr/include/vulkan/vulkan.hpp:8690:
> /usr/include/vulkan/vulkan_handles.hpp:2416:38: error: operator '==' has no left operand
> 2416 | #if ( VULKAN_HPP_TYPESAFE_CONVERSION == 1 )
> | ^~
> /usr/include/vulkan/vulkan_handles.hpp:2514:38: error: operator '==' has no left operand
> 2514 | #if ( VULKAN_HPP_TYPESAFE_CONVERSION == 1 )
> | ^~
> /usr/include/vulkan/vulkan_handles.hpp:2612:38: error: operator '==' has no left operand
> 2612 | #if ( VULKAN_HPP_TYPESAFE_CONVERSION == 1 )
> | ^~
> /usr/include/vulkan/vulkan_handles.hpp:2701:38: error: operator '==' has no left operand
> 2701 | #if ( VULKAN_HPP_TYPESAFE_CONVERSION == 1 )
> | ^~
> /usr/include/vulkan/vulkan_handles.hpp:2796:38: error: operator '==' has no left operand
> 2796 | #if ( VULKAN_HPP_TYPESAFE_CONVERSION == 1 )
> | ^~
> /usr/include/vulkan/vulkan_handles.hpp:2891:38: error: operator '==' has no left operand
> 2891 | #if ( VULKAN_HPP_TYPESAFE_CONVERSION == 1 )
> | ^~
> /usr/include/vulkan/vulkan_handles.hpp:2986:38: error: operator '==' has no left operand
> 2986 | #if ( VULKAN_HPP_TYPESAFE_CONVERSION == 1 )
> | ^~
> /usr/include/vulkan/vulkan_handles.hpp:3084:38: error: operator '==' has no left operand
> 3084 | #if ( VULKAN_HPP_TYPESAFE_CONVERSION == 1 )
> | ^~
> /usr/include/vulkan/vulkan_handles.hpp:3173:38: error: operator '==' has no left operand
> 3173 | #if ( VULKAN_HPP_TYPESAFE_CONVERSION == 1 )
> | ^~
> /usr/include/vulkan/vulkan_handles.hpp:3268:38: error: operator '==' has no left operand
> 3268 | #if ( VULKAN_HPP_TYPESAFE_CONVERSION == 1 )
> | ^~
> /usr/include/vulkan/vulkan_handles.hpp:3363:38: error: operator '==' has no left operand
> 3363 | #if ( VULKAN_HPP_TYPESAFE_CONVERSION == 1 )
> | ^~
> /usr/include/vulkan/vulkan_handles.hpp:3458:38: error: operator '==' has no left operand
> 3458 | #if ( VULKAN_HPP_TYPESAFE_CONVERSION == 1 )
> | ^~
> /usr/include/vulkan/vulkan_handles.hpp:3553:38: error: operator '==' has no left operand
> 3553 | #if ( VULKAN_HPP_TYPESAFE_CONVERSION == 1 )
> | ^~
> /usr/include/vulkan/vulkan_handles.hpp:3648:38: error: operator '==' has no left operand
> 3648 | #if ( VULKAN_HPP_TYPESAFE_CONVERSION == 1 )
> | ^~
> /usr/include/vulkan/vulkan_handles.hpp:3743:38: error: operator '==' has no left operand
> 3743 | #if ( VULKAN_HPP_TYPESAFE_CONVERSION == 1 )
> | ^~
> /usr/include/vulkan/vulkan_handles.hpp:3832:38: error: operator '==' has no left operand
> 3832 | #if ( VULKAN_HPP_TYPESAFE_CONVERSION == 1 )
> | ^~
> /usr/include/vulkan/vulkan_handles.hpp:3930:38: error: operator '==' has no left operand
> 3930 | #if ( VULKAN_HPP_TYPESAFE_CONVERSION == 1 )
> | ^~
> /usr/include/vulkan/vulkan_handles.hpp:4028:38: error: operator '==' has no left operand
> 4028 | #if ( VULKAN_HPP_TYPESAFE_CONVERSION == 1 )
> | ^~
> /usr/include/vulkan/vulkan_handles.hpp:4120:38: error: operator '==' has no left operand
> 4120 | #if ( VULKAN_HPP_TYPESAFE_CONVERSION == 1 )
> | ^~
> /usr/include/vulkan/vulkan_handles.hpp:4217:38: error: operator '==' has no left operand
> 4217 | #if ( VULKAN_HPP_TYPESAFE_CONVERSION == 1 )
> | ^~
> /usr/include/vulkan/vulkan_handles.hpp:4315:38: error: operator '==' has no left operand
> 4315 | #if ( VULKAN_HPP_TYPESAFE_CONVERSION == 1 )
> | ^~
> /usr/include/vulkan/vulkan_handles.hpp:4410:38: error: operator '==' has no left operand
> 4410 | #if ( VULKAN_HPP_TYPESAFE_CONVERSION == 1 )
> | ^~
> /usr/include/vulkan/vulkan_handles.hpp:6895:38: error: operator '==' has no left operand
> 6895 | #if ( VULKAN_HPP_TYPESAFE_CONVERSION == 1 )
> | ^~
> /usr/include/vulkan/vulkan_handles.hpp:6990:38: error: operator '==' has no left operand
> 6990 | #if ( VULKAN_HPP_TYPESAFE_CONVERSION == 1 )
> | ^~
> /usr/include/vulkan/vulkan_handles.hpp:7082:38: error: operator '==' has no left operand
> 7082 | #if ( VULKAN_HPP_TYPESAFE_CONVERSION == 1 )
> | ^~
> /usr/include/vulkan/vulkan_handles.hpp:7271:38: error: operator '==' has no left operand
> 7271 | #if ( VULKAN_HPP_TYPESAFE_CONVERSION == 1 )
> | ^~
> /usr/include/vulkan/vulkan_handles.hpp:7366:38: error: operator '==' has no left operand
> 7366 | #if ( VULKAN_HPP_TYPESAFE_CONVERSION == 1 )
> | ^~
> /usr/include/vulkan/vulkan_handles.hpp:7461:38: error: operator '==' has no left operand
> 7461 | #if ( VULKAN_HPP_TYPESAFE_CONVERSION == 1 )
> | ^~
> /usr/include/vulkan/vulkan_handles.hpp:7556:38: error: operator '==' has no left operand
> 7556 | #if ( VULKAN_HPP_TYPESAFE_CONVERSION == 1 )
> | ^~
> /usr/include/vulkan/vulkan_handles.hpp:7651:38: error: operator '==' has no left operand
> 7651 | #if ( VULKAN_HPP_TYPESAFE_CONVERSION == 1 )
> | ^~
> /usr/include/vulkan/vulkan_handles.hpp:7940:38: error: operator '==' has no left operand
> 7940 | #if ( VULKAN_HPP_TYPESAFE_CONVERSION == 1 )
> | ^~
> /usr/include/vulkan/vulkan_handles.hpp:8038:38: error: operator '==' has no left operand
> 8038 | #if ( VULKAN_HPP_TYPESAFE_CONVERSION == 1 )
> | ^~
> /usr/include/vulkan/vulkan_handles.hpp:8133:38: error: operator '==' has no left operand
> 8133 | #if ( VULKAN_HPP_TYPESAFE_CONVERSION == 1 )
> | ^~
> /usr/include/vulkan/vulkan_handles.hpp:8231:38: error: operator '==' has no left operand
> 8231 | #if ( VULKAN_HPP_TYPESAFE_CONVERSION == 1 )
> | ^~
> /usr/include/vulkan/vulkan_handles.hpp:8320:38: error: operator '==' has no left operand
> 8320 | #if ( VULKAN_HPP_TYPESAFE_CONVERSION == 1 )
> | ^~
> /usr/include/vulkan/vulkan_handles.hpp:8411:38: error: operator '==' has no left operand
> 8411 | #if ( VULKAN_HPP_TYPESAFE_CONVERSION == 1 )
> | ^~
> /usr/include/vulkan/vulkan_handles.hpp:8506:38: error: operator '==' has no left operand
> 8506 | #if ( VULKAN_HPP_TYPESAFE_CONVERSION == 1 )
> | ^~
> /usr/include/vulkan/vulkan_handles.hpp:8604:38: error: operator '==' has no left operand
> 8604 | #if ( VULKAN_HPP_TYPESAFE_CONVERSION == 1 )
> | ^~
> /usr/include/vulkan/vulkan_handles.hpp:8701:38: error: operator '==' has no left operand
> 8701 | #if ( VULKAN_HPP_TYPESAFE_CONVERSION == 1 )
> | ^~
> /usr/include/vulkan/vulkan_handles.hpp:8798:38: error: operator '==' has no left operand
> 8798 | #if ( VULKAN_HPP_TYPESAFE_CONVERSION == 1 )
> | ^~
> /usr/include/vulkan/vulkan_handles.hpp:8896:38: error: operator '==' has no left operand
> 8896 | #if ( VULKAN_HPP_TYPESAFE_CONVERSION == 1 )
> | ^~
> /usr/include/vulkan/vulkan_handles.hpp:14384:38: error: operator '==' has no left operand
> 14384 | #if ( VULKAN_HPP_TYPESAFE_CONVERSION == 1 )
> | ^~
> [ 75%] Linking C executable vkcube
> cd /<<PKGBUILDDIR>>/build/cube && /usr/bin/cmake -E cmake_link_script CMakeFiles/vkcube.dir/link.txt --verbose=1
> /usr/bin/cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro CMakeFiles/vkcube.dir/cube.c.o -o vkcube -lm -lrt /usr/lib/x86_64-linux-gnu/libxcb.so -ldl
> make[3]: Leaving directory '/<<PKGBUILDDIR>>/build'
> [ 75%] Built target vkcube
> [ 81%] Linking C executable vkcube-wayland
> cd /<<PKGBUILDDIR>>/build/cube && /usr/bin/cmake -E cmake_link_script CMakeFiles/vkcube-wayland.dir/link.txt --verbose=1
> /usr/bin/cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro "CMakeFiles/vkcube-wayland.dir/cube.c.o" "CMakeFiles/vkcube-wayland.dir/xdg-shell-code.c.o" "CMakeFiles/vkcube-wayland.dir/xdg-decoration-code.c.o" -o vkcube-wayland -lm -lrt /usr/lib/x86_64-linux-gnu/libxcb.so -ldl /usr/lib/x86_64-linux-gnu/libwayland-client.so
> make[3]: Leaving directory '/<<PKGBUILDDIR>>/build'
> [ 81%] Built target vkcube-wayland
> make[3]: *** [cube/CMakeFiles/vkcubepp.dir/build.make:79: cube/CMakeFiles/vkcubepp.dir/cube.cpp.o] Error 1
The full build log is available from:
http://qa-logs.debian.net/2024/06/15/vulkan-tools_1.3.280.0+dfsg1-1_unstable.log
All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20240615;users=lucas@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20240615&fusertaguser=lucas@debian.org&allbugs=1&cseverity=1&ctags=1&caffected=1#results
A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!
If you reassign this bug to another package, please mark it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects
If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.
Reply to: