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 f490b5b1ec.
This commit is contained in:
Sylvestre Ledru 2019-01-02 18:07:31 +01:00
parent 70756a30d6
commit aeccafe799

2
debian/rules vendored
View File

@ -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