Bug#811827: prank: FTBFS with GCC 6: no match for

2016-05-13 Thread Andreas Tille
Hi Ari,

Sascha Steinbiss has found a patch for this problem which you can find
here:


https://anonscm.debian.org/viewvc/debian-med/trunk/packages/prank/trunk/debian/patches/

I'd also recommend to apply the hardening patch.

Kind regards

  Andreas.

On Wed, Jan 20, 2016 at 03:10:09PM +0200, Ari Löytynoja wrote:
> Hi,
> 
> I'm using gcc 5.2.1 on Ubuntu 15.10. Is it possible to check the 
> compatibility 
> with this version of gcc? If not, is there gcc-6 available for Wily? I only 
> found a repository with gcc-6 for the next Ubuntu release:
>  https://launchpad.net/~ubuntu-toolchain-r/+archive/ubuntu/test/
> 
> Regards, Ari
> 
> On Wednesday 20 January 2016 11:42:00 Andreas Tille wrote:
> > Hi Ari,
> > 
> > yes, that source tarball from
> >   http://wasabiapp.org/download/prank/prank.source.150803.tgz
> > is used for the packaging.
> > 
> > Thanks a lot for your quick reply
> > 
> >  Andreas.
> > 
> > On Wed, Jan 20, 2016 at 12:32:01PM +0200, Ari Löytynoja wrote:
> > > Hi,
> > > Which version of PRANK is that? The latest one is here
> > > http://wasabiapp.org/download/prank/prank.source.150803.tgz
> > > 
> > > Regards, Ari
> > > 
> > > On Wednesday 20 January 2016 11:04:46 Andreas Tille wrote:
> > > > Hi,
> > > > 
> > > > the Debian package for prank failed to build when using gcc version 6 as
> > > > you can read below in the bug report.  Feel free to contact us via the
> > > > bug e-mail address (see To of this mail).
> > > > 
> > > > Kind regards
> > > > 
> > > >Andreas.
> > > > 
> > > > On Tue, Jan 19, 2016 at 06:22:00PM -0800, Martin Michlmayr wrote:
> > > > > Package: prank
> > > > > Version: 0.0.150803-1
> > > > > Severity: important
> > > > > User: debian-...@lists.debian.org
> > > > > Usertags: ftbfs-gcc-6 gcc-6-no-match
> > > > > 
> > > > > 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++ -c -g -O2 -fstack-protector-strong -Wformat
> > > > > > -Werror=format-security
> > > > > > -pipe -O3  -I. -I/usr/include -o bppancestors.o bppancestors.cpp
> > > > > > hmmodel.cpp: In member function 'void
> > > > > > HMModel::alignmentModel(AncestralNode*)': hmmodel.cpp:1513:57:
> > > > > > error:
> > > > > > no match for 'operator<<' (operand types are
> > > > > > 'std::basic_ostream'
> > > > > > and 'std::ostream {aka std::basic_ostream}')> >
> > > > > > 
> > > > > >  cout<<"HMModel::alignmentModel: impossible 'as'"< > > > > >  ^~
> > > > > > 
> > > > > > hmmodel.cpp:1513:57: note: candidate: operator<<(int, int)
> > > > > > 
> > > > > > hmmodel.cpp:1513:57: note:   no known conversion for argument 2 from
> > > > > > 'std::ostream {aka std::basic_ostream}' to 'int' In file
> > > > > > included
> > > > > > from /usr/include/c++/6/istream:39:0,
> > > > > > 
> > > > > >  from /usr/include/c++/6/fstream:38,
> > > > > > 
> > > > > >  from hmmodel.cpp:24:
> > > > > > /usr/include/c++/6/ostream:108:7: note: candidate:
> > > > > > std::basic_ostream<_CharT, _Traits>::__ostream_type&
> > > > > > std::basic_ostream<_CharT,
> > > > > > _Traits>::operator<<(std::basic_ostream<_CharT,
> > > > > > _Traits>::__ostream_type& (*)(std::basic_ostream<_CharT,
> > > > > > _Traits>::__ostream_type&)) [with _CharT = char; _Traits =
> > > > > > std::char_traits; std::basic_ostream<_CharT,
> > > > > > _Traits>::__ostream_type = std::basic_ostream]> >
> > > > > > 
> > > > > >operator<<(__ostream_type& (*__pf)(__ostream_type&))
> > > > > >^~~~
> > > > > > 
> > > > > > /usr/include/c++/6/ostream:108:7: note:   no known conversion for
> > > > > > argument 1 from 'std::ostream {aka std::basic_ostream}' to
> > > > > > 'std::basic_ostream::__ostream_type&
> > > > > > (*)(std::basic_ostream::__ostream_type&) {aka
> > > > > > std::basic_ostream& (*)(std::basic_ostream&)}'
> > > > > > /usr/include/c++/6/ostream:117:7: note: candidate:
> > > > > > std::basic_ostream<_CharT, _Traits>::__ostream_type&
> > > > > > std::basic_ostream<_CharT,
> > > > > > _Traits>::operator<<(std::basic_ostream<_CharT,
> > > > > > _Traits>::__ios_type&
> > > > > > (*)(std::basic_ostream<_CharT, _Traits>::__ios_type&)) [with _CharT
> > > > > > =
> > > > > > char; _Traits = std::char_traits; std::basic_ostream<_CharT,
> > > > > > _Traits>::__ostream_type = std::basic_ostream;
> > > > > > std::basic_ostream<_CharT, 

Bug#811827: prank: FTBFS with GCC 6: no match for

2016-05-13 Thread Sascha Steinbiss
Hi all,

I fixed this in svn and also updated hardening and some other minor things.

Cheers
Sascha

On Tue, 19 Jan 2016 18:22:00 -0800 Martin Michlmayr  wrote:
> Package: prank
> Version: 0.0.150803-1
> Severity: important
> User: debian-...@lists.debian.org
> Usertags: ftbfs-gcc-6 gcc-6-no-match
> 
> 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++ -c -g -O2 -fstack-protector-strong -Wformat -Werror=format-security 
> > -pipe -O3  -I. -I/usr/include -o bppancestors.o bppancestors.cpp
> > hmmodel.cpp: In member function 'void 
> > HMModel::alignmentModel(AncestralNode*)':
> > hmmodel.cpp:1513:57: error: no match for 'operator<<' (operand types are 
> > 'std::basic_ostream' and 'std::ostream {aka 
> > std::basic_ostream}')
> >  cout<<"HMModel::alignmentModel: impossible 'as'"< >  ^~
> > 
> > hmmodel.cpp:1513:57: note: candidate: operator<<(int, int) 
> > hmmodel.cpp:1513:57: note:   no known conversion for argument 2 from 
> > 'std::ostream {aka std::basic_ostream}' to 'int'
> > In file included from /usr/include/c++/6/istream:39:0,
> >  from /usr/include/c++/6/fstream:38,
> >  from hmmodel.cpp:24:
> > /usr/include/c++/6/ostream:108:7: note: candidate: 
> > std::basic_ostream<_CharT, _Traits>::__ostream_type& 
> > std::basic_ostream<_CharT, _Traits>::operator<<(std::basic_ostream<_CharT, 
> > _Traits>::__ostream_type& (*)(std::basic_ostream<_CharT, 
> > _Traits>::__ostream_type&)) [with _CharT = char; _Traits = 
> > std::char_traits; std::basic_ostream<_CharT, _Traits>::__ostream_type 
> > = std::basic_ostream]
> >operator<<(__ostream_type& (*__pf)(__ostream_type&))
> >^~~~
> > 
> > /usr/include/c++/6/ostream:108:7: note:   no known conversion for argument 
> > 1 from 'std::ostream {aka std::basic_ostream}' to 
> > 'std::basic_ostream::__ostream_type& 
> > (*)(std::basic_ostream::__ostream_type&) {aka 
> > std::basic_ostream& (*)(std::basic_ostream&)}'
> > /usr/include/c++/6/ostream:117:7: note: candidate: 
> > std::basic_ostream<_CharT, _Traits>::__ostream_type& 
> > std::basic_ostream<_CharT, _Traits>::operator<<(std::basic_ostream<_CharT, 
> > _Traits>::__ios_type& (*)(std::basic_ostream<_CharT, 
> > _Traits>::__ios_type&)) [with _CharT = char; _Traits = 
> > std::char_traits; std::basic_ostream<_CharT, _Traits>::__ostream_type 
> > = std::basic_ostream; std::basic_ostream<_CharT, _Traits>::__ios_type 
> > = std::basic_ios]
> >operator<<(__ios_type& (*__pf)(__ios_type&))
> >^~~~
> > 
> > /usr/include/c++/6/ostream:117:7: note:   no known conversion for argument 
> > 1 from 'std::ostream {aka std::basic_ostream}' to 
> > 'std::basic_ostream::__ios_type& 
> > (*)(std::basic_ostream::__ios_type&) {aka std::basic_ios& 
> > (*)(std::basic_ios&)}'
> > /usr/include/c++/6/ostream:127:7: note: candidate: 
> > std::basic_ostream<_CharT, _Traits>::__ostream_type& 
> > std::basic_ostream<_CharT, _Traits>::operator<<(std::ios_base& 
> > (*)(std::ios_base&)) [with _CharT = char; _Traits = std::char_traits; 
> > std::basic_ostream<_CharT, _Traits>::__ostream_type = 
> > std::basic_ostream]
> >operator<<(ios_base& (*__pf) (ios_base&))
> >^~~~
> > 
> > /usr/include/c++/6/ostream:127:7: note:   no known conversion for argument 
> > 1 from 'std::ostream {aka std::basic_ostream}' to 'std::ios_base& 
> > (*)(std::ios_base&)'
> > /usr/include/c++/6/ostream:166:7: note: candidate: 
> > std::basic_ostream<_CharT, _Traits>::__ostream_type& 
> > std::basic_ostream<_CharT, _Traits>::operator<<(long int) [with _CharT = 
> > char; _Traits = std::char_traits; std::basic_ostream<_CharT, 
> > _Traits>::__ostream_type = std::basic_ostream]
> >operator<<(long __n)
> >^~~~
> > 
> > /usr/include/c++/6/ostream:166:7: note:   no known conversion for argument 
> > 1 from 'std::ostream {aka std::basic_ostream}' to 'long int'
> > /usr/include/c++/6/ostream:170:7: note: candidate: 
> > std::basic_ostream<_CharT, _Traits>::__ostream_type& 
> > std::basic_ostream<_CharT, _Traits>::operator<<(long unsigned int) [with 
> > _CharT = char; _Traits = std::char_traits; std::basic_ostream<_CharT, 
> > _Traits>::__ostream_type = std::basic_ostream]
> >operator<<(unsigned long __n)
> >^~~~
> > 
> > /usr/include/c++/6/ostream:170:7: note:   no known conversion for argument 
> > 1 from 'std::ostream {aka std::basic_ostream}' to 'long unsigned int'
> > 

Bug#811827: prank: FTBFS with GCC 6: no match for

2016-01-24 Thread Andreas Tille
Hi Ari,

to make sure your question will not remain unanswered:  I have no idea
about Ubuntu but if I were you I would try to simply install the
packages you found on your currently used system.  Alternatively you
could try to create a chroot environment.

Hope this helps

Andreas.

On Wed, Jan 20, 2016 at 03:10:09PM +0200, Ari Löytynoja wrote:
> Hi,
> 
> I'm using gcc 5.2.1 on Ubuntu 15.10. Is it possible to check the 
> compatibility 
> with this version of gcc? If not, is there gcc-6 available for Wily? I only 
> found a repository with gcc-6 for the next Ubuntu release:
>  https://launchpad.net/~ubuntu-toolchain-r/+archive/ubuntu/test/
> 
> Regards, Ari
> 
> On Wednesday 20 January 2016 11:42:00 Andreas Tille wrote:
> > Hi Ari,
> > 
> > yes, that source tarball from
> >   http://wasabiapp.org/download/prank/prank.source.150803.tgz
> > is used for the packaging.
> > 
> > Thanks a lot for your quick reply
> > 
> >  Andreas.
> > 
> > On Wed, Jan 20, 2016 at 12:32:01PM +0200, Ari Löytynoja wrote:
> > > Hi,
> > > Which version of PRANK is that? The latest one is here
> > > http://wasabiapp.org/download/prank/prank.source.150803.tgz
> > > 
> > > Regards, Ari
> > > 
> > > On Wednesday 20 January 2016 11:04:46 Andreas Tille wrote:
> > > > Hi,
> > > > 
> > > > the Debian package for prank failed to build when using gcc version 6 as
> > > > you can read below in the bug report.  Feel free to contact us via the
> > > > bug e-mail address (see To of this mail).
> > > > 
> > > > Kind regards
> > > > 
> > > >Andreas.
> > > > 
> > > > On Tue, Jan 19, 2016 at 06:22:00PM -0800, Martin Michlmayr wrote:
> > > > > Package: prank
> > > > > Version: 0.0.150803-1
> > > > > Severity: important
> > > > > User: debian-...@lists.debian.org
> > > > > Usertags: ftbfs-gcc-6 gcc-6-no-match
> > > > > 
> > > > > 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++ -c -g -O2 -fstack-protector-strong -Wformat
> > > > > > -Werror=format-security
> > > > > > -pipe -O3  -I. -I/usr/include -o bppancestors.o bppancestors.cpp
> > > > > > hmmodel.cpp: In member function 'void
> > > > > > HMModel::alignmentModel(AncestralNode*)': hmmodel.cpp:1513:57:
> > > > > > error:
> > > > > > no match for 'operator<<' (operand types are
> > > > > > 'std::basic_ostream'
> > > > > > and 'std::ostream {aka std::basic_ostream}')> >
> > > > > > 
> > > > > >  cout<<"HMModel::alignmentModel: impossible 'as'"< > > > > >  ^~
> > > > > > 
> > > > > > hmmodel.cpp:1513:57: note: candidate: operator<<(int, int)
> > > > > > 
> > > > > > hmmodel.cpp:1513:57: note:   no known conversion for argument 2 from
> > > > > > 'std::ostream {aka std::basic_ostream}' to 'int' In file
> > > > > > included
> > > > > > from /usr/include/c++/6/istream:39:0,
> > > > > > 
> > > > > >  from /usr/include/c++/6/fstream:38,
> > > > > > 
> > > > > >  from hmmodel.cpp:24:
> > > > > > /usr/include/c++/6/ostream:108:7: note: candidate:
> > > > > > std::basic_ostream<_CharT, _Traits>::__ostream_type&
> > > > > > std::basic_ostream<_CharT,
> > > > > > _Traits>::operator<<(std::basic_ostream<_CharT,
> > > > > > _Traits>::__ostream_type& (*)(std::basic_ostream<_CharT,
> > > > > > _Traits>::__ostream_type&)) [with _CharT = char; _Traits =
> > > > > > std::char_traits; std::basic_ostream<_CharT,
> > > > > > _Traits>::__ostream_type = std::basic_ostream]> >
> > > > > > 
> > > > > >operator<<(__ostream_type& (*__pf)(__ostream_type&))
> > > > > >^~~~
> > > > > > 
> > > > > > /usr/include/c++/6/ostream:108:7: note:   no known conversion for
> > > > > > argument 1 from 'std::ostream {aka std::basic_ostream}' to
> > > > > > 'std::basic_ostream::__ostream_type&
> > > > > > (*)(std::basic_ostream::__ostream_type&) {aka
> > > > > > std::basic_ostream& (*)(std::basic_ostream&)}'
> > > > > > /usr/include/c++/6/ostream:117:7: note: candidate:
> > > > > > std::basic_ostream<_CharT, _Traits>::__ostream_type&
> > > > > > std::basic_ostream<_CharT,
> > > > > > _Traits>::operator<<(std::basic_ostream<_CharT,
> > > > > > _Traits>::__ios_type&
> > > > > > (*)(std::basic_ostream<_CharT, _Traits>::__ios_type&)) [with _CharT
> > > > > > =
> > > > > > char; _Traits = std::char_traits; std::basic_ostream<_CharT,
> > > > > > _Traits>::__ostream_type = std::basic_ostream;
> > > > > > 

Bug#811827: prank: FTBFS with GCC 6: no match for

2016-01-20 Thread Andreas Tille
Hi,

the Debian package for prank failed to build when using gcc version 6 as
you can read below in the bug report.  Feel free to contact us via the
bug e-mail address (see To of this mail).

Kind regards

   Andreas.

On Tue, Jan 19, 2016 at 06:22:00PM -0800, Martin Michlmayr wrote:
> Package: prank
> Version: 0.0.150803-1
> Severity: important
> User: debian-...@lists.debian.org
> Usertags: ftbfs-gcc-6 gcc-6-no-match
> 
> 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++ -c -g -O2 -fstack-protector-strong -Wformat -Werror=format-security 
> > -pipe -O3  -I. -I/usr/include -o bppancestors.o bppancestors.cpp
> > hmmodel.cpp: In member function 'void 
> > HMModel::alignmentModel(AncestralNode*)':
> > hmmodel.cpp:1513:57: error: no match for 'operator<<' (operand types are 
> > 'std::basic_ostream' and 'std::ostream {aka 
> > std::basic_ostream}')
> >  cout<<"HMModel::alignmentModel: impossible 'as'"< >  ^~
> > 
> > hmmodel.cpp:1513:57: note: candidate: operator<<(int, int) 
> > hmmodel.cpp:1513:57: note:   no known conversion for argument 2 from 
> > 'std::ostream {aka std::basic_ostream}' to 'int'
> > In file included from /usr/include/c++/6/istream:39:0,
> >  from /usr/include/c++/6/fstream:38,
> >  from hmmodel.cpp:24:
> > /usr/include/c++/6/ostream:108:7: note: candidate: 
> > std::basic_ostream<_CharT, _Traits>::__ostream_type& 
> > std::basic_ostream<_CharT, _Traits>::operator<<(std::basic_ostream<_CharT, 
> > _Traits>::__ostream_type& (*)(std::basic_ostream<_CharT, 
> > _Traits>::__ostream_type&)) [with _CharT = char; _Traits = 
> > std::char_traits; std::basic_ostream<_CharT, _Traits>::__ostream_type 
> > = std::basic_ostream]
> >operator<<(__ostream_type& (*__pf)(__ostream_type&))
> >^~~~
> > 
> > /usr/include/c++/6/ostream:108:7: note:   no known conversion for argument 
> > 1 from 'std::ostream {aka std::basic_ostream}' to 
> > 'std::basic_ostream::__ostream_type& 
> > (*)(std::basic_ostream::__ostream_type&) {aka 
> > std::basic_ostream& (*)(std::basic_ostream&)}'
> > /usr/include/c++/6/ostream:117:7: note: candidate: 
> > std::basic_ostream<_CharT, _Traits>::__ostream_type& 
> > std::basic_ostream<_CharT, _Traits>::operator<<(std::basic_ostream<_CharT, 
> > _Traits>::__ios_type& (*)(std::basic_ostream<_CharT, 
> > _Traits>::__ios_type&)) [with _CharT = char; _Traits = 
> > std::char_traits; std::basic_ostream<_CharT, _Traits>::__ostream_type 
> > = std::basic_ostream; std::basic_ostream<_CharT, _Traits>::__ios_type 
> > = std::basic_ios]
> >operator<<(__ios_type& (*__pf)(__ios_type&))
> >^~~~
> > 
> > /usr/include/c++/6/ostream:117:7: note:   no known conversion for argument 
> > 1 from 'std::ostream {aka std::basic_ostream}' to 
> > 'std::basic_ostream::__ios_type& 
> > (*)(std::basic_ostream::__ios_type&) {aka std::basic_ios& 
> > (*)(std::basic_ios&)}'
> > /usr/include/c++/6/ostream:127:7: note: candidate: 
> > std::basic_ostream<_CharT, _Traits>::__ostream_type& 
> > std::basic_ostream<_CharT, _Traits>::operator<<(std::ios_base& 
> > (*)(std::ios_base&)) [with _CharT = char; _Traits = std::char_traits; 
> > std::basic_ostream<_CharT, _Traits>::__ostream_type = 
> > std::basic_ostream]
> >operator<<(ios_base& (*__pf) (ios_base&))
> >^~~~
> > 
> > /usr/include/c++/6/ostream:127:7: note:   no known conversion for argument 
> > 1 from 'std::ostream {aka std::basic_ostream}' to 'std::ios_base& 
> > (*)(std::ios_base&)'
> > /usr/include/c++/6/ostream:166:7: note: candidate: 
> > std::basic_ostream<_CharT, _Traits>::__ostream_type& 
> > std::basic_ostream<_CharT, _Traits>::operator<<(long int) [with _CharT = 
> > char; _Traits = std::char_traits; std::basic_ostream<_CharT, 
> > _Traits>::__ostream_type = std::basic_ostream]
> >operator<<(long __n)
> >^~~~
> > 
> > /usr/include/c++/6/ostream:166:7: note:   no known conversion for argument 
> > 1 from 'std::ostream {aka std::basic_ostream}' to 'long int'
> > /usr/include/c++/6/ostream:170:7: note: candidate: 
> > std::basic_ostream<_CharT, _Traits>::__ostream_type& 
> > std::basic_ostream<_CharT, _Traits>::operator<<(long unsigned int) [with 
> > _CharT = char; _Traits = std::char_traits; std::basic_ostream<_CharT, 
> > _Traits>::__ostream_type = std::basic_ostream]
> >operator<<(unsigned long __n)
> >^~~~
> > 
> > /usr/include/c++/6/ostream:170:7: note:   no known 

Bug#811827: prank: FTBFS with GCC 6: no match for

2016-01-20 Thread Ari Löytynoja
Hi,
Which version of PRANK is that? The latest one is here
http://wasabiapp.org/download/prank/prank.source.150803.tgz

Regards, Ari

On Wednesday 20 January 2016 11:04:46 Andreas Tille wrote:
> Hi,
> 
> the Debian package for prank failed to build when using gcc version 6 as
> you can read below in the bug report.  Feel free to contact us via the
> bug e-mail address (see To of this mail).
> 
> Kind regards
> 
>Andreas.
> 
> On Tue, Jan 19, 2016 at 06:22:00PM -0800, Martin Michlmayr wrote:
> > Package: prank
> > Version: 0.0.150803-1
> > Severity: important
> > User: debian-...@lists.debian.org
> > Usertags: ftbfs-gcc-6 gcc-6-no-match
> > 
> > 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++ -c -g -O2 -fstack-protector-strong -Wformat -Werror=format-security
> > > -pipe -O3  -I. -I/usr/include -o bppancestors.o bppancestors.cpp
> > > hmmodel.cpp: In member function 'void
> > > HMModel::alignmentModel(AncestralNode*)': hmmodel.cpp:1513:57: error:
> > > no match for 'operator<<' (operand types are 'std::basic_ostream'
> > > and 'std::ostream {aka std::basic_ostream}')> > 
> > >  cout<<"HMModel::alignmentModel: impossible 'as'"< > >  ^~
> > > 
> > > hmmodel.cpp:1513:57: note: candidate: operator<<(int, int) 
> > > hmmodel.cpp:1513:57: note:   no known conversion for argument 2 from
> > > 'std::ostream {aka std::basic_ostream}' to 'int' In file included
> > > from /usr/include/c++/6/istream:39:0,
> > > 
> > >  from /usr/include/c++/6/fstream:38,
> > > 
> > >  from hmmodel.cpp:24:
> > > /usr/include/c++/6/ostream:108:7: note: candidate:
> > > std::basic_ostream<_CharT, _Traits>::__ostream_type&
> > > std::basic_ostream<_CharT,
> > > _Traits>::operator<<(std::basic_ostream<_CharT,
> > > _Traits>::__ostream_type& (*)(std::basic_ostream<_CharT,
> > > _Traits>::__ostream_type&)) [with _CharT = char; _Traits =
> > > std::char_traits; std::basic_ostream<_CharT,
> > > _Traits>::__ostream_type = std::basic_ostream]> > 
> > >operator<<(__ostream_type& (*__pf)(__ostream_type&))
> > >^~~~
> > > 
> > > /usr/include/c++/6/ostream:108:7: note:   no known conversion for
> > > argument 1 from 'std::ostream {aka std::basic_ostream}' to
> > > 'std::basic_ostream::__ostream_type&
> > > (*)(std::basic_ostream::__ostream_type&) {aka
> > > std::basic_ostream& (*)(std::basic_ostream&)}'
> > > /usr/include/c++/6/ostream:117:7: note: candidate:
> > > std::basic_ostream<_CharT, _Traits>::__ostream_type&
> > > std::basic_ostream<_CharT,
> > > _Traits>::operator<<(std::basic_ostream<_CharT, _Traits>::__ios_type&
> > > (*)(std::basic_ostream<_CharT, _Traits>::__ios_type&)) [with _CharT =
> > > char; _Traits = std::char_traits; std::basic_ostream<_CharT,
> > > _Traits>::__ostream_type = std::basic_ostream;
> > > std::basic_ostream<_CharT, _Traits>::__ios_type = std::basic_ios]> 
> 
> > >operator<<(__ios_type& (*__pf)(__ios_type&))
> > >^~~~
> > > 
> > > /usr/include/c++/6/ostream:117:7: note:   no known conversion for
> > > argument 1 from 'std::ostream {aka std::basic_ostream}' to
> > > 'std::basic_ostream::__ios_type&
> > > (*)(std::basic_ostream::__ios_type&) {aka std::basic_ios&
> > > (*)(std::basic_ios&)}' /usr/include/c++/6/ostream:127:7: note:
> > > candidate: std::basic_ostream<_CharT, _Traits>::__ostream_type&
> > > std::basic_ostream<_CharT, _Traits>::operator<<(std::ios_base&
> > > (*)(std::ios_base&)) [with _CharT = char; _Traits =
> > > std::char_traits; std::basic_ostream<_CharT,
> > > _Traits>::__ostream_type = std::basic_ostream]> > 
> > >operator<<(ios_base& (*__pf) (ios_base&))
> > >^~~~
> > > 
> > > /usr/include/c++/6/ostream:127:7: note:   no known conversion for
> > > argument 1 from 'std::ostream {aka std::basic_ostream}' to
> > > 'std::ios_base& (*)(std::ios_base&)' /usr/include/c++/6/ostream:166:7:
> > > note: candidate: std::basic_ostream<_CharT, _Traits>::__ostream_type&
> > > std::basic_ostream<_CharT, _Traits>::operator<<(long int) [with _CharT
> > > = char; _Traits = std::char_traits; std::basic_ostream<_CharT,
> > > _Traits>::__ostream_type = std::basic_ostream]> > 
> > >operator<<(long __n)
> > >^~~~
> > > 
> > > /usr/include/c++/6/ostream:166:7: note:   no known conversion for
> > > argument 1 from 'std::ostream {aka std::basic_ostream}' to 'long
> > > int' /usr/include/c++/6/ostream:170:7: note: candidate:

Bug#811827: prank: FTBFS with GCC 6: no match for

2016-01-20 Thread Andreas Tille
Hi Ari,

yes, that source tarball from
  http://wasabiapp.org/download/prank/prank.source.150803.tgz
is used for the packaging.

Thanks a lot for your quick reply

 Andreas.

On Wed, Jan 20, 2016 at 12:32:01PM +0200, Ari Löytynoja wrote:
> Hi,
> Which version of PRANK is that? The latest one is here
> http://wasabiapp.org/download/prank/prank.source.150803.tgz
> 
> Regards, Ari
> 
> On Wednesday 20 January 2016 11:04:46 Andreas Tille wrote:
> > Hi,
> > 
> > the Debian package for prank failed to build when using gcc version 6 as
> > you can read below in the bug report.  Feel free to contact us via the
> > bug e-mail address (see To of this mail).
> > 
> > Kind regards
> > 
> >Andreas.
> > 
> > On Tue, Jan 19, 2016 at 06:22:00PM -0800, Martin Michlmayr wrote:
> > > Package: prank
> > > Version: 0.0.150803-1
> > > Severity: important
> > > User: debian-...@lists.debian.org
> > > Usertags: ftbfs-gcc-6 gcc-6-no-match
> > > 
> > > 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++ -c -g -O2 -fstack-protector-strong -Wformat -Werror=format-security
> > > > -pipe -O3  -I. -I/usr/include -o bppancestors.o bppancestors.cpp
> > > > hmmodel.cpp: In member function 'void
> > > > HMModel::alignmentModel(AncestralNode*)': hmmodel.cpp:1513:57: error:
> > > > no match for 'operator<<' (operand types are 'std::basic_ostream'
> > > > and 'std::ostream {aka std::basic_ostream}')> > 
> > > >  cout<<"HMModel::alignmentModel: impossible 'as'"< > > >  ^~
> > > > 
> > > > hmmodel.cpp:1513:57: note: candidate: operator<<(int, int) 
> > > > hmmodel.cpp:1513:57: note:   no known conversion for argument 2 from
> > > > 'std::ostream {aka std::basic_ostream}' to 'int' In file included
> > > > from /usr/include/c++/6/istream:39:0,
> > > > 
> > > >  from /usr/include/c++/6/fstream:38,
> > > > 
> > > >  from hmmodel.cpp:24:
> > > > /usr/include/c++/6/ostream:108:7: note: candidate:
> > > > std::basic_ostream<_CharT, _Traits>::__ostream_type&
> > > > std::basic_ostream<_CharT,
> > > > _Traits>::operator<<(std::basic_ostream<_CharT,
> > > > _Traits>::__ostream_type& (*)(std::basic_ostream<_CharT,
> > > > _Traits>::__ostream_type&)) [with _CharT = char; _Traits =
> > > > std::char_traits; std::basic_ostream<_CharT,
> > > > _Traits>::__ostream_type = std::basic_ostream]> > 
> > > >operator<<(__ostream_type& (*__pf)(__ostream_type&))
> > > >^~~~
> > > > 
> > > > /usr/include/c++/6/ostream:108:7: note:   no known conversion for
> > > > argument 1 from 'std::ostream {aka std::basic_ostream}' to
> > > > 'std::basic_ostream::__ostream_type&
> > > > (*)(std::basic_ostream::__ostream_type&) {aka
> > > > std::basic_ostream& (*)(std::basic_ostream&)}'
> > > > /usr/include/c++/6/ostream:117:7: note: candidate:
> > > > std::basic_ostream<_CharT, _Traits>::__ostream_type&
> > > > std::basic_ostream<_CharT,
> > > > _Traits>::operator<<(std::basic_ostream<_CharT, _Traits>::__ios_type&
> > > > (*)(std::basic_ostream<_CharT, _Traits>::__ios_type&)) [with _CharT =
> > > > char; _Traits = std::char_traits; std::basic_ostream<_CharT,
> > > > _Traits>::__ostream_type = std::basic_ostream;
> > > > std::basic_ostream<_CharT, _Traits>::__ios_type = 
> > > > std::basic_ios]> 
> > 
> > > >operator<<(__ios_type& (*__pf)(__ios_type&))
> > > >^~~~
> > > > 
> > > > /usr/include/c++/6/ostream:117:7: note:   no known conversion for
> > > > argument 1 from 'std::ostream {aka std::basic_ostream}' to
> > > > 'std::basic_ostream::__ios_type&
> > > > (*)(std::basic_ostream::__ios_type&) {aka std::basic_ios&
> > > > (*)(std::basic_ios&)}' /usr/include/c++/6/ostream:127:7: note:
> > > > candidate: std::basic_ostream<_CharT, _Traits>::__ostream_type&
> > > > std::basic_ostream<_CharT, _Traits>::operator<<(std::ios_base&
> > > > (*)(std::ios_base&)) [with _CharT = char; _Traits =
> > > > std::char_traits; std::basic_ostream<_CharT,
> > > > _Traits>::__ostream_type = std::basic_ostream]> > 
> > > >operator<<(ios_base& (*__pf) (ios_base&))
> > > >^~~~
> > > > 
> > > > /usr/include/c++/6/ostream:127:7: note:   no known conversion for
> > > > argument 1 from 'std::ostream {aka std::basic_ostream}' to
> > > > 'std::ios_base& (*)(std::ios_base&)' /usr/include/c++/6/ostream:166:7:
> > > > note: candidate: std::basic_ostream<_CharT, _Traits>::__ostream_type&
> > > > 

Bug#811827: prank: FTBFS with GCC 6: no match for

2016-01-20 Thread Ari Löytynoja
Hi,

I'm using gcc 5.2.1 on Ubuntu 15.10. Is it possible to check the compatibility 
with this version of gcc? If not, is there gcc-6 available for Wily? I only 
found a repository with gcc-6 for the next Ubuntu release:
 https://launchpad.net/~ubuntu-toolchain-r/+archive/ubuntu/test/

Regards, Ari

On Wednesday 20 January 2016 11:42:00 Andreas Tille wrote:
> Hi Ari,
> 
> yes, that source tarball from
>   http://wasabiapp.org/download/prank/prank.source.150803.tgz
> is used for the packaging.
> 
> Thanks a lot for your quick reply
> 
>  Andreas.
> 
> On Wed, Jan 20, 2016 at 12:32:01PM +0200, Ari Löytynoja wrote:
> > Hi,
> > Which version of PRANK is that? The latest one is here
> > http://wasabiapp.org/download/prank/prank.source.150803.tgz
> > 
> > Regards, Ari
> > 
> > On Wednesday 20 January 2016 11:04:46 Andreas Tille wrote:
> > > Hi,
> > > 
> > > the Debian package for prank failed to build when using gcc version 6 as
> > > you can read below in the bug report.  Feel free to contact us via the
> > > bug e-mail address (see To of this mail).
> > > 
> > > Kind regards
> > > 
> > >Andreas.
> > > 
> > > On Tue, Jan 19, 2016 at 06:22:00PM -0800, Martin Michlmayr wrote:
> > > > Package: prank
> > > > Version: 0.0.150803-1
> > > > Severity: important
> > > > User: debian-...@lists.debian.org
> > > > Usertags: ftbfs-gcc-6 gcc-6-no-match
> > > > 
> > > > 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++ -c -g -O2 -fstack-protector-strong -Wformat
> > > > > -Werror=format-security
> > > > > -pipe -O3  -I. -I/usr/include -o bppancestors.o bppancestors.cpp
> > > > > hmmodel.cpp: In member function 'void
> > > > > HMModel::alignmentModel(AncestralNode*)': hmmodel.cpp:1513:57:
> > > > > error:
> > > > > no match for 'operator<<' (operand types are
> > > > > 'std::basic_ostream'
> > > > > and 'std::ostream {aka std::basic_ostream}')> >
> > > > > 
> > > > >  cout<<"HMModel::alignmentModel: impossible 'as'"< > > > >  ^~
> > > > > 
> > > > > hmmodel.cpp:1513:57: note: candidate: operator<<(int, int)
> > > > > 
> > > > > hmmodel.cpp:1513:57: note:   no known conversion for argument 2 from
> > > > > 'std::ostream {aka std::basic_ostream}' to 'int' In file
> > > > > included
> > > > > from /usr/include/c++/6/istream:39:0,
> > > > > 
> > > > >  from /usr/include/c++/6/fstream:38,
> > > > > 
> > > > >  from hmmodel.cpp:24:
> > > > > /usr/include/c++/6/ostream:108:7: note: candidate:
> > > > > std::basic_ostream<_CharT, _Traits>::__ostream_type&
> > > > > std::basic_ostream<_CharT,
> > > > > _Traits>::operator<<(std::basic_ostream<_CharT,
> > > > > _Traits>::__ostream_type& (*)(std::basic_ostream<_CharT,
> > > > > _Traits>::__ostream_type&)) [with _CharT = char; _Traits =
> > > > > std::char_traits; std::basic_ostream<_CharT,
> > > > > _Traits>::__ostream_type = std::basic_ostream]> >
> > > > > 
> > > > >operator<<(__ostream_type& (*__pf)(__ostream_type&))
> > > > >^~~~
> > > > > 
> > > > > /usr/include/c++/6/ostream:108:7: note:   no known conversion for
> > > > > argument 1 from 'std::ostream {aka std::basic_ostream}' to
> > > > > 'std::basic_ostream::__ostream_type&
> > > > > (*)(std::basic_ostream::__ostream_type&) {aka
> > > > > std::basic_ostream& (*)(std::basic_ostream&)}'
> > > > > /usr/include/c++/6/ostream:117:7: note: candidate:
> > > > > std::basic_ostream<_CharT, _Traits>::__ostream_type&
> > > > > std::basic_ostream<_CharT,
> > > > > _Traits>::operator<<(std::basic_ostream<_CharT,
> > > > > _Traits>::__ios_type&
> > > > > (*)(std::basic_ostream<_CharT, _Traits>::__ios_type&)) [with _CharT
> > > > > =
> > > > > char; _Traits = std::char_traits; std::basic_ostream<_CharT,
> > > > > _Traits>::__ostream_type = std::basic_ostream;
> > > > > std::basic_ostream<_CharT, _Traits>::__ios_type =
> > > > > std::basic_ios]>
> > > > > 
> > > > >operator<<(__ios_type& (*__pf)(__ios_type&))
> > > > >^~~~
> > > > > 
> > > > > /usr/include/c++/6/ostream:117:7: note:   no known conversion for
> > > > > argument 1 from 'std::ostream {aka std::basic_ostream}' to
> > > > > 'std::basic_ostream::__ios_type&
> > > > > (*)(std::basic_ostream::__ios_type&) {aka
> > > > > std::basic_ios&
> > > > > (*)(std::basic_ios&)}' /usr/include/c++/6/ostream:127:7: note:
> > > > > candidate: std::basic_ostream<_CharT, 

Bug#811827: prank: FTBFS with GCC 6: no match for

2016-01-19 Thread Martin Michlmayr
Package: prank
Version: 0.0.150803-1
Severity: important
User: debian-...@lists.debian.org
Usertags: ftbfs-gcc-6 gcc-6-no-match

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++ -c -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -pipe 
> -O3  -I. -I/usr/include -o bppancestors.o bppancestors.cpp
> hmmodel.cpp: In member function 'void 
> HMModel::alignmentModel(AncestralNode*)':
> hmmodel.cpp:1513:57: error: no match for 'operator<<' (operand types are 
> 'std::basic_ostream' and 'std::ostream {aka std::basic_ostream}')
>  cout<<"HMModel::alignmentModel: impossible 'as'"<  ^~
> 
> hmmodel.cpp:1513:57: note: candidate: operator<<(int, int) 
> hmmodel.cpp:1513:57: note:   no known conversion for argument 2 from 
> 'std::ostream {aka std::basic_ostream}' to 'int'
> In file included from /usr/include/c++/6/istream:39:0,
>  from /usr/include/c++/6/fstream:38,
>  from hmmodel.cpp:24:
> /usr/include/c++/6/ostream:108:7: note: candidate: std::basic_ostream<_CharT, 
> _Traits>::__ostream_type& std::basic_ostream<_CharT, 
> _Traits>::operator<<(std::basic_ostream<_CharT, _Traits>::__ostream_type& 
> (*)(std::basic_ostream<_CharT, _Traits>::__ostream_type&)) [with _CharT = 
> char; _Traits = std::char_traits; std::basic_ostream<_CharT, 
> _Traits>::__ostream_type = std::basic_ostream]
>operator<<(__ostream_type& (*__pf)(__ostream_type&))
>^~~~
> 
> /usr/include/c++/6/ostream:108:7: note:   no known conversion for argument 1 
> from 'std::ostream {aka std::basic_ostream}' to 
> 'std::basic_ostream::__ostream_type& 
> (*)(std::basic_ostream::__ostream_type&) {aka std::basic_ostream& 
> (*)(std::basic_ostream&)}'
> /usr/include/c++/6/ostream:117:7: note: candidate: std::basic_ostream<_CharT, 
> _Traits>::__ostream_type& std::basic_ostream<_CharT, 
> _Traits>::operator<<(std::basic_ostream<_CharT, _Traits>::__ios_type& 
> (*)(std::basic_ostream<_CharT, _Traits>::__ios_type&)) [with _CharT = char; 
> _Traits = std::char_traits; std::basic_ostream<_CharT, 
> _Traits>::__ostream_type = std::basic_ostream; 
> std::basic_ostream<_CharT, _Traits>::__ios_type = std::basic_ios]
>operator<<(__ios_type& (*__pf)(__ios_type&))
>^~~~
> 
> /usr/include/c++/6/ostream:117:7: note:   no known conversion for argument 1 
> from 'std::ostream {aka std::basic_ostream}' to 
> 'std::basic_ostream::__ios_type& 
> (*)(std::basic_ostream::__ios_type&) {aka std::basic_ios& 
> (*)(std::basic_ios&)}'
> /usr/include/c++/6/ostream:127:7: note: candidate: std::basic_ostream<_CharT, 
> _Traits>::__ostream_type& std::basic_ostream<_CharT, 
> _Traits>::operator<<(std::ios_base& (*)(std::ios_base&)) [with _CharT = char; 
> _Traits = std::char_traits; std::basic_ostream<_CharT, 
> _Traits>::__ostream_type = std::basic_ostream]
>operator<<(ios_base& (*__pf) (ios_base&))
>^~~~
> 
> /usr/include/c++/6/ostream:127:7: note:   no known conversion for argument 1 
> from 'std::ostream {aka std::basic_ostream}' to 'std::ios_base& 
> (*)(std::ios_base&)'
> /usr/include/c++/6/ostream:166:7: note: candidate: std::basic_ostream<_CharT, 
> _Traits>::__ostream_type& std::basic_ostream<_CharT, 
> _Traits>::operator<<(long int) [with _CharT = char; _Traits = 
> std::char_traits; std::basic_ostream<_CharT, _Traits>::__ostream_type = 
> std::basic_ostream]
>operator<<(long __n)
>^~~~
> 
> /usr/include/c++/6/ostream:166:7: note:   no known conversion for argument 1 
> from 'std::ostream {aka std::basic_ostream}' to 'long int'
> /usr/include/c++/6/ostream:170:7: note: candidate: std::basic_ostream<_CharT, 
> _Traits>::__ostream_type& std::basic_ostream<_CharT, 
> _Traits>::operator<<(long unsigned int) [with _CharT = char; _Traits = 
> std::char_traits; std::basic_ostream<_CharT, _Traits>::__ostream_type = 
> std::basic_ostream]
>operator<<(unsigned long __n)
>^~~~
> 
> /usr/include/c++/6/ostream:170:7: note:   no known conversion for argument 1 
> from 'std::ostream {aka std::basic_ostream}' to 'long unsigned int'
> /usr/include/c++/6/ostream:174:7: note: candidate: std::basic_ostream<_CharT, 
> _Traits>::__ostream_type& std::basic_ostream<_CharT, 
> _Traits>::operator<<(bool) [with _CharT = char; _Traits = 
> std::char_traits; std::basic_ostream<_CharT, _Traits>::__ostream_type = 
> std::basic_ostream]
>operator<<(bool __n)
>^~~~
> 
> /usr/include/c++/6/ostream:174:7: note:   no known