[debian] vera++ 1.2.1 fails to build with gcc5

Issue #71 resolved
Vincent Hobeïka created an issue

Bug reported from debian bug tracker: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=778162

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.

[...]
                 from /usr/include/boost/spirit/home/classic/core/non_terminal/impl/grammar.ipp:15,
                 from /usr/include/boost/spirit/home/classic/core/non_terminal/grammar.hpp:21,
                 from /usr/include/boost/spirit/home/classic/core.hpp:42,
                 from /usr/include/boost/spirit/home/classic/tree/common.hpp:28,
                 from /usr/include/boost/spirit/home/classic/tree/parse_tree.hpp:13,
                 from /usr/include/boost/spirit/home/classic/tree/parse_tree_utils.hpp:15,
                 from /usr/include/boost/spirit/include/classic_parse_tree_utils.hpp:11,
                 from /usr/include/boost/wave/util/cpp_iterator.hpp:27,
                 from /usr/include/boost/wave/cpp_context.hpp:37,
                 from /usr/include/boost/wave.hpp:21,
                 from /build/vera++-1_KjOj/vera++-1.2.1/src/structures/Tokens.cpp:10:
/usr/include/boost/thread/pthread/once_atomic.hpp:121:15: note: candidate: template<class Function, class ... ArgTypes> void boost::call_once(boost::once_flag&, boost::detail::thread_move_t<T>, boost::detail::thread_move_t<Args>...)
   inline void call_once(once_flag& flag, BOOST_THREAD_RV_REF(Function) f, BOOST_THREAD_RV_REF(ArgTypes)... args)
               ^
/usr/include/boost/thread/pthread/once_atomic.hpp:121:15: note:   template argument deduction/substitution failed:
In file included from /usr/include/boost/spirit/home/classic/core/non_terminal/impl/object_with_id.ipp:18:0,
                 from /usr/include/boost/spirit/home/classic/core/non_terminal/impl/grammar.ipp:15,
                 from /usr/include/boost/spirit/home/classic/core/non_terminal/grammar.hpp:21,
                 from /usr/include/boost/spirit/home/classic/core.hpp:42,
                 from /usr/include/boost/spirit/home/classic/tree/common.hpp:28,
                 from /usr/include/boost/spirit/home/classic/tree/parse_tree.hpp:13,
                 from /usr/include/boost/spirit/home/classic/tree/parse_tree_utils.hpp:15,
                 from /usr/include/boost/spirit/include/classic_parse_tree_utils.hpp:11,
                 from /usr/include/boost/wave/util/cpp_iterator.hpp:27,
                 from /usr/include/boost/wave/cpp_context.hpp:37,
                 from /usr/include/boost/wave.hpp:21,
                 from /build/vera++-1_KjOj/vera++-1.2.1/src/structures/Tokens.cpp:10:
/usr/include/boost/thread/once.hpp:38:18: note:   mismatched types 'boost::detail::thread_move_t<T>' and 'void (*)()'
         call_once(flag,func);
                  ^
/usr/include/boost/thread/once.hpp:35:13: note: candidate: template<class Function> void boost::call_once(Function, boost::once_flag&)
 inline void call_once(Function func,once_flag& flag)
             ^
/usr/include/boost/thread/once.hpp:35:13: note:   template argument deduction/substitution failed:
/usr/include/boost/thread/once.hpp:38:18: note:   cannot convert 'func' (type 'void (*)()') to type 'boost::once_flag&'
         call_once(flag,func);
                  ^
make[3]: *** [src/CMakeFiles/vera.dir/structures/Tokens.cpp.o] Error 1
src/CMakeFiles/vera.dir/build.make:57: recipe for target 'src/CMakeFiles/vera.dir/structures/Tokens.cpp.o' failed
make[3]: Leaving directory '/build/vera++-1_KjOj/vera++-1.2.1/obj-x86_64-linux-gnu'
make[2]: *** [src/CMakeFiles/vera.dir/all] Error 2
CMakeFiles/Makefile2:1015: recipe for target 'src/CMakeFiles/vera.dir/all' failed
make[2]: Leaving directory '/build/vera++-1_KjOj/vera++-1.2.1/obj-x86_64-linux-gnu'
make[1]: *** [all] Error 2
Makefile:150: recipe for target 'all' failed
make[1]: Leaving directory '/build/vera++-1_KjOj/vera++-1.2.1/obj-x86_64-linux-gnu'
dh_auto_build: make -j1 returned exit code 2
make: *** [build-arch] Error 2
debian/rules:19: recipe for target 'build-arch' failed
dpkg-buildpackage: error: debian/rules build-arch gave error exit status 2

Comments (1)

  1. Log in to comment