Your message dated Thu, 21 Jan 2010 23:32:26 +0100
with message-id <20100121223226.ga25...@usha.takhisis.invalid>
and subject line Re: Bug#526207: FTBFS with GCC 4.4: missing #include
has caused the Debian Bug report #526207,
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 ow...@bugs.debian.org
immediately.)
--
526207: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=526207
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: jaula
Version: 1.4.0-2
User: debian-...@lists.debian.org
Usertags: ftbfs-gcc-4.4
Tags: patch
Your package fails to build with GCC 4.4, which has 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 or
gcc-4.4 from experimental.
> Automatic build of jaula_1.4.0-2 on em64t by sbuild/amd64 0.53
...
> libtool: compile: x86_64-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -g -O2 -MT
> jaula_lexan.lo -MD -MP -MF .deps/jaula_lexan.Tpo -c jaula_lexan.cc -fPIC
> -DPIC -o .libs/jaula_lexan.o
> jaula_lexan.cc: In member function 'int jaulaFlexLexer::yyinput()':
> jaula_lexan.cc:1505: error: 'EOF' was not declared in this scope
> make[4]: *** [jaula_lexan.lo] Error 1
> make[4]: Leaving directory `/build/tbm/jaula-1.4.0/jaula'
The patch below will work. However, since the other #include
statements are wrapped in an #ifdef statement you may want to do this
for this #include too.
--- jaula/jaula_lexan.ll~ 2009-04-29 20:55:20.000000000 +0000
+++ jaula/jaula_lexan.ll 2009-04-29 20:56:24.000000000 +0000
@@ -50,6 +50,8 @@
#endif
}
+#include <cstdio>
+
#ifdef HAVE_SSTREAM
#include <sstream>
#endif
--
Martin Michlmayr
http://www.cyrius.com/
--- End Message ---
--- Begin Message ---
tags 526207 + unreproducible
thanks
On Wed, Apr 29, 2009 at 11:01:08PM +0200, Martin Michlmayr wrote:
> Your package fails to build with GCC 4.4, which has cleaned up some more
> C++ headers. You always have to #include headers directly and cannot
> rely for things to be included indirectly.
<snip>
> > libtool: compile: x86_64-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -g -O2 -MT
> > jaula_lexan.lo -MD -MP -MF .deps/jaula_lexan.Tpo -c jaula_lexan.cc -fPIC
> > -DPIC -o .libs/jaula_lexan.o
> > jaula_lexan.cc: In member function 'int jaulaFlexLexer::yyinput()':
> > jaula_lexan.cc:1505: error: 'EOF' was not declared in this scope
> > make[4]: *** [jaula_lexan.lo] Error 1
> > make[4]: Leaving directory `/build/tbm/jaula-1.4.0/jaula'
I'm closing this bug as no longer reproducible. The package builds fine
with current gcc in unstable (tested in fresh cowbuilder). I've
investigated a bit the reason, and apparently recent flex adds <cstdio>
among standard C headers, thus avoiding the need of specifying it
explicitly.
Cheers.
--
Stefano Zacchiroli -o- PhD in Computer Science \ PostDoc @ Univ. Paris 7
z...@{upsilon.cc,pps.jussieu.fr,debian.org} -<>- http://upsilon.cc/zack/
Dietro un grande uomo c'è ..| . |. Et ne m'en veux pas si je te tutoie
sempre uno zaino ...........| ..: |.... Je dis tu à tous ceux que j'aime
--- End Message ---