Accepting request 918520 from home:cyphar:lxc
- Disable stripping of binaries, which seems to be causing issues at runtime due to some ld.so assertion failing. In particular it seems that libdqlite is getting corrupted somehow. OBS-URL: https://build.opensuse.org/request/show/918520 OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/lxd?expand=0&rev=102
This commit is contained in:
8
lxd.spec
8
lxd.spec
@@ -14,8 +14,11 @@
|
||||
|
||||
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||
#
|
||||
# nodebuginfo
|
||||
|
||||
|
||||
%go_nostrip
|
||||
|
||||
%define _buildshell /bin/bash
|
||||
%define import_path github.com/lxc/lxd
|
||||
|
||||
@@ -280,11 +283,6 @@ do
|
||||
name="$(basename "$(readlink "$lib")" | sed -E 's/\.[0-9]+\.[0-9]+$//')"
|
||||
patchelf --replace-needed {,%{_libdir}/%{name}/}"$name" "$target"
|
||||
done
|
||||
|
||||
# TODO: For some reason, BRP isn't auto-stripping our binaries even though
|
||||
# we've dropped go_nostrip. So just strip them manually until I can figure
|
||||
# out why that's happening.
|
||||
strip "$target"
|
||||
done
|
||||
|
||||
# Generate man pages.
|
||||
|
Reference in New Issue
Block a user