From f7692764ea7cbd28cfa942fa432b2a440bb163b553228bbc0b749a9a9b3efd75 Mon Sep 17 00:00:00 2001 From: Aleksa Sarai Date: Tue, 24 Sep 2019 13:52:57 +0000 Subject: [PATCH] Accepting request 732956 from home:cyphar:lxc - Completely drop all stripping -- it appears to cause all sorts of problems with unresolved symbol errors. OBS-URL: https://build.opensuse.org/request/show/732956 OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/lxd?expand=0&rev=24 --- lxd.changes | 2 ++ lxd.spec | 4 ---- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/lxd.changes b/lxd.changes index e4a99e0..3da0d6b 100644 --- a/lxd.changes +++ b/lxd.changes @@ -1,6 +1,8 @@ ------------------------------------------------------------------- Tue Sep 24 12:31:21 UTC 2019 - Aleksa Sarai +- Completely drop all stripping -- it appears to cause all sorts of problems + with unresolved symbol errors. - Update to LXD 3.17. The full upstream changelog is available from: https://discuss.linuxcontainers.org/t/lxd-3-17-has-been-released/5679 + Storage pool backed image tarballs and backups diff --git a/lxd.spec b/lxd.spec index e6a27e6..b1eb187 100644 --- a/lxd.spec +++ b/lxd.spec @@ -243,8 +243,6 @@ for target in bin/lxd $PKGDIR/.install/%{_libdir}/%{name}/lib*.so do # Drop RPATH in case it got included during builds. patchelf --remove-rpath "$target" - # Strip binaries manually. - strip --strip-debug "$target" # And now replace all the possible DT_NEEDEDs to absolute paths. for lib in $PKGDIR/.install/%{_libdir}/%{name}/lib*.so do @@ -261,8 +259,6 @@ mkdir man pushd bin/ for bin in * do - # Strip binaries manually. - strip --strip-debug "$target" # Ensure that all our binaries are dynamic. boo#1138769 file "$bin" | grep 'dynamically linked' done