Control: tag -1 + pending

Dear Hector,

Axel Beckert wrote:
> > > compilation terminated due to -Wfatal-errors.
> > > Makefile:379: recipe for target 'mssh.o' failed
> 
> This can be workarounded by removing the pedantic errors flags from CFLAGS:
> 
> --- a/src/Makefile.am
> +++ b/src/Makefile.am
> @@ -1,4 +1,4 @@
> -AM_CFLAGS = -pedantic-errors -Werror -Wall -Wfatal-errors -Wwrite-strings
> +AM_CFLAGS = -Wall -Wfatal-errors -Wwrite-strings
>  
>  AM_CPPFLAGS = $(MSSH_CFLAGS)
>  
> With this patch, mssh builds fine for me. (Patch inspired by the one
> for 1.2.4 QA upload and hence removes "-Werror", too.)

I've just uploaded an NMU with this fix to DELAYED/2. Full source
debdiff attached. Feel free to tell me if I should fast-forward it or
delay it longer.

                Regards, Axel
-- 
 ,''`.  |  Axel Beckert <a...@debian.org>, http://people.debian.org/~abe/
: :' :  |  Debian Developer, ftp.ch.debian.org Admin
`. `'   |  4096R: 2517 B724 C5F6 CA99 5329  6E61 2FF9 CD59 6126 16B5
  `-    |  1024D: F067 EA27 26B9 C3FC 1486  202E C09E 1D89 9593 0EDE
diff -Nru mssh-2.2/debian/changelog mssh-2.2/debian/changelog
--- mssh-2.2/debian/changelog   2015-06-10 10:35:13.000000000 +0200
+++ mssh-2.2/debian/changelog   2016-09-01 00:11:23.000000000 +0200
@@ -1,3 +1,11 @@
+mssh (2.2-1.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Add patch to disable pedantic errors. Works around FTBFS with GCC 6.
+    (Closes: #811684)
+
+ -- Axel Beckert <a...@debian.org>  Thu, 01 Sep 2016 00:11:23 +0200
+
 mssh (2.2-1) unstable; urgency=low
 
   * New upstream version
diff -Nru mssh-2.2/debian/patches/disable-pedantic-errors.patch 
mssh-2.2/debian/patches/disable-pedantic-errors.patch
--- mssh-2.2/debian/patches/disable-pedantic-errors.patch       1970-01-01 
01:00:00.000000000 +0100
+++ mssh-2.2/debian/patches/disable-pedantic-errors.patch       2016-09-01 
00:02:49.000000000 +0200
@@ -0,0 +1,12 @@
+Description: Disable pedantic errors to fix FTBFS with GCC 6
+Author: Axel Beckert <a...@debian.org>
+Bug-Debian: https://bugs.debian.org/811684
+
+--- a/src/Makefile.am
++++ b/src/Makefile.am
+@@ -1,4 +1,4 @@
+-AM_CFLAGS = -pedantic-errors -Werror -Wall -Wfatal-errors -Wwrite-strings
++AM_CFLAGS = -Werror -Wall -Wfatal-errors -Wwrite-strings
+ 
+ AM_CPPFLAGS = $(MSSH_CFLAGS)
+ 
diff -Nru mssh-2.2/debian/patches/series mssh-2.2/debian/patches/series
--- mssh-2.2/debian/patches/series      2015-06-09 13:21:20.000000000 +0200
+++ mssh-2.2/debian/patches/series      2016-09-01 00:01:04.000000000 +0200
@@ -0,0 +1 @@
+disable-pedantic-errors.patch

Attachment: signature.asc
Description: Digital signature

Reply via email to