Control: tag -1 + confirmed patch

On Sun, 06 Oct 2013 21:39:00 +0200, David Suárez wrote:

> Source: gummi
> Version: 0.6.5-1
> Severity: serious
> Tags: jessie sid
> User: debian...@lists.debian.org
> Usertags: qa-ftbfs-20131006 qa-ftbfs
> Justification: FTBFS on amd64
> 
> > src/Makefile.am:11: warning: source file 'compile/texlive.c' is in a 
> > subdirectory,
> > src/Makefile.am:11: but option 'subdir-objects' is disabled
> > automake: warning: possible forward-incompatibility.
> > automake: At least a source file is in a subdirectory, but the 
> > 'subdir-objects'
> > automake: automake option hasn't been enabled.  For now, the corresponding 
> > output
> > automake: object file(s) will be placed in the top-level directory.  
> > However,
> > automake: this behaviour will change in future Automake versions: they will
> > automake: unconditionally cause object files to be placed in the same 
> > subdirectory
> > automake: of the corresponding sources.
> > automake: You are advised to start using 'subdir-objects' option throughout 
> > your
> > automake: project, to avoid future incompatibilities.

Find attached a patch that seems to fix this issue.
(Maybe there are other options as well?)

Cheers,
gregor

-- 
 .''`.  Homepage: http://info.comodo.priv.at/ - OpenPGP key 0xBB3A68018649AA06
 : :' : Debian GNU/Linux user, admin, and developer  -  http://www.debian.org/
 `. `'  Member of VIBE!AT & SPI, fellow of the Free Software Foundation Europe
   `-   NP: Texas Alexander: Levee camp moan
diff -Nru gummi-0.6.5/debian/changelog gummi-0.6.5/debian/changelog
--- gummi-0.6.5/debian/changelog        2013-05-11 09:05:05.000000000 +0200
+++ gummi-0.6.5/debian/changelog        2013-10-26 18:50:35.000000000 +0200
@@ -1,3 +1,13 @@
+gummi (0.6.5-1.1) UNRELEASED; urgency=low
+
+  * Non-maintainer upload.
+  * Fix "FTBFS: automake errors":
+    add patch automake-subdirs.patch:
+    pass subdir-objects to AM_INIT_AUTOMAKE.
+    (Closes: #725534)
+
+ -- gregor herrmann <gre...@debian.org>  Sat, 26 Oct 2013 18:38:28 +0200
+
 gummi (0.6.5-1) unstable; urgency=low
 
   * New upstream release.
diff -Nru gummi-0.6.5/debian/patches/automake-subdirs.patch 
gummi-0.6.5/debian/patches/automake-subdirs.patch
--- gummi-0.6.5/debian/patches/automake-subdirs.patch   1970-01-01 
01:00:00.000000000 +0100
+++ gummi-0.6.5/debian/patches/automake-subdirs.patch   2013-10-26 
18:49:49.000000000 +0200
@@ -0,0 +1,19 @@
+Description: automake1.14 warns about 'subdir-objects' not set
+ together with -Werror this leads to a build failure
+Origin: vendor
+Bug: http://bugs.debian.org/725534
+Forwarded: no
+Author: gregor herrmann <gre...@debian.org>
+Last-Update: 2013-10-26
+
+--- a/configure.ac
++++ b/configure.ac
+@@ -3,7 +3,7 @@
+ 
+ AC_PREREQ(2.65)
+ AC_INIT([Gummi], [0.6.5], [alexvander...@gmail.com], [gummi], 
[http://gummi.midnightcoding.org/])
+-AM_INIT_AUTOMAKE([foreign -Wall -Werror])
++AM_INIT_AUTOMAKE([foreign -Wall -Werror subdir-objects])
+ 
+ GETTEXT_PACKAGE=gummi
+ AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE,"$GETTEXT_PACKAGE", [The gettext domain])
diff -Nru gummi-0.6.5/debian/patches/series gummi-0.6.5/debian/patches/series
--- gummi-0.6.5/debian/patches/series   2013-05-10 19:23:30.000000000 +0200
+++ gummi-0.6.5/debian/patches/series   2013-10-26 18:44:52.000000000 +0200
@@ -1 +1,2 @@
 libgthread-2.0_link.patch
+automake-subdirs.patch

Attachment: signature.asc
Description: Digital signature

Reply via email to