Debian Bug report logs - #417723
FTBFS with GCC 4.3: missing #includes

version graph

Package: tagcolledit; Maintainer for tagcolledit is (unknown);

Reported by: Martin Michlmayr <tbm@cyrius.com>

Date: Wed, 4 Apr 2007 12:30:01 UTC

Severity: serious

Tags: patch

Found in version tagcolledit/1.3-1

Done: Stephen Gran <sgran@debian.org>

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Enrico Zini <enrico@debian.org>:
Bug#417723; Package tagcolledit. Full text and rfc822 format available.

Acknowledgement sent to Martin Michlmayr <tbm@cyrius.com>:
New Bug report received and forwarded. Copy sent to Enrico Zini <enrico@debian.org>. Full text and rfc822 format available.

Message #5 received at submit@bugs.debian.org (full text, mbox):

From: Martin Michlmayr <tbm@cyrius.com>
To: submit@bugs.debian.org
Subject: FTBFS with GCC 4.3: missing #includes
Date: Wed, 4 Apr 2007 14:29:00 +0200
Package: tagcolledit
Version: 1.3-1
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
http://gcc.gnu.org/PR28080

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 tagcolledit_1.3-1 on coconut0 by sbuild/ia64 0.49
..
> make[3]: Entering directory `/build/tbm/tagcolledit-1.3/src'
> g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/tagcoll-1.6.3   -I/usr/include/gtkmm-2.4 -I/usr/lib/gtkmm-2.4/include -I/usr/include/glibmm-2.4 -I/usr/lib/glibmm-2.4/include -I/usr/include/gdkmm-2.4 -I/usr/lib/gdkmm-2.4/include -I/usr/include/pangomm-1.4 -I/usr/include/atkmm-1.6 -I/usr/include/gtk-2.0 -I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/lib/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/atk-1.0      -g -Wall -O2 -Wall -c -o Environment.o Environment.cc
> Environment.cc: In function 'void fatal_error(const char*, ...)':
> Environment.cc:51: error: 'exit' was not declared in this scope
> make[3]: *** [Environment.o] Error 1

--- src/Environment.cc~	2007-04-04 12:19:41.000000000 +0000
+++ src/Environment.cc	2007-04-04 12:19:49.000000000 +0000
@@ -20,6 +20,7 @@
 
 #include "Environment.h"
 
+#include <cstdlib>
 #include <stdio.h>
 #include <stdarg.h>
 #include <unistd.h>	// isatty

-- 
Martin Michlmayr
http://www.cyrius.com/



Severity set to `important' from `normal' Request was from Matthias Klose <doko@cs.tu-berlin.de> to control@bugs.debian.org. (Tue, 29 May 2007 09:34:57 GMT) Full text and rfc822 format available.

Severity set to `serious' from `important' Request was from Marc Brockschmidt <marc@marcbrockschmidt.de> to control@bugs.debian.org. (Sat, 05 Apr 2008 12:45:13 GMT) Full text and rfc822 format available.

Reply sent to Stephen Gran <sgran@debian.org>:
You have taken responsibility. Full text and rfc822 format available.

Notification sent to Martin Michlmayr <tbm@cyrius.com>:
Bug acknowledged by developer. Full text and rfc822 format available.

Message #14 received at 417723-done@bugs.debian.org (full text, mbox):

From: Stephen Gran <sgran@debian.org>
To: 417723-done@bugs.debian.org
Subject: closing
Date: Sat, 5 Apr 2008 17:45:59 +0100
[Message part 1 (text/plain, inline)]
Stable is not going through a gcc-4.3 transition, and this package has been
removed from unstable and testing.
-- 
 -----------------------------------------------------------------
|   ,''`.                                            Stephen Gran |
|  : :' :                                        sgran@debian.org |
|  `. `'                        Debian user, admin, and developer |
|    `-                                     http://www.debian.org |
 -----------------------------------------------------------------
[signature.asc (application/pgp-signature, inline)]

Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Sun, 04 May 2008 07:31:09 GMT) Full text and rfc822 format available.

Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Wed Apr 16 04:20:52 2014; Machine Name: buxtehude.debian.org

Debian Bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.