Bug#839323: lordsawar: FTBFS: use-item-on-player-dialog.cpp:70:13: error: no match for 'operator==' (operand types are 'Glib::RefPtr<Gtk::TreeSelection>' and 'bool')
Lucas Nussbaum
lucas at debian.org
Sat Oct 1 08:40:10 UTC 2016
Source: lordsawar
Version: 0.3.0-3
Severity: serious
Tags: stretch sid
User: debian-qa at lists.debian.org
Usertags: qa-ftbfs-20160930 qa-ftbfs
Justification: FTBFS on amd64
Hi,
During a rebuild of all packages in sid, your package failed to build on
amd64.
Relevant part (hopefully):
> /bin/bash ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -pthread -I/usr/include/gtkmm-3.0 -I/usr/lib/x86_64-linux-gnu/gtkmm-3.0/include -I/usr/include/atkmm-1.6 -I/usr/include/gtk-3.0/unix-print -I/usr/include/gdkmm-3.0 -I/usr/lib/x86_64-linux-gnu/gdkmm-3.0/include -I/usr/include/giomm-2.4 -I/usr/lib/x86_64-linux-gnu/giomm-2.4/include -I/usr/include/pangomm-1.4 -I/usr/lib/x86_64-linux-gnu/pangomm-1.4/include -I/usr/include/glibmm-2.4 -I/usr/lib/x86_64-linux-gnu/glibmm-2.4/include -I/usr/include/gtk-3.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/cairomm-1.0 -I/usr/lib/x86_64-linux-gnu/cairomm-1.0/include -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/sigc++-2.0 -I/usr/lib/x86_64-linux-gnu/sigc++-2.0/include -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/libxml++-2.6 -I/usr/lib/x86_64-linux-gnu/libxml++-2.6/include -I/usr/include/libxml2 -I/usr/include/glibmm-2.4 -I/usr/lib/x86_64-linux-gnu/glibmm-2.4/include -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sigc++-2.0 -I/usr/lib/x86_64-linux-gnu/sigc++-2.0/include -I../../src -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wshadow -Wextra -pedantic -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o use-item-on-player-dialog.lo use-item-on-player-dialog.cpp
> libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../.. -pthread -I/usr/include/gtkmm-3.0 -I/usr/lib/x86_64-linux-gnu/gtkmm-3.0/include -I/usr/include/atkmm-1.6 -I/usr/include/gtk-3.0/unix-print -I/usr/include/gdkmm-3.0 -I/usr/lib/x86_64-linux-gnu/gdkmm-3.0/include -I/usr/include/giomm-2.4 -I/usr/lib/x86_64-linux-gnu/giomm-2.4/include -I/usr/include/pangomm-1.4 -I/usr/lib/x86_64-linux-gnu/pangomm-1.4/include -I/usr/include/glibmm-2.4 -I/usr/lib/x86_64-linux-gnu/glibmm-2.4/include -I/usr/include/gtk-3.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/cairomm-1.0 -I/usr/lib/x86_64-linux-gnu/cairomm-1.0/include -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/sigc++-2.0 -I/usr/lib/x86_64-linux-gnu/sigc++-2.0/include -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/libxml++-2.6 -I/usr/lib/x86_64-linux-gnu/libxml++-2.6/include -I/usr/include/libxml2 -I/usr/include/glibmm-2.4 -I/usr/lib/x86_64-linux-gnu/glibmm-2.4/include -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sigc++-2.0 -I/usr/lib/x86_64-linux-gnu/sigc++-2.0/include -I../../src -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wshadow -Wextra -pedantic -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c use-item-on-player-dialog.cpp -fPIC -DPIC -o .libs/use-item-on-player-dialog.o
> use-item-on-player-dialog.cpp: In member function 'Player* UseItemOnPlayerDialog::grabSelectedPlayer()':
> use-item-on-player-dialog.cpp:70:13: error: no match for 'operator==' (operand types are 'Glib::RefPtr<Gtk::TreeSelection>' and 'bool')
> if (sel == true)
> ~~~~^~~~~~~
> use-item-on-player-dialog.cpp:70:13: note: candidate: operator==(int, int) <built-in>
> use-item-on-player-dialog.cpp:70:13: note: no known conversion for argument 1 from 'Glib::RefPtr<Gtk::TreeSelection>' to 'int'
> In file included from /usr/include/glibmm-2.4/glibmm/containerhandle_shared.h:22:0,
> from /usr/include/glibmm-2.4/glibmm/arrayhandle.h:23,
> from /usr/include/glibmm-2.4/glibmm.h:93,
> from /usr/include/gtkmm-3.0/gtkmm.h:87,
> from use-item-on-player-dialog.cpp:20:
> /usr/include/glibmm-2.4/glibmm/refptr.h:387:1: note: candidate: bool Glib::RefPtr<T_CppObject>::operator==(const Glib::RefPtr<T_CppObject>&) const [with T_CppObject = Gtk::TreeSelection]
> RefPtr<T_CppObject>::operator==(const RefPtr& src) const noexcept
> ^~~~~~~~~~~~~~~~~~~
> /usr/include/glibmm-2.4/glibmm/refptr.h:387:1: note: no known conversion for argument 1 from 'bool' to 'const Glib::RefPtr<Gtk::TreeSelection>&'
> In file included from ../../src/overviewmap.h:25:0,
> from ../../src/citymap.h:23,
> from use-item-on-player-dialog.h:25,
> from use-item-on-player-dialog.cpp:23:
> ../../src/vector.h:136:13: note: candidate: template<class T> bool operator==(Vector<T>, Vector<T>)
> inline bool operator ==(Vector<T> lhs, Vector<T> rhs)
> ^~~~~~~~
> ../../src/vector.h:136:13: note: template argument deduction/substitution failed:
> use-item-on-player-dialog.cpp:70:16: note: 'Glib::RefPtr<Gtk::TreeSelection>' is not derived from 'Vector<T>'
> if (sel == true)
> ^~~~
> In file included from ../../src/overviewmap.h:26:0,
> from ../../src/citymap.h:23,
> from use-item-on-player-dialog.h:25,
> from use-item-on-player-dialog.cpp:23:
> ../../src/rectangle.h:50:13: note: candidate: bool operator==(const Rectangle&, const Rectangle&)
> inline bool operator==(const Rectangle &lhs, const Rectangle &rhs)
> ^~~~~~~~
> ../../src/rectangle.h:50:13: note: no known conversion for argument 1 from 'Glib::RefPtr<Gtk::TreeSelection>' to 'const Rectangle&'
> In file included from /usr/include/glibmm-2.4/glibmm.h:106:0,
> from /usr/include/gtkmm-3.0/gtkmm.h:87,
> from use-item-on-player-dialog.cpp:20:
> /usr/include/glibmm-2.4/glibmm/date.h:591:13: note: candidate: bool Glib::operator==(const Glib::Date&, const Glib::Date&)
> inline bool operator==(const Date& lhs, const Date& rhs)
> ^~~~~~~~
> /usr/include/glibmm-2.4/glibmm/date.h:591:13: note: no known conversion for argument 1 from 'Glib::RefPtr<Gtk::TreeSelection>' to 'const Glib::Date&'
> In file included from /usr/include/glibmm-2.4/glibmm/objectbase.h:27:0,
> from /usr/include/glibmm-2.4/glibmm/wrap.h:23,
> from /usr/include/glibmm-2.4/glibmm/containerhandle_shared.h:25,
> from /usr/include/glibmm-2.4/glibmm/arrayhandle.h:23,
> from /usr/include/glibmm-2.4/glibmm.h:93,
> from /usr/include/gtkmm-3.0/gtkmm.h:87,
> from use-item-on-player-dialog.cpp:20:
> /usr/include/glibmm-2.4/glibmm/quark.h:71:1: note: candidate: bool Glib::operator==(const Glib::QueryQuark&, const Glib::QueryQuark&)
> operator==(const QueryQuark& a, const QueryQuark& b)
> ^~~~~~~~
> /usr/include/glibmm-2.4/glibmm/quark.h:71:1: note: no known conversion for argument 1 from 'Glib::RefPtr<Gtk::TreeSelection>' to 'const Glib::QueryQuark&'
> In file included from /usr/include/glibmm-2.4/glibmm/thread.h:49:0,
> from /usr/include/glibmm-2.4/glibmm.h:89,
> from /usr/include/gtkmm-3.0/gtkmm.h:87,
> from use-item-on-player-dialog.cpp:20:
> /usr/include/glibmm-2.4/glibmm/timeval.h:202:1: note: candidate: bool Glib::operator==(const Glib::TimeVal&, const Glib::TimeVal&)
> operator==(const TimeVal& lhs, const TimeVal& rhs)
> ^~~~~~~~
> /usr/include/glibmm-2.4/glibmm/timeval.h:202:1: note: no known conversion for argument 1 from 'Glib::RefPtr<Gtk::TreeSelection>' to 'const Glib::TimeVal&'
> In file included from /usr/include/glibmm-2.4/glibmm/exception.h:25:0,
> from /usr/include/glibmm-2.4/glibmm/error.h:23,
> from /usr/include/glibmm-2.4/glibmm/thread.h:48,
> from /usr/include/glibmm-2.4/glibmm.h:89,
> from /usr/include/gtkmm-3.0/gtkmm.h:87,
> from use-item-on-player-dialog.cpp:20:
> /usr/include/glibmm-2.4/glibmm/ustring.h:1519:1: note: candidate: bool Glib::operator==(const char*, const Glib::ustring&)
> operator==(const char* lhs, const ustring& rhs)
> ^~~~~~~~
> /usr/include/glibmm-2.4/glibmm/ustring.h:1519:1: note: no known conversion for argument 1 from 'Glib::RefPtr<Gtk::TreeSelection>' to 'const char*'
> /usr/include/glibmm-2.4/glibmm/ustring.h:1512:1: note: candidate: bool Glib::operator==(const Glib::ustring&, const char*)
> operator==(const ustring& lhs, const char* rhs)
> ^~~~~~~~
> /usr/include/glibmm-2.4/glibmm/ustring.h:1512:1: note: no known conversion for argument 1 from 'Glib::RefPtr<Gtk::TreeSelection>' to 'const Glib::ustring&'
> /usr/include/glibmm-2.4/glibmm/ustring.h:1505:1: note: candidate: bool Glib::operator==(const Glib::ustring&, const Glib::ustring&)
> operator==(const ustring& lhs, const ustring& rhs)
> ^~~~~~~~
> /usr/include/glibmm-2.4/glibmm/ustring.h:1505:1: note: no known conversion for argument 1 from 'Glib::RefPtr<Gtk::TreeSelection>' to 'const Glib::ustring&'
> /usr/include/glibmm-2.4/glibmm/ustring.h:992:1: note: candidate: bool Glib::operator==(const const_iterator&, const const_iterator&)
> operator==(const Glib::ustring::const_iterator& lhs, const Glib::ustring::const_iterator& rhs)
> ^~~~~~~~
> /usr/include/glibmm-2.4/glibmm/ustring.h:992:1: note: no known conversion for argument 1 from 'Glib::RefPtr<Gtk::TreeSelection>' to 'const const_iterator& {aka const Glib::ustring_Iterator<__gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> > >&}'
> In file included from /usr/include/gtkmm-3.0/gtkmm/textbuffer.h:37:0,
> from /usr/include/gtkmm-3.0/gtkmm.h:283,
> from use-item-on-player-dialog.cpp:20:
> /usr/include/gtkmm-3.0/gtkmm/textiter.h:1387:6: note: candidate: bool Gtk::operator==(const Gtk::TextIter&, const Gtk::TextIter&)
> bool operator==(const TextIter& lhs, const TextIter& rhs);
> ^~~~~~~~
> /usr/include/gtkmm-3.0/gtkmm/textiter.h:1387:6: note: no known conversion for argument 1 from 'Glib::RefPtr<Gtk::TreeSelection>' to 'const Gtk::TextIter&'
> In file included from /usr/include/gtkmm-3.0/gtkmm/recentchooser.h:29:0,
> from /usr/include/gtkmm-3.0/gtkmm/recentaction.h:30,
> from /usr/include/gtkmm-3.0/gtkmm.h:244,
> from use-item-on-player-dialog.cpp:20:
> /usr/include/gtkmm-3.0/gtkmm/recentinfo.h:395:13: note: candidate: bool Gtk::operator==(const Gtk::RecentInfo&, const Gtk::RecentInfo&)
> inline bool operator==(const RecentInfo& lhs, const RecentInfo& rhs)
> ^~~~~~~~
> /usr/include/gtkmm-3.0/gtkmm/recentinfo.h:395:13: note: no known conversion for argument 1 from 'Glib::RefPtr<Gtk::TreeSelection>' to 'const Gtk::RecentInfo&'
> In file included from /usr/include/gtkmm-3.0/gtkmm.h:230:0,
> from use-item-on-player-dialog.cpp:20:
> /usr/include/gtkmm-3.0/gtkmm/printer.h:554:13: note: candidate: bool Gtk::operator==(const Glib::RefPtr<Gtk::Printer>&, const Glib::RefPtr<Gtk::Printer>&)
> inline bool operator==(const Glib::RefPtr<Printer>& lhs, const Glib::RefPtr<Printer>& rhs)
> ^~~~~~~~
> /usr/include/gtkmm-3.0/gtkmm/printer.h:554:13: note: no known conversion for argument 2 from 'bool' to 'const Glib::RefPtr<Gtk::Printer>&'
> In file included from /usr/include/gtkmm-3.0/gtkmm/pagesetup.h:28:0,
> from /usr/include/gtkmm-3.0/gtkmm.h:220,
> from use-item-on-player-dialog.cpp:20:
> /usr/include/gtkmm-3.0/gtkmm/papersize.h:352:13: note: candidate: bool Gtk::operator==(const Gtk::PaperSize&, const Gtk::PaperSize&)
> inline bool operator==(const PaperSize& lhs, const PaperSize& rhs)
> ^~~~~~~~
> /usr/include/gtkmm-3.0/gtkmm/papersize.h:352:13: note: no known conversion for argument 1 from 'Glib::RefPtr<Gtk::TreeSelection>' to 'const Gtk::PaperSize&'
> In file included from /usr/include/gtkmm-3.0/gtkmm/treeselection.h:31:0,
> from /usr/include/gtkmm-3.0/gtkmm/treeview.h:36,
> from /usr/include/gtkmm-3.0/gtkmm/combobox.h:33,
> from /usr/include/gtkmm-3.0/gtkmm/appchooserbutton.h:27,
> from /usr/include/gtkmm-3.0/gtkmm.h:107,
> from use-item-on-player-dialog.cpp:20:
> /usr/include/gtkmm-3.0/gtkmm/treepath.h:363:6: note: candidate: bool Gtk::operator==(const Gtk::TreePath&, const Gtk::TreePath&)
> bool operator==(const TreePath& lhs, const TreePath& rhs);
> ^~~~~~~~
> /usr/include/gtkmm-3.0/gtkmm/treepath.h:363:6: note: no known conversion for argument 1 from 'Glib::RefPtr<Gtk::TreeSelection>' to 'const Gtk::TreePath&'
> In file included from /usr/include/gtkmm-3.0/gtkmm/treemodel.h:31:0,
> from /usr/include/gtkmm-3.0/gtkmm/celllayout.h:32,
> from /usr/include/gtkmm-3.0/gtkmm/combobox.h:28,
> from /usr/include/gtkmm-3.0/gtkmm/appchooserbutton.h:27,
> from /usr/include/gtkmm-3.0/gtkmm.h:107,
> from use-item-on-player-dialog.cpp:20:
> /usr/include/gtkmm-3.0/gtkmm/treeiter.h:253:13: note: candidate: bool Gtk::operator==(const Gtk::TreeIter&, const Gtk::TreeIter&)
> inline bool operator==(const TreeIter& lhs, const TreeIter& rhs)
> ^~~~~~~~
> /usr/include/gtkmm-3.0/gtkmm/treeiter.h:253:13: note: no known conversion for argument 1 from 'Glib::RefPtr<Gtk::TreeSelection>' to 'const Gtk::TreeIter&'
> In file included from /usr/include/gtkmm-3.0/gtkmm/treeiter.h:29:0,
> from /usr/include/gtkmm-3.0/gtkmm/treemodel.h:31,
> from /usr/include/gtkmm-3.0/gtkmm/celllayout.h:32,
> from /usr/include/gtkmm-3.0/gtkmm/combobox.h:28,
> from /usr/include/gtkmm-3.0/gtkmm/appchooserbutton.h:27,
> from /usr/include/gtkmm-3.0/gtkmm.h:107,
> from use-item-on-player-dialog.cpp:20:
> /usr/include/gtkmm-3.0/gtkmm/treemodelcolumn.h:115:13: note: candidate: bool Gtk::operator==(const Gtk::TreeModelColumnBase&, const Gtk::TreeModelColumnBase&)
> inline bool operator==(const TreeModelColumnBase& lhs, const TreeModelColumnBase& rhs)
> ^~~~~~~~
> /usr/include/gtkmm-3.0/gtkmm/treemodelcolumn.h:115:13: note: no known conversion for argument 1 from 'Glib::RefPtr<Gtk::TreeSelection>' to 'const Gtk::TreeModelColumnBase&'
> In file included from /usr/include/gtkmm-3.0/gtkmm/iconset.h:34:0,
> from /usr/include/gtkmm-3.0/gtkmm/stylecontext.h:35,
> from /usr/include/gtkmm-3.0/gtkmm/widget.h:52,
> from /usr/include/gtkmm-3.0/gtkmm/action.h:31,
> from /usr/include/gtkmm-3.0/gtkmm/toggleaction.h:29,
> from /usr/include/gtkmm-3.0/gtkmm.h:95,
> from use-item-on-player-dialog.cpp:20:
> /usr/include/gtkmm-3.0/gtkmm/stockid.h:114:13: note: candidate: bool Gtk::operator==(const Gtk::StockID&, const Gtk::StockID&)
> inline bool operator==(const StockID& lhs, const StockID& rhs)
> ^~~~~~~~
> /usr/include/gtkmm-3.0/gtkmm/stockid.h:114:13: note: no known conversion for argument 1 from 'Glib::RefPtr<Gtk::TreeSelection>' to 'const Gtk::StockID&'
> Makefile:613: recipe for target 'use-item-on-player-dialog.lo' failed
> make[4]: *** [use-item-on-player-dialog.lo] Error 1
If the failure looks somehow time/timezone related:
Note that this rebuild was performed without the 'tzdata' package
installed in the chroot. tzdata used be (transitively) part of
build-essential, but it no longer is. If this package requires it to
build, it should be added to build-depends. For the release team's
opinion on this, see
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=836940#185
The full build log is available from:
http://aws-logs.debian.net/2016/09/30/lordsawar_0.3.0-3_unstable.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 Pkg-games-devel
mailing list