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

Bug#504973: marked as done (FTBFS with GCC 4.4: missing #include)

Your message dated Mon, 21 Dec 2009 16:03:29 +0000
with message-id <E1NMkjJ-0006Rw-T3@ries.debian.org>
and subject line Bug#504973: fixed in libspiff 1.0.0-3
has caused the Debian Bug report #504973,
regarding FTBFS with GCC 4.4: missing #include
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

504973: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=504973
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: libspiff
Version: 0.8.3-1
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 libspiff_0.8.3-1 on em64t by sbuild/amd64 0.53
>  g++ -DHAVE_CONFIG_H -I. -I.. -I./test/CppTest -I../include -I/usr/include -g -O2 -MT src/SpiffPropsWriter.lo -MD -MP -MF src/.deps/SpiffPropsWriter.Tpo -c ../src/SpiffPropsWriter.cpp  -fPIC -DPIC -o src/.libs/SpiffPropsWriter.o
> ../src/SpiffPropsWriter.cpp: In member function 'void Spiff::SpiffPropsWriter::writeDate()':
> ../src/SpiffPropsWriter.cpp:213: error: '::snprintf' has not been declared
> ../src/SpiffPropsWriter.cpp: In member function 'void Spiff::SpiffPropsWriter::writePlaylistOpen()':
> ../src/SpiffPropsWriter.cpp:278: error: '::snprintf' has not been declared
> make[1]: *** [src/SpiffPropsWriter.lo] Error 1
> make[1]: Leaving directory `/build/tbm/libspiff-0.8.3/obj-x86_64-linux-gnu'
> make: *** [build-stamp] Error 2
> dpkg-buildpackage: failure: debian/rules build gave error exit status 2

--- src/SpiffPropsWriter.cpp~	2008-11-08 08:24:53.000000000 +0000
+++ src/SpiffPropsWriter.cpp	2008-11-08 08:25:00.000000000 +0000
@@ -43,6 +43,7 @@
  * Implementation of SpiffPropsWriter.
+#include <cstdio>
 #include <cstdlib>
 #include <spiff/SpiffPropsWriter.h>
 #include <spiff/SpiffProps.h>
--- src/SpiffWriter.cpp~	2008-11-08 08:25:24.000000000 +0000
+++ src/SpiffWriter.cpp	2008-11-08 08:25:46.000000000 +0000
@@ -43,6 +43,7 @@
  * Implementation of SpiffWriter.
+#include <cstdio>
 #include <spiff/SpiffWriter.h>
 #include <spiff/SpiffXmlFormatter.h>
 #include <spiff/SpiffTrackWriter.h>
--- src/SpiffXmlFormatter.cpp~	2008-11-08 08:26:01.000000000 +0000
+++ src/SpiffXmlFormatter.cpp	2008-11-08 08:26:08.000000000 +0000
@@ -45,6 +45,7 @@
 #include <spiff/SpiffXmlFormatter.h>
 #include <spiff/SpiffToolbox.h>
+#include <cstdio>
 #include <sstream>
 using namespace std;
 using namespace Spiff::Toolbox;

Martin Michlmayr

--- End Message ---
--- Begin Message ---
Source: libspiff
Source-Version: 1.0.0-3

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

  to main/libs/libspiff/libspiff-dev_1.0.0-3_i386.deb
  to main/libs/libspiff/libspiff4_1.0.0-3_i386.deb
  to main/libs/libspiff/libspiff_1.0.0-3.diff.gz
  to main/libs/libspiff/libspiff_1.0.0-3.dsc

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

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

Debian distribution maintenance software
David Paleino <dapal@debian.org> (supplier of updated libspiff 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)

Hash: SHA1

Format: 1.8
Date: Mon, 21 Dec 2009 16:24:55 +0100
Source: libspiff
Binary: libspiff4 libspiff-dev
Architecture: source i386
Version: 1.0.0-3
Distribution: unstable
Urgency: low
Maintainer: Debian QA Group <packages@qa.debian.org>
Changed-By: David Paleino <dapal@debian.org>
 libspiff-dev - development files for libSpiff
 libspiff4  - library to read/write XSPF, the XML Shareable Playlist Format
Closes: 504973
 libspiff (1.0.0-3) unstable; urgency=low
   * QA upload.
   * Fix FTBFS with GCC 4.4, thanks to Martin Michlmayr (Closes: #504973)
 ae12e9454a1c368c3d387cca3850a598e3b98bc7 1066 libspiff_1.0.0-3.dsc
 be0f4459a08672b9ee10a516d7bc36e580cbe131 3376 libspiff_1.0.0-3.diff.gz
 6dfc39dca15bbfe2e0000fe9b7a60a71e877e11c 91270 libspiff4_1.0.0-3_i386.deb
 43fad628681f6d7cb816cedafa86fe50e51e1215 130054 libspiff-dev_1.0.0-3_i386.deb
 41c21cf1b9cb6a70e5e874be57b77428539737cc86e04483443b37af9ff77ba4 1066 libspiff_1.0.0-3.dsc
 3aeb2e26cd1a472e42f591241d6c8b08cc70701dd1fa4730e238f571cad5c2ff 3376 libspiff_1.0.0-3.diff.gz
 ff99e30eb70b2abced5309421cf1b0dd7805da4fb55c019652badd5cf1c697a5 91270 libspiff4_1.0.0-3_i386.deb
 0c209026c3dbbd06337720b72b64bf1d1a44bfaabebfc2af85436054b1e9f6c9 130054 libspiff-dev_1.0.0-3_i386.deb
 ff5c153624b1f967b38c42a2ad5d9d86 1066 libs optional libspiff_1.0.0-3.dsc
 68ab5af880829344205812c2dfca6b61 3376 libs optional libspiff_1.0.0-3.diff.gz
 5cca79089f1a5ce36bc41e5d234856b7 91270 libs optional libspiff4_1.0.0-3_i386.deb
 8a915b7b73d8de1095395b0655dcd978 130054 libdevel optional libspiff-dev_1.0.0-3_i386.deb

Version: GnuPG v1.4.10 (GNU/Linux)


--- End Message ---

Reply to: