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#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
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Laurent Carlier (lordheavy)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

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
Comment by Laurent Carlier (lordheavy) - Sunday, 06 March 2016, 07:40 GMT
Build fine here in a chroot. I won't include a .pc file not available upstream.
Comment by David McFarland (Corngood) - Sunday, 06 March 2016, 17:24 GMT
  • Field changed: Percent Complete (100% → 0%)
Did you use a fresh chroot?

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.
Comment by Doug Newgard (Scimmia) - Sunday, 06 March 2016, 17:24 GMT
I tested this before assigning it, it fails for me as well
Comment by Laurent Carlier (lordheavy) - Sunday, 06 March 2016, 18:17 GMT
Tested with both testing and extra chroots, x86_64 and i686, and i can't reproduce the failure.
Comment by Doug Newgard (Scimmia) - Sunday, 06 March 2016, 18:28 GMT Comment by Laurent Carlier (lordheavy) - Sunday, 06 March 2016, 19:09 GMT
I was able to reproduce the failure outside of a chroot, i will update both trees to latest commit in the fourth release

Loading...