From 32cee92d5613bd7b573ddc45812d79e4e2efe130 Mon Sep 17 00:00:00 2001 From: Takuya ASADA Date: Tue, 19 Mar 2019 09:51:53 +0900 Subject: [PATCH] dist/debian: don't strip ld.so On some environment dh_strip fails at libreloc/ld.so, so it's better to skip too just like libprotobuf.so.15. error message is: dh_strip -Xlibprotobuf.so.15 --dbg-package=scylla-server-dbg strip:debian/scylla-server/opt/scylladb/libreloc/ld.so[.gnu.build.attributes]: corrupt GNU build attribute note: bad description size: Bad value dh_strip: strip --remove-section=.comment --remove-section=.note --strip-unneeded debian/scylla-server/opt/scylladb/libreloc/ld.so returned exit code 1 0 Signed-off-by: Takuya ASADA Message-Id: <20190319005153.26506-1-syuu@scylladb.com> --- dist/debian/rules.mustache | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dist/debian/rules.mustache b/dist/debian/rules.mustache index f6979df02c..4f109c7902 100755 --- a/dist/debian/rules.mustache +++ b/dist/debian/rules.mustache @@ -29,7 +29,7 @@ override_dh_installinit: dh_installinit --no-start --name node-exporter override_dh_strip: - dh_strip -Xlibprotobuf.so.15 --dbg-package={{product}}-server-dbg + dh_strip -Xlibprotobuf.so.15 -Xld.so --dbg-package={{product}}-server-dbg override_dh_makeshlibs: