From 70756a30d6d9a01ac6dae629a4ed62c3aa21a4c5 Mon Sep 17 00:00:00 2001 From: Sylvestre Ledru Date: Wed, 2 Jan 2019 14:03:55 +0100 Subject: [PATCH 1/3] Remove dbgsym packages from debci because of bug #917528 --- debian/changelog | 1 + debian/tests/control | 5 ++++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/debian/changelog b/debian/changelog index ee2c04c3..26324d30 100644 --- a/debian/changelog +++ b/debian/changelog @@ -2,6 +2,7 @@ llvm-toolchain-7 (1:7.0.1-4) unstable; urgency=medium * On old Debian/Ubuntu, run dh_strip using fakeroot to mitigate a permission issue + * Remove dbgsym packages from debci because of bug #917528 [ Gianfranco Costamagna ] * Ignore a test result on i386, due to upstream bug 26580#c18 diff --git a/debian/tests/control b/debian/tests/control index ea23262d..5f3e102b 100644 --- a/debian/tests/control +++ b/debian/tests/control @@ -1,3 +1,6 @@ Test-Command: bash -v ./debian/qualify-clang.sh -Depends: @, cmake, g++, file, dpkg-dev, clang-7-dbgsym, libclang1-7-dbgsym +Depends: @, cmake, g++, file, dpkg-dev +# Comment the dbgsym package because of bug #917528 +# dbgsym packages not being available in testing +# clang-7-dbgsym, libclang1-7-dbgsym Restrictions: allow-stderr From aeccafe79963e0265a72c7391299f0255f0f6294 Mon Sep 17 00:00:00 2001 From: Sylvestre Ledru Date: Wed, 2 Jan 2019 18:07:31 +0100 Subject: [PATCH 2/3] 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 From dc580b259151d84ed566c8c59b6f8bd7c6cd26fd Mon Sep 17 00:00:00 2001 From: Gianfranco Costamagna Date: Thu, 3 Jan 2019 08:23:53 +0100 Subject: [PATCH 3/3] Add missing changelog entry --- debian/changelog | 2 ++ 1 file changed, 2 insertions(+) diff --git a/debian/changelog b/debian/changelog index 26324d30..1d81cc54 100644 --- a/debian/changelog +++ b/debian/changelog @@ -7,6 +7,8 @@ llvm-toolchain-7 (1:7.0.1-4) unstable; urgency=medium [ Gianfranco Costamagna ] * Ignore a test result on i386, due to upstream bug 26580#c18 + -- Gianfranco Costamagna Thu, 03 Jan 2019 08:23:43 +0100 + llvm-toolchain-7 (1:7.0.1-3) unstable; urgency=medium * Also install clang-7-dbgsym libclang1-7-dbgsym in autopkgtest