Package: spirv-tools
Version: 2026.3~rc1-1
Severity: normal
Tags: patch

Dear Maintainer,

The CMake source extraction rule in source/CMakeLists.txt contains a
misspelled dependency variable:

    ${EI_debuinfo}

This should be:

    ${EI_debuginfo}

The typo causes the source extraction rule to reference the wrong
dependency variable.

I have attached a patch correcting this typo.

The fix is limited to the CMake source extraction dependency; it is
not related to SPIR-V Tools upstream issue #6849.

Regards,
Jeroen Diederen

-- System Information:
Debian Release: forky/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: ppc64

Kernel: Linux 6.8.0-138-generic (SMP w/8 CPU threads; PREEMPT)
Locale: LANG=C, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: unable to detect

Versions of packages spirv-tools depends on:
ii  libc6       2.43-3
ii  libstdc++6  16.2.0-1

spirv-tools recommends no packages.

spirv-tools suggests no packages.

-- no debconf information
Description: Fix typo in SPIR-V Tools source extraction dependency
 Correct the misspelled EI_debuginfo variable so the generated source
 extraction/build dependency is handled correctly.
Bug: https://github.com/KhronosGroup/SPIRV-Tools/issues/6849
Forwarded: yes
Index: spirv-tools-debian-fixed/source/CMakeLists.txt
===================================================================
--- spirv-tools-debian-fixed.orig/source/CMakeLists.txt
+++ spirv-tools-debian-fixed/source/CMakeLists.txt
@@ -91,7 +91,7 @@ macro(spvtools_vimsyntax CONFIG_VERSION
       --extinst-opencl-grammar=${OPENCL_GRAMMAR_JSON_FILE}
       >${VIMSYNTAX_FILE}
     DEPENDS ${VIMSYNTAX_PROCESSING_SCRIPT} ${GRAMMAR_JSON_FILE}
-           ${GLSL_GRAMMAR_JSON_FILE} ${OPENCL_GRAMMAR_JSON_FILE} ${EI_debuinfo}
+           ${GLSL_GRAMMAR_JSON_FILE} ${OPENCL_GRAMMAR_JSON_FILE} 
${EI_debuginfo}
     COMMENT "Generate spvasm.vim: Vim syntax file for SPIR-V assembly.")
 endmacro(spvtools_vimsyntax)
 

Reply via email to