[Pkg-opencl-devel] Bug#903822: Package(s) broken by CLANG_RESOURCE_DIR change
Rebecca N. Palmer
rebecca_palmer at zoho.com
Sun Jul 15 12:08:52 BST 2018
Package: release.debian.org
Severity: normal
User: release.debian.org at packages.debian.org
Usertags: transition
(or should this be 'nmu'?)
The Clang resource directory (clang --print-resource-dir) changes every
upstream *bugfix* release (e.g. /usr/lib/llvm-6.0/lib/clang/6.0.1/ ),
but clang's reverse dependencies are only rebuilt every *feature* release.
At least pocl, and possibly also mesa-opencl-icd, qtcreator and
irony-mode, store this directory name in CLANG_RESOURCE_DIR at build
time then expect it to be the same at run time.
Hence, pocl is mostly unusable (clBuildProgram fails with
error: <built-in>:2:10:
'/usr/lib/llvm-6.0/lib/clang/6.0.0/include/opencl-c.h' file not found
); I haven't tested the others.
BinNMUs will probably fix the immediate problem, but it would recur on
future bugfix releases.
More information about the Pkg-opencl-devel
mailing list