Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package lxd for openSUSE:Factory checked in at 2021-09-09 23:07:29 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/lxd (Old) and /work/SRC/openSUSE:Factory/.lxd.new.1899 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "lxd" Thu Sep 9 23:07:29 2021 rev:38 rq:917629 version:4.18 Changes: -------- --- /work/SRC/openSUSE:Factory/lxd/lxd.changes 2021-08-23 10:09:02.216185730 +0200 +++ /work/SRC/openSUSE:Factory/.lxd.new.1899/lxd.changes 2021-09-09 23:07:51.472852802 +0200 @@ -1,0 +2,16 @@ +Sun Sep 5 06:43:47 UTC 2021 - Aleksa Sarai <asa...@suse.com> + +- Update to LXD 4.18. The full upstream changelog is available from: + https://discuss.linuxcontainers.org/t/lxd-4-18-has-been-released/12068/2 + boo#1190323 + + + Network forwards (floating IPs) + + Native BGP support + * NAT address customization with OVN + * lxd cluster edit for cluster disaster recovery + + Refresh support for custom volume copies + + Additional device restrictions for projects + * --minimal option for lxd init + * Additional network counters in instance state + +------------------------------------------------------------------- Old: ---- lxd-4.17.tar.gz lxd-4.17.tar.gz.asc New: ---- lxd-4.18.tar.gz lxd-4.18.tar.gz.asc ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ lxd.spec ++++++ --- /var/tmp/diff_new_pack.C3WubZ/_old 2021-09-09 23:07:52.140853578 +0200 +++ /var/tmp/diff_new_pack.C3WubZ/_new 2021-09-09 23:07:52.144853583 +0200 @@ -14,11 +14,8 @@ # Please submit bugfixes or comments via https://bugs.opensuse.org/ # -# nodebuginfo -%go_nostrip - %define _buildshell /bin/bash %define import_path github.com/lxc/lxd @@ -34,7 +31,7 @@ %endif Name: lxd -Version: 4.17 +Version: 4.18 Release: 0 Summary: Container hypervisor based on LXC License: Apache-2.0 @@ -114,7 +111,7 @@ Summary: Bash Completion for %{name} Group: System/Management Requires: %{name} = %{version} -Supplements: packageand(%{name}:bash-completion) +Supplements: (%{name} and bash-completion) BuildArch: noarch %description bash-completion @@ -123,23 +120,12 @@ %prep %setup -q -# Create fake "go mod"-like import paths. This is going to be really fun to -# maintain but it's unfortunately necessary because openSUSE doesn't have nice -# "go mod" support in OBS... -ln -s . _dist/src/github.com/cpuguy83/go-md2man/v2 - %build # Make sure any leftover go build caches are gone. go clean -cache -# Set up GOPATH. -export GOPATH="$PWD/.gopath" -export PKGDIR="$GOPATH/src/%{import_path}" -mkdir -p "$PKGDIR" -cp -a * "$PKGDIR" - # Set up temporary installation paths. -export INSTALL_ROOT="$PKGDIR/.install" +export INSTALL_ROOT="$PWD/.install" export INSTALL_INCLUDEDIR="$INSTALL_ROOT/%{_includedir}" export INSTALL_LIBDIR="$INSTALL_ROOT/%{_libdir}/%{name}" @@ -155,7 +141,7 @@ export CPPFLAGS="-I$INSTALL_INCLUDEDIR" # raft -pushd "$PKGDIR/_dist/deps/raft" +pushd "vendor/raft" autoreconf -fiv %configure \ --libdir="%{_libdir}/%{name}" \ @@ -165,7 +151,7 @@ popd # dqlite -pushd "$PKGDIR/_dist/deps/dqlite" +pushd "vendor/dqlite" ( autoreconf -fiv %configure \ @@ -183,9 +169,6 @@ awk -F: '$1 == "main" { print $2 }' | \ grep -Ev '^github.com/lxc/lxd/(test|shared)')" -# _dist/src is effectively an old-school "vendor/" tree, so add it to GOPATH. -export GOPATH="$GOPATH:$PKGDIR/_dist" - # Needed because lxd and deps use funky #cgo LDFLAGS that Go blocks by default. export CGO_LDFLAGS_ALLOW="(-Wl,-wrap,pthread_create)|(-Wl,-z,now)" @@ -232,8 +215,8 @@ # This part is quite ugly, so I apologise upfront. # -# We want to have our _dist/deps/* libraries be dylibs so that we don't bloat -# our lxd binary. Unfortunately, we are presented with a few challenges: +# We want to have our vendor/* libraries be dylibs so that we don't bloat our +# lxd binary. Unfortunately, we are presented with a few challenges: # # * Doing this naively (put it in {_libdir}) results in sqlite3 package # conflicts -- and we aren't going to maintain sqlite3 for all of openSUSE @@ -247,7 +230,7 @@ # # So, the only reasonable choice left is to use absolute paths as DT_NEEDED # entries -- which bypasses the need for RUNPATH and allows us to set garbage -# sonames for our _dist/deps/* libraries. Absolute paths for DT_NEEDED is +# sonames for our vendor/* libraries. Absolute paths for DT_NEEDED is # *slightly* undefined behaviour, but glibc has had this behaviour for a very # long time -- and others have considered using it in a similar manner[1]. # @@ -297,6 +280,11 @@ 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. @@ -323,9 +311,7 @@ popd %install -export GOPATH="$PWD/.gopath" -export PKGDIR="$GOPATH/src/%{import_path}" -export INSTALL_LIBDIR="$PKGDIR/.install/%{_libdir}/%{name}" +export INSTALL_LIBDIR="$PWD/.install/%{_libdir}/%{name}" install -d -m 0755 %{buildroot}%{_libdir}/%{name} # We can't use install because *.so.$n are symlinks. ++++++ lxd-4.17.tar.gz -> lxd-4.18.tar.gz ++++++ /work/SRC/openSUSE:Factory/lxd/lxd-4.17.tar.gz /work/SRC/openSUSE:Factory/.lxd.new.1899/lxd-4.18.tar.gz differ: char 12, line 1 ++++++ lxd-rpmlintrc ++++++ --- /var/tmp/diff_new_pack.C3WubZ/_old 2021-09-09 23:07:52.212853661 +0200 +++ /var/tmp/diff_new_pack.C3WubZ/_new 2021-09-09 23:07:52.212853661 +0200 @@ -4,5 +4,5 @@ addFilter ("^lxd.* E: invalid-filepath-dependency .* /usr/lib(32|64)?/lxd/") # We need lxd-agent and lxd-p2c to be statically linked. -addFilter ("^lxd.*: W: statically-linked-binary /usr/bin/lxd-(agent|p2c)") -addFilter ("^lxd.*: W: position-independent-executable-suggested /usr/bin/lxd-(agent|p2c)") +addFilter ("^lxd.*: [EW]: statically-linked-binary /usr/bin/lxd-(agent|p2c)") +addFilter ("^lxd.*: [EW]: position-independent-executable-suggested /usr/bin/lxd-(agent|p2c)")