Bug#996891: spirv-cross: please provide the C++ API
Package: src:spirv-cross Version: 2021.01.15-3 Severity: wishlist Dear maintainers, the Google Filament rendering library uses the C++ API of spirv-cross; the .hpp headers are shipped in libspirv-cross-c-shared-dev, but the implementation is not accessible in the shared library. Upstream does not export the C++ symbols and -fvisibility=hidden keeps them private. This seems very deliberate, so I'm not sure Debian should mess with this. But maybe you could ship the static libraries or convince upstream to build an additional shared library that exposes the C++ API? Cheers Timo -- ⢀⣴⠾⠻⢶⣦⠀ ╭╮ ⣾⠁⢠⠒⠀⣿⡁ │ Timo Röhling │ ⢿⡄⠘⠷⠚⠋⠀ │ 9B03 EBB9 8300 DF97 C2B1 23BF CC8C 6BDD 1403 F4CA │ ⠈⠳⣄ ╰╯ signature.asc Description: PGP signature
Bug#1004442: spirv-cross: please build all libraries with -fPIC
Source: spirv-cross Version: 2021.01.15-4 Severity: wishlist Tags: patch -BEGIN PGP SIGNED MESSAGE- Hash: SHA512 Dear maintainer, I need to link against various spirv-cross-*.a libraries from a shared object, which requires said libraries to be built with position independent code. I would appreciate it if you could add the following patch to your package: diff --git a/debian/rules b/debian/rules index 3ce1dac2..e2a9788f 100755 - --- a/debian/rules +++ b/debian/rules @@ -6,5 +6,6 @@ override_dh_auto_configure: dh_auto_configure -- \ -DSPIRV_CROSS_SHARED=ON \ + -DSPIRV_CROSS_FORCE_PIC=ON \ -DSPIRV_CROSS_CLI=ON \ -DSPIRV_CROSS_ENABLE_TESTS=OFF Cheers Timo -BEGIN PGP SIGNATURE- iQGzBAEBCgAdFiEEJvtDgpxjkjCIVtam+C8H+466LVkFAmHy6wQACgkQ+C8H+466 LVlV8gwAhqz6slp9ijk5YcGUr1gmibDFP9qlsuZjcxYqIjod6wcJ88GAnHYwXwjY bUoMo+AULAoVsCWBCqMJZUVvVF3oqcZngm+42yeTsBKB9eq7c8AT8mv2nDd5Otyf Vpfc8uy2cc2A9iHFSFXUQ8oA7ZzZgePVUJafp5UpUiEPB6xTPVrga9rUPL45PVf0 Z0k4BjT3W496g4u45owxuN+rAfWx6nT/WWPsn5f2ZIkvqv8mI/Kvmr19hVs3IuEf 82k/NLxauKWKStb8GVwu6RNTVXkfL8mznnpmd4diN/2z8QA+iSiLpYFj16c2G1R7 Gx5Cl13TNpOkWAw7NKU0r3CPGaYs3A/cASQChgcFCdK6Ua+TF96aGIcyaRk59rr7 c3LlVuCsijQeA7J0LVNU10ooO26bVJmrFsaIk7wcawZJzCDMLHIip8TuCrNMMSX/ b3nagFJMzRp3ZlOxvHETOnv3OFBDZop1ERPmE7qA++wN/kxMxJea2+LxFQAbsvSu j+M4CQBS =ZRRP -END PGP SIGNATURE-
Bug#1005112: glslang: invalid bytecode generated on big endian architectures
Package: glslang-dev Version: 11.7.1-1 Severity: important Tags: ftbfs Control: affects -1 src:filament Dear maintainers, building Filament on s390x and other BE architectures fails with terminate called after throwing an instance of 'spirv_cross::CompilerError' what(): Cannot resolve expression type. Aborted This seems to be caused by invalid bytecode, which is generated by TShader and GlslangToSpv, e.g. GlslangToSpv(*tShader.getIntermediate(), spirv, &options); A number of issues have been fixed with the new upstream release 11.8.0, which look like they might be the cause for (or at least contributing to) this bug [1][2][3], so I'd appreciate it if you could package the new release. Cheers Timo [1] https://github.com/KhronosGroup/glslang/issues/202 [2] https://github.com/KhronosGroup/glslang/issues/2802 [3] https://github.com/KhronosGroup/glslang/issues/2807 -- ⢀⣴⠾⠻⢶⣦⠀ ╭────╮ ⣾⠁⢠⠒⠀⣿⡁ │ Timo Röhling │ ⢿⡄⠘⠷⠚⠋⠀ │ 9B03 EBB9 8300 DF97 C2B1 23BF CC8C 6BDD 1403 F4CA │ ⠈⠳⣄ ╰╯ signature.asc Description: PGP signature
Bug#1029503: spirv-cross: new upstream release breaks API
Source: spirv-cross Version: 2021.01.15+1.3.236.0-1 Severity: serious Tags: ftbfs -BEGIN PGP SIGNED MESSAGE- Hash: SHA512 Dear co-maintainers, the recent upload of spirv-cross 2021.01.15+1.3.236.0-1 has incompatible API changes which break reverse dependencies, notably src:filament. This type of change is no longer appropriate since the 2023-01-12 transition freeze. Please keep this bug at a RC-critical severity to prevent migration to testing. Relevant excerpt from a filament rebuild: [...] [ 50%] Built target test_utils /<>/libs/filamat/src/GLSLPostProcessor.cpp:349:75: error: too few arguments to function call, expected 3, have 2 glslCompiler.remap_ext_framebuffer_fetch(i.first, i.second); ^ /usr/include/spirv_cross/spirv_glsl.hpp:203:7: note: 'remap_ext_framebuffer_fetch' declared here void remap_ext_framebuffer_fetch(uint32_t input_attachment_index, uint32_t color_location, bool coherent); ^ 1 error generated. make[3]: *** [libs/filamat/CMakeFiles/filamat.dir/build.make:331: libs/filamat/CMakeFiles/filamat.dir/src/GLSLPostProcessor.cpp.o] Error 1 [...] Cheers Timo -BEGIN PGP SIGNATURE- iQGzBAEBCgAdFiEEJvtDgpxjkjCIVtam+C8H+466LVkFAmPOhI8ACgkQ+C8H+466 LVmO/QwAnyuW2b78PW1dGWP/S0uOn10R4Khg1vtayd6dG+d4DItcDYtiXQcB4p4a 1f9zJwnkB3PT2nvpXT29frqvOO9rz4JQ/fT68bEpjluRL3255MNRTjseTSiZRIFA rBkmyflC1+5agaJhuQSH4FR7PkuSpnCKA4uTAuvQf4gYQEmeUGb8Exca2YKXVeK1 8iPTIDyvd8LUVJBhnp0O7d8j1XJXibzewuyEzivGoTGbNJ+PVoeBLSxx1BzOKT5C 2QEpy6Ji9tG9UIzm7AjqNdTwnQOejSXKWthQsyFx4QAgoIOv+ppv2PpZiQWSzgFY CVy8ngQdS2k1uwCokAFperRS9XuoUT0EaR43jALpZ1ryfmSzmZrkGDMyZXaUFV9l ubYMQpp/JBe9YfMV6M02kV45ihbXqHSUdK9QrwVnWGLZIwnoeLJbs+K0Jm/jpfY+ Qq7pVAtEt2Kr+LU0xkssuskKbyMeFvkLJcAXFJ3vI55/e8XgaiHMUJuwzzbnH9aj NOfNqANT =/4Kr -END PGP SIGNATURE-
Bug#1064547: glslang-dev: no longer shipping intermediate.h (among others)
Package: glslang-dev Version: 14.0.0-2 Severity: important Tags: affects -1 src:filament -BEGIN PGP SIGNED MESSAGE- Hash: SHA512 Dear maintainer, glslang-dev stopped shipping a number of header files, which causes filament to FTBFS: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1063143 Cheers Timo -BEGIN PGP SIGNATURE- iQGzBAEBCgAdFiEEJvtDgpxjkjCIVtam+C8H+466LVkFAmXZMBUACgkQ+C8H+466 LVkCxgwAiwL9uR0sHaC2DgQL48TWIgZ1cit00KkNdxoJ1BPyf2URSUhJ3usYudms bdgbf3G8GerOouvMOMYpYljbISMCPV8oheptoc2vnr84uP4RckGYO+PPvmRCgxtJ 0+qohcrAG/1uSUw/aawl5Kp8PCuL8S3VFdSONbsocPyEOLbpaHj96uKaUoJ/RqnK rCq4eZYO8PS4L4NNvnvbOX+ldNOkEMAOsYKRJqNEnRCWW8bQfuCmyZ8LO8Lugunv z6o1XtIvWowg8X4v01auSB906jCFqDtkSAn+3i4LedDICumzjazjXXOtu9JSwkwb ky2GP1xWeI5QrVJYqIOFPYjQEdpMAr9mrIMbfLP2d8kS4fKEqI8D7wPidIled2+m grqrSsWptbY7XfySkhLpbCP/vSNuiJY4P6pTIPeQSnwkV8Scuzy0fdCt+0bTP0L/ KMoCRTZon5zjGYB/wkGUPGnSx8uBzRkoF9cG54JHzyJdp5ZP6H0WWi0oPYXALsPI 6NtbkpBG =u2mR -END PGP SIGNATURE-