Bug#811883: calf: FTBFS with GCC 6: no matching function for call to

Martin Michlmayr tbm at hpe.com
Wed Jan 20 02:55:09 UTC 2016


Package: calf
Version: 0.0.60-1
Severity: important
User: debian-gcc at 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++ -DHAVE_CONFIG_H -I. -I..  -I.. -I. -Wdate-time -D_FORTIFY_SOURCE=2 -ffast-math -finline-limit=80   -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/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/cairo -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12   -pthread -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wall -O3 -finline-functions -finline-functions-called-once -Wall -c -o jack_client.o jack_client.cpp
> jack_client.cpp: In member function 'void calf_plugins::jack_client::calculate_plugin_order(std::vector<int>&)':
> jack_client.cpp:229:71: error: no matching function for call to 'make_pair(const int&, unsigned int&)'
>                      run_before.insert(make_pair<int, int>(p->second, i));
>                                                                        ^
> 
> In file included from /usr/include/c++/6/bits/stl_algobase.h:64:0,
>                  from /usr/include/c++/6/bits/stl_tree.h:63,
>                  from /usr/include/c++/6/map:60,
>                  from ./calf/primitives.h:30,
>                  from ./calf/giface.h:25,
>                  from jack_client.cpp:25:
> /usr/include/c++/6/bits/stl_pair.h:406:5: note: candidate: template<class _T1, class _T2> constexpr std::pair<typename std::__decay_and_strip<_Tp>::__type, typename std::__decay_and_strip<_T2>::__type> std::make_pair(_T1&&, _T2&&)
>      make_pair(_T1&& __x, _T2&& __y)
>      ^~~~~~~~~
> 
> /usr/include/c++/6/bits/stl_pair.h:406:5: note:   template argument deduction/substitution failed:
> jack_client.cpp:229:62: note:   cannot convert 'p.std::_Rb_tree_const_iterator<_Tp>::operator-><std::pair<const std::__cxx11::basic_string<char>, int> >()->std::pair<const std::__cxx11::basic_string<char>, int>::second' (type 'const int') to type 'int&&'
>                      run_before.insert(make_pair<int, int>(p->second, i));
>                                                            ~~~^~~~~~
> 
> Makefile:709: recipe for target 'jack_client.o' failed
> make[4]: *** [jack_client.o] Error 1
> make[4]: Leaving directory '/<<PKGBUILDDIR>>/src'
> Makefile:738: recipe for target 'all-recursive' failed

-- 
Martin Michlmayr
Linux for HPE Helion, Hewlett Packard Enterprise



More information about the pkg-multimedia-maintainers mailing list