[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 Sun, 02 Aug 2009 00:47:03 +0000
with message-id <E1MXPE7-00076B-Iv@ries.debian.org>
and subject line Bug#504859: fixed in sffview 0.4-4
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-4

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-4.diff.gz
  to pool/main/s/sffview/sffview_0.4-4.dsc
  to pool/main/s/sffview/sffview_0.4-4_amd64.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: Sun, 02 Aug 2009 01:30:59 +0100
Source: sffview
Binary: sffview
Architecture: source amd64
Version: 0.4-4
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-4) unstable; urgency=low
   * QA upload.
   * Extract all Debian-specific changes into quilt patch series.
   * Adjust 01-fix-ftbfs-with-gcc-4.4.diff to really fix FTBFS under GCC 4.4.
     (Closes: #504859)
   * Fix lintian warnings:
     - Correct quote usage in debian/sffview.sgml so that generated groff file
       has correct format
     - Update debian/copyright to incldue a "Copyright (C) [..]" statement
     - Add patch to prepend "-Wl,--as-needed" before WXCONFIG_LD to drop
       unnecessary dependencies
 2eb3d47605ebe747595c5e3b930587237e9c25bc 1070 sffview_0.4-4.dsc
 38572d9c8a86a86d3ec517f9ebe8968a947d4dfd 4679 sffview_0.4-4.diff.gz
 d7905c916bb8d34bfc2bd2793e53c50782753691 45890 sffview_0.4-4_amd64.deb
 e5b982899c0e80051236e6d5192b539c50a6841f5589f84d048b6c693cfa41a3 1070 sffview_0.4-4.dsc
 be37834b045a0417647ea478891a63088ac6e2cadd6a6e18580024d81558ea15 4679 sffview_0.4-4.diff.gz
 5516e3814ce8cce14efef8f0ae624a0378ee47f231e552ff435ba12dabdc9ef9 45890 sffview_0.4-4_amd64.deb
 4cb03fcbbca470a68eec466b617a2fdd 1070 graphics optional sffview_0.4-4.dsc
 29c76f3838d27cad440892c71cae4faf 4679 graphics optional sffview_0.4-4.diff.gz
 36e6984daa78f368a6dfa437a391131d 45890 graphics optional sffview_0.4-4_amd64.deb

Version: GnuPG v1.4.9 (GNU/Linux)


--- End Message ---

Reply to: