Bug#811993: terminatorx: FTBFS with GCC 6: call overloaded is ambiguous

Martin Michlmayr tbm at hpe.com
Wed Jan 20 04:19:22 UTC 2016


Package: terminatorx
Version: 3.90-2
Severity: important
User: debian-gcc at lists.debian.org
Usertags: ftbfs-gcc-6 gcc-6-overloaded-ambiguous

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++ -DHAVE_CONFIG_H -I. -I..   -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/libxml2 -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -finput-charset=utf-8 -DXML_MANUAL=\"/usr/share/gnome/help/terminatorX-manual/C/terminatorX-manual.xml\" -pthread -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng12 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/freetype2  -D_REENTRANT  -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -c -o tX_capabilities.o tX_capabilities.cc
> tX_dialog.cc:546:30: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
>    label=gtk_label_new(PACKAGE" release "VERSION);
>                               ^
> 
> tX_dialog.cc:569:23: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
>    label=gtk_label_new("This is "PACKAGE" release "VERSION".\nCopyright (C) 1999-2014 by Alexander König <alex at lisas.de>");
>                        ^
> 
> tX_dialog.cc:569:40: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
>    label=gtk_label_new("This is "PACKAGE" release "VERSION".\nCopyright (C) 1999-2014 by Alexander König <alex at lisas.de>");
>                                         ^
> 
> tX_mastergui.cc:1675:22: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
>   dummy=gtk_label_new("v"VERSION);
>                       ^
> 
> tX_knobloader.c: In function 'load_knob_pixs':
> tX_knobloader.c:90:3: warning: 'gdk_pixbuf_new_from_inline' is deprecated [-Wdeprecated-declarations]
>    knob_pixmaps[i]=gdk_pixbuf_new_from_inline(-1, knob_pixs[i], TRUE, &error);
>    ^~~~~~~~~~~~
> 
> In file included from /usr/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf.h:33:0,
>                  from /usr/include/gtk-2.0/gdk/gdkpixbuf.h:37,
>                  from /usr/include/gtk-2.0/gdk/gdkcairo.h:28,
>                  from /usr/include/gtk-2.0/gdk/gdk.h:33,
>                  from /usr/include/gtk-2.0/gtk/gtk.h:32,
>                  from tX_knobloader.c:23:
> /usr/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-core.h:314:12: note: declared here
>  GdkPixbuf* gdk_pixbuf_new_from_inline (gint          data_length,
>             ^~~~~~~~~~~~~~~~~~~~~~~~~~
...
> 
> tX_mouse.cc: In member function 'void tx_mouse::motion_notify(GtkWidget*, GdkEventMotion*)':
> tX_mouse.cc:320:41: error: call of overloaded 'abs(gdouble&)' is ambiguous
>     f_prec value=(abs(eventMotion->x_root)>abs(eventMotion->y_root)) ? eventMotion->x_root : eventMotion->y_root;
>                                          ^
> 
> In file included from /usr/include/c++/6/cstdlib:72:0,
>                  from /usr/include/c++/6/ext/string_conversions.h:41,
>                  from /usr/include/c++/6/bits/basic_string.h:5402,
>                  from /usr/include/c++/6/string:52,
>                  from /usr/include/x86_64-linux-gnu/unicode/std_string.h:33,
>                  from /usr/include/x86_64-linux-gnu/unicode/unistr.h:31,
>                  from /usr/include/x86_64-linux-gnu/unicode/strenum.h:14,
>                  from /usr/include/x86_64-linux-gnu/unicode/uenum.h:24,
>                  from /usr/include/x86_64-linux-gnu/unicode/ucnv.h:51,
>                  from /usr/include/libxml2/libxml/encoding.h:31,
>                  from /usr/include/libxml2/libxml/parser.h:810,
>                  from /usr/include/libxml2/libxml/globals.h:18,
>                  from /usr/include/libxml2/libxml/threads.h:35,
>                  from /usr/include/libxml2/libxml/xmlmemory.h:218,
>                  from tX_midiin.h:27,
>                  from tX_seqpar.h:27,
>                  from tX_mastergui.h:29,
>                  from tX_mouse.cc:45:
> /usr/include/stdlib.h:774:12: note: candidate: int abs(int)
>  extern int abs (int __x) __THROW __attribute__ ((__const__)) __wur;
>             ^~~
> 
> In file included from /usr/include/c++/6/ext/string_conversions.h:41:0,
>                  from /usr/include/c++/6/bits/basic_string.h:5402,
>                  from /usr/include/c++/6/string:52,
>                  from /usr/include/x86_64-linux-gnu/unicode/std_string.h:33,
>                  from /usr/include/x86_64-linux-gnu/unicode/unistr.h:31,
>                  from /usr/include/x86_64-linux-gnu/unicode/strenum.h:14,
>                  from /usr/include/x86_64-linux-gnu/unicode/uenum.h:24,
>                  from /usr/include/x86_64-linux-gnu/unicode/ucnv.h:51,
>                  from /usr/include/libxml2/libxml/encoding.h:31,
>                  from /usr/include/libxml2/libxml/parser.h:810,
>                  from /usr/include/libxml2/libxml/globals.h:18,
>                  from /usr/include/libxml2/libxml/threads.h:35,
>                  from /usr/include/libxml2/libxml/xmlmemory.h:218,
>                  from tX_midiin.h:27,
>                  from tX_seqpar.h:27,
>                  from tX_mastergui.h:29,
>                  from tX_mouse.cc:45:
> /usr/include/c++/6/cstdlib:179:3: note: candidate: __int128 std::abs(__int128)
>    abs(__GLIBCXX_TYPE_INT_N_0 __x) { return __x >= 0 ? __x : -__x; }
>    ^~~
> 
> /usr/include/c++/6/cstdlib:174:3: note: candidate: long long int std::abs(long long int)
>    abs(long long __x) { return __builtin_llabs (__x); }
>    ^~~
> 
> /usr/include/c++/6/cstdlib:166:3: note: candidate: long int std::abs(long int)
>    abs(long __i) { return __builtin_labs(__i); }
>    ^~~
> 
> tX_mouse.cc:320:66: error: call of overloaded 'abs(gdouble&)' is ambiguous
>     f_prec value=(abs(eventMotion->x_root)>abs(eventMotion->y_root)) ? eventMotion->x_root : eventMotion->y_root;



More information about the pkg-multimedia-maintainers mailing list