FS#48461 - [vulkan-loader-layers] doesn't build
Attached to Project:
Arch Linux
Opened by David McFarland (Corngood) - Friday, 04 March 2016, 21:40 GMT
Last edited by Laurent Carlier (lordheavy) - Sunday, 06 March 2016, 19:12 GMT
Opened by David McFarland (Corngood) - Friday, 04 March 2016, 21:40 GMT
Last edited by Laurent Carlier (lordheavy) - Sunday, 06 March 2016, 19:12 GMT
|
Details
Description:
I had a couple of build errors in vulkan-loader-layers: /home/david/git/packages/vulkan-loader-layers/trunk/src/glslang/glslang/MachineIndependent/intermOut.cpp:54:17: error: 'isinf' was not declared in this scope return isinf(x) && (x >= 0); Obviously this built at some point, and I haven't tracked down exactly why it might have, but a fix was recently put in upstream. Upgrading the url to git://github.com/KhronosGroup/glslang.git#commit=8e3f4c2 fixed it for me. [ 31%] Generating param_check.h Traceback (most recent call last): File "/home/david/git/packages/vulkan-loader-layers/trunk/src/Vulkan-LoaderAndValidationLayers/genvk.py", line 25, in <module> from reg import * File "/home/david/git/packages/vulkan-loader-layers/trunk/src/Vulkan-LoaderAndValidationLayers/reg.py", line 25, in <module> from lxml import etree ImportError: No module named 'lxml' I fixed this with a makedepends on python-lxml Additional info: * vulkan-icd-loader-1.0.3.0-2 I've attached a patch of my local changes, which fixes those build failures. It also adds a pkg-config file compatible with the one from vulkan-sdk. |
This task depends upon
Closed by Laurent Carlier (lordheavy)
Sunday, 06 March 2016, 19:12 GMT
Reason for closing: Fixed
Additional comments about closing: vulkan-loader-layers 1.0.3.0-4
Sunday, 06 March 2016, 19:12 GMT
Reason for closing: Fixed
Additional comments about closing: vulkan-loader-layers 1.0.3.0-4
vulkan-icd-loader-fixes.patch
I just created one with 'pacstrap base', booted it with systemd-nspawn, installed base-devel and abs, grabbed the PKGBUILD out of abs, and I get the isinf() error.
Edit: Upstream fix: https://github.com/KhronosGroup/glslang/commit/6df2cdbb8a0d09a381bfa230e0c91b05fc6b36fa