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

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

Your message dated Tue, 11 Sep 2007 09:02:06 +0000
with message-id <E1IV1dG-00043a-Qu@ries.debian.org>
and subject line Bug#417206: fixed in gnome-apt 0.4.9-3
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: gnome-apt
Version: 0.4.9-2
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 from unstable.

> Automatic build of gnome-apt_0.4.9-2 on em64t by sbuild/amd64 0.53
> cachecontrol.cc: In function 'void store_add_category(GtkTreeStore*, const gchar*, std::vector<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::basic_string<char, std::char_traits<char>, std::allocator<char> > > >)':
> cachecontrol.cc:107: error: 'sort' was not declared in this scope
> make[4]: *** [gnome_apt-cachecontrol.o] Error 1

--- src/cachecontrol.cc~	2007-04-01 20:03:05.000000000 +0000
+++ src/cachecontrol.cc	2007-04-01 20:03:20.000000000 +0000
@@ -24,6 +24,7 @@
 #include <errno.h>
+#include <algorithm>
 #include <apt-pkg/algorithms.h>
 #include <apt-pkg/configuration.h>
 #include <apt-pkg/dpkgpm.h>
--- src/gnome-apt.cc~	2007-04-01 20:04:08.000000000 +0000
+++ src/gnome-apt.cc	2007-04-01 20:04:24.000000000 +0000
@@ -33,6 +33,7 @@
 #include <apt-pkg/cmndline.h>
 #include <apt-pkg/error.h>
 #include <apt-pkg/init.h>
+#include <cstdlib>
 #include <iostream>
 #include <set>
--- src/menus.cc~	2007-04-01 20:05:36.000000000 +0000
+++ src/menus.cc	2007-04-01 20:05:43.000000000 +0000
@@ -35,6 +35,7 @@
 #include "pkgutil.h"
 #include "preferences.h"
 #include "sources.h"
+#include <cstdlib>
 #define GNOME_APT_LOGO "/usr/share/pixmaps/gnome-apt.png"

Martin Michlmayr

--- End Message ---
--- Begin Message ---
Source: gnome-apt
Source-Version: 0.4.9-3

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

  to pool/main/g/gnome-apt/gdeb_0.4.9-3_amd64.deb
  to pool/main/g/gnome-apt/gnome-apt_0.4.9-3.dsc
  to pool/main/g/gnome-apt/gnome-apt_0.4.9-3.tar.gz
  to pool/main/g/gnome-apt/gnome-apt_0.4.9-3_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 417206@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
Michael Ablassmeier <abi@debian.org> (supplier of updated gnome-apt 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: Tue, 11 Sep 2007 10:11:16 +0200
Source: gnome-apt
Binary: gdeb gnome-apt
Architecture: source amd64
Version: 0.4.9-3
Distribution: unstable
Urgency: low
Maintainer: abi@grinser.de
Changed-By: Michael Ablassmeier <abi@debian.org>
 gdeb       - graphical package inspection tool
 gnome-apt  - graphical package manager
Closes: 417206 430054
 gnome-apt (0.4.9-3) unstable; urgency=low
   * QA upload.
   * Fix FTBFS due to missing #include (Closes: #430054)
   * Add Patch for gcc-4.3 compatibility (Closes: #417206)
   * Adjust clean target in debian/rules
   * Use debian/compat rather than exporting it in debian/rules
   * Adjust menu file, replace obsoleted Section.
 b063c25ce055a9426aca2c2dcd02e9b2 597 gnome optional gnome-apt_0.4.9-3.dsc
 6cbce82280e2cb4686b976c18602a60d 584421 gnome optional gnome-apt_0.4.9-3.tar.gz
 717077298b0c1724b7d794f4e8a33d37 251580 gnome optional gnome-apt_0.4.9-3_amd64.deb
 4b84d3928324ff10a50e997c1f844bad 30992 utils optional gdeb_0.4.9-3_amd64.deb

Version: GnuPG v1.4.6 (GNU/Linux)


--- End Message ---

Reply to: