[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#963274: vkd3d: FTBFS: libs/vkd3d/vkd3d_private.h:680:54: error: ‘VK_PIPELINE_BIND_POINT_RANGE_SIZE’ undeclared here (not in a function); did you mean ‘VK_PIPELINE_BIND_POINT_MAX_ENUM’?



Source: vkd3d
Version: 1.1-4
Severity: serious
Justification: FTBFS on amd64
Tags: bullseye sid ftbfs
Usertags: ftbfs-20200620 ftbfs-bullseye

Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64.

Relevant part (hopefully):
> /bin/bash ./libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I./include  -I./include -I./include/dummy -I./include/private -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -pipe -std=c99 -Wdeclaration-after-statement -Wmissing-prototypes -Wunused-but-set-parameter -Wvla -Wl,--no-undefined -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o libs/vkd3d/command.lo libs/vkd3d/command.c
> libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I./include -I./include -I./include/dummy -I./include/private -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -pipe -std=c99 -Wdeclaration-after-statement -Wmissing-prototypes -Wunused-but-set-parameter -Wvla -Wl,--no-undefined -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c libs/vkd3d/command.c  -fPIC -DPIC -o libs/vkd3d/.libs/command.o
> In file included from libs/vkd3d/command.c:20:
> libs/vkd3d/vkd3d_private.h:680:54: error: ‘VK_PIPELINE_BIND_POINT_RANGE_SIZE’ undeclared here (not in a function); did you mean ‘VK_PIPELINE_BIND_POINT_MAX_ENUM’?
>   680 |     struct vkd3d_pipeline_bindings pipeline_bindings[VK_PIPELINE_BIND_POINT_RANGE_SIZE];
>       |                                                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>       |                                                      VK_PIPELINE_BIND_POINT_MAX_ENUM
> libs/vkd3d/command.c: In function ‘d3d12_command_list_prepare_descriptors’:
> libs/vkd3d/command.c:2092:29: warning: parameter ‘bind_point’ set but not used [-Wunused-but-set-parameter]
>  2092 |         VkPipelineBindPoint bind_point)
>       |         ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~
> libs/vkd3d/command.c: In function ‘d3d12_command_list_set_root_signature’:
> libs/vkd3d/command.c:3228:29: warning: parameter ‘bind_point’ set but not used [-Wunused-but-set-parameter]
>  3228 |         VkPipelineBindPoint bind_point, const struct d3d12_root_signature *root_signature)
>       |         ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~
> libs/vkd3d/command.c: In function ‘d3d12_command_list_set_descriptor_table’:
> libs/vkd3d/command.c:3262:29: warning: parameter ‘bind_point’ set but not used [-Wunused-but-set-parameter]
>  3262 |         VkPipelineBindPoint bind_point, unsigned int index, D3D12_GPU_DESCRIPTOR_HANDLE base_descriptor)
>       |         ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~
> libs/vkd3d/command.c: In function ‘d3d12_command_list_set_root_constants’:
> libs/vkd3d/command.c:3299:29: warning: parameter ‘bind_point’ set but not used [-Wunused-but-set-parameter]
>  3299 |         VkPipelineBindPoint bind_point, unsigned int index, unsigned int offset,
>       |         ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~
> /bin/bash ./libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I./include  -I./include -I./include/dummy -I./include/private -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -pipe -std=c99 -Wdeclaration-after-statement -Wmissing-prototypes -Wunused-but-set-parameter -Wvla -Wl,--no-undefined -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o libs/vkd3d/device.lo libs/vkd3d/device.c
> make[3]: *** [Makefile:1089: libs/vkd3d/command.lo] Error 1

The full build log is available from:
   http://qa-logs.debian.net/2020/06/20/vkd3d_1.1-4_unstable.log

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!

About the archive rebuild: The rebuild was done on EC2 VM instances from
Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
failed build was retried once to eliminate random failures.


Reply to: