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

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



Your message dated Sun, 21 Jun 2009 11:17:43 +0000
with message-id <E1MIL3P-0002wQ-HY@ries.debian.org>
and subject line Bug#525719: fixed in soci 3.0.0+cvs20081223-3
has caused the Debian Bug report #525719,
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.)


-- 
525719: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=525719
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: soci
Version: 3.0.0+cvs20081223-2
User: debian-gcc@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 soci_3.0.0+cvs20081223-2 on em64t by sbuild/amd64 0.53
...
>  x86_64-linux-gnu-g++ -DPACKAGE_NAME=\"SOCI\" -DPACKAGE_TARNAME=\"soci\" -DPACKAGE_VERSION=\"3.0.0\" "-DPACKAGE_STRING=\"SOCI 3.0.0\"" -DPACKAGE_BUGREPORT=\"http://sourceforge.net/projects/soci\"; -DPACKAGE=\"soci\" -DVERSION=\"3.0.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DHAVE_BOOST=1 "-DHAVE_BOOST_DATE_TIME=/**/" -DHAVE_MYSQL=1 -DHAVE_POSTGRESQL=1 -DHAVE_SQLITE3=1 -I. -I. -UNDEBUG -U_DEBUG -fPIC -I/usr/include -O2 -g -O2 -Wall -pedantic -Wno-long-long -MT soci-simple.lo -MD -MP -MF .deps/soci-simple.Tpo -c soci-simple.cpp  -fPIC -DPIC -o .libs/soci-simple.o
> soci-simple.cpp: In function 'const char*<unnamed>::format_date(<unnamed>::statement_wrapper&, const tm&)':
> soci-simple.cpp:476: error: 'sprintf' was not declared in this scope
> soci-simple.cpp: In function 'bool<unnamed>::string_to_date(const char*, tm&, <unnamed>::statement_wrapper&)':
> soci-simple.cpp:492: error: 'sscanf' was not declared in this scope
> soci-simple.cpp: In function 'const char* soci_get_use_date(void*, const char*)':
> soci-simple.cpp:1514: error: 'sprintf' was not declared in this scope
> make[4]: *** [soci-simple.lo] Error 1

--- src/core/soci-simple.cpp~	2009-04-26 18:33:38.000000000 +0000
+++ src/core/soci-simple.cpp	2009-04-26 18:34:41.000000000 +0000
@@ -10,6 +10,8 @@
 #include "soci-simple.h"
 #include "soci.h"
 
+#include <cstdio>
+
 using namespace soci;
 
 

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



--- End Message ---
--- Begin Message ---
Source: soci
Source-Version: 3.0.0+cvs20081223-3

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

libsoci-core-gcc-dbg_3.0.0+cvs20081223-3_amd64.deb
  to pool/main/s/soci/libsoci-core-gcc-dbg_3.0.0+cvs20081223-3_amd64.deb
libsoci-core-gcc-dev_3.0.0+cvs20081223-3_amd64.deb
  to pool/main/s/soci/libsoci-core-gcc-dev_3.0.0+cvs20081223-3_amd64.deb
libsoci-core-gcc_3.0.0+cvs20081223-3_amd64.deb
  to pool/main/s/soci/libsoci-core-gcc_3.0.0+cvs20081223-3_amd64.deb
libsoci-mysql-gcc_3.0.0+cvs20081223-3_amd64.deb
  to pool/main/s/soci/libsoci-mysql-gcc_3.0.0+cvs20081223-3_amd64.deb
libsoci-postgresql-gcc_3.0.0+cvs20081223-3_amd64.deb
  to pool/main/s/soci/libsoci-postgresql-gcc_3.0.0+cvs20081223-3_amd64.deb
libsoci-sqlite3-gcc_3.0.0+cvs20081223-3_amd64.deb
  to pool/main/s/soci/libsoci-sqlite3-gcc_3.0.0+cvs20081223-3_amd64.deb
soci_3.0.0+cvs20081223-3.diff.gz
  to pool/main/s/soci/soci_3.0.0+cvs20081223-3.diff.gz
