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

Bug#811913: marked as done (tuxcmd-modules: FTBFS with GCC 6: declared in this scope)



Your message dated Wed, 2 Mar 2016 17:37:40 -0800
with message-id <20160303013740.GA10826@jirafa.cyrius.com>
and subject line Re: Bug#811913: tuxcmd-modules: FTBFS with GCC 6: declared in this scope
has caused the Debian Bug report #811913,
regarding tuxcmd-modules: FTBFS with GCC 6: 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.)


-- 
811913: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=811913
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: tuxcmd-modules
Version: 0.6.70+ds-5
Severity: important
User: debian-gcc@lists.debian.org
Usertags: ftbfs-gcc-6 gcc-6-not-declared

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
...
> g++ -I. -I./ZipArchive/ -I/usr/include -Wall -fPIC -O2 -g -DG_DISABLE_DEPRECATED -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -D__VERBOSE_DEBUGx `pkg-config glib-2.0 --cflags` -c zip.cpp
> In file included from zip.cpp:39:0:
> strutils.h:32:24: error: expected unqualified-id before '{' token
>    #define log(msg...)  { }
>                         ^
> 
> In file included from /usr/include/features.h:361:0,
>                  from /usr/include/string.h:25,
>                  from zip.cpp:27:
> /usr/include/x86_64-linux-gnu/bits/mathcalls.h:109:1: error: expected unqualified-id before 'throw'
>  __MATHCALL_VEC (log,, (_Mdouble_ __x));
>  ^
> 
> In file included from /usr/include/c++/6/random:38:0,
>                  from /usr/include/c++/6/bits/stl_algo.h:66,
>                  from /usr/include/c++/6/algorithm:62,
>                  from ./ZipArchive/ZipString_stl.h:27,
>                  from ./ZipArchive/ZipString.h:32,
>                  from ./ZipArchive/ZipException.h:35,
>                  from ./ZipArchive/ZipArchive.h:40,
>                  from zip.cpp:44:
> /usr/include/c++/6/cmath:353:11: error: '::log' has not been declared
>    using ::log;
>            ^~~
> 
> In file included from /usr/include/c++/6/random:49:0,
>                  from /usr/include/c++/6/bits/stl_algo.h:66,
>                  from /usr/include/c++/6/algorithm:62,
>                  from ./ZipArchive/ZipString_stl.h:27,
>                  from ./ZipArchive/ZipString.h:32,
>                  from ./ZipArchive/ZipException.h:35,
>                  from ./ZipArchive/ZipArchive.h:40,
>                  from zip.cpp:44:
> /usr/include/c++/6/bits/random.h: In member function 'void std::geometric_distribution<_IntType>::param_type::_M_initialize()':
> /usr/include/c++/6/bits/random.h:4040:36: error: call of overloaded 'log(double)' is ambiguous
>   { _M_log_1_p = std::log(1.0 - _M_p); }
>                                     ^
> 
> In file included from /usr/include/c++/6/random:38:0,
>                  from /usr/include/c++/6/bits/stl_algo.h:66,
>                  from /usr/include/c++/6/algorithm:62,
>                  from ./ZipArchive/ZipString_stl.h:27,
>                  from ./ZipArchive/ZipString.h:32,
>                  from ./ZipArchive/ZipException.h:35,
>                  from ./ZipArchive/ZipArchive.h:40,
>                  from zip.cpp:44:
> /usr/include/c++/6/cmath:357:3: note: candidate: constexpr float std::log(float)
>    log(float __x)
>    ^~~
> 
> /usr/include/c++/6/cmath:361:3: note: candidate: constexpr long double std::log(long double)
>    log(long double __x)
>    ^~~
> 
> In file included from /usr/include/c++/6/random:51:0,
>                  from /usr/include/c++/6/bits/stl_algo.h:66,
>                  from /usr/include/c++/6/algorithm:62,
>                  from ./ZipArchive/ZipString_stl.h:27,
>                  from ./ZipArchive/ZipString.h:32,
>                  from ./ZipArchive/ZipException.h:35,
>                  from ./ZipArchive/ZipArchive.h:40,
>                  from zip.cpp:44:
> /usr/include/c++/6/bits/random.tcc: In member function 'void std::poisson_distribution<_IntType>::param_type::_M_initialize()':
> /usr/include/c++/6/bits/random.tcc:1401:32: error: call of overloaded 'log(double&)' is ambiguous
>     _M_lm_thr = std::log(_M_mean);
>                                 ^
> 
> In file included from /usr/include/c++/6/random:38:0,
>                  from /usr/include/c++/6/bits/stl_algo.h:66,
>                  from /usr/include/c++/6/algorithm:62,
>                  from ./ZipArchive/ZipString_stl.h:27,
>                  from ./ZipArchive/ZipString.h:32,
>                  from ./ZipArchive/ZipException.h:35,
>                  from ./ZipArchive/ZipArchive.h:40,
>                  from zip.cpp:44:
> /usr/include/c++/6/cmath:357:3: note: candidate: constexpr float std::log(float)
>    log(float __x)
>    ^~~
> 
> /usr/include/c++/6/cmath:361:3: note: candidate: constexpr long double std::log(long double)
>    log(long double __x)
>    ^~~
> 
> In file included from /usr/include/c++/6/random:51:0,
>                  from /usr/include/c++/6/bits/stl_algo.h:66,
>                  from /usr/include/c++/6/algorithm:62,
>                  from ./ZipArchive/ZipString_stl.h:27,
>                  from ./ZipArchive/ZipString.h:32,
>                  from ./ZipArchive/ZipException.h:35,
>                  from ./ZipArchive/ZipArchive.h:40,
>                  from zip.cpp:44:
> /usr/include/c++/6/bits/random.tcc:1407:22: error: call of overloaded 'log(double)' is ambiguous
>               / __pi_4));
>                       ^

--- End Message ---
--- Begin Message ---
* Martin Michlmayr <tbm@hpe.com> [2016-01-19 19:29]:
> Package: tuxcmd-modules
> Version: 0.6.70+ds-5
> 
> 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 to: