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

Bug#417784: marked as done (FTBFS with GCC 4.3: missing #includes)

Your message dated Mon, 16 Apr 2007 21:17:13 +0000
with message-id <E1HdYZV-0001VS-6E@ries.debian.org>
and subject line Bug#417784: fixed in xgsmlib 0.2-7
has caused the attached Bug report 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 I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Package: xgsmlib
Version: 0.2-6
Usertags: ftbfs-gcc-4.3
Tags: patch

Your package fails to build with GCC 4.3.  Version 4.3 has not been
released yet but I'm building with a snapshot in order to find errors
and give people an advance warning.  In GCC 4.3, the C++ header
dependencies have been cleaned up.  The advantage of this is that
programs will compile faster.  The downside is that you actually
need to directly #include everything you use (but you really should
do this anyway, otherwise your program won't work with any compiler
other than GCC).  Some background of this can be found at

You can reproduce this problem with gcc-snapshot (20070326-1 or higher)
from unstable. (Currently not available for i386, but for amd64, powerpc
and ia64.  I hope to have i386 binaries in the archive in ~3 weeks.)

> Automatic build of xgsmlib_0.2-6 on coconut0 by sbuild/ia64 0.49
> 	ia64-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/gnome-1.0 -DNEED_GNOMESUPPORT_H -I/usr/lib/gnome-libs/include -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/include/orbit-1.0 -I/usr/include/gtk-1.2 -I/usr/lib/gtkmm/include -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/lib/sigc++-1.0/include -I/usr/include/sigc++-1.0 -D_REENTRANT   -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include  -g -O2 -c -o xgsm_util.o `test -f 'xgsm_util.cc' || echo './'`xgsm_util.cc
> In file included from /usr/lib/gcc-snapshot/lib/gcc/ia64-linux-gnu/4.3.0/../../../../include/c++/4.3.0/backward/strstream:51,
>                  from xgsm_util.cc:22:
> /usr/lib/gcc-snapshot/lib/gcc/ia64-linux-gnu/4.3.0/../../../../include/c++/4.3.0/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header. Please consider using one of the 32 headers found in section of the C++ standard. Examples include substituting the <X> header for the <X.h> header for C++ includes, or <iostream> instead of the deprecated header <iostream.h>. To disable this warning use -Wno-deprecated.
> xgsm_util.cc: In function 'std::string Xgsm::homeDir()':
> xgsm_util.cc:63: error: 'getenv' was not declared in this scope
> make[3]: *** [xgsm_util.o] Error 1

--- src/xgsm_util.cc~	2007-04-04 14:47:50.000000000 +0000
+++ src/xgsm_util.cc	2007-04-04 14:47:58.000000000 +0000
@@ -20,6 +20,7 @@
 #include <pwd.h>
 #include <unistd.h>
 #include <strstream>
+#include <cstdlib>
 #include <iomanip>
 using namespace std;

Martin Michlmayr

--- End Message ---
--- Begin Message ---
Source: xgsmlib
Source-Version: 0.2-7

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

  to pool/main/x/xgsmlib/xgsmlib_0.2-7.diff.gz
  to pool/main/x/xgsmlib/xgsmlib_0.2-7.dsc
  to pool/main/x/xgsmlib/xgsmlib_0.2-7_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 417784@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
Matej Vela <vela@debian.org> (supplier of updated xgsmlib 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.7
Date: Mon, 16 Apr 2007 23:00:54 +0200
Source: xgsmlib
Binary: xgsmlib
Architecture: source i386
Version: 0.2-7
Distribution: unstable
Urgency: low
Maintainer: Debian QA Group <packages@qa.debian.org>
Changed-By: Matej Vela <vela@debian.org>
 xgsmlib    - Gnome application to handle mobile phone's phone book and SMS
Closes: 417784
 xgsmlib (0.2-7) unstable; urgency=low
   * QA upload.
   * Add missing includes for GCC 4.3.  Thanks to Martin Michlmayr for
     the patch.  Closes: #417784.
   * Switch to debhelper 5.
   * Automatically update scripts/config.{guess,sub} from autotools-dev.
   * debian/rules: Let dh_strip handle DEB_BUILD_OPTIONS=nostrip.
   * debian/watch: Add.
   * Conforms to Standards version 3.7.2.
 d06fd554374a86829d847063c909d9d7 613 gnome extra xgsmlib_0.2-7.dsc
 d8b2b832cbcc3acb9f4a600e3703570b 5930 gnome extra xgsmlib_0.2-7.diff.gz
 56841235a0c33359e191d73914e90b29 293862 gnome extra xgsmlib_0.2-7_i386.deb

Version: GnuPG v1.4.6 (GNU/Linux)


--- End Message ---

Reply to: