Hello community, here is the log from the commit of package xtrabackup for openSUSE:Factory checked in at 2019-03-01 20:28:46 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/xtrabackup (Old) and /work/SRC/openSUSE:Factory/.xtrabackup.new.28833 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "xtrabackup" Fri Mar 1 20:28:46 2019 rev:47 rq:679248 version:2.4.12 Changes: -------- --- /work/SRC/openSUSE:Factory/xtrabackup/xtrabackup.changes 2018-09-14 00:02:44.961891478 +0200 +++ /work/SRC/openSUSE:Factory/.xtrabackup.new.28833/xtrabackup.changes 2019-03-01 20:28:50.550019711 +0100 @@ -1,0 +2,5 @@ +Tue Feb 26 09:16:42 UTC 2019 - Martin Liška <[email protected]> + +- Add gcc9-warning.patch (bsc#1125418). + +------------------------------------------------------------------- New: ---- gcc9-warning.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ xtrabackup.spec ++++++ --- /var/tmp/diff_new_pack.kdPa1S/_old 2019-03-01 20:28:53.082019101 +0100 +++ /var/tmp/diff_new_pack.kdPa1S/_new 2019-03-01 20:28:53.086019100 +0100 @@ -1,7 +1,7 @@ # # spec file for package xtrabackup # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,7 +12,7 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # @@ -31,6 +31,7 @@ Patch3: percona-xtrabackup-2.2.9-nodoc.patch Patch4: percona-xtrabackup-2.3.3-disable-version-check.patch Patch5: percona-xtrabackup-2.3.2-unbundle-jsnm.patch +Patch6: gcc9-warning.patch BuildRequires: autoconf BuildRequires: automake BuildRequires: bison @@ -79,6 +80,7 @@ %patch3 -p1 %patch4 -p1 %patch5 -p1 +%patch6 -p1 %build %cmake \ ++++++ gcc9-warning.patch ++++++ >From b47d098fd6705eb15302dbe136f142a617d30998 Mon Sep 17 00:00:00 2001 From: marxin <[email protected]> Date: Mon, 25 Feb 2019 15:19:04 +0100 Subject: [PATCH] Fix new GCC 9 warning: [ 874s] In function 'void* memcpy(void*, const void*, size_t)', [ 874s] inlined from 'virtual String* Item_func_format::val_str_ascii(String*)' at /home/abuild/rpmbuild/BUILD/percona-xtrabackup-2.4.12/sql/item_strfunc.cc:3214:13: [ 874s] /usr/include/bits/string_fortified.h:34:33: warning: 'void* __builtin_memcpy(void*, const void*, unsigned int)' writing 1 or more bytes into a region of size 0 overflows the destination [-Wstringop-overflow=] [ 874s] 34 | return __builtin___memcpy_chk (__dest, __src, __len, __bos0 (__dest)); It's analyzed here: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89350 --- sql/item_strfunc.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sql/item_strfunc.cc b/sql/item_strfunc.cc index 384b46a34d4..d6630e6aa8d 100644 --- a/sql/item_strfunc.cc +++ b/sql/item_strfunc.cc @@ -3207,7 +3207,7 @@ char *dst= buf + sizeof(buf); /* Put the fractional part */ - if (dec) + if (dec > 0) { dst-= (dec + 1); *dst= lc->decimal_point;
