On Tue, 31 Jan 2017 09:31:28 +0000 Matthias Klose <d...@debian.org> wrote:
> Package: src:galera-3
> Version: 25.3.19-2
> Severity: normal
> Tags: sid buster
> User: debian-...@lists.debian.org
> Usertags: ftbfs-gcc-7
>

Well, building without -Werror works...
Description: Build without Werror to resolve FTBFS with gcc 7. Closes: #853410
Author: Dimitri John Ledkov <x...@ubuntu.com>
Bug-Debian: https://bugs.debian.org/853410

--- galera-3-25.3.20.orig/SConstruct
+++ galera-3-25.3.20/SConstruct
@@ -444,7 +444,7 @@ if ssl == 1:
 
 # these will be used only with our softaware
 if strict_build_flags == 1:
-    conf.env.Append(CCFLAGS = ' -Werror -pedantic')
+    conf.env.Append(CCFLAGS = ' -pedantic')
     if 'clang' not in conf.env['CXX']:
         conf.env.Prepend(CXXFLAGS = '-Weffc++ -Wold-style-cast ')
     else:
--- galera-3-25.3.20.orig/gcache/configure.ac
+++ galera-3-25.3.20/gcache/configure.ac
@@ -80,7 +80,7 @@ AC_CHECK_FUNCS([gettimeofday localtime_r
 AC_CONFIG_FILES([Makefile
                  src/Makefile])
 
-AM_CFLAGS="$AM_CFLAGS -Wall -Werror -Wextra -pedantic -Wno-unused-parameter"
+AM_CFLAGS="$AM_CFLAGS -Wall -Wextra -pedantic -Wno-unused-parameter"
 AM_CXXFLAGS="$AM_CFLAGS -ansi -Weffc++ -Wold-style-cast -Wconversion"
 AM_CXXFLAGS="$AM_CXXFLAGS -fno-rtti -Wno-long-long"
 AM_CFLAGS="$AM_CFLAGS -std=c99"

Reply via email to