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

Bug#549640: marked as done (soci: FTBFS : error: 'strncmp' was not declared in this scope)



Your message dated Fri, 09 Oct 2009 16:39:23 +0000
with message-id <E1MwIV1-0005Ou-3T@ries.debian.org>
and subject line Bug#549640: fixed in soci 3.0.0+cvs20081223-4
has caused the Debian Bug report #549640,
regarding soci: FTBFS : error: 'strncmp' was not declared in this scope
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.)


-- 
549640: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=549640
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: soci
Version: 3.0.0+cvs20081223-3
Justification: FTBFS
Severity: serious
Tags: patch
User: debian-sh4@superh.org
Usertags: sh4
X-Debbugs-CC: debian-superh@lists.debian.org

Hi,

I am now trying to run Debian on Renesas SH CPU(sh4).
soci FTBFS on sh4. I checked on i386 by pbuilder, I get same bug.

-----
make[4]: Entering directory
`/tmp/buildd/soci-3.0.0+cvs20081223/src/backends/postgresql/test'
if i486-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.
-I../../../../src/core -I../../../../src/core/test
-I../../../../src/backends/postgresql -I/usr/include
-I/usr/include/postgresql -UNDEBUG -U_DEBUG   -O2 -g -O2 -Wall
-pedantic -Wno-long-long -MT test-postgresql.o -MD -MP -MF
".deps/test-postgresql.Tpo" -c -o test-postgresql.o
test-postgresql.cpp; \
	then mv -f ".deps/test-postgresql.Tpo" ".deps/test-postgresql.Po";
else rm -f ".deps/test-postgresql.Tpo"; exit 1; fi
test-postgresql.cpp: In function 'void test3()':
test-postgresql.cpp:225: error: 'strncmp' was not declared in this scope
make[4]: *** [test-postgresql.o] Error 1
make[4]: Leaving directory
`/tmp/buildd/soci-3.0.0+cvs20081223/src/backends/postgresql/test'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/tmp/buildd/soci-3.0.0+cvs20081223/src/backends'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/tmp/buildd/soci-3.0.0+cvs20081223/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/buildd/soci-3.0.0+cvs20081223'
make: *** [build-stamp] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2
-----

I made a patch to revise to be able to build.
Would you apply it?

Best regards,
 Nobuhiro

-- 
Nobuhiro Iwamatsu
--- a/src/backends/sqlite3/test/test-sqlite3.cpp	2008-07-31 12:24:52.000000000 +0900
+++ b/src/backends/sqlite3/test/test-sqlite3.cpp	2009-10-05 15:57:52.000000000 +0900
@@ -14,6 +14,7 @@
 #include <cassert>
 #include <cmath>
 #include <ctime>
+#include <cstring>
 
 using namespace soci;
 using namespace soci::tests;
--- src/backends/postgresql/test/test-postgresql.cpp	2009-10-05 14:08:31.000000000 +0900
+++ src/backends/postgresql/test/test-postgresql.cpp.a	2009-10-05 16:17:02.000000000 +0900
@@ -15,6 +15,7 @@
 #include <cmath>
 #include <ctime>
 #include <cstdlib>
+#include <cstring>
 
 using namespace soci;
 using namespace soci::tests;

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

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-4_i386.deb
  to pool/main/s/soci/libsoci-core-gcc-dbg_3.0.0+cvs20081223-4_i386.deb
libsoci-core-gcc-dev_3.0.0+cvs20081223-4_i386.deb
  to pool/main/s/soci/libsoci-core-gcc-dev_3.0.0+cvs20081223-4_i386.deb
libsoci-core-gcc_3.0.0+cvs20081223-4_i386.deb
  to pool/main/s/soci/libsoci-core-gcc_3.0.0+cvs20081223-4_i386.deb
libsoci-mysql-gcc_3.0.0+cvs20081223-4_i386.deb
  to pool/main/s/soci/libsoci-mysql-gcc_3.0.0+cvs20081223-4_i386.deb
libsoci-postgresql-gcc_3.0.0+cvs20081223-4_i386.deb
  to pool/main/s/soci/libsoci-postgresql-gcc_3.0.0+cvs20081223-4_i386.deb
libsoci-sqlite3-gcc_3.0.0+cvs20081223-4_i386.deb
  to pool/main/s/soci/libsoci-sqlite3-gcc_3.0.0+cvs20081223-4_i386.deb
soci_3.0.0+cvs20081223-4.diff.gz
  to pool/main/s/soci/soci_3.0.0+cvs20081223-4.diff.gz
