Your message dated Wed, 2 Mar 2016 17:35:44 -0800
with message-id <[email protected]>
and subject line Re: Bug#812020: soci: FTBFS with GCC 6: is not a member of
has caused the Debian Bug report #812020,
regarding soci: FTBFS with GCC 6: is not a member of
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 [email protected]
immediately.)


-- 
812020: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=812020
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: soci
Version: 3.2.3-1
Severity: important
User: [email protected]
Usertags: ftbfs-gcc-6

This package fails to build with GCC 6.  GCC 6 has not been released
yet, but it's expected that GCC 6 will become the default compiler for
stretch.

Note that only the first error is reported; there might be more.  You
can find a snapshot of GCC 6 in experimental.  To build with GCC 6,
you can set CC=gcc-6 CXX=g++-6 explicitly.

You may be able to find out more about this issue at
https://gcc.gnu.org/gcc-6/changes.html

> sbuild (Debian sbuild) 0.67.0 (26 Dec 2015) on dl580gen9-02.hlinux
...
> cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/backends/postgresql && /usr/bin/c++  
>  -DHAVE_BOOST=1 -DHAVE_BOOST_DATE_TIME=1 -DHAVE_POSTGRESQL=1 
> -DSOCI_ABI_VERSION=\"3.2\" -I/usr/include/postgresql -I/<<PKGBUILDDIR>>/core  
> -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time 
> -D_FORTIFY_SOURCE=2  -fPIC -pedantic -ansi -Wall -Wpointer-arith -Wcast-align 
> -Wcast-qual -Wfloat-equal -Wredundant-decls -Wno-long-long -std=c++98   -o 
> CMakeFiles/soci_postgresql_static.dir/error.cpp.o -c 
> /<<PKGBUILDDIR>>/backends/postgresql/error.cpp
> /<<PKGBUILDDIR>>/backends/odbc/statement.cpp: In member function 'virtual 
> void soci::odbc_statement_backend::prepare(const string&, 
> soci::details::statement_type)':
> /<<PKGBUILDDIR>>/backends/odbc/statement.cpp:134:62: warning: cast from type 
> 'const char*' to type 'SQLCHAR* {aka unsigned char*}' casts away qualifiers 
> [-Wcast-qual]
>      SQLRETURN rc = SQLPrepare(hstmt_, (SQLCHAR*)query_.c_str(), 
> (SQLINTEGER)query_.size());
>                                                               ^
> 
> In file included from 
> /<<PKGBUILDDIR>>/backends/mysql/standard-into-type.cpp:12:0:
> /<<PKGBUILDDIR>>/backends/mysql/common.h: In instantiation of 'bool 
> soci::details::mysql::is_infinity_or_nan(T) [with T = double]':
> /<<PKGBUILDDIR>>/backends/mysql/common.h:54:27:   required from 'void 
> soci::details::mysql::parse_num(const char*, T&) [with T = double]'
> /<<PKGBUILDDIR>>/backends/mysql/standard-into-type.cpp:122:37:   required 
> from here
> /<<PKGBUILDDIR>>/backends/mysql/common.h:42:15: warning: comparing floating 
> point with == or != is unsafe [-Wfloat-equal]
>      return (y != y);
>             ~~~^~~~~
> 
> /<<PKGBUILDDIR>>/backends/sqlite3/standard-into-type.cpp: In member function 
> 'virtual void soci::sqlite3_standard_into_type_backend::post_fetch(bool, 
> bool, soci::indicator*)':
> /<<PKGBUILDDIR>>/backends/sqlite3/standard-into-type.cpp:110:25: error: 
> 'strtoll' is not a member of 'std'
>                  *dest = std::strtoll(buf, NULL, 10);
>                          ^~~
> 
> /<<PKGBUILDDIR>>/backends/sqlite3/standard-into-type.cpp:110:25: note: 
> suggested alternative:
> In file included from /usr/include/c++/6/cstdlib:72:0,
>                  from 
> /<<PKGBUILDDIR>>/backends/sqlite3/standard-into-type.cpp:14:
> /usr/include/stdlib.h:209:22: note:   'strtoll'
>  extern long long int strtoll (const char *__restrict __nptr,
>                       ^~~~~~~
> 
> /<<PKGBUILDDIR>>/backends/sqlite3/standard-into-type.cpp:139:33: error: 
> 'strtoll' is not a member of 'std'
>                  long long val = std::strtoll(buf, NULL, 10);
>                                  ^~~
-- 
Martin Michlmayr
Linux for HPE Helion, Hewlett Packard Enterprise

--- End Message ---
--- Begin Message ---
* Martin Michlmayr <[email protected]> [2016-01-19 20:35]:
> Package: soci
> Version: 3.2.3-1
> 
> This package fails to build with GCC 6.  GCC 6 has not been released
> yet, but it's expected that GCC 6 will become the default compiler for
> stretch.

The package builds fine with GCC 6 6-20160228-1.  Since the package
itself didn't change, I guess that either a bug in GCC 6 got fixed or
possibly a header in another package.

-- 
Martin Michlmayr
Linux for HPE Helion, Hewlett Packard Enterprise

--- End Message ---

Reply via email to