[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#903822: Package(s) broken by CLANG_RESOURCE_DIR change



Package: release.debian.org
Severity: normal
User: release.debian.org@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.


Reply to: