Bug 2423737 - glslang pkgconfig file still lists removed library
Summary: glslang pkgconfig file still lists removed library
Keywords:
Status: ASSIGNED
Alias: None
Product: Fedora
Classification: Fedora
Component: glslang
Version: 43
Hardware: Unspecified
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Jocelyn Falempe
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-12-18 22:36 UTC by David Hampton
Modified: 2025-12-19 08:26 UTC (History)
6 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Type: ---
Embargoed:


Attachments (Terms of Use)

Description David Hampton 2025-12-18 22:36:29 UTC
Here is a listing of the files in the devel packags:

[david@fedora43 17:33 ~]$ rpm -ql glslang-devel
/usr/include/glslang
/usr/include/glslang/Include
/usr/include/glslang/Include/ResourceLimits.h
/usr/include/glslang/Include/glslang_c_interface.h
/usr/include/glslang/Include/glslang_c_shader_types.h
/usr/include/glslang/Include/visibility.h
/usr/include/glslang/MachineIndependent
/usr/include/glslang/MachineIndependent/Versions.h
/usr/include/glslang/Public
/usr/include/glslang/Public/ResourceLimits.h
/usr/include/glslang/Public/ShaderLang.h
/usr/include/glslang/Public/resource_limits_c.h
/usr/include/glslang/SPIRV
/usr/include/glslang/SPIRV/GlslangToSpv.h
/usr/include/glslang/SPIRV/Logger.h
/usr/include/glslang/SPIRV/SpvTools.h
/usr/include/glslang/SPIRV/disassemble.h
/usr/include/glslang/SPIRV/spirv.hpp11
/usr/include/glslang/build_info.h
/usr/lib64/cmake/glslang
/usr/lib64/cmake/glslang/glslang-config-version.cmake
/usr/lib64/cmake/glslang/glslang-config.cmake
/usr/lib64/cmake/glslang/glslang-targets-debug.cmake
/usr/lib64/cmake/glslang/glslang-targets.cmake
/usr/lib64/libGenericCodeGen.a
/usr/lib64/libMachineIndependent.a
/usr/lib64/libOSDependent.a
/usr/lib64/libSPIRV.a
/usr/lib64/libglslang-default-resource-limits.a
/usr/lib64/libglslang.a
/usr/lib64/pkgconfig/glslang.pc
/usr/lib64/pkgconfig/spirv.pc

Here is the contents of the pkgconfig file:

[david@fedora43 17:33 ~]$ cat /usr/lib64/pkgconfig/glslang.pc
    prefix=/usr
    exec_prefix=/usr
    libdir=${exec_prefix}/lib64
    includedir=${prefix}/include
    
    Name: glslang
    Description: OpenGL and OpenGL ES shader front end and validator
    Requires:
    Version: 
    Libs: -L${libdir} -lglslang -lOSDependent -lSPVRemapper
    Cflags: -I${includedir}
[david@fedora43 17:33 ~]$ 

Note that the SPVRemapper library is listed in the pkgconfig file but is no longer shipped.


Reproducible: Always

Steps to Reproduce:
1.pkg-config --libs glslang

Actual Results:
-lglslang -lOSDependent -lSPVRemapper


Expected Results:
-lglslang -lOSDependent

Comment 1 José Expósito 2025-12-19 06:44:15 UTC
@jfalempe since you did the last update, do you have bandwidth to fix this?

Comment 2 Jocelyn Falempe 2025-12-19 08:26:12 UTC
Yes, SPIRV-Remapper was removed upstream https://github.com/KhronosGroup/glslang/pull/4040

Thanks for reporting it.

I probably need to update 0001-pkg-config-compatibility.patch, and remove -lSPVRemapper there.


Note You need to log in before you can comment on or make changes to this bug.