diff --git a/debian/changelog b/debian/changelog index 7e9081ab..fc727501 100644 --- a/debian/changelog +++ b/debian/changelog @@ -472,6 +472,12 @@ llvm-toolchain-snapshot (1:8~svn340819-1) unstable; urgency=medium -- Sylvestre Ledru Tue, 28 Aug 2018 16:28:24 +0200 +llvm-toolchain-7 (1:7.0.1-5) unstable; urgency=medium + + * Add 'Rules-Requires-Root: no' in debian/control + + -- Sylvestre Ledru Fri, 04 Jan 2019 16:00:41 +0100 + llvm-toolchain-7 (1:7.0.1-4) unstable; urgency=medium * On old Debian/Ubuntu, run dh_strip using fakeroot to mitigate diff --git a/debian/control b/debian/control index 5d05d249..6eafb77e 100644 --- a/debian/control +++ b/debian/control @@ -1,6 +1,7 @@ Source: llvm-toolchain-snapshot Section: devel Priority: optional +Rules-Requires-Root: no Maintainer: LLVM Packaging Team Uploaders: Sylvestre Ledru Build-Depends: debhelper (>= 9.0), cmake, chrpath, texinfo, sharutils, diff --git a/debian/rules b/debian/rules index 192d135b..5e684b6d 100755 --- a/debian/rules +++ b/debian/rules @@ -704,7 +704,9 @@ ifeq ($(shell dpkg --compare-versions $(shell dpkg-query -W -f '$${Version}' bin if test ! -f $(CURDIR)/strip; then \ ln -s $(CURDIR)/debian/llvm-$(LLVM_VERSION)/usr/lib/llvm-$(LLVM_VERSION)/bin/llvm-strip $(CURDIR)/strip; \ fi - : # strip segfaults on libFuzzer.a and other libs + : # Debug to list the files + ls -al $(CURDIR)/debian/.debhelper/*/dbgsym-root/usr/lib/debug/.build-id/*/* || true + : # strip segfaults on libFuzzer.a and other libs. Use llvm-strip instead PATH=$(CURDIR)/:$$PATH LD_LIBRARY_PATH=$(DEB_INST)/usr/lib/llvm-$(LLVM_VERSION)/lib/:/usr/lib/*/libfakeroot dh_strip -a -v : # Remove the workaround rm $(CURDIR)/strip