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

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

Your message dated Tue, 28 Jul 2009 13:17:04 +0000
with message-id <E1MVmYC-0007ko-M9@ries.debian.org>
and subject line Bug#504859: fixed in sffview 0.4-3
has caused the Debian Bug report #504859,
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

504859: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=504859
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: sffview
Version: 0.4-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 sffview_0.4-1 on em64t by sbuild/amd64 0.53
> g++  -g -Os -c `wx-config --cflags` -o common.o common.cpp
> common.cpp: In member function 'virtual void CFile::Open(const std::string&, const char*)':
> common.cpp:125: error: 'fopen' was not declared in this scope
> common.cpp:127: error: 'fileno' was not declared in this scope
> common.cpp: In member function 'virtual void CFile::Close()':
> common.cpp:133: error: 'fclose' was not declared in this scope
> common.cpp: In member function 'sff_byte CFile::GetC()':
> common.cpp:161: error: '::fgetc' has not been declared
> common.cpp: In member function 'void CFile::Read(void*, int)':
> common.cpp:166: error: '::fread' has not been declared
> common.cpp: In member function 'void CFile::Write(void*, int)':
> common.cpp:171: error: '::fwrite' has not been declared
> common.cpp: In member function 'sff_dword CFile::Tell()':
> common.cpp:176: error: '::ftell' has not been declared
> common.cpp: In member function 'void CFile::Seek(int, CFile::seek_offset)':
> common.cpp:189: error: '::fseek' has not been declared
> common.cpp: In member function 'bool CFile::Eof()':
> common.cpp:194: error: 'feof' was not declared in this scope
> make[1]: *** [common.o] Error 1
> make[1]: Leaving directory `/build/tbm/sffview-0.4'

--- common.cpp~	2008-11-07 17:32:20.000000000 +0000
+++ common.cpp	2008-11-07 17:32:31.000000000 +0000
@@ -45,6 +45,7 @@
 #include <sys/stat.h>
 #include <cassert>
+#include <cstdio>
 #include <iostream>
 using namespace std;

Martin Michlmayr

--- End Message ---
--- Begin Message ---
Source: sffview
Source-Version: 0.4-3

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

  to pool/main/s/sffview/sffview_0.4-3.diff.gz
  to pool/main/s/sffview/sffview_0.4-3.dsc
  to pool/main/s/sffview/sffview_0.4-3_i386.deb

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 504859@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
Chris Lamb <lamby@debian.org> (supplier of updated sffview 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: Tue, 28 Jul 2009 14:55:40 +0200
Source: sffview
Binary: sffview
Architecture: source i386
Version: 0.4-3
Distribution: unstable
Urgency: low
Maintainer: Debian QA Group <packages@qa.debian.org>
Changed-By: Chris Lamb <lamby@debian.org>
 sffview    - Structured Fax File (SFF) Viewer
Closes: 504859
 sffview (0.4-3) unstable; urgency=low
   * QA upload.
   * Apply patch by Martin Michlmayr to fix building under GCC 4.4. Tested
     using gcc-snapshot 20090718-1. (Closes: #504859)
   * debian/control:
     - Bump Standards-Version to 3.8.2
     - Move homepage in long description to 'Homepage' field
     - Add ${misc:Depends} to binary Depends
   * debian/rules:
     - Don't ignore errors in clean target
     - Remove NOP configure/configure-stamp target
     - Move to minimal dh7 debian/rules
     - Correct upstream changelog handling to avoid installing it as "changes".
   * Use 'Applications' section in menu file, not 'Apps'.
 1a515a40eff40924626075829ab92fbb9b3f4ced 1063 sffview_0.4-3.dsc
 76e875548bd90c8bd6cb6cd2eeb0456c0c3a46d1 3719 sffview_0.4-3.diff.gz
 c45c93297a72c7afbf357f0ae668f570ef1c63e2 43090 sffview_0.4-3_i386.deb
 755d7bb63b89d2502d4967090e98366149ad17d4bc8dfc444dedf6775f08841b 1063 sffview_0.4-3.dsc
 c2438fd293164311522dd1b9909b72876f9f260df94f9a64509e023ec32e28c4 3719 sffview_0.4-3.diff.gz
 017706166f72d6c0dbaa264da8a29568afe338d4486c13f9e63d5d6be877953b 43090 sffview_0.4-3_i386.deb
 b267efd61d66da62392ae808e42129e2 1063 graphics optional sffview_0.4-3.dsc
 375ea5dc80632b7bda4bf1550476cd00 3719 graphics optional sffview_0.4-3.diff.gz
 ad409abcd3aea72f6e6506689eb8b23d 43090 graphics optional sffview_0.4-3_i386.deb

Version: GnuPG v1.4.9 (GNU/Linux)


--- End Message ---

Reply to: