Bug#831075: imview: FTBFS with GCC 6: interpreter.cxx:1454:27: error: reference to 'move' is ambiguous
Lucas Nussbaum
lucas at debian.org
Thu Jul 14 07:04:55 UTC 2016
Source: imview
Version: 1.1.9c-16
Severity: serious
Tags: stretch sid
User: debian-qa at 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++ -D_REENTRANT -DLinux -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/usr/include -fopenmp -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16 -I/usr/include/x86_64-linux-gnu//ImageMagick-6 -I/usr/include/ImageMagick-6 -O2 -Wall -Wno-return-type -Wno-unknown-pragmas -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -I.. -I.. -c interpreter.cxx
> interpreter.cxx: In member function 'int linkmanager::getresponse(TCPClientStream*)':
> interpreter.cxx:1345:49: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
> while (run = getline(*stream, message).good()) {
> ^
> interpreter.cxx: In constructor 'interpreter::interpreter()':
> interpreter.cxx:1454:27: error: reference to 'move' is ambiguous
> tokens["move"] = new move;
> ^~~~
> In file included from interpreter.cxx:78:0:
> interpreter.hxx:141:7: note: candidates are: class move
> class move:public action {
> ^~~~
> In file included from /usr/include/c++/6/deque:64:0,
> from /usr/include/c++/6/queue:60,
> from asynchat.hxx:66,
> from imserver.hxx:50,
> from interpreter.hxx:66,
> from interpreter.cxx:78:
> /usr/include/c++/6/bits/stl_deque.h:422:5: note: template<class _Tp> std::_Deque_iterator<_Tp, _Tp&, _Tp*> std::move(std::_Deque_iterator<_Tp, _Tp&, _Tp*>, std::_Deque_iterator<_Tp, _Tp&, _Tp*>, std::_Deque_iterator<_Tp, _Tp&, _Tp*>)
> move(_Deque_iterator<_Tp, _Tp&, _Tp*> __first,
> ^~~~
> In file included from /usr/include/c++/6/deque:66:0,
> from /usr/include/c++/6/queue:60,
> from asynchat.hxx:66,
> from imserver.hxx:50,
> from interpreter.hxx:66,
> from interpreter.cxx:78:
> /usr/include/c++/6/bits/deque.tcc:1032:5: note: template<class _Tp> std::_Deque_iterator<_Tp, _Tp&, _Tp*> std::move(std::_Deque_iterator<_Tp, const _Tp&, const _Tp*>, std::_Deque_iterator<_Tp, const _Tp&, const _Tp*>, std::_Deque_iterator<_Tp, _Tp&, _Tp*>)
> move(_Deque_iterator<_Tp, const _Tp&, const _Tp*> __first,
> ^~~~
> In file included from /usr/include/c++/6/bits/char_traits.h:39:0,
> from /usr/include/c++/6/string:40,
> from ../imview.hxx:53,
> from interpreter.cxx:52:
> /usr/include/c++/6/bits/stl_algobase.h:479:5: note: template<class _II, class _OI> _OI std::move(_II, _II, _OI)
> move(_II __first, _II __last, _OI __result)
> ^~~~
> In file included from /usr/include/c++/6/bits/stl_pair.h:59:0,
> from /usr/include/c++/6/bits/stl_algobase.h:64,
> from /usr/include/c++/6/bits/char_traits.h:39,
> from /usr/include/c++/6/string:40,
> from ../imview.hxx:53,
> from interpreter.cxx:52:
> /usr/include/c++/6/bits/move.h:101:5: note: template<class _Tp> constexpr typename std::remove_reference< <template-parameter-1-1> >::type&& std::move(_Tp&&)
> move(_Tp&& __t) noexcept
> ^~~~
> make[2]: *** [interpreter.o] Error 1
The full build log is available from:
http://people.debian.org/~lucas/logs/2016/07/13/imview_1.1.9c-16_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.
More information about the debian-science-maintainers
mailing list