[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[Pkg-octave-devel] Bug#727045: marked as done (Dynare: FTBFS, automake warnings treated as errors.)



Your message dated Tue, 22 Oct 2013 13:03:33 +0000
with message-id <E1VYbcT-0002o9-BB@franck.debian.org>
and subject line Bug#727045: fixed in dynare 4.3.3-5
has caused the Debian Bug report #727045,
regarding Dynare: FTBFS, automake warnings treated as errors.
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
727045: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=727045
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: dynare
Version: 4.3.3-4
Severity: serious
Tags: patch

While working on raspbian I discovered that dynare failed to build because it was treating warnings as errors.

http://buildd.raspbian.org/status/fetch.php?pkg=dynare&arch=armhf&ver=4.3.3-4&stamp=1382380126

I was able to reproduce this in debian sid so it's not raspbian specific.

A patch that "fixes" this by removing the -werror in all configure,ac files (removing it from just the top level one proved insufficient) is attatched but ideally someone should look at the root cause.


diff -Nru dynare-4.3.3/debian/changelog dynare-4.3.3/debian/changelog
--- dynare-4.3.3/debian/changelog	2013-05-30 10:25:19.000000000 +0000
+++ dynare-4.3.3/debian/changelog	2013-10-21 18:58:59.000000000 +0000
@@ -1,3 +1,9 @@
+dynare (4.3.3-4+rpi1) jessie-staging; urgency=low
+
+  * Remove -Werror from automake.
+
+ -- Peter Michael Green <plugwash@raspbian.org>  Mon, 21 Oct 2013 18:58:46 +0000
+
 dynare (4.3.3-4) unstable; urgency=low
 
   * gcc-4.8.patch: new patch, fixes compatibility with GCC 4.8 (Closes: #701270)
diff -Nru dynare-4.3.3/debian/patches/no-automake-werror dynare-4.3.3/debian/patches/no-automake-werror
--- dynare-4.3.3/debian/patches/no-automake-werror	1970-01-01 00:00:00.000000000 +0000
+++ dynare-4.3.3/debian/patches/no-automake-werror	2013-10-21 19:06:20.000000000 +0000
@@ -0,0 +1,44 @@
+Description: Remove -Werror from automake.
+  The new version of automake has new warnings which make this package fail to
+  build, remove -Werror so thhat the package builds again.
+Author: Peter Michael Green <plugwash@raspbian.org>
+
+Index: dynare-4.3.3/configure.ac
+===================================================================
+--- dynare-4.3.3.orig/configure.ac	2013-10-21 18:59:21.000000000 +0000
++++ dynare-4.3.3/configure.ac	2013-10-21 18:59:21.000000000 +0000
+@@ -20,7 +20,7 @@
+ AC_PREREQ([2.62])
+ AC_INIT([dynare], [4.3.3])
+ AC_CONFIG_SRCDIR([preprocessor/DynareMain.cc])
+-AM_INIT_AUTOMAKE([1.11 -Wall -Wno-portability -Werror foreign no-dist-gzip dist-xz tar-pax])
++AM_INIT_AUTOMAKE([1.11 -Wall -Wno-portability foreign no-dist-gzip dist-xz tar-pax])
+ 
+ AC_PROG_CC
+ AC_PROG_CXX
+Index: dynare-4.3.3/mex/build/matlab/configure.ac
+===================================================================
+--- dynare-4.3.3.orig/mex/build/matlab/configure.ac	2013-04-12 10:25:59.000000000 +0000
++++ dynare-4.3.3/mex/build/matlab/configure.ac	2013-10-21 19:05:53.000000000 +0000
+@@ -20,7 +20,7 @@
+ AC_PREREQ([2.61])
+ AC_INIT([dynare], [4.3.3])
+ AC_CONFIG_SRCDIR([configure.ac])
+-AM_INIT_AUTOMAKE([-Wall -Wno-portability -Werror foreign])
++AM_INIT_AUTOMAKE([-Wall -Wno-portability foreign])
+ 
+ dnl The following must occur before we modify CFLAGS/CXXFLAGS
+ AC_CANONICAL_HOST
+Index: dynare-4.3.3/mex/build/octave/configure.ac
+===================================================================
+--- dynare-4.3.3.orig/mex/build/octave/configure.ac	2013-04-12 10:25:50.000000000 +0000
++++ dynare-4.3.3/mex/build/octave/configure.ac	2013-10-21 19:06:17.000000000 +0000
+@@ -20,7 +20,7 @@
+ AC_PREREQ([2.61])
+ AC_INIT([dynare], [4.3.3])
+ AC_CONFIG_SRCDIR([configure.ac])
+-AM_INIT_AUTOMAKE([-Wall -Wno-portability -Werror foreign])
++AM_INIT_AUTOMAKE([-Wall -Wno-portability foreign])
+ 
+ AC_CHECK_PROG([MKOCTFILE], [mkoctfile], [mkoctfile])
+ 
diff -Nru dynare-4.3.3/debian/patches/series dynare-4.3.3/debian/patches/series
--- dynare-4.3.3/debian/patches/series	2013-05-30 10:10:48.000000000 +0000
+++ dynare-4.3.3/debian/patches/series	2013-10-21 18:59:21.000000000 +0000
@@ -2,3 +2,4 @@
 fhs-compliance.patch
 texlive-2013.patch
 gcc-4.8.patch
+no-automake-werror

--- End Message ---
--- Begin Message ---
Source: dynare
Source-Version: 4.3.3-5

We believe that the bug you reported is fixed in the latest version of
dynare, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 727045@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Sébastien Villemot <sebastien@debian.org> (supplier of updated dynare package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Tue, 22 Oct 2013 12:34:58 +0000
Source: dynare
Binary: dynare dynare-common dynare-doc dynare-matlab
Architecture: source amd64 all
Version: 4.3.3-5
Distribution: unstable
Urgency: low
Maintainer: Debian Octave Group <pkg-octave-devel@lists.alioth.debian.org>
Changed-By: Sébastien Villemot <sebastien@debian.org>
Description: 
 dynare     - platform for handling a wide class of economic models
 dynare-common - platform for handling a wide class of economic models (common fil
 dynare-doc - documentation for Dynare
 dynare-matlab - MATLAB support for Dynare
Closes: 727045
Changes: 
 dynare (4.3.3-5) unstable; urgency=low
 .
   [ Peter Michael Green ]
   * no-automake-werror.patch: new patch, removes -Werror from automake.
     (Closes: #727045)
Checksums-Sha1: 
 45e98706a5e21fe00ea96f3f1623517aac5a9fd0 2346 dynare_4.3.3-5.dsc
 b9a2966054d2441dc388aed37d881b69c8aaeef7 17217 dynare_4.3.3-5.debian.tar.gz
 dcb62250ccd904fc70b43b402523249f711a9cad 1351662 dynare_4.3.3-5_amd64.deb
 4e6d9f7dec42cd03a8389dbeac8361ea0d93f2f1 524306 dynare-common_4.3.3-5_all.deb
 e813a28b9a6f6828181a0adac19d3349059fba88 7584408 dynare-doc_4.3.3-5_all.deb
 44a7a191dcd7c7095fb20b28ff7fe52a6ba0bdf3 756884 dynare-matlab_4.3.3-5_all.deb
Checksums-Sha256: 
 1d1caeab679cb5d9a37241153230f7df18ee80b9decb10298935b9b10796817b 2346 dynare_4.3.3-5.dsc
 4780dce2ef5e398cc9169a50f8f2f8d978d287038192928b469ea41888fdd039 17217 dynare_4.3.3-5.debian.tar.gz
 c8901c17830cd07ec730e51fee3c64c6ab0a4596f573c43f7b234a25b8747f41 1351662 dynare_4.3.3-5_amd64.deb
 34a2fad7db7ee788d4d4dbc1582ff461dc551e36040db51c896cb0772c85c7a1 524306 dynare-common_4.3.3-5_all.deb
 ca5d73baba09c287b21159a9634053919584f4f35a91ae93b7a7f187435e833f 7584408 dynare-doc_4.3.3-5_all.deb
 a692e459c00bf7096573d13858ae714f64d5620ddaccccf1bf62d4672d931943 756884 dynare-matlab_4.3.3-5_all.deb
Files: 
 6e59bc6764b2d9fc53484f5930f270ae 2346 math optional dynare_4.3.3-5.dsc
 082a17f513fad63993bc6c3ae12de718 17217 math optional dynare_4.3.3-5.debian.tar.gz
 60adb62d678407d64e40d29c4ec393c3 1351662 math optional dynare_4.3.3-5_amd64.deb
 25823d50fd0a8bbdd0c3fc04f95b9e85 524306 math optional dynare-common_4.3.3-5_all.deb
 0c7f4d7ac61d63e46653a5aa832564c8 7584408 doc optional dynare-doc_4.3.3-5_all.deb
 adf0b7b1c412f0bbab97023a8b0bedb4 756884 contrib/math optional dynare-matlab_4.3.3-5_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.15 (GNU/Linux)

iQIcBAEBCAAGBQJSZnVgAAoJECzs6TUOzr5KiiEP/356k2mI73dmXgNlj/bl4g6z
FuEBw2AVS9FtSqRNzslLZMVaUBbLrK/rz8NDe3JeeM1NgmhFZR4XMgkrbcOrOEWJ
GwD9YDmYUfPpmM2YlTTdOZCKdduJu5GRdjdYB3JYC74ONEOrlZBrK+mYxvYmKAxw
X09fHqCUbY9T1H0BLMdUU7vO3dWAKfcvX0iB43GYgAAnlPr2asJTSwmcNHQfZ8dr
lCq218SfFpj9ysS/zR8MVZR/8uU0Kc2pfnCcZjnF7/VEARfQYHwhjAhB82ft8KOp
X3CFqExitEJ/uucbluUDOEWXEMXF0MxZNk+gsJwgrpAOJzYki5Ux+N/cdzsbHhl4
XN80Nd2A6BeQvpyAI0uoCzvD4P4Tbeob9t7RteOzZtkRn8fv0Dd1JPCXPodledaR
tifSSyNv+dW9q2KNq4+86WXEHE1/qdzkFRyTybce+ZOKp1jHX47G7vXPihepvxso
3PRJxORqrkefl+xLP7l6PXHAvoRWhJqM41nLN1IKApkhG7FfVYsyjwZlQm1Kv7+J
KIvpO7WIfgdSn/eTWnww0OnlGiSg4KUEHqFkADh961/ijCVkwWWZ/j5pbUqhPgYX
Rwh46v9lzo4a9SrM0rKSZoGevRDVIufCMAdOPjgjUw+aUuzpqs/iUAEXUtgx3bxb
zkNBz8PYraF2fZJ/yJnx
=0TLT
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: