Bug#724223: rivet: FTBFS: AnalysisInfo.cc:42:14: error: 'class YAML::Parser' has no member named 'GetNextDocument'

David Suárez david.sephirot at gmail.com
Sun Sep 22 17:12:53 UTC 2013


Source: rivet
Version: 1.8.3-1
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»/src/Core'
>   CXX      libRivetCore_la-Event.lo
>   CXX      libRivetCore_la-Jet.lo
>   CXX      libRivetCore_la-Particle.lo
>   CXX      libRivetCore_la-ParticleName.lo
>   CXX      libRivetCore_la-ProjectionApplier.lo
>   CXX      libRivetCore_la-Projection.lo
>   CXX      libRivetCore_la-Analysis.lo
>   CXX      libRivetCore_la-AnalysisLoader.lo
>   CXX      libRivetCore_la-AnalysisInfo.lo
> AnalysisInfo.cc: In static member function 'static Rivet::AnalysisInfo* Rivet::AnalysisInfo::make(const string&)':
> AnalysisInfo.cc:42:14: error: 'class YAML::Parser' has no member named 'GetNextDocument'
>        parser.GetNextDocument(doc);
>               ^                           ^
> In file included from /usr/include/c++/4.8/string:53:0,
>                  from ../../include/Rivet/RivetSTL.hh:9,
>                  from ../../include/Rivet/Rivet.hh:8,
>                  from AnalysisInfo.cc:1:
> /usr/include/c++/4.8/bits/basic_string.tcc:996:5: note: template<class _CharT, class _Traits, class _Alloc> std::basic_istream<_CharT, _Traits>& std::operator>>(std::basic_istream<_CharT, _Traits>&, std::basic_string<_CharT, _Traits, _Alloc>&)
>      operator>>(basic_istream<_CharT, _Traits>& __in,
>      ^
> /usr/include/c++/4.8/bits/basic_string.tcc:996:5: note:   template argument deduction/substitution failed:
> AnalysisInfo.cc:81:26: note:   types 'std::basic_istream<_CharT, _Traits>' and 'const YAML::Node' have incompatible cv-qualifiers
>                  bp[1] >> bstr1;
>                           ^
> AnalysisInfo.cc:93:16: error: 'Iterator' is not a member of 'YAML'
>            for (YAML::Iterator be = energies.begin(); be != energies.end(); ++be) {
>                 ^
> AnalysisInfo.cc:93:31: error: expected ';' before 'be'
>            for (YAML::Iterator be = energies.begin(); be != energies.end(); ++be) {
>                                ^
> AnalysisInfo.cc:93:54: error: 'be' was not declared in this scope
>            for (YAML::Iterator be = energies.begin(); be != energies.end(); ++be) {
>                                                       ^
> AnalysisInfo.cc:109:26: error: no match for 'operator>>' (operand types are 'const YAML::Node' and 'double')
>                  beseq[0] >> beamenergy0;
>                           ^
> AnalysisInfo.cc:110:26: error: no match for 'operator>>' (operand types are 'const YAML::Node' and 'double')
>                  beseq[1] >> beamenergy1;
>                           ^
> AnalysisInfo.cc:132:16: error: 'Iterator' is not a member of 'YAML'
>            for (YAML::Iterator todo = todos.begin(); todo != todos.end(); ++todo) {
>                 ^
> AnalysisInfo.cc:132:31: error: expected ';' before 'todo'
>            for (YAML::Iterator todo = todos.begin(); todo != todos.end(); ++todo) {
>                                ^
> AnalysisInfo.cc:132:53: error: 'todo' was not declared in this scope
>            for (YAML::Iterator todo = todos.begin(); todo != todos.end(); ++todo) {
>                                                      ^
> AnalysisInfo.cc:147:16: error: 'Iterator' is not a member of 'YAML'
>            for (YAML::Iterator a = authors.begin(); a != authors.end(); ++a) {
>                 ^
> AnalysisInfo.cc:147:31: error: expected ';' before 'a'
>            for (YAML::Iterator a = authors.begin(); a != authors.end(); ++a) {
>                                ^
> AnalysisInfo.cc:147:52: error: 'a' was not declared in this scope
>            for (YAML::Iterator a = authors.begin(); a != authors.end(); ++a) {
>                                                     ^
> AnalysisInfo.cc:154:16: error: 'Iterator' is not a member of 'YAML'
>            for (YAML::Iterator r = refs.begin(); r != refs.end(); ++r) {
>                 ^
> AnalysisInfo.cc:154:31: error: expected ';' before 'r'
>            for (YAML::Iterator r = refs.begin(); r != refs.end(); ++r) {
>                                ^
> AnalysisInfo.cc:154:49: error: 'r' was not declared in this scope
>            for (YAML::Iterator r = refs.begin(); r != refs.end(); ++r) {
>                                                  ^
> In file included from ../../include/Rivet/Math/MathUtils.hh:5:0,
>                  from ../../include/Rivet/Rivet.hh:42,
>                  from AnalysisInfo.cc:1:
> ../../include/Rivet/Math/MathHeader.hh: At global scope:
> ../../include/Rivet/Math/MathHeader.hh:45:16: warning: 'Rivet::MAXINT' defined but not used [-Wunused-variable]
>    const double MAXINT = std::numeric_limits<int>::max();
>                 ^
> make[4]: *** [libRivetCore_la-AnalysisInfo.lo] Error 1

The full build log is available from:
   http://aws-logs.debian.net/ftbfs-logs/2013/09/22/rivet_1.8.3-1_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 debian-science-maintainers mailing list