From aeccafe79963e0265a72c7391299f0255f0f6294 Mon Sep 17 00:00:00 2001 From: Sylvestre Ledru Date: Wed, 2 Jan 2019 18:07:31 +0100 Subject: [PATCH] Failed with "fakeroot: nested operation not yet supported" Revert "run strip using fakeroot to avoid some issues like: chown: changing ownership of 'debian/.debhelper/clang-8/dbgsym-root/usr/lib/debug/.build-id/98/91e0beba57ee5ec69fd03c519f19351e353875.debug': Operation not permitted" This reverts commit f490b5b1ec424604a7dcbf0d21bc6fbe1cc385ab. --- debian/rules | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/debian/rules b/debian/rules index 1a9345c8..ceb19799 100755 --- a/debian/rules +++ b/debian/rules @@ -703,7 +703,7 @@ ifeq ($(shell dpkg --compare-versions $(shell dpkg-query -W -f '$${Version}' bin 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 - PATH=$(CURDIR)/:$$PATH LD_LIBRARY_PATH=$(DEB_INST)/usr/lib/llvm-$(LLVM_VERSION)/lib/ fakeroot dh_strip -a -v + 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 : # for some reasons, the +x might be removed