FS#70634 - [lib32-vulkan-icd-loader] libvulkan.so should be 1.2.175, but reports 0.0.175

Attached to Project: Community Packages
Opened by Alexandre Demers (oxalin) - Thursday, 29 April 2021, 04:32 GMT
Last edited by Laurent Carlier (lordheavy) - Thursday, 29 April 2021, 06:22 GMT
Task Type Bug Report
Category Packages: Multilib
Status Closed
Assigned To Laurent Carlier (lordheavy)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
While trying to update lib32-libplacebo package to latest version (I'm the maintainer), I encountered an error at build where vulkan's reported version is detected as 0.0.175 (it is requesting '>=1.0.42'). The native vulkan-icd-loader package has libvulkan.so.1.2.175, while lib32-vulkan-icd-loader exposes libvulkan.so.0.0.175.

Additional info:
package version: 1.2.175

Here is the output when I try to build lib32-libplacebo version 3.120.2:
The Meson build system
Version: 0.57.2
Source dir: /home/ademers/projects/Arch/lib32-libplacebo/src/libplacebo-v3.120.2
Build dir: /home/ademers/projects/Arch/lib32-libplacebo/src/libplacebo-v3.120.2/build
Build type: native build
Project name: libplacebo
Project version: 3.120.2
C compiler for the host machine: gcc -m32 (gcc 10.2.0 "gcc (GCC) 10.2.0")
C linker for the host machine: gcc -m32 ld.bfd 2.36.1
C++ compiler for the host machine: g++ -m32 (gcc 10.2.0 "g++ (GCC) 10.2.0")
C++ linker for the host machine: g++ -m32 ld.bfd 2.36.1
Host machine cpu family: x86
Host machine cpu: i686
Program git found: YES (/usr/bin/git)
Compiler for C supports arguments -Wincompatible-pointer-types: YES
Compiler for C supports link arguments -Wl,--exclude-libs=ALL: YES
Program python3 found: YES (/usr/bin/python)
Library m found: YES
Found pkg-config: /usr/bin/pkg-config (1.7.3)
Dependency vulkan found: NO found 0.0.175 but need: '>=1.0.42'
Dependency vulkan found: NO unknown version, but need: ['>=1.0.42']
Run-time dependency vulkan found: NO

src/meson.build:8:0: ERROR: Invalid version of dependency, need 'vulkan' ['>=1.0.42'] found '0.0.175'.
This task depends upon

Closed by  Laurent Carlier (lordheavy)
Thursday, 29 April 2021, 06:22 GMT
Reason for closing:  Fixed
Additional comments about closing:  lib32-vulkan-icd-loader-1.2.176-1
Comment by Alexandre Demers (oxalin) - Thursday, 29 April 2021, 04:36 GMT
Precision: while the package's version is 1.2.174, the lib is numbered as 0.0.175 (or 1.2.175 with the native package).
Comment by Alexandre Demers (oxalin) - Thursday, 29 April 2021, 04:40 GMT
When looking at the native package, it seems a patch was added (verfix.diff) to fix the version numbering.

Loading...