Bug#778067: plee-the-bear: ftbfs with GCC-5

Matthias Klose doko at debian.org
Thu Feb 12 10:35:48 UTC 2015


Package: src:plee-the-bear
Version: 0.6.0-3.1
Severity: normal
Tags: sid stretch
User: debian-gcc at lists.debian.org
Usertags: ftbfs-gcc-5

Please keep this issue open in the bug tracker for the package it
was filed for.  If a fix in another package is required, please
file a bug for the other package (or clone), and add a block in this
package. Please keep the issue open until the package can be built in
a follow-up test rebuild.

The package fails to build in a test rebuild on at least amd64 with
gcc-5/g++-5, but succeeds to build with gcc-4.9/g++-4.9. The
severity of this report may be raised before the stretch release.

The full build log can be found at:
http://people.debian.org/~doko/logs/gcc5-20150205/plee-the-bear_0.6.0-3.1_unstable_gcc5.log
The last lines of the build log are at the end of this report.

To build with GCC 5, either set CC=gcc-5 CXX=g++-5 explicitly,
or install the gcc, g++, gfortran, ... packages from experimental.

  apt-get -t experimental install g++ 

Common build failures are C11 as the default C mode, new warnings
resulting in build failures with -Werror turned on, or new/dropped
symbols in Debian symbols files.  For other C/C++ related build failures
see the porting guide at http://gcc.gnu.org/gcc-5/porting_to.html

[...]
                 from /«PKGBUILDDIR»/plee-the-bear/src/ptb/throwable_item/code/throwable_items_container.cpp:29:
/usr/include/boost/signals2/detail/variadic_slot_invoker.hpp: In instantiation of 'class boost::signals2::detail::variadic_slot_invoker<boost::signals2::detail::void_type, const std::basic_string<char, std::char_traits<char>, std::allocator<char> >&>':
/usr/include/boost/signals2/detail/signal_template.hpp:238:24:   required from 'boost::signals2::detail::signal_impl<R(Args ...), Combiner, Group, GroupCompare, SlotFunction, ExtendedSlotFunction, Mutex>::result_type boost::signals2::detail::signal_impl<R(Args ...), Combiner, Group, GroupCompare, SlotFunction, ExtendedSlotFunction, Mutex>::operator()(Args ...) [with Combiner = boost::signals2::optional_last_value<void>; Group = int; GroupCompare = std::less<int>; SlotFunction = boost::function<void(const std::basic_string<char>&)>; ExtendedSlotFunction = boost::function<void(const boost::signals2::connection&, const std::basic_string<char>&)>; Mutex = boost::signals2::mutex; R = void; Args = {const std::basic_string<char, std::char_traits<char>, std::allocator<char> >&}; boost::signals2::detail::signal_impl<R(Args ...), Combiner, Group, GroupCompare, SlotFunction, ExtendedSlotFunction, Mutex>::result_type = void]'
/usr/include/boost/signals2/detail/signal_template.hpp:695:25:   required from 'boost::signals2::signal<R(Args ...), Combiner, Group, GroupCompare, SlotFunction, ExtendedSlotFunction, Mutex>::result_type boost::signals2::signal<R(Args ...), Combiner, Group, GroupCompare, SlotFunction, ExtendedSlotFunction, Mutex>::operator()(Args ...) [with Combiner = boost::signals2::optional_last_value<void>; Group = int; GroupCompare = std::less<int>; SlotFunction = boost::function<void(const std::basic_string<char>&)>; ExtendedSlotFunction = boost::function<void(const boost::signals2::connection&, const std::basic_string<char>&)>; Mutex = boost::signals2::mutex; R = void; Args = {const std::basic_string<char, std::char_traits<char>, std::allocator<char> >&}; boost::signals2::signal<R(Args ...), Combiner, Group, GroupCompare, SlotFunction, ExtendedSlotFunction, Mutex>::result_type = void]'
/«PKGBUILDDIR»/plee-the-bear/src/ptb/throwable_item/code/throwable_items_container.cpp:72:45:   required from here
/usr/include/boost/signals2/detail/variadic_slot_invoker.hpp:103:9: error: forming reference to reference type 'const std::basic_string<char>&'
         variadic_slot_invoker(Args & ... args): _args(args...)
         ^
In file included from /usr/include/boost/signals2/variadic_signal.hpp:21:0,
                 from /usr/include/boost/signals2/signal.hpp:38,
                 from /usr/include/boost/signals2.hpp:19,
                 from /«PKGBUILDDIR»/plee-the-bear/src/ptb/../ptb/throwable_item/throwable_items_container.hpp:35,
                 from /«PKGBUILDDIR»/plee-the-bear/src/ptb/throwable_item/code/throwable_items_container.cpp:29:
/usr/include/boost/signals2/detail/variadic_slot_invoker.hpp:125:41: error: forming reference to reference type 'const std::basic_string<char>&'
         BOOST_SIGNALS2_TUPLE<Args& ...> _args;
                                         ^
In file included from /usr/include/boost/signals2/variadic_signal.hpp:42:0,
                 from /usr/include/boost/signals2/signal.hpp:38,
                 from /usr/include/boost/signals2.hpp:19,
                 from /«PKGBUILDDIR»/plee-the-bear/src/ptb/../ptb/throwable_item/throwable_items_container.hpp:35,
                 from /«PKGBUILDDIR»/plee-the-bear/src/ptb/throwable_item/code/throwable_items_container.cpp:29:
