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

Bug#831125: marked as done (polygraph: FTBFS with GCC 6: ContainerBodyIter.cc:75:22: error: no match for 'operator!=' (operand types are 'ofixedstream' and 'int'))



Your message dated Sat, 12 Nov 2016 15:05:48 +0000
with message-id <E1c5ZsK-000HKA-Lu@fasolo.debian.org>
and subject line Bug#831125: fixed in polygraph 4.3.2-4
has caused the Debian Bug report #831125,
regarding polygraph: FTBFS with GCC 6: ContainerBodyIter.cc:75:22: error: no match for 'operator!=' (operand types are 'ofixedstream' and 'int')
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.)


-- 
831125: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=831125
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Source: polygraph
Version: 4.3.2-3
Severity: serious
Tags: stretch sid
User: debian-qa@lists.debian.org
Usertags: qa-ftbfs-20160713 qa-ftbfs
Justification: FTBFS with GCC 6 on amd64

Hi,

During a rebuild of all packages in sid using the gcc-defaults package
available in experimental to make GCC default to version 6, your package failed
to build on amd64. For more information about GCC 6 and Stretch, see:
- https://wiki.debian.org/GCC6
- https://lists.debian.org/debian-devel-announce/2016/06/msg00007.html

Relevant part (hopefully):
> g++ -DHAVE_CONFIG_H   -I../.. -I../../src -I../.. -I../../src -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include  -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -c -o ContainerBodyIter.o ContainerBodyIter.cc
> ContainerBodyIter.cc: In member function 'Size ContainerBodyIter::embed()':
> ContainerBodyIter.cc:75:22: error: no match for 'operator!=' (operand types are 'ofixedstream' and 'int')
>   const bool fit = os != 0;
>                    ~~~^~~~
> ContainerBodyIter.cc:75:22: note: candidate: operator!=(int, int) <built-in>
> ContainerBodyIter.cc:75:22: note:   no known conversion for argument 1 from 'ofixedstream' to 'int'
> In file included from /usr/include/c++/6/iosfwd:40:0,
>                  from ../../src/xstd/h/iosfwd.h:12,
>                  from ../../src/xstd/Time.h:9,
>                  from ../../src/base/polygraph.h:17,
>                  from ContainerBodyIter.cc:6:
> /usr/include/c++/6/bits/postypes.h:221:5: note: candidate: template<class _StateT> bool std::operator!=(const std::fpos<_StateT>&, const std::fpos<_StateT>&)
>      operator!=(const fpos<_StateT>& __lhs, const fpos<_StateT>& __rhs)
>      ^~~~~~~~
> /usr/include/c++/6/bits/postypes.h:221:5: note:   template argument deduction/substitution failed:
> ContainerBodyIter.cc:75:25: note:   'ofixedstream' is not derived from 'const std::fpos<_StateT>'
>   const bool fit = os != 0;
>                          ^
> In file included from /usr/include/c++/6/bits/stl_algobase.h:64:0,
>                  from /usr/include/c++/6/bits/char_traits.h:39,
>                  from /usr/include/c++/6/ios:40,
>                  from ../../src/xstd/h/iostream.h:13,
>                  from ../../src/xstd/Size.h:9,
>                  from ../../src/base/polygraph.h:18,
>                  from ContainerBodyIter.cc:6:
> /usr/include/c++/6/bits/stl_pair.h:376:5: note: candidate: template<class _T1, class _T2> constexpr bool std::operator!=(const std::pair<_T1, _T2>&, const std::pair<_T1, _T2>&)
>      operator!=(const pair<_T1, _T2>& __x, const pair<_T1, _T2>& __y)
>      ^~~~~~~~
> /usr/include/c++/6/bits/stl_pair.h:376:5: note:   template argument deduction/substitution failed:
> ContainerBodyIter.cc:75:25: note:   'ofixedstream' is not derived from 'const std::pair<_T1, _T2>'
>   const bool fit = os != 0;
>                          ^
> In file included from /usr/include/c++/6/bits/stl_algobase.h:67:0,
>                  from /usr/include/c++/6/bits/char_traits.h:39,
>                  from /usr/include/c++/6/ios:40,
>                  from ../../src/xstd/h/iostream.h:13,
>                  from ../../src/xstd/Size.h:9,
>                  from ../../src/base/polygraph.h:18,
>                  from ContainerBodyIter.cc:6:
> /usr/include/c++/6/bits/stl_iterator.h:304:5: note: candidate: template<class _Iterator> bool std::operator!=(const std::reverse_iterator<_Iterator>&, const std::reverse_iterator<_Iterator>&)
>      operator!=(const reverse_iterator<_Iterator>& __x,
>      ^~~~~~~~
> /usr/include/c++/6/bits/stl_iterator.h:304:5: note:   template argument deduction/substitution failed:
> ContainerBodyIter.cc:75:25: note:   'ofixedstream' is not derived from 'const std::reverse_iterator<_Iterator>'
>   const bool fit = os != 0;
>                          ^
> In file included from /usr/include/c++/6/bits/stl_algobase.h:67:0,
>                  from /usr/include/c++/6/bits/char_traits.h:39,
>                  from /usr/include/c++/6/ios:40,
>                  from ../../src/xstd/h/iostream.h:13,
>                  from ../../src/xstd/Size.h:9,
>                  from ../../src/base/polygraph.h:18,
>                  from ContainerBodyIter.cc:6:
> /usr/include/c++/6/bits/stl_iterator.h:354:5: note: candidate: template<class _IteratorL, class _IteratorR> bool std::operator!=(const std::reverse_iterator<_Iterator>&, const std::reverse_iterator<_IteratorR>&)
>      operator!=(const reverse_iterator<_IteratorL>& __x,
>      ^~~~~~~~
> /usr/include/c++/6/bits/stl_iterator.h:354:5: note:   template argument deduction/substitution failed:
> ContainerBodyIter.cc:75:25: note:   'ofixedstream' is not derived from 'const std::reverse_iterator<_Iterator>'
>   const bool fit = os != 0;
>                          ^
> In file included from /usr/include/c++/6/bits/stl_algobase.h:67:0,
>                  from /usr/include/c++/6/bits/char_traits.h:39,
>                  from /usr/include/c++/6/ios:40,
>                  from ../../src/xstd/h/iostream.h:13,
>                  from ../../src/xstd/Size.h:9,
>                  from ../../src/base/polygraph.h:18,
>                  from ContainerBodyIter.cc:6:
> /usr/include/c++/6/bits/stl_iterator.h:1118:5: note: candidate: template<class _IteratorL, class _IteratorR> bool std::operator!=(const std::move_iterator<_IteratorL>&, const std::move_iterator<_IteratorR>&)
>      operator!=(const move_iterator<_IteratorL>& __x,
>      ^~~~~~~~
> /usr/include/c++/6/bits/stl_iterator.h:1118:5: note:   template argument deduction/substitution failed:
> ContainerBodyIter.cc:75:25: note:   'ofixedstream' is not derived from 'const std::move_iterator<_IteratorL>'
>   const bool fit = os != 0;
>                          ^
> In file included from /usr/include/c++/6/bits/stl_algobase.h:67:0,
>                  from /usr/include/c++/6/bits/char_traits.h:39,
>                  from /usr/include/c++/6/ios:40,
>                  from ../../src/xstd/h/iostream.h:13,
>                  from ../../src/xstd/Size.h:9,
>                  from ../../src/base/polygraph.h:18,
>                  from ContainerBodyIter.cc:6:
> /usr/include/c++/6/bits/stl_iterator.h:1124:5: note: candidate: template<class _Iterator> bool std::operator!=(const std::move_iterator<_IteratorL>&, const std::move_iterator<_IteratorL>&)
>      operator!=(const move_iterator<_Iterator>& __x,
>      ^~~~~~~~
> /usr/include/c++/6/bits/stl_iterator.h:1124:5: note:   template argument deduction/substitution failed:
> ContainerBodyIter.cc:75:25: note:   'ofixedstream' is not derived from 'const std::move_iterator<_IteratorL>'
>   const bool fit = os != 0;
>                          ^
> In file included from /usr/include/c++/6/string:41:0,
>                  from /usr/include/c++/6/bits/locale_classes.h:40,
>                  from /usr/include/c++/6/bits/ios_base.h:41,
>                  from /usr/include/c++/6/ios:42,
>                  from ../../src/xstd/h/iostream.h:13,
>                  from ../../src/xstd/Size.h:9,
>                  from ../../src/base/polygraph.h:18,
>                  from ContainerBodyIter.cc:6:
> /usr/include/c++/6/bits/allocator.h:143:5: note: candidate: template<class _T1, class _T2> bool std::operator!=(const std::allocator<_CharT>&, const std::allocator<_T2>&)
>      operator!=(const allocator<_T1>&, const allocator<_T2>&)
>      ^~~~~~~~
> /usr/include/c++/6/bits/allocator.h:143:5: note:   template argument deduction/substitution failed:
> ContainerBodyIter.cc:75:25: note:   'ofixedstream' is not derived from 'const std::allocator<_CharT>'
>   const bool fit = os != 0;
>                          ^
> In file included from /usr/include/c++/6/string:41:0,
>                  from /usr/include/c++/6/bits/locale_classes.h:40,
>                  from /usr/include/c++/6/bits/ios_base.h:41,
>                  from /usr/include/c++/6/ios:42,
>                  from ../../src/xstd/h/iostream.h:13,
>                  from ../../src/xstd/Size.h:9,
>                  from ../../src/base/polygraph.h:18,
>                  from ContainerBodyIter.cc:6:
> /usr/include/c++/6/bits/allocator.h:149:5: note: candidate: template<class _Tp> bool std::operator!=(const std::allocator<_CharT>&, const std::allocator<_CharT>&)
>      operator!=(const allocator<_Tp>&, const allocator<_Tp>&)
>      ^~~~~~~~
> /usr/include/c++/6/bits/allocator.h:149:5: note:   template argument deduction/substitution failed:
> ContainerBodyIter.cc:75:25: note:   'ofixedstream' is not derived from 'const std::allocator<_CharT>'
>   const bool fit = os != 0;
>                          ^
> In file included from /usr/include/c++/6/string:52:0,
>                  from /usr/include/c++/6/bits/locale_classes.h:40,
>                  from /usr/include/c++/6/bits/ios_base.h:41,
>                  from /usr/include/c++/6/ios:42,
>                  from ../../src/xstd/h/iostream.h:13,
>                  from ../../src/xstd/Size.h:9,
>                  from ../../src/base/polygraph.h:18,
>                  from ContainerBodyIter.cc:6:
> /usr/include/c++/6/bits/basic_string.h:5097:5: note: candidate: template<class _CharT, class _Traits, class _Alloc> bool std::operator!=(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&)
>      operator!=(const basic_string<_CharT, _Traits, _Alloc>& __lhs,
>      ^~~~~~~~
> /usr/include/c++/6/bits/basic_string.h:5097:5: note:   template argument deduction/substitution failed:
> ContainerBodyIter.cc:75:25: note:   'ofixedstream' is not derived from 'const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>'
>   const bool fit = os != 0;
>                          ^
> In file included from /usr/include/c++/6/string:52:0,
>                  from /usr/include/c++/6/bits/locale_classes.h:40,
>                  from /usr/include/c++/6/bits/ios_base.h:41,
>                  from /usr/include/c++/6/ios:42,
>                  from ../../src/xstd/h/iostream.h:13,
>                  from ../../src/xstd/Size.h:9,
>                  from ../../src/base/polygraph.h:18,
>                  from ContainerBodyIter.cc:6:
> /usr/include/c++/6/bits/basic_string.h:5110:5: note: candidate: template<class _CharT, class _Traits, class _Alloc> bool std::operator!=(const _CharT*, const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&)
>      operator!=(const _CharT* __lhs,
>      ^~~~~~~~
> /usr/include/c++/6/bits/basic_string.h:5110:5: note:   template argument deduction/substitution failed:
> ContainerBodyIter.cc:75:25: note:   mismatched types 'const _CharT*' and 'ofixedstream'
>   const bool fit = os != 0;
>                          ^
> In file included from /usr/include/c++/6/string:52:0,
>                  from /usr/include/c++/6/bits/locale_classes.h:40,
>                  from /usr/include/c++/6/bits/ios_base.h:41,
>                  from /usr/include/c++/6/ios:42,
>                  from ../../src/xstd/h/iostream.h:13,
>                  from ../../src/xstd/Size.h:9,
>                  from ../../src/base/polygraph.h:18,
>                  from ContainerBodyIter.cc:6:
> /usr/include/c++/6/bits/basic_string.h:5122:5: note: candidate: template<class _CharT, class _Traits, class _Alloc> bool std::operator!=(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, const _CharT*)
>      operator!=(const basic_string<_CharT, _Traits, _Alloc>& __lhs,
>      ^~~~~~~~
> /usr/include/c++/6/bits/basic_string.h:5122:5: note:   template argument deduction/substitution failed:
> ContainerBodyIter.cc:75:25: note:   'ofixedstream' is not derived from 'const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>'
>   const bool fit = os != 0;
>                          ^
> In file included from /usr/include/c++/6/bits/ios_base.h:46:0,
>                  from /usr/include/c++/6/ios:42,
>                  from ../../src/xstd/h/iostream.h:13,
>                  from ../../src/xstd/Size.h:9,
>                  from ../../src/base/polygraph.h:18,
>                  from ContainerBodyIter.cc:6:
> /usr/include/c++/6/system_error:311:3: note: candidate: bool std::operator!=(const std::error_code&, const std::error_code&)
>    operator!=(const error_code& __lhs, const error_code& __rhs) noexcept
>    ^~~~~~~~
> /usr/include/c++/6/system_error:311:3: note:   no known conversion for argument 1 from 'ofixedstream' to 'const std::error_code&'
> /usr/include/c++/6/system_error:315:3: note: candidate: bool std::operator!=(const std::error_code&, const std::error_condition&)
>    operator!=(const error_code& __lhs, const error_condition& __rhs) noexcept
>    ^~~~~~~~
> /usr/include/c++/6/system_error:315:3: note:   no known conversion for argument 1 from 'ofixedstream' to 'const std::error_code&'
> /usr/include/c++/6/system_error:319:3: note: candidate: bool std::operator!=(const std::error_condition&, const std::error_code&)
>    operator!=(const error_condition& __lhs, const error_code& __rhs) noexcept
>    ^~~~~~~~
> /usr/include/c++/6/system_error:319:3: note:   no known conversion for argument 1 from 'ofixedstream' to 'const std::error_condition&'
> /usr/include/c++/6/system_error:323:3: note: candidate: bool std::operator!=(const std::error_condition&, const std::error_condition&)
>    operator!=(const error_condition& __lhs,
>    ^~~~~~~~
> /usr/include/c++/6/system_error:323:3: note:   no known conversion for argument 1 from 'ofixedstream' to 'const std::error_condition&'
> In file included from /usr/include/c++/6/bits/locale_facets.h:48:0,
>                  from /usr/include/c++/6/bits/basic_ios.h:37,
>                  from /usr/include/c++/6/ios:44,
>                  from ../../src/xstd/h/iostream.h:13,
>                  from ../../src/xstd/Size.h:9,
>                  from ../../src/base/polygraph.h:18,
>                  from ContainerBodyIter.cc:6:
> /usr/include/c++/6/bits/streambuf_iterator.h:210:5: note: candidate: template<class _CharT, class _Traits> bool std::operator!=(const std::istreambuf_iterator<_CharT, _Traits>&, const std::istreambuf_iterator<_CharT, _Traits>&)
>      operator!=(const istreambuf_iterator<_CharT, _Traits>& __a,
>      ^~~~~~~~
> /usr/include/c++/6/bits/streambuf_iterator.h:210:5: note:   template argument deduction/substitution failed:
> ContainerBodyIter.cc:75:25: note:   'ofixedstream' is not derived from 'const std::istreambuf_iterator<_CharT, _Traits>'
>   const bool fit = os != 0;
>                          ^
> ContainerBodyIter.cc:80:27: error: in argument to unary !
>   if (sizeLeft() < sz || (!fit && theBuf->empty())) {
>                            ^~~
> make[4]: *** [ContainerBodyIter.o] Error 1

The full build log is available from:
   http://people.debian.org/~lucas/logs/2016/07/13/polygraph_4.3.2-3_unstable_gcc6.log

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

About the archive rebuild: The rebuild was done on EC2 VM instances from
Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
failed build was retried once to eliminate random failures.

--- End Message ---
--- Begin Message ---
Source: polygraph
Source-Version: 4.3.2-4

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

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

Debian distribution maintenance software
pp.
Chris Lamb <lamby@debian.org> (supplier of updated polygraph 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@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Sat, 12 Nov 2016 13:57:14 +0000
Source: polygraph
Binary: polygraph
Architecture: source amd64
Version: 4.3.2-4
Distribution: unstable
Urgency: medium
Maintainer: Debian QA Group <packages@qa.debian.org>
Changed-By: Chris Lamb <lamby@debian.org>
Description:
 polygraph  - performance testing tool for caching proxies and more
Closes: 831125
Changes:
 polygraph (4.3.2-4) unstable; urgency=medium
 .
   * QA upload.
   * Fix FTBFS with GCC 6. Thanks to Adrian Bunk. (Closes: #831125)
Checksums-Sha1:
 54eba8fed92140c4e68750f72aef4d0b5fe665c0 1774 polygraph_4.3.2-4.dsc
 965af2502bfb68fe2a9f078fec9db2540de6cc76 1497797 polygraph_4.3.2.orig.tar.gz
 42f65a0681396021e79897ca8f03829f0a76ea68 6152 polygraph_4.3.2-4.debian.tar.xz
 d88a686994297b921b67c204ed629cd4ec05ad16 34398492 polygraph-dbgsym_4.3.2-4_amd64.deb
 f8e338b243e481f45c446b4c26e7cbee4f880507 4691 polygraph_4.3.2-4_20161112T140035z-f0aaf99d.buildinfo
 4e161e5846b50e442bd6c50c1e708d77f01b57ae 2125116 polygraph_4.3.2-4_amd64.deb
Checksums-Sha256:
 32de0256158ea1c9d69cc9a128346c66a2166662ed3aef28dddb78216e2957de 1774 polygraph_4.3.2-4.dsc
 b0104448ff3c2f29cebeb5ad5ee6e6f670438d8b78fa095fd54f3b16d99569bb 1497797 polygraph_4.3.2.orig.tar.gz
 4427c359e83f5306b243b5e6415edf9ad7745ac1b00e3188949334d8c79d5ba5 6152 polygraph_4.3.2-4.debian.tar.xz
 5ec170b840fc46a06d82e749baffb18fb16e7596912303f9a769d2b5ee3d0583 34398492 polygraph-dbgsym_4.3.2-4_amd64.deb
 eacef3e314066670d1df013a0d2c306bc1e17da06c5d88316d7ae9ccac9ce222 4691 polygraph_4.3.2-4_20161112T140035z-f0aaf99d.buildinfo
 e1792124bea4da5d302eefc33fb646c3d051aea046f160b0aa69563a17b416fe 2125116 polygraph_4.3.2-4_amd64.deb
Files:
 bd350f5c309a72dcaefa65fae973c73a 1774 net optional polygraph_4.3.2-4.dsc
 74d9ad75ed355afbbeefa166954da54f 1497797 net optional polygraph_4.3.2.orig.tar.gz
 6afe0966cea4cd855e47daf9fd351f8d 6152 net optional polygraph_4.3.2-4.debian.tar.xz
 28951643de2c17b70f23dbd7c5d6fc97 34398492 debug extra polygraph-dbgsym_4.3.2-4_amd64.deb
 f0aaf99d1b613e6b840d0dc36b66f7ab 4691 net optional polygraph_4.3.2-4_20161112T140035z-f0aaf99d.buildinfo
 acd185327a9c7ca4368cf477f66bb9ae 2125116 net optional polygraph_4.3.2-4_amd64.deb

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEEwv5L0nHBObhsUz5GHpU+J9QxHlgFAlgnIN0ACgkQHpU+J9Qx
HliJrw//eltZNEpM9El5yp15twIGZ4AK9MVo0bueBypAZFTv1mufcfLrrrPm3cbQ
5ZB9HlOSgJnjP/F2I89TQRzaeY7hGzRgWTukyuriAapUzQ43hpgQJZFW6+vhKdG/
MRUAXMe6pvY1lOuQ6MkdVSTmMvfRrKnmZDhoqG3aKfUNXhNqmmUv4Rq8xKBvyomG
LxfmO5uQD4Cvfi6Gg3zP21/gb81siklGKUZ/lL6Qag5O2mpJ0wcJlUq24JKhOuwL
RF7fF+2qDddZWs18FtRiOmBbq2vNoHcNVbCR6X9dQQ4gshOMdcwE/2rfvcb7CuUZ
1W4eFw7cLlmoX0dV6jMqa/LQ12DZvXhh5yMVEiHuAQgfM3vMuOCtzrRch43aRipl
YDL8tBps2797BvtVbRUox+HXhn9SO8/YC5kRZfw2FjPEMLWa8zqMbnfOjRoKo9nk
vVH7jmYzC8zCnlBdkrDJH0MRbH1c7HODjq5RXP8xyNvpOZRPp1H8q3HDSKPpJ56v
KYmmvL07poiEgOUdRALqp+SQQKAtyFoCNcJDPr/K4yWNb3axdIHDz14+c3UeISUJ
++aOyaPRrjYgvmDx8J6Rn05FEb1DILVb277/Lu95mFao5eVgfZJKN6zS75gnTLYn
Sgbns9pVA2gJFwuRQfMZeuvRNbnt1W7Unlrk0l6O9l44zD4e+qE=
=epB8
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: