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

Bug#505017: marked as done (FTBFS with GCC 4.4: missing #include)



Your message dated Thu, 07 May 2009 21:40:11 +0000
with message-id <E1M2BK7-0004tE-UN@ries.debian.org>
and subject line Bug#505017: fixed in u++ 5.3.0-2
has caused the Debian Bug report #505017,
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
immediately.)


-- 
505017: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=505017
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: u++
Version: 5.3.0-1.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 u++_5.3.0-1.1 on em64t by sbuild/amd64 0.53
...
> g++ -I. -D__pc__ -D__linux__ -D__x86_64__ -DPACKAGE=\"/build/tbm/u++-5.3.0\" -DVERSION=\"5.3.0\" -DTVENDOR=\"pc\" -DTCPU=\"x86_64\" -DTOS=\"linux\" -DINSTALLBINDIR=\"/usr/bin\" -DINSTALLLIBDIR=\"/usr/lib/u++\" -DINSTALLINCDIR=\"/usr/include/u++\" -DTMPDIR=\"/tmp\" -DMULTI=\"TRUE\" -DCCAPP=\"g++\" -D__U_MAXENTRYBITS__=128 -DTLS -O2  -MD /build/tbm/u++-5.3.0/src/translator/gen.cc -c -o /build/tbm/u++-5.3.0/src/translator/obj-linux-x86_64/gen.o
> /build/tbm/u++-5.3.0/src/translator/gen.cc: In function 'void gen_mask(token_t*, unsigned int)':
> /build/tbm/u++-5.3.0/src/translator/gen.cc:134: error: 'sprintf' was not declared in this scope
> /build/tbm/u++-5.3.0/src/translator/gen.cc:140: error: 'sprintf' was not declared in this scope
> /build/tbm/u++-5.3.0/src/translator/gen.cc: In function 'void gen_entry(token_t*, unsigned int)':
> /build/tbm/u++-5.3.0/src/translator/gen.cc:149: error: 'sprintf' was not declared in this scope
> /build/tbm/u++-5.3.0/src/translator/gen.cc:155: error: 'sprintf' was not declared in this scope
> make[2]: *** [/build/tbm/u++-5.3.0/src/translator/obj-linux-x86_64/gen.o] Error 1
> make[2]: Leaving directory `/build/tbm/u++-5.3.0/src/translator'
> + cd /build/tbm/u++-5.3.0/src/collection

--- src/translator/gen.cc~	2008-11-08 16:33:44.000000000 +0000
+++ src/translator/gen.cc	2008-11-08 16:33:51.000000000 +0000
@@ -33,6 +33,7 @@
 #include "input.h"
 #include "gen.h"
 
+#include <cstdio>
 #include <cstdlib>
 #include <cstring>
 
--- src/translator/input.cc~	2008-11-08 16:34:07.000000000 +0000
+++ src/translator/input.cc	2008-11-08 16:34:16.000000000 +0000
@@ -29,6 +29,7 @@
 #include "token.h"
 #include "input.h"
 
+#include <cstdio>
 #include <cstdlib>
 #include <iostream>
 
--- src/translator/output.cc~	2008-11-08 16:34:31.000000000 +0000
+++ src/translator/output.cc	2008-11-08 16:34:40.000000000 +0000
@@ -32,6 +32,7 @@
 #include "input.h"
 #include "output.h"
 
+#include <cstdio>
 #include <cstdlib>
 #include <cstring>
 
--- src/translator/parse.cc~	2008-11-08 16:35:10.000000000 +0000
+++ src/translator/parse.cc	2008-11-08 16:35:16.000000000 +0000
@@ -39,6 +39,7 @@
 #include "parse.h"
 #include "gen.h"
 
+#include <cstdio>
 #include <cstdlib>
 #include <cstring>
 #include <set>

P.S. I wasn't able to build this package 'til the end, so it's
possible there are other issues not fixed by this patch.
-- 
Martin Michlmayr
http://www.cyrius.com/



--- End Message ---
--- Begin Message ---
Source: u++
Source-Version: 5.3.0-2

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

u++-doc_5.3.0-2_all.deb
  to pool/main/u/u++/u++-doc_5.3.0-2_all.deb
u++_5.3.0-2.diff.gz
  to pool/main/u/u++/u++_5.3.0-2.diff.gz
u++_5.3.0-2.dsc
  to pool/main/u/u++/u++_5.3.0-2.dsc
u++_5.3.0-2_i386.deb
  to pool/main/u/u++/u++_5.3.0-2_i386.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 505017@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Barry deFreese <bdefreese@debian.org> (supplier of updated u++ 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)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Thu, 07 May 2009 16:30:39 -0400
Source: u++
Binary: u++ u++-doc
Architecture: source i386 all
Version: 5.3.0-2
Distribution: unstable
Urgency: low
Maintainer: Debian QA Group <packages@qa.debian.org>
Changed-By: Barry deFreese <bdefreese@debian.org>
Description: 
 u++        - Object-oriented concurrent language extensions for C++
 u++-doc    - μC++ Annotated Reference Manual
Closes: 471384 505017
Changes: 
 u++ (5.3.0-2) unstable; urgency=low
 .
   * QA upload.
   * Acknowledge NMUs. (Closes: #471384).
   * Build with gcc-4.4. (Closes: #505017).
     + Thanks to Martin Michlmayr for the fixes!
   * Move URL from package description to Homepage.
   * Add watch file.
   * Replace deprecated tetex-bin build-dep with texlive.
   * Remove duplicated B-D, B-D-I.
   * Move doc package to Section: doc.
   * Add copyright holders to debian/copyright.
     + Some dates might be missing.
   * Bump debhelper build-dep to >= 5.
   * Move DH_COMPAT from rules to debian/compat and set to 5.
   * Bump Standards Version to 3.8.1.
Checksums-Sha1: 
 adb4c13ff307af87656ef1f4e60d1b8774880494 1043 u++_5.3.0-2.dsc
 7fc78570948f151e2933429bddccf6c9f5e2a1ab 36688 u++_5.3.0-2.diff.gz
 d7b0e54aafd7c2db8b1ee7bc8f3a8b0b5b926132 522720 u++_5.3.0-2_i386.deb
 335f5715a5e54e0395814032a195b5ca626f7e09 294790 u++-doc_5.3.0-2_all.deb
Checksums-Sha256: 
 95b8615f7ab74994161e0e10b2a9aeb26d0a6e6c7837a0bc30d03d31c02ce689 1043 u++_5.3.0-2.dsc
 0263bd1c7997556e59a0fb4686d862d08b60fdca639d2d965039c4e9c47e4c1f 36688 u++_5.3.0-2.diff.gz
 a52fe380b4acd0b5c338115bc3a313db4f7859aaf4b3832c30eeaa28d0f36a57 522720 u++_5.3.0-2_i386.deb
 6d285afc71f944681d78fd64d86ced126370fd776e3a6df953bc4feb03a2195e 294790 u++-doc_5.3.0-2_all.deb
Files: 
 264fd4cf7b770d574072dfea83d79a28 1043 devel optional u++_5.3.0-2.dsc
 2d8c9ff246ca5f7f619f80fdd40dbc46 36688 devel optional u++_5.3.0-2.diff.gz
 e6ce2a91d292228a5a93c98be5f06cdc 522720 devel optional u++_5.3.0-2_i386.deb
 20044d0fca285ea26b22b5690438eb9f 294790 doc optional u++-doc_5.3.0-2_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAkoDTZ0ACgkQ5ItltUs5T36MNACfVZcrfKbuJsY8g0Zjlrj5XLIB
zSEAmgKoUnF/mOdsRuFNyb35sSShqZ1t
=xU45
-----END PGP SIGNATURE-----



--- End Message ---

Reply to: