Uploaded image for project: 'Funtoo Linux'
  1. Funtoo Linux
  2. FL-10128

[nokit] app-emulation/vkd3d-1.1 broken

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Severe (Ebuild) Severe (Ebuild)
    • None
    • None
    • None
    • This prevents wine-staging from merging. This blocks a nokit (unmaintained, dropped in next-release) application.

      vkd3d is a dependency of wine-staging.

      These are the packages that would be merged, in reverse order:
      
      Calculating dependencies  ... done!
      [ebuild  N     ] app-emulation/vkd3d-1.1::nokit  USE="-spirv-tools" 477 KiB
      
      ....
            |         ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~
      In file included from /var/tmp/portage/app-emulation/vkd3d-1.1/work/vkd3d-1.1/libs/vkd3d/device.c:19:
      /var/tmp/portage/app-emulation/vkd3d-1.1/work/vkd3d-1.1/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
      In file included from /var/tmp/portage/app-emulation/vkd3d-1.1/work/vkd3d-1.1/libs/vkd3d/state.c:20:
      /var/tmp/portage/app-emulation/vkd3d-1.1/work/vkd3d-1.1/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
      /var/tmp/portage/app-emulation/vkd3d-1.1/work/vkd3d-1.1/libs/vkd3d/command.c: In function ‘d3d12_command_list_set_root_signature’:
      /var/tmp/portage/app-emulation/vkd3d-1.1/work/vkd3d-1.1/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)
            |         ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~
      /var/tmp/portage/app-emulation/vkd3d-1.1/work/vkd3d-1.1/libs/vkd3d/command.c: In function ‘d3d12_command_list_set_descriptor_table’:
      /var/tmp/portage/app-emulation/vkd3d-1.1/work/vkd3d-1.1/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)
            |         ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~
      /var/tmp/portage/app-emulation/vkd3d-1.1/work/vkd3d-1.1/libs/vkd3d/command.c: In function ‘d3d12_command_list_set_root_constants’:
      /var/tmp/portage/app-emulation/vkd3d-1.1/work/vkd3d-1.1/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,
            |         ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~
      In file included from /var/tmp/portage/app-emulation/vkd3d-1.1/work/vkd3d-1.1/libs/vkd3d/vkd3d_main.c:20:
      /var/tmp/portage/app-emulation/vkd3d-1.1/work/vkd3d-1.1/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
      make[1]: *** [Makefile:1089: libs/vkd3d/resource.lo] Error 1
      make[1]: *** Waiting for unfinished jobs....
      make[1]: *** [Makefile:1089: libs/vkd3d/vkd3d_main.lo] Error 1
      libtool: compile:  x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I/var/tmp/portage/app-emulation/vkd3d-1.1/work/vkd3d-1.1 -I./include -I/var/tmp/portage/app-emulation/vkd3d-1.1/work/vkd3d-1.1/include -I/var/tmp/portage/app-emulation/vkd3d-1.1/work/vkd3d-1.1/include/dummy -I/var/tmp/portage/app-emulation/vkd3d-1.1/work/vkd3d-1.1/include/private -Wall -pipe -std=c99 -Wdeclaration-after-statement -Wmissing-prototypes -Wunused-but-set-parameter -Wvla -Wl,--no-undefined -mtune=generic -O2 -pipe -c /var/tmp/portage/app-emulation/vkd3d-1.1/work/vkd3d-1.1/libs/vkd3d-utils/vkd3d_utils_main.c -o libs/vkd3d-utils/vkd3d_utils_main.o >/dev/null 2>&1
      libtool: compile:  x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I/var/tmp/portage/app-emulation/vkd3d-1.1/work/vkd3d-1.1 -I./include -I/var/tmp/portage/app-emulation/vkd3d-1.1/work/vkd3d-1.1/include -I/var/tmp/portage/app-emulation/vkd3d-1.1/work/vkd3d-1.1/include/dummy -I/var/tmp/portage/app-emulation/vkd3d-1.1/work/vkd3d-1.1/include/private -Wall -pipe -std=c99 -Wdeclaration-after-statement -Wmissing-prototypes -Wunused-but-set-parameter -Wvla -Wl,--no-undefined -mtune=generic -O2 -pipe -c /var/tmp/portage/app-emulation/vkd3d-1.1/work/vkd3d-1.1/libs/vkd3d-shader/vkd3d_shader_main.c -o libs/vkd3d-shader/libvkd3d_shader_la-vkd3d_shader_main.o >/dev/null 2>&1
      make[1]: *** [Makefile:1089: libs/vkd3d/state.lo] Error 1
      make[1]: *** [Makefile:1089: libs/vkd3d/device.lo] Error 1
      In file included from /var/tmp/portage/app-emulation/vkd3d-1.1/work/vkd3d-1.1/libs/vkd3d/utils.c:19:
      /var/tmp/portage/app-emulation/vkd3d-1.1/work/vkd3d-1.1/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
      make[1]: *** [Makefile:1089: libs/vkd3d/command.lo] Error 1
      make[1]: *** [Makefile:1089: libs/vkd3d/utils.lo] Error 1
      libtool: compile:  x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I/var/tmp/portage/app-emulation/vkd3d-1.1/work/vkd3d-1.1 -I./include -I/var/tmp/portage/app-emulation/vkd3d-1.1/work/vkd3d-1.1/include -I/var/tmp/portage/app-emulation/vkd3d-1.1/work/vkd3d-1.1/include/dummy -I/var/tmp/portage/app-emulation/vkd3d-1.1/work/vkd3d-1.1/include/private -Wall -pipe -std=c99 -Wdeclaration-after-statement -Wmissing-prototypes -Wunused-but-set-parameter -Wvla -Wl,--no-undefined -mtune=generic -O2 -pipe -c /var/tmp/portage/app-emulation/vkd3d-1.1/work/vkd3d-1.1/libs/vkd3d-shader/trace.c -o libs/vkd3d-shader/libvkd3d_shader_la-trace.o >/dev/null 2>&1
      libtool: compile:  x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I/var/tmp/portage/app-emulation/vkd3d-1.1/work/vkd3d-1.1 -I./include -I/var/tmp/portage/app-emulation/vkd3d-1.1/work/vkd3d-1.1/include -I/var/tmp/portage/app-emulation/vkd3d-1.1/work/vkd3d-1.1/include/dummy -I/var/tmp/portage/app-emulation/vkd3d-1.1/work/vkd3d-1.1/include/private -Wall -pipe -std=c99 -Wdeclaration-after-statement -Wmissing-prototypes -Wunused-but-set-parameter -Wvla -Wl,--no-undefined -mtune=generic -O2 -pipe -c /var/tmp/portage/app-emulation/vkd3d-1.1/work/vkd3d-1.1/libs/vkd3d-shader/dxbc.c -o libs/vkd3d-shader/libvkd3d_shader_la-dxbc.o >/dev/null 2>&1
      libtool: compile:  x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I/var/tmp/portage/app-emulation/vkd3d-1.1/work/vkd3d-1.1 -I./include -I/var/tmp/portage/app-emulation/vkd3d-1.1/work/vkd3d-1.1/include -I/var/tmp/portage/app-emulation/vkd3d-1.1/work/vkd3d-1.1/include/dummy -I/var/tmp/portage/app-emulation/vkd3d-1.1/work/vkd3d-1.1/include/private -Wall -pipe -std=c99 -Wdeclaration-after-statement -Wmissing-prototypes -Wunused-but-set-parameter -Wvla -Wl,--no-undefined -mtune=generic -O2 -pipe -c /var/tmp/portage/app-emulation/vkd3d-1.1/work/vkd3d-1.1/libs/vkd3d-shader/spirv.c -o libs/vkd3d-shader/libvkd3d_shader_la-spirv.o >/dev/null 2>&1
      make[1]: Leaving directory '/var/tmp/portage/app-emulation/vkd3d-1.1/work/vkd3d-1.1-abi_x86_64.amd64'
      make: *** [Makefile:781: all] Error 2
       * ERROR: app-emulation/vkd3d-1.1::nokit failed (compile phase):
       *   emake failed
       * 
       * If you need support, post the output of `emerge --info '=app-emulation/vkd3d-1.1::nokit'`,
       * the complete build log and the output of `emerge -pqv '=app-emulation/vkd3d-1.1::nokit'`.
       * The complete build log is located at '/var/tmp/portage/app-emulation/vkd3d-1.1/temp/build.log'.
       * The ebuild environment file is located at '/var/tmp/portage/app-emulation/vkd3d-1.1/temp/environment'.
       * Working directory: '/var/tmp/portage/app-emulation/vkd3d-1.1/work/vkd3d-1.1-abi_x86_64.amd64'
       * S: '/var/tmp/portage/app-emulation/vkd3d-1.1/work/vkd3d-1.1'
       * Messages for package app-emulation/vkd3d-1.1:
       * ERROR: app-emulation/vkd3d-1.1::nokit failed (compile phase):
       *   emake failed
       * 
       * If you need support, post the output of `emerge --info '=app-emulation/vkd3d-1.1::nokit'`,
       * the complete build log and the output of `emerge -pqv '=app-emulation/vkd3d-1.1::nokit'`.
       * The complete build log is located at '/var/tmp/portage/app-emulation/vkd3d-1.1/temp/build.log'.
       * The ebuild environment file is located at '/var/tmp/portage/app-emulation/vkd3d-1.1/temp/environment'.
       * Working directory: '/var/tmp/portage/app-emulation/vkd3d-1.1/work/vkd3d-1.1-abi_x86_64.amd64'
       * S: '/var/tmp/portage/app-emulation/vkd3d-1.1/work/vkd3d-1.1'
      
      
      The command '/bin/sh -c USE="-spirv-tools" emerge -j ${JOBS} --nodeps app-emulation/vkd3d' returned a non-zero code: 1
      Error: failed building package image: Could not push image: docker-registry1.mottainai.local:5000/luet-macaroni-funtoo-dev-tree:f9484c9e0dde51b223c137722fd7a6bfc1ebac1957de66e00ed37ff2075ad36a vkd3d-app-emulation-1.1-builder.dockerfile: Could not build image: docker-registry1.mottainai.local:5000/luet-macaroni-funtoo-dev-tree:f9484c9e0dde51b223c137722fd7a6bfc1ebac1957de66e00ed37ff2075ad36a vkd3d-app-emulation-1.1-builder.dockerfile: Failed running command: : exit status 1
      Bailing out 

      I think that we could autogen or curated.

      Upgrade to version 1.2 seems fix the compilation.

            coffnix coffnix
            geaaru geaaru
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: