[Debian-med-packaging] Bug#624979: probalign: FTBFS: SafeVector.h:26:22: error: expected ')' before 'size'

Lucas Nussbaum lucas at lucas-nussbaum.net
Mon May 2 12:37:04 UTC 2011


Source: probalign
Version: 1.4-1
Severity: serious
Tags: wheezy sid
User: debian-qa at lists.debian.org
Usertags: qa-ftbfs-20110502 qa-ftbfs
Justification: FTBFS on amd64

Hi,

During a rebuild of all packages in sid, your package failed to build on
amd64.

Relevant part:
> g++ -O3 -W -Wall -funroll-loops -lm -o probalign Main.cc PostProbs.cc ComputeAlignment.cc ReadMatrix.cc
> In file included from Main.cc:8:0:
> SafeVector.h:26:22: error: expected ')' before 'size'
> SafeVector.h:27:22: error: expected ')' before 'size'
> In file included from MultiSequence.h:18:0,
>                  from Main.cc:9:
> Sequence.h: In member function 'SafeVector<int>* Sequence::GetMapping() const':
> Sequence.h:392:52: error: no matching function for call to 'SafeVector<int>::SafeVector(int, int)'
> Sequence.h:392:52: note: candidates are:
> SafeVector.h:28:3: note: SafeVector<TYPE>::SafeVector(const SafeVector<TYPE>&) [with TYPE = int, SafeVector<TYPE> = SafeVector<int>]
> SafeVector.h:28:3: note:   candidate expects 1 argument, 2 provided
> SafeVector.h:25:3: note: SafeVector<TYPE>::SafeVector() [with TYPE = int]
> SafeVector.h:25:3: note:   candidate expects 0 arguments, 2 provided
> In file included from Main.cc:9:0:
> MultiSequence.h: In member function 'char MultiSequence::GetAnnotationChar(SafeVector<char>&)':
> MultiSequence.h:348:35: error: no matching function for call to 'SafeVector<int>::SafeVector(int, int)'
> MultiSequence.h:348:35: note: candidates are:
> SafeVector.h:28:3: note: SafeVector<TYPE>::SafeVector(const SafeVector<TYPE>&) [with TYPE = int, SafeVector<TYPE> = SafeVector<int>]
> SafeVector.h:28:3: note:   candidate expects 1 argument, 2 provided
> SafeVector.h:25:3: note: SafeVector<TYPE>::SafeVector() [with TYPE = int]
> SafeVector.h:25:3: note:   candidate expects 0 arguments, 2 provided
> MultiSequence.h: In member function 'void MultiSequence::WriteALN(std::ostream&, int)':
> MultiSequence.h:495:67: error: no matching function for call to 'SafeVector<__gnu_cxx::__normal_iterator<char*, std::vector<char, std::allocator<char> > > >::SafeVector(int)'
> MultiSequence.h:495:67: note: candidates are:
> SafeVector.h:28:3: note: SafeVector<TYPE>::SafeVector(const SafeVector<TYPE>&) [with TYPE = __gnu_cxx::__normal_iterator<char*, std::vector<char, std::allocator<char> > >, SafeVector<TYPE> = SafeVector<__gnu_cxx::__normal_iterator<char*, std::vector<char, std::allocator<char> > > >]
> SafeVector.h:28:3: note:   no known conversion for argument 1 from 'int' to 'const SafeVector<__gnu_cxx::__normal_iterator<char*, std::vector<char, std::allocator<char> > > >&'
> SafeVector.h:25:3: note: SafeVector<TYPE>::SafeVector() [with TYPE = __gnu_cxx::__normal_iterator<char*, std::vector<char, std::allocator<char> > >]
> SafeVector.h:25:3: note:   candidate expects 0 arguments, 1 provided
> MultiSequence.h:496:47: error: no matching function for call to 'SafeVector<int>::SafeVector(int)'
> MultiSequence.h:496:47: note: candidates are:
> SafeVector.h:28:3: note: SafeVector<TYPE>::SafeVector(const SafeVector<TYPE>&) [with TYPE = int, SafeVector<TYPE> = SafeVector<int>]
> SafeVector.h:28:3: note:   no known conversion for argument 1 from 'int' to 'const SafeVector<int>&'
> SafeVector.h:25:3: note: SafeVector<TYPE>::SafeVector() [with TYPE = int]
> SafeVector.h:25:3: note:   candidate expects 0 arguments, 1 provided
> MultiSequence.h: In member function 'MultiSequence* MultiSequence::Project(const std::set<int>&)':
> MultiSequence.h:652:67: error: no matching function for call to 'SafeVector<__gnu_cxx::__normal_iterator<char*, std::vector<char, std::allocator<char> > > >::SafeVector(std::set<int>::size_type)'
> MultiSequence.h:652:67: note: candidates are:
> SafeVector.h:28:3: note: SafeVector<TYPE>::SafeVector(const SafeVector<TYPE>&) [with TYPE = __gnu_cxx::__normal_iterator<char*, std::vector<char, std::allocator<char> > >, SafeVector<TYPE> = SafeVector<__gnu_cxx::__normal_iterator<char*, std::vector<char, std::allocator<char> > > >]
> SafeVector.h:28:3: note:   no known conversion for argument 1 from 'std::set<int>::size_type' to 'const SafeVector<__gnu_cxx::__normal_iterator<char*, std::vector<char, std::allocator<char> > > >&'
> SafeVector.h:25:3: note: SafeVector<TYPE>::SafeVector() [with TYPE = __gnu_cxx::__normal_iterator<char*, std::vector<char, std::allocator<char> > >]
> SafeVector.h:25:3: note:   candidate expects 0 arguments, 1 provided
> MultiSequence.h:653:59: error: no matching function for call to 'SafeVector<SafeVector<char>*>::SafeVector(std::set<int>::size_type)'
> MultiSequence.h:653:59: note: candidates are:
> SafeVector.h:28:3: note: SafeVector<TYPE>::SafeVector(const SafeVector<TYPE>&) [with TYPE = SafeVector<char>*, SafeVector<TYPE> = SafeVector<SafeVector<char>*>]
> SafeVector.h:28:3: note:   no known conversion for argument 1 from 'std::set<int>::size_type' to 'const SafeVector<SafeVector<char>*>&'
> SafeVector.h:25:3: note: SafeVector<TYPE>::SafeVector() [with TYPE = SafeVector<char>*]
> SafeVector.h:25:3: note:   candidate expects 0 arguments, 1 provided
> In file included from Main.cc:10:0:
> EvolutionaryTree.h: In static member function 'static TreeNode* TreeNode::ComputeTree(const VVF&)':
> EvolutionaryTree.h:107:40: error: no matching function for call to 'SafeVector<float>::SafeVector(int&)'
> EvolutionaryTree.h:107:40: note: candidates are:
> SafeVector.h:28:3: note: SafeVector<TYPE>::SafeVector(const SafeVector<TYPE>&) [with TYPE = float, SafeVector<TYPE> = SafeVector<float>]
> SafeVector.h:28:3: note:   no known conversion for argument 1 from 'int' to 'const SafeVector<float>&'
> SafeVector.h:25:3: note: SafeVector<TYPE>::SafeVector() [with TYPE = float]
> SafeVector.h:25:3: note:   candidate expects 0 arguments, 1 provided
> EvolutionaryTree.h:108:48: error: no matching function for call to 'SafeVector<TreeNode*>::SafeVector(int&, NULL)'
> EvolutionaryTree.h:108:48: note: candidates are:
> SafeVector.h:28:3: note: SafeVector<TYPE>::SafeVector(const SafeVector<TYPE>&) [with TYPE = TreeNode*, SafeVector<TYPE> = SafeVector<TreeNode*>]
> SafeVector.h:28:3: note:   candidate expects 1 argument, 2 provided
> SafeVector.h:25:3: note: SafeVector<TYPE>::SafeVector() [with TYPE = TreeNode*]
> SafeVector.h:25:3: note:   candidate expects 0 arguments, 2 provided
> EvolutionaryTree.h:109:38: error: no matching function for call to 'SafeVector<int>::SafeVector(int&, int)'
> EvolutionaryTree.h:109:38: note: candidates are:
> SafeVector.h:28:3: note: SafeVector<TYPE>::SafeVector(const SafeVector<TYPE>&) [with TYPE = int, SafeVector<TYPE> = SafeVector<int>]
> SafeVector.h:28:3: note:   candidate expects 1 argument, 2 provided
> SafeVector.h:25:3: note: SafeVector<TYPE>::SafeVector() [with TYPE = int]
> SafeVector.h:25:3: note:   candidate expects 0 arguments, 2 provided
> In file included from Main.cc:11:0:
> SparseMatrix.h: In member function 'VF* SparseMatrix::GetPosterior() const':
> SparseMatrix.h:236:62: error: no matching function for call to 'SafeVector<float>::SafeVector(int)'
> SparseMatrix.h:236:62: note: candidates are:
> SafeVector.h:28:3: note: SafeVector<TYPE>::SafeVector(const SafeVector<TYPE>&) [with TYPE = float, SafeVector<TYPE> = SafeVector<float>]
> SafeVector.h:28:3: note:   no known conversion for argument 1 from 'int' to 'const SafeVector<float>&'
> SafeVector.h:25:3: note: SafeVector<TYPE>::SafeVector() [with TYPE = float]
> SafeVector.h:25:3: note:   candidate expects 0 arguments, 1 provided
> Main.cc: In function 'MultiSequence* DoAlign(MultiSequence*)':
> Main.cc:255:41: error: no matching function for call to 'SafeVector<float>::SafeVector(const int&, int)'
> Main.cc:255:41: note: candidates are:
> SafeVector.h:28:3: note: SafeVector<TYPE>::SafeVector(const SafeVector<TYPE>&) [with TYPE = float, SafeVector<TYPE> = SafeVector<float>]
> SafeVector.h:28:3: note:   candidate expects 1 argument, 2 provided
> SafeVector.h:25:3: note: SafeVector<TYPE>::SafeVector() [with TYPE = float]
> SafeVector.h:25:3: note:   candidate expects 0 arguments, 2 provided
> Main.cc:260:15: error: no matching function for call to 'SafeVector<SparseMatrix*>::SafeVector(const int&, NULL)'
> Main.cc:260:15: note: candidates are:
> SafeVector.h:28:3: note: SafeVector<TYPE>::SafeVector(const SafeVector<TYPE>&) [with TYPE = SparseMatrix*, SafeVector<TYPE> = SafeVector<SparseMatrix*>]
> SafeVector.h:28:3: note:   candidate expects 1 argument, 2 provided
> SafeVector.h:25:3: note: SafeVector<TYPE>::SafeVector() [with TYPE = SparseMatrix*]
> SafeVector.h:25:3: note:   candidate expects 0 arguments, 2 provided
> Main.cc: In function 'SafeVector<SafeVector<SparseMatrix*> > DoRelaxation(MultiSequence*, SafeVector<SafeVector<SparseMatrix*> >&)':
> Main.cc:986:16: error: no matching function for call to 'SafeVector<SparseMatrix*>::SafeVector(const int&, NULL)'
> Main.cc:986:16: note: candidates are:
> SafeVector.h:28:3: note: SafeVector<TYPE>::SafeVector(const SafeVector<TYPE>&) [with TYPE = SparseMatrix*, SafeVector<TYPE> = SafeVector<SparseMatrix*>]
> SafeVector.h:28:3: note:   candidate expects 1 argument, 2 provided
> SafeVector.h:25:3: note: SafeVector<TYPE>::SafeVector() [with TYPE = SparseMatrix*]
> SafeVector.h:25:3: note:   candidate expects 0 arguments, 2 provided
> Main.cc: In function 'void WriteAnnotation(MultiSequence*, const SafeVector<SafeVector<SparseMatrix*> >&)':
> Main.cc:1329:42: error: no matching function for call to 'SafeVector<int>::SafeVector(const int&, int)'
> Main.cc:1329:42: note: candidates are:
> SafeVector.h:28:3: note: SafeVector<TYPE>::SafeVector(const SafeVector<TYPE>&) [with TYPE = int, SafeVector<TYPE> = SafeVector<int>]
> SafeVector.h:28:3: note:   candidate expects 1 argument, 2 provided
> SafeVector.h:25:3: note: SafeVector<TYPE>::SafeVector() [with TYPE = int]
> SafeVector.h:25:3: note:   candidate expects 0 arguments, 2 provided
> Main.cc:1330:62: error: no matching function for call to 'SafeVector<__gnu_cxx::__normal_iterator<char*, std::vector<char, std::allocator<char> > > >::SafeVector(const int&)'
> Main.cc:1330:62: note: candidates are:
> SafeVector.h:28:3: note: SafeVector<TYPE>::SafeVector(const SafeVector<TYPE>&) [with TYPE = __gnu_cxx::__normal_iterator<char*, std::vector<char, std::allocator<char> > >, SafeVector<TYPE> = SafeVector<__gnu_cxx::__normal_iterator<char*, std::vector<char, std::allocator<char> > > >]
> SafeVector.h:28:3: note:   no known conversion for argument 1 from 'const int' to 'const SafeVector<__gnu_cxx::__normal_iterator<char*, std::vector<char, std::allocator<char> > > >&'
> SafeVector.h:25:3: note: SafeVector<TYPE>::SafeVector() [with TYPE = __gnu_cxx::__normal_iterator<char*, std::vector<char, std::allocator<char> > >]
> SafeVector.h:25:3: note:   candidate expects 0 arguments, 1 provided
> In file included from PostProbs.cc:1:0:
> SafeVector.h:26:22: error: expected ')' before 'size'
> SafeVector.h:27:22: error: expected ')' before 'size'
> PostProbs.cc: In function 'VF* revers_partf(long double**, float, float, float)':
> PostProbs.cc:140:54: error: no matching function for call to 'SafeVector<float>::SafeVector(int)'
> PostProbs.cc:140:54: note: candidates are:
> SafeVector.h:28:3: note: SafeVector<TYPE>::SafeVector(const SafeVector<TYPE>&) [with TYPE = float, SafeVector<TYPE> = SafeVector<float>]
> SafeVector.h:28:3: note:   no known conversion for argument 1 from 'int' to 'const SafeVector<float>&'
> SafeVector.h:25:3: note: SafeVector<TYPE>::SafeVector() [with TYPE = float]
> SafeVector.h:25:3: note:   candidate expects 0 arguments, 1 provided
> In file included from ReadMatrix.cc:6:0:
> SafeVector.h:26:22: error: expected ')' before 'size'
> SafeVector.h:27:22: error: expected ')' before 'size'
> make[1]: *** [probalign] Error 1

The full build log is available from:
   http://people.debian.org/~lucas/logs/2011/05/02/probalign_1.4-1_lsid64.buildlog

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 about 50 AMD64 nodes
of the Grid'5000 platform, using a clean chroot.  Internet was not
accessible from the build systems.

-- 
| Lucas Nussbaum
| lucas at lucas-nussbaum.net   http://www.lucas-nussbaum.net/ |
| jabber: lucas at nussbaum.fr             GPG: 1024D/023B3F4F |





More information about the Debian-med-packaging mailing list