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:
parent
b2c37bacf0
commit
1a046b60b1
@ -14,6 +14,10 @@ Sun Sep 5 06:43:47 UTC 2021 - Aleksa Sarai <asarai@suse.com>
|
|||||||
* --minimal option for lxd init
|
* --minimal option for lxd init
|
||||||
* Additional network counters in instance state
|
* Additional network counters in instance state
|
||||||
|
|
||||||
|
- 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.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Aug 20 11:59:37 UTC 2021 - Aleksa Sarai <asarai@suse.com>
|
Fri Aug 20 11:59:37 UTC 2021 - Aleksa Sarai <asarai@suse.com>
|
||||||
|
|
||||||
|
8
lxd.spec
8
lxd.spec
@ -14,8 +14,11 @@
|
|||||||
|
|
||||||
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||||
#
|
#
|
||||||
|
# nodebuginfo
|
||||||
|
|
||||||
|
|
||||||
|
%go_nostrip
|
||||||
|
|
||||||
%define _buildshell /bin/bash
|
%define _buildshell /bin/bash
|
||||||
%define import_path github.com/lxc/lxd
|
%define import_path github.com/lxc/lxd
|
||||||
|
|
||||||
@ -280,11 +283,6 @@ do
|
|||||||
name="$(basename "$(readlink "$lib")" | sed -E 's/\.[0-9]+\.[0-9]+$//')"
|
name="$(basename "$(readlink "$lib")" | sed -E 's/\.[0-9]+\.[0-9]+$//')"
|
||||||
patchelf --replace-needed {,%{_libdir}/%{name}/}"$name" "$target"
|
patchelf --replace-needed {,%{_libdir}/%{name}/}"$name" "$target"
|
||||||
done
|
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
|
done
|
||||||
|
|
||||||
# Generate man pages.
|
# Generate man pages.
|
||||||
|
Loading…
Reference in New Issue
Block a user