diff --git a/debian/qualify-clang.sh b/debian/qualify-clang.sh index 13044f2d..b7012d2e 100755 --- a/debian/qualify-clang.sh +++ b/debian/qualify-clang.sh @@ -725,7 +725,10 @@ lldb-$VERSION -s lldb-cmd.txt ./foo &> foo.log if ! grep -q "stop reason = step over" foo.log; then echo "Could not find the lldb expected output" cat foo.log - exit 42 + # do not fail on i386, never worked here + if [ $DEB_HOST_ARCH != "i386" ]; then + exit 42 + fi fi if test ! -f /usr/lib/llvm-$VERSION/lib/libclangToolingInclusions.a; then diff --git a/debian/rules b/debian/rules index 62c0ea9f..fb78c6be 100755 --- a/debian/rules +++ b/debian/rules @@ -239,7 +239,7 @@ OLD_DH_DISTRO := trusty ifneq (,$(filter $(DISTRO),$(OLD_DH_DISTRO))) # DH doesn't support the [power ...] in install # fails with cp: cannot stat 'debian/tmp/[!powerpc': No such file or directory - $(shell sed -e "s|\[\!powerpc \!powerpcspe\] ||g" llvm-$(LLVM_VERSION)-dev.install) +$(shell sed -e "s|\[\!powerpc \!powerpcspe\] ||g" debian/llvm-X.Y-dev.install.in) endif DH_OPTIONS=