Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package flux for openSUSE:Factory checked in at 2022-10-21 16:19:51 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/flux (Old) and /work/SRC/openSUSE:Factory/.flux.new.2275 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "flux" Fri Oct 21 16:19:51 2022 rev:2 rq:1030285 version:0.171.0 Changes: -------- --- /work/SRC/openSUSE:Factory/flux/flux.changes 2022-07-13 13:44:57.265994884 +0200 +++ /work/SRC/openSUSE:Factory/.flux.new.2275/flux.changes 2022-10-21 16:20:00.850225379 +0200 @@ -1,0 +2,12 @@ +Wed Oct 19 13:39:14 UTC 2022 - Matwey Kornilov <matwey.kornilov@gmail.com> + +- Add 0001-fix-compile-error-with-Rust-1.64-5273.patch: + Fix build for rust1.64 + +------------------------------------------------------------------- +Tue Oct 4 15:21:40 UTC 2022 - Matwey Kornilov <matwey.kornilov@gmail.com> + +- Update to version 0.171.0, see: + https://github.com/influxdata/flux/releases/ + +------------------------------------------------------------------- Old: ---- flux-0.161.0.tar.xz New: ---- 0001-fix-compile-error-with-Rust-1.64-5273.patch flux-0.171.0.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ flux.spec ++++++ --- /var/tmp/diff_new_pack.yURKXY/_old 2022-10-21 16:20:01.674226923 +0200 +++ /var/tmp/diff_new_pack.yURKXY/_new 2022-10-21 16:20:01.674226923 +0200 @@ -21,7 +21,7 @@ %define libflux_suffix %(echo %{version} | tr . _) Name: flux -Version: 0.161.0 +Version: 0.171.0 Release: 0 Summary: Influx data language License: MIT @@ -30,6 +30,7 @@ Source1: vendor.tar.xz Source2: cargo_config Patch1: disable-static-library.patch +Patch2: 0001-fix-compile-error-with-Rust-1.64-5273.patch BuildRequires: cargo BuildRequires: rust >= 1.45 BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -65,6 +66,7 @@ install -D %{SOURCE2} .cargo/config patch -p2 < %{PATCH1} +patch -p2 < %{PATCH2} patch -p2 <<EOF --- a/libflux/flux/build.rs +++ b/libflux/flux/build.rs ++++++ 0001-fix-compile-error-with-Rust-1.64-5273.patch ++++++ From 1ab653ce4b5e10ecd7867498074206c348d15900 Mon Sep 17 00:00:00 2001 From: Yureka <yuka@yuka.dev> Date: Wed, 12 Oct 2022 17:15:59 +0200 Subject: [PATCH] fix: compile error with Rust 1.64 (#5273) As of rustc 1.64, Box::from_raw is #[must_use]. --- libflux/flux/src/cffi.rs | 2 +- libflux/go/libflux/buildinfo.gen.go | Bin 98986 -> 98986 bytes 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/libflux/flux/src/cffi.rs b/libflux/flux/src/cffi.rs index f3865b8..37e8d3b 100644 --- a/libflux/flux/src/cffi.rs +++ b/libflux/flux/src/cffi.rs @@ -97,7 +97,7 @@ pub extern "C" fn flux_free_error(_err: Option<Box<ErrorHandle>>) {} /// function is called twice on the same raw pointer. #[no_mangle] pub unsafe extern "C" fn flux_free_bytes(cstr: *mut c_char) { - Box::from_raw(cstr); + drop(Box::from_raw(cstr)); } /// A buffer of flux source. -- 2.37.3 ++++++ _service ++++++ --- /var/tmp/diff_new_pack.yURKXY/_old 2022-10-21 16:20:01.722227013 +0200 +++ /var/tmp/diff_new_pack.yURKXY/_new 2022-10-21 16:20:01.726227021 +0200 @@ -2,7 +2,7 @@ <service name="tar_scm" mode="disabled"> <param name="url">https://github.com/influxdata/flux.git</param> <param name="scm">git</param> - <param name="revision">v0.161.0</param> + <param name="revision">v0.171.0</param> <param name="versionformat">@PARENT_TAG@</param> <param name="changesgenerate">disable</param> <param name="versionrewrite-pattern">v(.*)</param> ++++++ flux-0.161.0.tar.xz -> flux-0.171.0.tar.xz ++++++ ++++ 755308 lines of diff (skipped) ++++++ vendor.tar.xz ++++++ /work/SRC/openSUSE:Factory/flux/vendor.tar.xz /work/SRC/openSUSE:Factory/.flux.new.2275/vendor.tar.xz differ: char 27, line 1