soci_3.0.0+cvs20081223-3.dsc
  to pool/main/s/soci/soci_3.0.0+cvs20081223-3.dsc



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 525719@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Christoph Berg <myon@debian.org> (supplier of updated soci 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: Sun, 21 Jun 2009 13:05:28 +0200
Source: soci
Binary: libsoci-core-gcc libsoci-core-gcc-dev libsoci-core-gcc-dbg libsoci-mysql-gcc libsoci-sqlite3-gcc libsoci-postgresql-gcc
Architecture: source amd64
Version: 3.0.0+cvs20081223-3
Distribution: unstable
Urgency: low
Maintainer: Debian QA Group <packages@qa.debian.org>
Changed-By: Christoph Berg <myon@debian.org>
Description: 
 libsoci-core-gcc - C++ Database Access Library (core)
 libsoci-core-gcc-dbg - C++ Database Access Library (debug symbols)
 libsoci-core-gcc-dev - C++ Database Access Library (devel)
 libsoci-mysql-gcc - C++ Database Access Library (MySQL backend)
 libsoci-postgresql-gcc - C++ Database Access Library (PostgreSQL backend)
 libsoci-sqlite3-gcc - C++ Database Access Library (SQLite3 backend)
Closes: 525719
Changes: 
 soci (3.0.0+cvs20081223-3) unstable; urgency=low
 .
   [ Marco Rodrigues ]
   * QA upload.
   * Fix FTBFS because of GCC 4.4 (Closes: #525719).
 .
   [ Christoph Berg ]
   * Set -dbg package Section to debug.
Checksums-Sha1: 
 bce7657bd2c27a32c5f0830abcce63f748b41a3b 1261 soci_3.0.0+cvs20081223-3.dsc
 58edee0de3e7f8518f98bfebbd2786d430bb6633 4362 soci_3.0.0+cvs20081223-3.diff.gz
 9e05d373d95828bca5e6017610af52121769dbf4 92238 libsoci-core-gcc_3.0.0+cvs20081223-3_amd64.deb
 41352757e998a638152d517a79d8212239aeb96e 306450 libsoci-core-gcc-dev_3.0.0+cvs20081223-3_amd64.deb
 2f4a93f11b93058ebb31a2134bbebf050dd9e5dc 1388786 libsoci-core-gcc-dbg_3.0.0+cvs20081223-3_amd64.deb
 dc83273250bbc4b54d93525e578595d670a7b9b9 37290 libsoci-mysql-gcc_3.0.0+cvs20081223-3_amd64.deb
 b3419edc21c3271fa92c58eea05b82128f920dd2 36190 libsoci-sqlite3-gcc_3.0.0+cvs20081223-3_amd64.deb
 81d591b9eb3014fe336a96f451d20b397c0f4ddb 35786 libsoci-postgresql-gcc_3.0.0+cvs20081223-3_amd64.deb
Checksums-Sha256: 
 8de9678ea613e4513ecdab5c8fdc5e5d8d6dd8586f2551cd05c6cdc26b350338 1261 soci_3.0.0+cvs20081223-3.dsc
 b23b2011c91f8bc26c24953056fdba07e26acdf03cae376ba367e4ac516f9049 4362 soci_3.0.0+cvs20081223-3.diff.gz
 97563e266db0a1842ac45c26bac9b89db3290b96c1a5fb4b284c3e4729de6672 92238 libsoci-core-gcc_3.0.0+cvs20081223-3_amd64.deb
 6dc0f208998e87d4be18239faaa21858078c400342d2ae0f6640d0ffa7f09e77 306450 libsoci-core-gcc-dev_3.0.0+cvs20081223-3_amd64.deb
 f012735c56648129bc4bc68c1e25fe0e80ae90469510174b755acc66ef98fa1a 1388786 libsoci-core-gcc-dbg_3.0.0+cvs20081223-3_amd64.deb
 2b0a709c2170e10b24d4779bb1d01b971affe64fbbeac7f3feaa66b96a64acec 37290 libsoci-mysql-gcc_3.0.0+cvs20081223-3_amd64.deb
 b84683545b141c8a1fdf65cff0939a7933687082d63aa3107607098ae2d23d0f 36190 libsoci-sqlite3-gcc_3.0.0+cvs20081223-3_amd64.deb
 aba7185550f27e1d2569642f259182fd9a1d64e43fbe242ad7502117d6bb8760 35786 libsoci-postgresql-gcc_3.0.0+cvs20081223-3_amd64.deb
Files: 
 42d93d30cca333e332d4f17b51cc0688 1261 libs optional soci_3.0.0+cvs20081223-3.dsc
 cef303a39b9c04cfcf837509c22b9d00 4362 libs optional soci_3.0.0+cvs20081223-3.diff.gz
 351498ec9e518e0896303565dbc61719 92238 libs optional libsoci-core-gcc_3.0.0+cvs20081223-3_amd64.deb
 e12735819a844d4f3e4f0b79a6182c91 306450 libdevel optional libsoci-core-gcc-dev_3.0.0+cvs20081223-3_amd64.deb
 008e462b6c646681ae5f09f8a7c78a86 1388786 debug extra libsoci-core-gcc-dbg_3.0.0+cvs20081223-3_amd64.deb
 bdb9c8c2bf83a049624c746a51d148f6 37290 libs optional libsoci-mysql-gcc_3.0.0+cvs20081223-3_amd64.deb
 4d7b3362873ece35c4163f1775a5c04b 36190 libs optional libsoci-sqlite3-gcc_3.0.0+cvs20081223-3_amd64.deb
 dd2b020d13bcf7f2540240ca9d9ac444 35786 libs optional libsoci-postgresql-gcc_3.0.0+cvs20081223-3_amd64.deb

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

iEYEARECAAYFAko+FR4ACgkQxa93SlhRC1qbswCgqrRWbjKUomhDnnlsnsE7EOCn
Ke0AoOYxSlTJ9evVuom9U/Os3WpjBMiB
=A9Ad
-----END PGP SIGNATURE-----



--- End Message ---

Reply to: