Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#72960 - [glslang] 11.7.1-2 SPIRVTargets.cmake cannot find SPIRV-Tools-opt

Attached to Project: Arch Linux
Opened by Lyon Zou (PumpkinCheshire) - Thursday, 09 December 2021, 07:53 GMT
Last edited by David Thurstenson (thurstylark) - Saturday, 12 March 2022, 20:50 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Sven-Hendrik Haase (Svenstaro)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
When compiling other packages (for this case is https://github.com/Tencent/ncnn) enabling "-DNCNN_SYSTEM_GLSLANG=ON -DGLSLANG_TARGET_DIR=/usr/lib/cmake/" to use glslang will cause error:

CMake Error at /usr/lib/cmake/SPIRVTargets.cmake:116 (message):
The following imported targets are referenced, but are missing:
SPIRV-Tools-opt
Call Stack (most recent call first):
CMakeLists.txt:257 (include)


The SPIRV-Tools-opt located at /usr/lib/cmake/SPIRV-Tools-opt/ which own by package spriv-tools.

Additional info:
* package version(s) 11.7.1-2 also happened in older version
* config and/or log files etc.
* link to upstream bug report, if any

Steps to reproduce:

https://github.com/Tencent/ncnn/archive/20211208.tar.gz

cmake -B build -S "ncnn-20211208" \
-GNinja \
-DCMAKE_BUILD_TYPE='None' \
-DCMAKE_INSTALL_PREFIX=/usr \
-DNCNN_BUILD_EXAMPLES=OFF \
-DNCNN_BUILD_TOOLS=OFF \
-DNCNN_VULKAN=ON \
-DNCNN_SYSTEM_GLSLANG=ON \
-DGLSLANG_TARGET_DIR=/usr/lib/cmake/ \
-Wno-dev
ninja -C build


This task depends upon

Closed by  David Thurstenson (thurstylark)
Saturday, 12 March 2022, 20:50 GMT
Reason for closing:  No response
Comment by Lyon Zou (PumpkinCheshire) - Thursday, 09 December 2021, 07:54 GMT
Plus, the aur glslang-git package works well.
Comment by Sven-Hendrik Haase (Svenstaro) - Friday, 17 December 2021, 17:22 GMT
From your report, I'm not quite sure what you think the packaging problem here is. Could you be a bit more clear or perhaps just suggest a patch for the package?

Loading...