commit kubevirt for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package kubevirt for openSUSE:Factory checked in at 2021-05-23 00:06:03 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/kubevirt (Old) and /work/SRC/openSUSE:Factory/.kubevirt.new.2988 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "kubevirt" Sun May 23 00:06:03 2021 rev:22 rq:894862 version:0.41.0 Changes: -------- --- /work/SRC/openSUSE:Factory/kubevirt/kubevirt.changes 2021-05-20 19:25:18.321882200 +0200 +++ /work/SRC/openSUSE:Factory/.kubevirt.new.2988/kubevirt.changes 2021-05-23 00:06:04.754641147 +0200 @@ -1,0 +2,17 @@ +Thu May 20 11:34:20 UTC 2021 - Vasily Ulyanov <vasily.ulyanov@suse.com> + +- Use git format-patch: + 0001-Don-t-build-virtctl-for-darwin-and-windows.patch + 0002-Don-t-use-Bazel-in-build-manifests.sh.patch +- Drop patches: + dont-build-virtctl-darwin.patch + dont-use-bazel-in-build-manifests.patch + fix-double-free-of-VirDomain.patch + +------------------------------------------------------------------- +Thu May 20 08:52:49 UTC 2021 - Vasily Ulyanov <vasily.ulyanov@suse.com> + +- Update to version 0.41.0 + Release notes https://github.com/kubevirt/kubevirt/releases/tag/v0.41.0 + +------------------------------------------------------------------- Old: ---- dont-build-virtctl-darwin.patch dont-use-bazel-in-build-manifests.patch fix-double-free-of-VirDomain.patch kubevirt-0.40.0.tar.gz New: ---- 0001-Don-t-build-virtctl-for-darwin-and-windows.patch 0002-Don-t-use-Bazel-in-build-manifests.sh.patch kubevirt-0.41.0.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ kubevirt.spec ++++++ --- /var/tmp/diff_new_pack.9d5gLR/_old 2021-05-23 00:06:05.258638465 +0200 +++ /var/tmp/diff_new_pack.9d5gLR/_new 2021-05-23 00:06:05.262638444 +0200 @@ -17,7 +17,7 @@ Name: kubevirt -Version: 0.40.0 +Version: 0.41.0 Release: 0 Summary: Container native virtualization License: Apache-2.0 @@ -28,9 +28,8 @@ Source2: kubevirt_containers_meta Source3: kubevirt_containers_meta.service Source100: %{name}-rpmlintrc -Patch0: dont-build-virtctl-darwin.patch -Patch1: dont-use-bazel-in-build-manifests.patch -Patch2: fix-double-free-of-VirDomain.patch +Patch0: 0001-Don-t-build-virtctl-for-darwin-and-windows.patch +Patch1: 0002-Don-t-use-Bazel-in-build-manifests.sh.patch BuildRequires: glibc-devel-static BuildRequires: golang-packaging BuildRequires: pkgconfig ++++++ 0001-Don-t-build-virtctl-for-darwin-and-windows.patch ++++++ From f8882298f6a38a61add3af08136e86830cc97796 Mon Sep 17 00:00:00 2001 From: Vasiliy Ulyanov <vulyanov@suse.de> Date: Thu, 20 May 2021 10:42:24 +0200 Subject: [PATCH 1/2] Don't build virtctl for darwin and windows Noticed the following build failure when specifying '-buildmode=pie' in GOFLAGS /usr/lib64/go/1.13/pkg/tool/linux_amd64/link: running gcc failed: exit status 1 /usr/lib64/gcc/x86_64-suse-linux/10/../../../../x86_64-suse-linux/bin/ld: cannot find 1144: No such file or directory The failure was encountered when building virtctl for darwin and windows. Remove the builds for these OSes. Signed-off-by: Vasiliy Ulyanov <vulyanov@suse.de> Signed-off-by: Jim Fehlig <jfehlig@suse.com> --- hack/build-go.sh | 9 --------- 1 file changed, 9 deletions(-) diff --git a/hack/build-go.sh b/hack/build-go.sh index 9e0f3fe22..d46310f36 100755 --- a/hack/build-go.sh +++ b/hack/build-go.sh @@ -125,15 +125,6 @@ for arg in $args; do kubevirt::version::get_version_vars echo "$KUBEVIRT_GIT_VERSION" >${CMD_OUT_DIR}/${BIN_NAME}/.version - - # build virtctl also for darwin and windows on amd64 - if [ "${BIN_NAME}" = "virtctl" -a "${ARCH}" = "amd64" ]; then - GOOS=darwin GOARCH=amd64 go_build -i -o ${CMD_OUT_DIR}/${BIN_NAME}/${ARCH_BASENAME}-darwin-amd64 -ldflags "$(kubevirt::version::ldflags)" $(pkg_dir darwin amd64) - GOOS=windows GOARCH=amd64 go_build -i -o ${CMD_OUT_DIR}/${BIN_NAME}/${ARCH_BASENAME}-windows-amd64.exe -ldflags "$(kubevirt::version::ldflags)" $(pkg_dir windows amd64) - # Create symlinks to the latest binary of each architecture - (cd ${CMD_OUT_DIR}/${BIN_NAME} && ln -sf ${ARCH_BASENAME}-darwin-amd64 ${BIN_NAME}-darwin) - (cd ${CMD_OUT_DIR}/${BIN_NAME} && ln -sf ${ARCH_BASENAME}-windows-amd64.exe ${BIN_NAME}-windows.exe) - fi ) else ( -- 2.31.1 ++++++ 0002-Don-t-use-Bazel-in-build-manifests.sh.patch ++++++ From 1228a2f14f4f3aeab91a43f7a71a74ecf61fb8f9 Mon Sep 17 00:00:00 2001 From: Vasiliy Ulyanov <vulyanov@suse.de> Date: Thu, 20 May 2021 10:48:30 +0200 Subject: [PATCH 2/2] Don't use Bazel in build-manifests.sh This is a partial revert of the commit e410cdd77968dae258e83ccc0171e855b8678063 which switches to using Bazel during manifests build. That in turn does not work well during OBS build since Bazel tends to download dependencies from the web. Signed-off-by: Vasiliy Ulyanov <vulyanov@suse.de> --- hack/build-manifests.sh | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/hack/build-manifests.sh b/hack/build-manifests.sh index c93f19e3f..abfd6fa07 100755 --- a/hack/build-manifests.sh +++ b/hack/build-manifests.sh @@ -33,19 +33,16 @@ kubevirt_logo_path="assets/kubevirt_logo.png" rm -rf ${MANIFESTS_OUT_DIR} rm -rf ${MANIFEST_TEMPLATES_OUT_DIR} -rm -rf "${TESTS_OUT_DIR}/tools" -mkdir -p "${TESTS_OUT_DIR}/tools" -templator=${TESTS_OUT_DIR}/tools/manifest-templator +templator=${KUBEVIRT_DIR}/tools/manifest-templator/manifest-templator -bazel run \ - --config=${HOST_ARCHITECTURE} \ - //:build-manifest-templator -- ${templator} +(cd ${KUBEVIRT_DIR}/tools/manifest-templator/ && go_build) # first process file includes only args=$(cd ${KUBEVIRT_DIR}/manifests && find . -type f -name "*.yaml.in" -not -path "./generated/*") for arg in $args; do infile=${KUBEVIRT_DIR}/manifests/${arg} outfile=${KUBEVIRT_DIR}/manifests/${arg}.tmp + ${templator} \ --process-files \ --generated-manifests-dir=${KUBEVIRT_DIR}/manifests/generated/ \ -- 2.31.1 ++++++ _service ++++++ --- /var/tmp/diff_new_pack.9d5gLR/_old 2021-05-23 00:06:05.314638167 +0200 +++ /var/tmp/diff_new_pack.9d5gLR/_new 2021-05-23 00:06:05.318638145 +0200 @@ -1,7 +1,7 @@ <services> <service name="tar_scm" mode="disabled"> <param name="filename">kubevirt</param> - <param name="revision">v0.40.0</param> + <param name="revision">v0.41.0</param> <param name="scm">git</param> <param name="submodules">disable</param> <param name="url">https://github.com/kubevirt/kubevirt</param> ++++++ kubevirt-0.40.0.tar.gz -> kubevirt-0.41.0.tar.gz ++++++ /work/SRC/openSUSE:Factory/kubevirt/kubevirt-0.40.0.tar.gz /work/SRC/openSUSE:Factory/.kubevirt.new.2988/kubevirt-0.41.0.tar.gz differ: char 12, line 1
participants (1)
-
Source-Sync