/usr/include/boost/signals2/detail/signal_template.hpp: In instantiation of 'boost::signals2::detail::signal_impl<R(Args ...), Combiner, Group, GroupCompare, SlotFunction, ExtendedSlotFunction, Mutex>::result_type boost::signals2::detail::signal_impl<R(Args ...), Combiner, Group, GroupCompare, SlotFunction, ExtendedSlotFunction, Mutex>::operator()(Args ...) [with Combiner = boost::signals2::optional_last_value<void>; Group = int; GroupCompare = std::less<int>; SlotFunction = boost::function<void(const std::basic_string<char>&)>; ExtendedSlotFunction = boost::function<void(const boost::signals2::connection&, const std::basic_string<char>&)>; Mutex = boost::signals2::mutex; R = void; Args = {const std::basic_string<char, std::char_traits<char>, std::allocator<char> >&}; boost::signals2::detail::signal_impl<R(Args ...), Combiner, Group, GroupCompare, SlotFunction, ExtendedSlotFunction, Mutex>::result_type = void]':
/usr/include/boost/signals2/detail/signal_template.hpp:695:25:   required from 'boost::signals2::signal<R(Args ...), Combiner, Group, GroupCompare, SlotFunction, ExtendedSlotFunction, Mutex>::result_type boost::signals2::signal<R(Args ...), Combiner, Group, GroupCompare, SlotFunction, ExtendedSlotFunction, Mutex>::operator()(Args ...) [with Combiner = boost::signals2::optional_last_value<void>; Group = int; GroupCompare = std::less<int>; SlotFunction = boost::function<void(const std::basic_string<char>&)>; ExtendedSlotFunction = boost::function<void(const boost::signals2::connection&, const std::basic_string<char>&)>; Mutex = boost::signals2::mutex; R = void; Args = {const std::basic_string<char, std::char_traits<char>, std::allocator<char> >&}; boost::signals2::signal<R(Args ...), Combiner, Group, GroupCompare, SlotFunction, ExtendedSlotFunction, Mutex>::result_type = void]'
/«PKGBUILDDIR»/plee-the-bear/src/ptb/throwable_item/code/throwable_items_container.cpp:72:45:   required from here
/usr/include/boost/signals2/detail/signal_template.hpp:238:106: error: no matching function for call to 'boost::signals2::detail::variadic_slot_invoker<boost::signals2::detail::void_type, const std::basic_string<char, std::char_traits<char>, std::allocator<char> >&>::variadic_slot_invoker(const std::basic_string<char>&)'
           slot_invoker invoker = slot_invoker(BOOST_SIGNALS2_SIGNATURE_ARG_NAMES(BOOST_SIGNALS2_NUM_ARGS));
                                                                                                          ^
In file included from /usr/include/boost/signals2/variadic_signal.hpp:21:0,
                 from /usr/include/boost/signals2/signal.hpp:38,
                 from /usr/include/boost/signals2.hpp:19,
                 from /«PKGBUILDDIR»/plee-the-bear/src/ptb/../ptb/throwable_item/throwable_items_container.hpp:35,
                 from /«PKGBUILDDIR»/plee-the-bear/src/ptb/throwable_item/code/throwable_items_container.cpp:29:
/usr/include/boost/signals2/detail/variadic_slot_invoker.hpp:98:15: note: candidate: boost::signals2::detail::variadic_slot_invoker<boost::signals2::detail::void_type, const std::basic_string<char, std::char_traits<char>, std::allocator<char> >&>::variadic_slot_invoker()
         class variadic_slot_invoker
               ^
/usr/include/boost/signals2/detail/variadic_slot_invoker.hpp:98:15: note:   candidate expects 0 arguments, 1 provided
/usr/include/boost/signals2/detail/variadic_slot_invoker.hpp:98:15: note: candidate: boost::signals2::detail::variadic_slot_invoker<boost::signals2::detail::void_type, const std::basic_string<char, std::char_traits<char>, std::allocator<char> >&>::variadic_slot_invoker(const boost::signals2::detail::variadic_slot_invoker<boost::signals2::detail::void_type, const std::basic_string<char, std::char_traits<char>, std::allocator<char> >&>&)
/usr/include/boost/signals2/detail/variadic_slot_invoker.hpp:98:15: note:   no known conversion for argument 1 from 'const std::basic_string<char>' to 'const boost::signals2::detail::variadic_slot_invoker<boost::signals2::detail::void_type, const std::basic_string<char, std::char_traits<char>, std::allocator<char> >&>&'
make[3]: *** [plee-the-bear/src/ptb/CMakeFiles/plee_the_bear.dir/throwable_item/code/throwable_items_container.cpp.o] Error 1
plee-the-bear/src/ptb/CMakeFiles/plee_the_bear.dir/build.make:4516: recipe for target 'plee-the-bear/src/ptb/CMakeFiles/plee_the_bear.dir/throwable_item/code/throwable_items_container.cpp.o' failed
make[3]: Leaving directory '/«PKGBUILDDIR»/build-tree'
make[2]: *** [plee-the-bear/src/ptb/CMakeFiles/plee_the_bear.dir/all] Error 2
CMakeFiles/Makefile2:1140: recipe for target 'plee-the-bear/src/ptb/CMakeFiles/plee_the_bear.dir/all' failed
make[2]: Leaving directory '/«PKGBUILDDIR»/build-tree'
make[1]: *** [all] Error 2
Makefile:117: recipe for target 'all' failed
make[1]: Leaving directory '/«PKGBUILDDIR»/build-tree'
make: *** [build-stamp] Error 2
debian/rules:50: recipe for target 'build-stamp' failed
dpkg-buildpackage: error: debian/rules build-arch gave error exit status 2



More information about the Pkg-games-devel mailing list