diff --git a/debian/changelog b/debian/changelog index 41105142..70a72030 100644 --- a/debian/changelog +++ b/debian/changelog @@ -507,6 +507,12 @@ llvm-toolchain-snapshot (1:8~svn340819-1) unstable; urgency=medium llvm-toolchain-7 (1:7.0.1-5) unstable; urgency=medium * Add 'Rules-Requires-Root: no' in debian/control + * llvm-7-examples: Force the same version of llvm-7-dev to mitigate + a debci issue + https://ci.debian.net/data/autopkgtest/unstable/amd64/l/llvm-toolchain-7/1635547/log.gz + * Add 'Rules-Requires-Root: no' in debian/control + * Because more and more tools in clang-tools are in python, add + the dependency -- Sylvestre Ledru Fri, 04 Jan 2019 16:00:41 +0100 diff --git a/debian/control b/debian/control index 79268890..7b877485 100644 --- a/debian/control +++ b/debian/control @@ -45,6 +45,7 @@ Description: C, C++ and Objective-C compiler Package: clang-tools-8 Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends}, clang-8 (= ${binary:Version}) + python Description: clang-based tools for C/C++ developments Clang project is a C, C++, Objective C and Objective C++ front-end based on the LLVM compiler. Its goal is to offer a replacement to the diff --git a/debian/qualify-clang.sh b/debian/qualify-clang.sh index 265905d4..75c3168f 100755 --- a/debian/qualify-clang.sh +++ b/debian/qualify-clang.sh @@ -34,6 +34,13 @@ if llvm-config-$VERSION --cxxflags | grep " \-W"; then exit 1 fi +# Test https://bugs.llvm.org/show_bug.cgi?id=40059 +nm /usr/lib/llvm-$VERSION/lib/libLLVMBitWriter.a &> foo.log +if grep "File format not recognized" foo.log; then + echo "nm libLLVMBitWriter.a contains 'File format not recognized'" + exit 1 +fi + echo '#include int main() { char *x = (char*)malloc(10 * sizeof(char*));