[Pkg-ime-devel] Bug#724153: librime: FTBFS: config.cc:556:17: error: 'class YAML::Parser' has no member named 'GetNextDocument'

David Suárez david.sephirot at gmail.com
Sun Sep 22 16:57:22 UTC 2013


Source: librime
Version: 0.9.8-2
Severity: serious
Tags: jessie sid
User: debian-qa at lists.debian.org
Usertags: qa-ftbfs-20130922 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):
> make[4]: Entering directory `/«PKGBUILDDIR»/build'
> [  1%] Building CXX object src/CMakeFiles/rime.dir/translation.cc.o
> [  2%] Building CXX object src/CMakeFiles/rime.dir/switcher.cc.o
> In file included from /usr/include/boost/signals.hpp:9:0,
>                  from /«PKGBUILDDIR»/include/rime/context.h:11,
>                  from /«PKGBUILDDIR»/src/switcher.cc:13:
> /usr/include/boost/signal.hpp:17:4: warning: #warning "Boost.Signals is no longer being maintained and is now deprecated. Please switch to Boost.Signals2. To disable this warning message, define BOOST_SIGNALS_NO_DEPRECATION_WARNING." [-Wcpp]
>  #  warning                  "Boost.Signals is no longer being maintained and is now deprecated. Please switch to Boost.Signals2. To disable this warning message, define BOOST_SIGNALS_NO_DEPRECATION_WARNING."
>     ^
> [  4%] Building CXX object src/CMakeFiles/rime.dir/service.cc.o
> In file included from /usr/include/boost/signals.hpp:9:0,
>                  from /«PKGBUILDDIR»/include/rime/context.h:11,
>                  from /«PKGBUILDDIR»/src/service.cc:8:
> /usr/include/boost/signal.hpp:17:4: warning: #warning "Boost.Signals is no longer being maintained and is now deprecated. Please switch to Boost.Signals2. To disable this warning message, define BOOST_SIGNALS_NO_DEPRECATION_WARNING." [-Wcpp]
>  #  warning                  "Boost.Signals is no longer being maintained and is now deprecated. Please switch to Boost.Signals2. To disable this warning message, define BOOST_SIGNALS_NO_DEPRECATION_WARNING."
>     ^
> [  5%] Building CXX object src/CMakeFiles/rime.dir/segmentation.cc.o
> [  7%] Building CXX object src/CMakeFiles/rime.dir/schema.cc.o
> [  8%] Building CXX object src/CMakeFiles/rime.dir/rime_api.cc.o
> In file included from /usr/include/boost/signals.hpp:9:0,
>                  from /«PKGBUILDDIR»/include/rime/context.h:11,
>                  from /«PKGBUILDDIR»/src/rime_api.cc:12:
> /usr/include/boost/signal.hpp:17:4: warning: #warning "Boost.Signals is no longer being maintained and is now deprecated. Please switch to Boost.Signals2. To disable this warning message, define BOOST_SIGNALS_NO_DEPRECATION_WARNING." [-Wcpp]
>  #  warning                  "Boost.Signals is no longer being maintained and is now deprecated. Please switch to Boost.Signals2. To disable this warning message, define BOOST_SIGNALS_NO_DEPRECATION_WARNING."
>     ^
> [ 10%] Building CXX object src/CMakeFiles/rime.dir/registry.cc.o
> [ 11%] Building CXX object src/CMakeFiles/rime.dir/menu.cc.o
> [ 13%] Building CXX object src/CMakeFiles/rime.dir/key_table.cc.o
> [ 14%] Building CXX object src/CMakeFiles/rime.dir/key_event.cc.o
> [ 16%] Building CXX object src/CMakeFiles/rime.dir/engine.cc.o
> In file included from /usr/include/boost/signals.hpp:9:0,
>                  from /«PKGBUILDDIR»/include/rime/context.h:11,
>                  from /«PKGBUILDDIR»/src/engine.cc:14:
> /usr/include/boost/signal.hpp:17:4: warning: #warning "Boost.Signals is no longer being maintained and is now deprecated. Please switch to Boost.Signals2. To disable this warning message, define BOOST_SIGNALS_NO_DEPRECATION_WARNING." [-Wcpp]
>  #  warning                  "Boost.Signals is no longer being maintained and is now deprecated. Please switch to Boost.Signals2. To disable this warning message, define BOOST_SIGNALS_NO_DEPRECATION_WARNING."
>     ^
> [ 17%] Building CXX object src/CMakeFiles/rime.dir/deployer.cc.o
> In file included from /usr/include/boost/signals.hpp:9:0,
>                  from /«PKGBUILDDIR»/include/rime/messenger.h:11,
>                  from /«PKGBUILDDIR»/include/rime/deployer.h:14,
>                  from /«PKGBUILDDIR»/src/deployer.cc:10:
> /usr/include/boost/signal.hpp:17:4: warning: #warning "Boost.Signals is no longer being maintained and is now deprecated. Please switch to Boost.Signals2. To disable this warning message, define BOOST_SIGNALS_NO_DEPRECATION_WARNING." [-Wcpp]
>  #  warning                  "Boost.Signals is no longer being maintained and is now deprecated. Please switch to Boost.Signals2. To disable this warning message, define BOOST_SIGNALS_NO_DEPRECATION_WARNING."
>     ^
> [ 19%] Building CXX object src/CMakeFiles/rime.dir/context.cc.o
> In file included from /usr/include/boost/signals.hpp:9:0,
>                  from /«PKGBUILDDIR»/include/rime/context.h:11,
>                  from /«PKGBUILDDIR»/src/context.cc:8:
> /usr/include/boost/signal.hpp:17:4: warning: #warning "Boost.Signals is no longer being maintained and is now deprecated. Please switch to Boost.Signals2. To disable this warning message, define BOOST_SIGNALS_NO_DEPRECATION_WARNING." [-Wcpp]
>  #  warning                  "Boost.Signals is no longer being maintained and is now deprecated. Please switch to Boost.Signals2. To disable this warning message, define BOOST_SIGNALS_NO_DEPRECATION_WARNING."
>     ^
> [ 20%] Building CXX object src/CMakeFiles/rime.dir/config.cc.o
> /«PKGBUILDDIR»/src/config.cc: In member function 'bool rime::ConfigData::LoadFromFile(const string&)':
> /«PKGBUILDDIR»/src/config.cc:556:17: error: 'class YAML::Parser' has no member named 'GetNextDocument'
>      if (!parser.GetNextDocument(doc)) {
>                  ^
> /«PKGBUILDDIR»/src/config.cc: In static member function 'static rime::ConfigItemPtr rime::ConfigData::ConvertFromYaml(const YAML::Node&)':
> /«PKGBUILDDIR»/src/config.cc:607:49: error: 'const class YAML::Node' has no member named 'to'
>      return boost::make_shared<ConfigValue>(node.to<std::string>());
>                                                  ^
> /«PKGBUILDDIR»/src/config.cc:607:63: error: expected primary-expression before '>' token
>      return boost::make_shared<ConfigValue>(node.to<std::string>());
>                                                                ^
> /«PKGBUILDDIR»/src/config.cc:607:65: error: expected primary-expression before ')' token
>      return boost::make_shared<ConfigValue>(node.to<std::string>());
>                                                                  ^
> /«PKGBUILDDIR»/src/config.cc:611:5: error: 'Iterator' is not a member of 'YAML'
>      YAML::Iterator it = node.begin();
>      ^
> /«PKGBUILDDIR»/src/config.cc:611:20: error: expected ';' before 'it'
>      YAML::Iterator it = node.begin();
>                     ^
> /«PKGBUILDDIR»/src/config.cc:612:5: error: 'Iterator' is not a member of 'YAML'
>      YAML::Iterator end = node.end();
>      ^
> /«PKGBUILDDIR»/src/config.cc:612:20: error: expected ';' before 'end'
>      YAML::Iterator end = node.end();
>                     ^
> /«PKGBUILDDIR»/src/config.cc:613:13: error: 'it' was not declared in this scope
>      for ( ; it != end; ++it) {
>              ^
> /«PKGBUILDDIR»/src/config.cc:613:19: error: 'end' was not declared in this scope
>      for ( ; it != end; ++it) {
>                    ^
> /«PKGBUILDDIR»/src/config.cc:613:19: note: suggested alternatives:
> In file included from /usr/include/boost/algorithm/string/trim.hpp:17:0,
>                  from /usr/include/boost/algorithm/string.hpp:19,
>                  from /«PKGBUILDDIR»/src/config.cc:11:
> /usr/include/boost/range/end.hpp:106:61: note:   'boost::range_adl_barrier::end'
>  inline BOOST_DEDUCED_TYPENAME range_iterator<const T>::type end( const T& r )
>                                                              ^
> In file included from /usr/include/boost/mpl/list/aux_/begin_end.hpp:17:0,
>                  from /usr/include/boost/mpl/list/list0.hpp:27,
>                  from /usr/include/boost/mpl/list/list10.hpp:18,
>                  from /usr/include/boost/mpl/list/list20.hpp:18,
>                  from /usr/include/boost/mpl/list.hpp:36,
>                  from /usr/include/boost/math/policies/policy.hpp:9,
>                  from /usr/include/boost/math/special_functions/math_fwd.hpp:28,
>                  from /usr/include/boost/math/special_functions/sign.hpp:17,
>                  from /usr/include/boost/lexical_cast.hpp:172,
>                  from /«PKGBUILDDIR»/src/config.cc:14:
> /usr/include/boost/mpl/begin_end_fwd.hpp:23:38: note:   'boost::mpl::end'
>  template< typename Sequence > struct end;
>                                       ^
> In file included from /usr/include/boost/algorithm/string/trim.hpp:17:0,
>                  from /usr/include/boost/algorithm/string.hpp:19,
>                  from /«PKGBUILDDIR»/src/config.cc:11:
> /usr/include/boost/range/end.hpp:106:61: note:   'boost::range_adl_barrier::end'
>  inline BOOST_DEDUCED_TYPENAME range_iterator<const T>::type end( const T& r )
>                                                              ^
> /«PKGBUILDDIR»/src/config.cc:620:5: error: 'Iterator' is not a member of 'YAML'
>      YAML::Iterator it = node.begin();
>      ^
> /«PKGBUILDDIR»/src/config.cc:620:20: error: expected ';' before 'it'
>      YAML::Iterator it = node.begin();
>                     ^
> /«PKGBUILDDIR»/src/config.cc:621:5: error: 'Iterator' is not a member of 'YAML'
>      YAML::Iterator end = node.end();
>      ^
> /«PKGBUILDDIR»/src/config.cc:621:20: error: expected ';' before 'end'
>      YAML::Iterator end = node.end();
>                     ^
> /«PKGBUILDDIR»/src/config.cc:622:13: error: 'it' was not declared in this scope
>      for ( ; it != end; ++it) {
>              ^
> /«PKGBUILDDIR»/src/config.cc:622:19: error: 'end' was not declared in this scope
>      for ( ; it != end; ++it) {
>                    ^
> /«PKGBUILDDIR»/src/config.cc:622:19: note: suggested alternatives:
> In file included from /usr/include/boost/algorithm/string/trim.hpp:17:0,
>                  from /usr/include/boost/algorithm/string.hpp:19,
>                  from /«PKGBUILDDIR»/src/config.cc:11:
> /usr/include/boost/range/end.hpp:106:61: note:   'boost::range_adl_barrier::end'
>  inline BOOST_DEDUCED_TYPENAME range_iterator<const T>::type end( const T& r )
>                                                              ^
> In file included from /usr/include/boost/mpl/list/aux_/begin_end.hpp:17:0,
>                  from /usr/include/boost/mpl/list/list0.hpp:27,
>                  from /usr/include/boost/mpl/list/list10.hpp:18,
>                  from /usr/include/boost/mpl/list/list20.hpp:18,
>                  from /usr/include/boost/mpl/list.hpp:36,
>                  from /usr/include/boost/math/policies/policy.hpp:9,
>                  from /usr/include/boost/math/special_functions/math_fwd.hpp:28,
>                  from /usr/include/boost/math/special_functions/sign.hpp:17,
>                  from /usr/include/boost/lexical_cast.hpp:172,
>                  from /«PKGBUILDDIR»/src/config.cc:14:
> /usr/include/boost/mpl/begin_end_fwd.hpp:23:38: note:   'boost::mpl::end'
>  template< typename Sequence > struct end;
>                                       ^
> In file included from /usr/include/boost/algorithm/string/trim.hpp:17:0,
>                  from /usr/include/boost/algorithm/string.hpp:19,
>                  from /«PKGBUILDDIR»/src/config.cc:11:
> /usr/include/boost/range/end.hpp:106:61: note:   'boost::range_adl_barrier::end'
>  inline BOOST_DEDUCED_TYPENAME range_iterator<const T>::type end( const T& r )
>                                                              ^
> /«PKGBUILDDIR»/src/config.cc:623:50: error: expected primary-expression before '>' token
>        std::string key = it.first().to<std::string>();
>                                                   ^
> /«PKGBUILDDIR»/src/config.cc:623:52: error: expected primary-expression before ')' token
>        std::string key = it.first().to<std::string>();
>                                                     ^
> make[4]: *** [src/CMakeFiles/rime.dir/config.cc.o] Error 1

The full build log is available from:
   http://aws-logs.debian.net/ftbfs-logs/2013/09/22/librime_0.9.8-2_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-ime-devel mailing list