soci_3.0.0+cvs20081223-4.dsc
  to pool/main/s/soci/soci_3.0.0+cvs20081223-4.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 549640@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 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: Fri, 09 Oct 2009 11:21:18 -0400
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 i386
Version: 3.0.0+cvs20081223-4
Distribution: unstable
Urgency: low
Maintainer: Debian QA Group <packages@qa.debian.org>
Changed-By: Barry deFreese <bdefreese@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: 549640
Changes: 
 soci (3.0.0+cvs20081223-4) unstable; urgency=low
 .
   * QA upload.
   * gcc_ftbfs.patch - Include missing headers. (Closes: #549640).
     + Thanks to Nobuhiro Iwamatsu for the patch!
   * Add README.source for quilt.
   * Bump Standards Version to 3.8.3. (No changes needed).
Checksums-Sha1: 
 e8f6ed062241223a4ffd5d8eb5b828666be12f1c 1262 soci_3.0.0+cvs20081223-4.dsc
 407ad94e3d4ea677360099ce9dc8781071d98732 5372 soci_3.0.0+cvs20081223-4.diff.gz
 ca704ab960e5a8def92e74fdded43ea971d114bb 95840 libsoci-core-gcc_3.0.0+cvs20081223-4_i386.deb
 2e69d039b3edfa5e55087896f4eabce91ce4f3ea 294088 libsoci-core-gcc-dev_3.0.0+cvs20081223-4_i386.deb
 214cc3b25705ca33b88094457ce2210bd3761a73 1378196 libsoci-core-gcc-dbg_3.0.0+cvs20081223-4_i386.deb
 dc96588d667fe51bbbc23cedfd739e1d52e23b2b 36644 libsoci-mysql-gcc_3.0.0+cvs20081223-4_i386.deb
 1d795e89c25a3207bef64236b90fe1fb5e51583b 35932 libsoci-sqlite3-gcc_3.0.0+cvs20081223-4_i386.deb
 acfb2019d61bb1b2562cc478f934c4af263c0006 35600 libsoci-postgresql-gcc_3.0.0+cvs20081223-4_i386.deb
Checksums-Sha256: 
 7cf19426ab360a4be5242286ba5719fca6913a1bf16801e9ecf6605d3a99da33 1262 soci_3.0.0+cvs20081223-4.dsc
 e7281cba281669486d47e449df5a672d3eabfb6b3edd05169fbeeca5ba523d30 5372 soci_3.0.0+cvs20081223-4.diff.gz
 105cc4a5bdb8b626edbe802c24511da13ca1150095711937401ddd24b6bfb6e6 95840 libsoci-core-gcc_3.0.0+cvs20081223-4_i386.deb
 ae906db7396651e3b37736cc03e20e3e2a56a247ee5f58c92c7f27a24b8383ef 294088 libsoci-core-gcc-dev_3.0.0+cvs20081223-4_i386.deb
 7437ea9df8471c02e4cd7f158e1c71dab2567199d029762c64d2491b24e6b5fa 1378196 libsoci-core-gcc-dbg_3.0.0+cvs20081223-4_i386.deb
 992ecf097350489f98f44a26ccf5c7f8b6582cecc3a6f1df9fa56ecff555b986 36644 libsoci-mysql-gcc_3.0.0+cvs20081223-4_i386.deb
 734a9a619f83340cfaee85ded02aaea4fe0f9a39763063093e239380d2439c5c 35932 libsoci-sqlite3-gcc_3.0.0+cvs20081223-4_i386.deb
 068ab4ad7cf5c6646527a8d7cd532e82da6918b46b94b2d2a7808cb4b99f67c8 35600 libsoci-postgresql-gcc_3.0.0+cvs20081223-4_i386.deb
Files: 
 596cb441aa2d334a46cd8336e5f9eec0 1262 libs optional soci_3.0.0+cvs20081223-4.dsc
 348a09568761674f8a142181fd08e5eb 5372 libs optional soci_3.0.0+cvs20081223-4.diff.gz
 a1de1b3049451f8c32b5bfd12a30f3fd 95840 libs optional libsoci-core-gcc_3.0.0+cvs20081223-4_i386.deb
 013bfbad5eb6f1d77cd42de01ff9192f 294088 libdevel optional libsoci-core-gcc-dev_3.0.0+cvs20081223-4_i386.deb
 fb96168e0a3de685a5cf5113ed6671dc 1378196 debug extra libsoci-core-gcc-dbg_3.0.0+cvs20081223-4_i386.deb
 dad52ab83a0c0d4a7fd7e5bb7d22c4c5 36644 libs optional libsoci-mysql-gcc_3.0.0+cvs20081223-4_i386.deb
 9a77b27b6fdc3a9abae06c83b0e53590 35932 libs optional libsoci-sqlite3-gcc_3.0.0+cvs20081223-4_i386.deb
 f7a20158d907d6b9f032836aabbb4a05 35600 libs optional libsoci-postgresql-gcc_3.0.0+cvs20081223-4_i386.deb

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

iEYEARECAAYFAkrPV0MACgkQ5ItltUs5T37p1gCfSpoxafIRrL99/qlSxBkw8zqQ
qaUAoLRF2RLsQZCIXZbpAuzU32bRq9JG
=YFsG
-----END PGP SIGNATURE-----



--- End Message ---

Reply to: