Debian Bug report logs -
#504949
FTBFS with GCC 4.4: missing #include
Reported by: Martin Michlmayr <tbm@cyrius.com>
Date: Sat, 8 Nov 2008 06:51:01 UTC
Severity: normal
Tags: fixed-upstream, patch
Found in versions synfig/0.61.08-3, synfig/0.61.09-2
Fixed in version synfig/0.61.09-3
Done: Scott Kitterman <scott@kitterman.com>
Bug is archived. No further changes may be made.
Toggle useless messages
Report forwarded
to debian-bugs-dist@lists.debian.org, Debian Synfig Maintainers <pkg-synfig-devel@lists.alioth.debian.org>:
Bug#504949; Package synfig.
(Sat, 08 Nov 2008 06:51:03 GMT) (full text, mbox, link).
Acknowledgement sent
to Martin Michlmayr <tbm@cyrius.com>:
New Bug report received and forwarded. Copy sent to Debian Synfig Maintainers <pkg-synfig-devel@lists.alioth.debian.org>.
(Sat, 08 Nov 2008 06:51:08 GMT) (full text, mbox, link).
Message #5 received at submit@bugs.debian.org (full text, mbox, reply):
Package: synfig
Version: 0.61.08-3
User: debian-gcc@lists.debian.org
Usertags: ftbfs-gcc-4.4
Tags: patch
Your package fails to build with the upcoming GCC 4.4. Version 4.4
has not been released yet but I'm building with a snapshot in order
to find errors and give people an advance warning.
GCC 4.4 cleaned up some more C++ headers. You always have to #include
headers directly and cannot rely for things to be included indirectly.
You can reproduce this problem with gcc-snapshot from unstable.
> Automatic build of synfig_0.61.08-3 on em64t by sbuild/amd64 0.53
...
> x86_64-linux-gnu-g++ -DHAVE_CONFIG_H -I../.. -I../../src -I../../libltdl -I/usr/include/libxml++-2.6 -I/usr/lib/libxml++-2.6/include -I/usr/include/libxml2 -I/usr/include/glibmm-2.4 -I/usr/lib/glibmm-2.4/include -I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include -DSYNFIG_NO_DEPRECATED -DLOCALEDIR=\"/usr/share/locale\" -DLIBDIR=\"/usr/lib\" -DSYSCONFDIR=\"/etc/synfig\" -DNDEBUG -g -O2 -W -Wall -MT libsynfig_la-time.lo -MD -MP -MF .deps/libsynfig_la-time.Tpo -c time.cpp -fPIC -DPIC -o .libs/libsynfig_la-time.o
> time.cpp: In constructor 'synfig::Time::Time(const synfig::String&, float)':
> time.cpp:105: error: 'sscanf' was not declared in this scope
> make[4]: *** [libsynfig_la-time.lo] Error 1
> make[4]: Leaving directory `/build/tbm/synfig-0.61.08/src/synfig'
--- src/synfig/time.cpp~ 2008-11-08 06:35:14.000000000 +0000
+++ src/synfig/time.cpp 2008-11-08 06:35:26.000000000 +0000
@@ -35,6 +35,7 @@
#include <ETL/misc>
#include "general.h"
#include <cmath>
+#include <cstdio>
#include <cassert>
#include <algorithm>
#include <ctype.h>
--
Martin Michlmayr
http://www.cyrius.com/
Tags added: fixed-upstream
Request was from Paul Wise <pabs@debian.org>
to control@bugs.debian.org.
(Sat, 08 Nov 2008 06:57:08 GMT) (full text, mbox, link).
Bug marked as found in version 0.61.09-2.
Request was from Martin Michlmayr <tbm@cyrius.com>
to control@bugs.debian.org.
(Wed, 29 Apr 2009 17:57:09 GMT) (full text, mbox, link).
Information forwarded
to debian-bugs-dist@lists.debian.org, Debian Synfig Maintainers <pkg-synfig-devel@lists.alioth.debian.org>:
Bug#504949; Package synfig.
(Mon, 04 May 2009 05:42:05 GMT) (full text, mbox, link).
Acknowledgement sent
to fabrice <fabricesp@ubuntu.com>:
Extra info received and forwarded to list. Copy sent to Debian Synfig Maintainers <pkg-synfig-devel@lists.alioth.debian.org>.
(Mon, 04 May 2009 05:42:05 GMT) (full text, mbox, link).
Message #14 received at 504949@bugs.debian.org (full text, mbox, reply):
Hi,
In the next release of Ubuntu (Karmic), we will be using gcc 4.4 as
default compiler. Actually, this package fail to build, because of
missing this patch.
What is you're plan to integrate it?
If there is no plan to update the package, we will integrate this patch
in Ubuntu.
Thanks,
Fabrice
Reply sent
to Scott Kitterman <scott@kitterman.com>:
You have taken responsibility.
(Sun, 06 Sep 2009 18:37:10 GMT) (full text, mbox, link).
Notification sent
to Martin Michlmayr <tbm@cyrius.com>:
Bug acknowledged by developer.
(Sun, 06 Sep 2009 18:37:10 GMT) (full text, mbox, link).
Message #19 received at 504949-close@bugs.debian.org (full text, mbox, reply):
Source: synfig
Source-Version: 0.61.09-3
We believe that the bug you reported is fixed in the latest version of
synfig, which is due to be installed in the Debian FTP archive:
libsynfig-dev_0.61.09-3_i386.deb
to pool/main/s/synfig/libsynfig-dev_0.61.09-3_i386.deb
libsynfig0_0.61.09-3_i386.deb
to pool/main/s/synfig/libsynfig0_0.61.09-3_i386.deb
synfig-dbg_0.61.09-3_i386.deb
to pool/main/s/synfig/synfig-dbg_0.61.09-3_i386.deb
synfig-examples_0.61.09-3_all.deb
to pool/main/s/synfig/synfig-examples_0.61.09-3_all.deb
synfig_0.61.09-3.diff.gz
to pool/main/s/synfig/synfig_0.61.09-3.diff.gz
synfig_0.61.09-3.dsc
to pool/main/s/synfig/synfig_0.61.09-3.dsc
synfig_0.61.09-3_i386.deb
to pool/main/s/synfig/synfig_0.61.09-3_i386.deb
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 504949@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Scott Kitterman <scott@kitterman.com> (supplier of updated synfig 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@debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Format: 1.8
Date: Sun, 06 Sep 2009 11:50:36 -0400
Source: synfig
Binary: synfig libsynfig0 libsynfig-dev synfig-dbg synfig-examples
Architecture: source all i386
Version: 0.61.09-3
Distribution: unstable
Urgency: low
Maintainer: Debian QA Group <packages@qa.debian.org>
Changed-By: Scott Kitterman <scott@kitterman.com>
Description:
libsynfig-dev - synfig library development files
libsynfig0 - render library and plugins for synfig 2D animation
synfig - vector-based 2D animation renderer
synfig-dbg - synfig debugging symbols
synfig-examples - synfig animation examples
Closes: 504949
Changes:
synfig (0.61.09-3) unstable; urgency=low
.
* QA upload.
* Change maintainer to Debian QA Group and remove all uploaders, see #538964
* Add #include <cstdio> to src/synfig/time.cpp to fix FTBFS with gcc 4.4
(Closes: #504949)
Checksums-Sha1:
857ad1018c11334b4391c27bd3de743cd1d31c00 1481 synfig_0.61.09-3.dsc
cc5b1e6fb052af2659e75d84d278f54a4462a4af 6859 synfig_0.61.09-3.diff.gz
06cc79a2528d5bd04d8664f9f8c92547cc007292 1201956 synfig-examples_0.61.09-3_all.deb
5db98f70b627affb6436e45ad1c6e80f8a766ad5 53946 synfig_0.61.09-3_i386.deb
179b2e9b79b9699d83d202efc0ef6e8bbb91c6a0 1433180 libsynfig0_0.61.09-3_i386.deb
8b5b493d9db3b105d6c8f25ac906093a9b4cc6ba 76148 libsynfig-dev_0.61.09-3_i386.deb
641acc89a6c65f3f8063183e190e650e5f9ef9e3 7709526 synfig-dbg_0.61.09-3_i386.deb
Checksums-Sha256:
3203556e283b165c60f59d7c1ba648d9ef7e5c748f1e4025e307df23c878145d 1481 synfig_0.61.09-3.dsc
02ae615b5e1e4d8cee9a2954b984d285b693a5fd495520e9db252407c8272a68 6859 synfig_0.61.09-3.diff.gz
e76f0923bef205a373aea23b0cc0f3f78edd1fa113a9162d77f6e17b6c6a8ae1 1201956 synfig-examples_0.61.09-3_all.deb
37d3a823e29ff5006fced4eb36a222a683d4fab2bf7cff12f897a5fdb2e2abcd 53946 synfig_0.61.09-3_i386.deb
832d9157f4793d9b962a6b12c87a716529d24cf355a7d07673e68adcae5cae53 1433180 libsynfig0_0.61.09-3_i386.deb
c6f62a7530d9de06898fb6cf567efc4ce0925b38c45fc6ae2f92930d2f302a05 76148 libsynfig-dev_0.61.09-3_i386.deb
b2d175b2d7c1101e84b6ec16eccaa5fa00faaccf50e759887653b13cd1d88bde 7709526 synfig-dbg_0.61.09-3_i386.deb
Files:
f9d4aed3cebdf575cf7e12200562434c 1481 graphics optional synfig_0.61.09-3.dsc
1840276be8e16bdba6cbd8b40a65d575 6859 graphics optional synfig_0.61.09-3.diff.gz
c3264e4619b89a02d261e07096dbb8ce 1201956 graphics optional synfig-examples_0.61.09-3_all.deb
cc61a26e67b7869fcdc155cca405bbd8 53946 graphics optional synfig_0.61.09-3_i386.deb
8380373755a95f8d292b1fd9abdceca4 1433180 libs optional libsynfig0_0.61.09-3_i386.deb
3a545364011836d1962b325760d7139e 76148 libdevel optional libsynfig-dev_0.61.09-3_i386.deb
e8950e80c4d144589cce587fa0ebec2a 7709526 libdevel extra synfig-dbg_0.61.09-3_i386.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
iEYEARECAAYFAkqj9bQACgkQ5ItltUs5T37i5QCfflIrEtjKODJmVKNb5EtT1rLH
lvQAoONpnSqTe833ENORINT5hAK6Ni3f
=Vd9S
-----END PGP SIGNATURE-----
Bug archived.
Request was from Debbugs Internal Request <owner@bugs.debian.org>
to internal_control@bugs.debian.org.
(Thu, 15 Oct 2009 07:42:43 GMT) (full text, mbox, link).
Send a report that this bug log contains spam.
Debian bug tracking system administrator <owner@bugs.debian.org>.
Last modified:
Sat Jul 1 11:59:54 2023;
Machine Name:
buxtehude
Debian Bug tracking system
Debbugs is free software and licensed under the terms of the GNU
Public License version 2. The current version can be obtained
from https://bugs.debian.org/debbugs-source/.
Copyright © 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson,
2005-2017 Don Armstrong, and many other contributors.