Hi Sylvestre, Thanks for taking care of this issue.
On 06/09/2016 09:53 AM, Sylvestre Ledru wrote: > Le 09/06/2016 à 15:15, antoine.pierlot-gar...@scle.fr a écrit : >> (Similar to section 3 of Brad King's message #20 at >> https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=819072#20 ) > > A patch would be appreciated, I don't have time to investigate this :/ Here is an untested patch that uses the approach I suggested. Thanks, -Brad
Index: debian/rules =================================================================== --- debian/rules (revision 1945) +++ debian/rules (working copy) @@ -411,6 +411,9 @@ # Change CMake module dir sed -i 's|LLVM_CMAKE_DIR "/usr/lib/llvm-$(LLVM_VERSION)/share/llvm/cmake"|LLVM_CMAKE_DIR "/usr/share/llvm-$(LLVM_VERSION)/cmake"|' $(DEB_INST)/usr/lib/llvm-$(LLVM_VERSION)/share/llvm/cmake/LLVMConfig.cmake +# Disable CMake's package validation checks for Polly target files that we may remove. + sed -i '/_IMPORT_CHECK_TARGETS Polly/ {s|^|#|}' $(DEB_INST)/usr/lib/llvm-$(LLVM_VERSION)/share/llvm/cmake/LLVMExports-*.cmake + # Managed in python-lldb-X.Y.links.in rm -f $(DEB_INST)/usr/lib/llvm-$(LLVM_VERSION)/lib/python*/site-packages/lldb/_lldb.so