Bug#1016922: pkgconf: fails to find spirv
Hi, On Thu, 11 Aug 2022, at 01:08, Peter Green wrote: > I originally saw the bug in raspbian bookworm, and decided to check it > in sid before filing the > bug, but I must have screwed up somewhere. > > Anyway, I've just retested it in in an up to date debian sid > environment and confirmed it is > reproducible there. with versoin 1.8.0-1 of pkgconf and version > 11.10.0-1 of glslang-dev Thanks. Apparently, pkgconf doesn’t accept .pc files indented by spaces, which spirv.pc and glslang.pc are. As far as I can see, ruby-pkg-config accepts those, so probably pkgconf should too. -- Cheers, Andrej
Bug#1016922: pkgconf: fails to find spirv
Found 1016922 1.8.0-1 Thanks On 10/08/2022 15:03, Andrej Shadura wrote: Hi, On Tue, 9 Aug 2022, at 22:47, Peter Green wrote: glslang-dev provides spirv.pc, unfortunately it seems pkgconf is unable to use it. This leads to builds of filament breaking if pkgconf happens to be installed. Version 1.6.0 is in oldstable — could you please test with more up-to-date versions of both pkgconf and spirv? Thanks! I originally saw the bug in raspbian bookworm, and decided to check it in sid before filing the bug, but I must have screwed up somewhere. Anyway, I've just retested it in in an up to date debian sid environment and confirmed it is reproducible there. with versoin 1.8.0-1 of pkgconf and version 11.10.0-1 of glslang-dev
Bug#1016922: pkgconf: fails to find spirv
Hi, On Tue, 9 Aug 2022, at 22:47, Peter Green wrote: > glslang-dev provides spirv.pc, unfortunately it seems > pkgconf is unable to use it. This leads to builds of > filament breaking if pkgconf happens to be installed. Version 1.6.0 is in oldstable — could you please test with more up-to-date versions of both pkgconf and spirv? Thanks! -- Cheers, Andrej
Bug#1016922: pkgconf: fails to find spirv
Package: pkgconf Version: 1.6.0-1 glslang-dev provides spirv.pc, unfortunately it seems pkgconf is unable to use it. This leads to builds of filament breaking if pkgconf happens to be installed. root@cuboxi4x4:/filament# pkg-config --libs spirv Package spirv was not found in the pkg-config search path. Perhaps you should add the directory containing `spirv.pc' to the PKG_CONFIG_PATH environment variable Package 'spirv', required by 'virtual:world', not found root@cuboxi4x4:/filament# PKG_CONFIG_PATH=/usr/lib/arm-linux-gnueabihf/pkgconfig/ pkg-config --libs spirv Package spirv was not found in the pkg-config search path. Perhaps you should add the directory containing `spirv.pc' to the PKG_CONFIG_PATH environment variable Package 'spirv', required by 'virtual:world', not found root@cuboxi4x4:/filament# which pkg-config /usr/bin/pkg-config root@cuboxi4x4:/filament# ls -l /usr/bin/pkg-config lrwxrwxrwx 1 root root 7 Aug 23 2021 /usr/bin/pkg-config -> pkgconf <--snip removal of pkgconf and installation of pkg-config--> root@cuboxi4x4:/filament# pkg-config --libs spirv -lSPIRV -lSPIRV-Tools-opt -lSPIRV-Tools -lSPIRV-Tools-link -lglslang -lMachineIndependent -lOSDependent -lHLSL -lOGLCompiler -lGenericCodeGen -lSPVRemapper -lpthread