[Debian-med-packaging] Bug#1125645: lambda-align2: FTBFS: /<<PKGBUILDDIR>>/src/shared_definitions.hpp:28:17: error: 'seqan' is not a namespace-name

Santiago Vila sanvila at debian.org
Thu Jan 15 16:54:12 GMT 2026


Package: src:lambda-align2
Version: 2.0.1-3.1
Severity: serious
Tags: ftbfs forky sid

Dear maintainer:

During a rebuild of all packages in unstable, this package failed to build.

Below you will find the last part of the build log (probably the most
relevant part, but not necessarily). If required, the full build log
is available here:

https://people.debian.org/~sanvila/build-logs/202601/

About the archive rebuild: The build was made on virtual machines from AWS,
using sbuild and a reduced chroot with only build-essential packages.

If you cannot reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.

If this is really a bug in one of the build-depends, please use
reassign and add an affects on src:lambda-align2, so that this is still
visible in the BTS web page for this package.

Thanks.

--------------------------------------------------------------------------------
[...]
 debian/rules clean
dh clean --builddirectory=build
   debian/rules override_dh_auto_clean
make[1]: Entering directory '/<<PKGBUILDDIR>>'
if ls tests/*~ 1> /dev/null 2>&1; then \
  for backup in tests/*~; do mv ${backup} ${backup%\~}; done; \
fi
dh_auto_clean
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
   dh_autoreconf_clean -O--builddirectory=build
   dh_clean -O--builddirectory=build
	rm -f debian/debhelper-build-stamp
	rm -rf debian/.debhelper/
	rm -f -- debian/lambda-align2.substvars debian/files
	rm -fr -- debian/lambda-align2/ debian/tmp/

[... snipped ...]

  287 |              { options.indexDir + "/option:alph_original",   std::string(_alphTypeToName(OrigSubjAlph<p>())) },
      |                                                                                          ^~~~~~~~~~~~
/<<PKGBUILDDIR>>/src/mkindex.hpp:287:107: error: ‘_alphTypeToName’ cannot be used as a function [-Wtemplate-body]
  287 |              { options.indexDir + "/option:alph_original",   std::string(_alphTypeToName(OrigSubjAlph<p>())) },
      |                                                                                                           ^
/<<PKGBUILDDIR>>/src/mkindex.hpp:287:73: error: expected primary-expression before ‘(’ token [-Wtemplate-body]
  287 |              { options.indexDir + "/option:alph_original",   std::string(_alphTypeToName(OrigSubjAlph<p>())) },
      |                                                                         ^
/<<PKGBUILDDIR>>/src/mkindex.hpp:287:106: error: expected primary-expression before ‘)’ token [-Wtemplate-body]
  287 |              { options.indexDir + "/option:alph_original",   std::string(_alphTypeToName(OrigSubjAlph<p>())) },
      |                                                                                                          ^
/<<PKGBUILDDIR>>/src/mkindex.hpp:287:107: error: ‘_alphTypeToName’ cannot be used as a function [-Wtemplate-body]
  287 |              { options.indexDir + "/option:alph_original",   std::string(_alphTypeToName(OrigSubjAlph<p>())) },
      |                                                                                                           ^
/<<PKGBUILDDIR>>/src/mkindex.hpp:185:10: error: ‘BlastProgramSelector’ has not been declared
  185 |          BlastProgramSelector<p>  const &,
      |          ^~~~~~~~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/src/mkindex.hpp:185:30: error: expected ‘,’ or ‘...’ before ‘<’ token
  185 |          BlastProgramSelector<p>  const &,
      |                              ^
/<<PKGBUILDDIR>>/src/mkindex.hpp: In function ‘void argConv2(const LambdaIndexerOptions&, int)’:
/<<PKGBUILDDIR>>/src/mkindex.hpp:189:34: error: ‘BlastProgramSelector’ was not declared in this scope; did you mean ‘seqan2::BlastProgramSelector’? [-Wtemplate-body]
  189 |         return realMain(options, BlastProgramSelector<p>(), TRedAlph(), RadixSortSACreateTag());
      |                                  ^~~~~~~~~~~~~~~~~~~~
      |                                  seqan2::BlastProgramSelector
/usr/include/seqan/blast/blast_base.h:133:8: note: ‘seqan2::BlastProgramSelector’ declared here
  133 | struct BlastProgramSelector
      |        ^~~~~~~~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/src/mkindex.hpp:288:90: error: ‘TransAlph’ was not declared in this scope [-Wtemplate-body]
  288 |              { options.indexDir + "/option:alph_translated", std::string(_alphTypeToName(TransAlph<p>())) },
      |                                                                                          ^~~~~~~~~
/<<PKGBUILDDIR>>/src/mkindex.hpp:288:104: error: ‘_alphTypeToName’ cannot be used as a function [-Wtemplate-body]
  288 |              { options.indexDir + "/option:alph_translated", std::string(_alphTypeToName(TransAlph<p>())) },
      |                                                                                                        ^
/<<PKGBUILDDIR>>/src/mkindex.hpp:288:73: error: expected primary-expression before ‘(’ token [-Wtemplate-body]
  288 |              { options.indexDir + "/option:alph_translated", std::string(_alphTypeToName(TransAlph<p>())) },
      |                                                                         ^
/<<PKGBUILDDIR>>/src/mkindex.hpp:288:103: error: expected primary-expression before ‘)’ token [-Wtemplate-body]
  288 |              { options.indexDir + "/option:alph_translated", std::string(_alphTypeToName(TransAlph<p>())) },
      |                                                                                                       ^
/<<PKGBUILDDIR>>/src/mkindex.hpp:288:104: error: ‘_alphTypeToName’ cannot be used as a function [-Wtemplate-body]
  288 |              { options.indexDir + "/option:alph_translated", std::string(_alphTypeToName(TransAlph<p>())) },
      |                                                                                                        ^
/<<PKGBUILDDIR>>/src/mkindex.hpp:290:85: error: ‘const struct LambdaIndexerOptions’ has no member named ‘geneticCode’ [-Wtemplate-body]
  290 |              { options.indexDir + "/option:genetic_code",    std::to_string(options.geneticCode) },
      |                                                                                     ^~~~~~~~~~~
/<<PKGBUILDDIR>>/src/mkindex.hpp:189:55: error: ‘p’ was not declared in this scope [-Wtemplate-body]
  189 |         return realMain(options, BlastProgramSelector<p>(), TRedAlph(), RadixSortSACreateTag());
      |                                                       ^
/<<PKGBUILDDIR>>/src/mkindex.hpp:189:58: error: expected primary-expression before ‘)’ token [-Wtemplate-body]
  189 |         return realMain(options, BlastProgramSelector<p>(), TRedAlph(), RadixSortSACreateTag());
      |                                                          ^
/<<PKGBUILDDIR>>/src/mkindex.hpp:191:34: error: ‘BlastProgramSelector’ was not declared in this scope; did you mean ‘seqan2::BlastProgramSelector’? [-Wtemplate-body]
  191 |         return realMain(options, BlastProgramSelector<p>(), TRedAlph(), Nothing());
      |                                  ^~~~~~~~~~~~~~~~~~~~
      |                                  seqan2::BlastProgramSelector
/usr/include/seqan/blast/blast_base.h:133:8: note: ‘seqan2::BlastProgramSelector’ declared here
  133 | struct BlastProgramSelector
      |        ^~~~~~~~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/src/lambda.cpp: At global scope:
/<<PKGBUILDDIR>>/src/lambda.cpp:27:1: error: ‘ArgumentParser’ does not name a type
   27 | ArgumentParser::ParseResult parseCommandLineMain(int argc, char const ** argv);
      | ^~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/src/mkindex.hpp:191:55: error: ‘p’ was not declared in this scope [-Wtemplate-body]
  191 |         return realMain(options, BlastProgramSelector<p>(), TRedAlph(), Nothing());
      |                                                       ^
/<<PKGBUILDDIR>>/src/mkindex.hpp:191:58: error: expected primary-expression before ‘)’ token [-Wtemplate-body]
  191 |         return realMain(options, BlastProgramSelector<p>(), TRedAlph(), Nothing());
      |                                                          ^
/<<PKGBUILDDIR>>/src/mkindex.hpp:191:73: error: there are no arguments to ‘Nothing’ that depend on a template parameter, so a declaration of ‘Nothing’ must be available [-Wtemplate-body]
  191 |         return realMain(options, BlastProgramSelector<p>(), TRedAlph(), Nothing());
      |                                                                         ^~~~~~~
/<<PKGBUILDDIR>>/src/lambda.cpp: In function ‘int main(int, const char**)’:
/<<PKGBUILDDIR>>/src/lambda.cpp:55:5: error: ‘ArgumentParser’ has not been declared
   55 |     ArgumentParser::ParseResult res = parseCommandLineMain(until, argv);
      |     ^~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/src/mkindex.hpp: At global scope:
/<<PKGBUILDDIR>>/src/mkindex.hpp:194:11: error: ‘BlastProgram’ has not been declared
  194 | template <BlastProgram p,
      |           ^~~~~~~~~~~~
/<<PKGBUILDDIR>>/src/mkindex.hpp:199:10: error: ‘BlastProgramSelector’ has not been declared
  199 |          BlastProgramSelector<p>  const &,
      |          ^~~~~~~~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/src/mkindex.hpp:199:30: error: expected ‘,’ or ‘...’ before ‘<’ token
  199 |          BlastProgramSelector<p>  const &,
      |                              ^
/<<PKGBUILDDIR>>/src/lambda.cpp:57:9: error: ‘res’ was not declared in this scope
   57 |     if (res == ArgumentParser::PARSE_ERROR)
      |         ^~~
/<<PKGBUILDDIR>>/src/mkindex.hpp: In function ‘void realMain(const LambdaIndexerOptions&, int)’:
/<<PKGBUILDDIR>>/src/mkindex.hpp:203:23: error: ‘TCDStringSet’ does not name a type [-Wtemplate-body]
  203 |     using TOrigSet  = TCDStringSet<String<OrigSubjAlph<p>>>;
      |                       ^~~~~~~~~~~~
/<<PKGBUILDDIR>>/src/lambda.cpp:57:16: error: ‘ArgumentParser’ has not been declared
   57 |     if (res == ArgumentParser::PARSE_ERROR)
      |                ^~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/src/mkindex.hpp:204:23: error: ‘TCDStringSet’ does not name a type [-Wtemplate-body]
  204 |     using TTransSet = TCDStringSet<String<TransAlph<p>>>;
      |                       ^~~~~~~~~~~~
/<<PKGBUILDDIR>>/src/lambda.cpp:58:16: error: ‘ArgumentParser’ has not been declared
   58 |         return ArgumentParser::PARSE_ERROR;
      |                ^~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/src/lambda.cpp:59:21: error: ‘ArgumentParser’ has not been declared
   59 |     else if (res != ArgumentParser::PARSE_OK)
      |                     ^~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/src/mkindex.hpp:206:5: error: ‘TTransSet’ was not declared in this scope [-Wtemplate-body]
  206 |     TTransSet translatedSeqs;
      |     ^~~~~~~~~
/<<PKGBUILDDIR>>/src/lambda.cpp: At global scope:
/<<PKGBUILDDIR>>/src/lambda.cpp:79:1: error: ‘ArgumentParser’ does not name a type
   79 | ArgumentParser::ParseResult parseCommandLineMain(int argc, char const ** argv)
      | ^~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/src/mkindex.hpp:209:9: error: ‘TOrigSet’ was not declared in this scope [-Wtemplate-body]
  209 |         TOrigSet originalSeqs;
      |         ^~~~~~~~
/<<PKGBUILDDIR>>/src/mkindex.hpp:213:28: error: ‘originalSeqs’ was not declared in this scope [-Wtemplate-body]
  213 |         loadSubjSeqsAndIds(originalSeqs, accToIdRank, options);
      |                            ^~~~~~~~~~~~
/<<PKGBUILDDIR>>/src/mkindex.hpp:213:9: error: there are no arguments to ‘loadSubjSeqsAndIds’ that depend on a template parameter, so a declaration of ‘loadSubjSeqsAndIds’ must be available [-Wtemplate-body]
  213 |         loadSubjSeqsAndIds(originalSeqs, accToIdRank, options);
      |         ^~~~~~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/src/mkindex.hpp:216:27: error: ‘p’ was not declared in this scope [-Wtemplate-body]
  216 |         if (sIsTranslated(p))
      |                           ^
/<<PKGBUILDDIR>>/src/mkindex.hpp:216:13: error: there are no arguments to ‘sIsTranslated’ that depend on a template parameter, so a declaration of ‘sIsTranslated’ must be available [-Wtemplate-body]
  216 |         if (sIsTranslated(p))
      |             ^~~~~~~~~~~~~
/<<PKGBUILDDIR>>/src/mkindex.hpp:225:59: error: there are no arguments to ‘length’ that depend on a template parameter, so a declaration of ‘length’ must be available [-Wtemplate-body]
  225 |             mapAndDumpTaxIDs(taxIdIsPresent, accToIdRank, length(originalSeqs), options);
      |                                                           ^~~~~~
/<<PKGBUILDDIR>>/src/mkindex.hpp:232:25: error: ‘translatedSeqs’ was not declared in this scope [-Wtemplate-body]
  232 |         translateOrSwap(translatedSeqs, originalSeqs, options);
      |                         ^~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/src/mkindex.hpp:232:9: error: there are no arguments to ‘translateOrSwap’ that depend on a template parameter, so a declaration of ‘translateOrSwap’ must be available [-Wtemplate-body]
  232 |         translateOrSwap(translatedSeqs, originalSeqs, options);
      |         ^~~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/src/mkindex.hpp:237:28: error: ‘translatedSeqs’ was not declared in this scope [-Wtemplate-body]
  237 |         dumpTranslatedSeqs(translatedSeqs, options);
      |                            ^~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/src/mkindex.hpp:237:9: error: there are no arguments to ‘dumpTranslatedSeqs’ that depend on a template parameter, so a declaration of ‘dumpTranslatedSeqs’ must be available [-Wtemplate-body]
  237 |         dumpTranslatedSeqs(translatedSeqs, options);
      |         ^~~~~~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/src/mkindex.hpp:240:20: error: ‘translatedSeqs’ was not declared in this scope [-Wtemplate-body]
  240 |     checkIndexSize(translatedSeqs, options, BlastProgramSelector<p>());
      |                    ^~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/src/mkindex.hpp:240:45: error: ‘BlastProgramSelector’ was not declared in this scope; did you mean ‘seqan2::BlastProgramSelector’? [-Wtemplate-body]
  240 |     checkIndexSize(translatedSeqs, options, BlastProgramSelector<p>());
      |                                             ^~~~~~~~~~~~~~~~~~~~
      |                                             seqan2::BlastProgramSelector
/usr/include/seqan/blast/blast_base.h:133:8: note: ‘seqan2::BlastProgramSelector’ declared here
  133 | struct BlastProgramSelector
      |        ^~~~~~~~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/src/mkindex.hpp:240:66: error: ‘p’ was not declared in this scope [-Wtemplate-body]
  240 |     checkIndexSize(translatedSeqs, options, BlastProgramSelector<p>());
      |                                                                  ^
/<<PKGBUILDDIR>>/src/mkindex.hpp:240:69: error: expected primary-expression before ‘)’ token [-Wtemplate-body]
  240 |     checkIndexSize(translatedSeqs, options, BlastProgramSelector<p>());
      |                                                                     ^
/<<PKGBUILDDIR>>/src/mkindex.hpp:240:5: error: there are no arguments to ‘checkIndexSize’ that depend on a template parameter, so a declaration of ‘checkIndexSize’ must be available [-Wtemplate-body]
  240 |     checkIndexSize(translatedSeqs, options, BlastProgramSelector<p>());
      |     ^~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/src/mkindex.hpp:244:28: error: ‘TFMIndex’ does not name a type [-Wtemplate-body]
  244 |         using TIndexSpec = TFMIndex<TIndexSpecSpec>;
      |                            ^~~~~~~~
/<<PKGBUILDDIR>>/src/mkindex.hpp:245:9: error: ‘generateIndexAndDump’ was not declared in this scope [-Wtemplate-body]
  245 |         generateIndexAndDump<TIndexSpec,TIndexSpecSpec>(translatedSeqs,
      |         ^~~~~~~~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/src/mkindex.hpp:245:30: error: ‘TIndexSpec’ was not declared in this scope; did you mean ‘TIndexSpecSpec’? [-Wtemplate-body]
  245 |         generateIndexAndDump<TIndexSpec,TIndexSpecSpec>(translatedSeqs,
      |                              ^~~~~~~~~~
      |                              TIndexSpecSpec
/<<PKGBUILDDIR>>/src/mkindex.hpp:245:55: error: expected primary-expression before ‘>’ token [-Wtemplate-body]
  245 |         generateIndexAndDump<TIndexSpec,TIndexSpecSpec>(translatedSeqs,
      |                                                       ^
/<<PKGBUILDDIR>>/src/mkindex.hpp:247:81: error: expected primary-expression before ‘)’ token [-Wtemplate-body]
  247 |                                                         BlastProgramSelector<p>(),
      |                                                                                 ^
/<<PKGBUILDDIR>>/src/mkindex.hpp:249:57: error: there are no arguments to ‘Fwd’ that depend on a template parameter, so a declaration of ‘Fwd’ must be available [-Wtemplate-body]
  249 |                                                         Fwd());
      |                                                         ^~~
/<<PKGBUILDDIR>>/src/mkindex.hpp:255:28: error: ‘TFMIndexInBi’ does not name a type [-Wtemplate-body]
  255 |         using TIndexSpec = TFMIndexInBi<TIndexSpecSpec>;
      |                            ^~~~~~~~~~~~
/<<PKGBUILDDIR>>/src/mkindex.hpp:258:9: error: ‘generateIndexAndDump’ was not declared in this scope [-Wtemplate-body]
  258 |         generateIndexAndDump<TIndexSpec,TIndexSpecSpec>(translatedSeqs,
      |         ^~~~~~~~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/src/mkindex.hpp:258:30: error: ‘TIndexSpec’ was not declared in this scope; did you mean ‘TIndexSpecSpec’? [-Wtemplate-body]
  258 |         generateIndexAndDump<TIndexSpec,TIndexSpecSpec>(translatedSeqs,
      |                              ^~~~~~~~~~
      |                              TIndexSpecSpec
/<<PKGBUILDDIR>>/src/mkindex.hpp:258:55: error: expected primary-expression before ‘>’ token [-Wtemplate-body]
  258 |         generateIndexAndDump<TIndexSpec,TIndexSpecSpec>(translatedSeqs,
      |                                                       ^
/<<PKGBUILDDIR>>/src/mkindex.hpp:260:81: error: expected primary-expression before ‘)’ token [-Wtemplate-body]
  260 |                                                         BlastProgramSelector<p>(),
      |                                                                                 ^
/<<PKGBUILDDIR>>/src/mkindex.hpp:262:57: error: there are no arguments to ‘Rev’ that depend on a template parameter, so a declaration of ‘Rev’ must be available [-Wtemplate-body]
  262 |                                                         Rev());
      |                                                         ^~~
/<<PKGBUILDDIR>>/src/mkindex.hpp:265:55: error: expected primary-expression before ‘>’ token [-Wtemplate-body]
  265 |         generateIndexAndDump<TIndexSpec,TIndexSpecSpec>(translatedSeqs,
      |                                                       ^
/<<PKGBUILDDIR>>/src/mkindex.hpp:267:81: error: expected primary-expression before ‘)’ token [-Wtemplate-body]
  267 |                                                         BlastProgramSelector<p>(),
      |                                                                                 ^
/<<PKGBUILDDIR>>/src/mkindex.hpp:269:57: error: there are no arguments to ‘Fwd’ that depend on a template parameter, so a declaration of ‘Fwd’ must be available [-Wtemplate-body]
  269 |                                                         Fwd());
      |                                                         ^~~
/<<PKGBUILDDIR>>/src/mkindex.hpp:287:90: error: ‘OrigSubjAlph’ was not declared in this scope [-Wtemplate-body]
  287 |              { options.indexDir + "/option:alph_original",   std::string(_alphTypeToName(OrigSubjAlph<p>())) },
      |                                                                                          ^~~~~~~~~~~~
/<<PKGBUILDDIR>>/src/mkindex.hpp:287:107: error: ‘_alphTypeToName’ cannot be used as a function [-Wtemplate-body]
  287 |              { options.indexDir + "/option:alph_original",   std::string(_alphTypeToName(OrigSubjAlph<p>())) },
      |                                                                                                           ^
/<<PKGBUILDDIR>>/src/mkindex.hpp:287:73: error: expected primary-expression before ‘(’ token [-Wtemplate-body]
  287 |              { options.indexDir + "/option:alph_original",   std::string(_alphTypeToName(OrigSubjAlph<p>())) },
      |                                                                         ^
/<<PKGBUILDDIR>>/src/mkindex.hpp:287:106: error: expected primary-expression before ‘)’ token [-Wtemplate-body]
  287 |              { options.indexDir + "/option:alph_original",   std::string(_alphTypeToName(OrigSubjAlph<p>())) },
      |                                                                                                          ^
/<<PKGBUILDDIR>>/src/mkindex.hpp:287:107: error: ‘_alphTypeToName’ cannot be used as a function [-Wtemplate-body]
  287 |              { options.indexDir + "/option:alph_original",   std::string(_alphTypeToName(OrigSubjAlph<p>())) },
      |                                                                                                           ^
/<<PKGBUILDDIR>>/src/mkindex.hpp:288:90: error: ‘TransAlph’ was not declared in this scope [-Wtemplate-body]
  288 |              { options.indexDir + "/option:alph_translated", std::string(_alphTypeToName(TransAlph<p>())) },
      |                                                                                          ^~~~~~~~~
/<<PKGBUILDDIR>>/src/mkindex.hpp:288:104: error: ‘_alphTypeToName’ cannot be used as a function [-Wtemplate-body]
  288 |              { options.indexDir + "/option:alph_translated", std::string(_alphTypeToName(TransAlph<p>())) },
      |                                                                                                        ^
/<<PKGBUILDDIR>>/src/mkindex.hpp:288:73: error: expected primary-expression before ‘(’ token [-Wtemplate-body]
  288 |              { options.indexDir + "/option:alph_translated", std::string(_alphTypeToName(TransAlph<p>())) },
      |                                                                         ^
/<<PKGBUILDDIR>>/src/mkindex.hpp:288:103: error: expected primary-expression before ‘)’ token [-Wtemplate-body]
  288 |              { options.indexDir + "/option:alph_translated", std::string(_alphTypeToName(TransAlph<p>())) },
      |                                                                                                       ^
/<<PKGBUILDDIR>>/src/mkindex.hpp:288:104: error: ‘_alphTypeToName’ cannot be used as a function [-Wtemplate-body]
  288 |              { options.indexDir + "/option:alph_translated", std::string(_alphTypeToName(TransAlph<p>())) },
      |                                                                                                        ^
/<<PKGBUILDDIR>>/src/mkindex.hpp:290:85: error: ‘const struct LambdaIndexerOptions’ has no member named ‘geneticCode’ [-Wtemplate-body]
  290 |              { options.indexDir + "/option:genetic_code",    std::to_string(options.geneticCode) },
      |                                                                                     ^~~~~~~~~~~
/<<PKGBUILDDIR>>/src/lambda.cpp: At global scope:
/<<PKGBUILDDIR>>/src/lambda.cpp:27:1: error: ‘ArgumentParser’ does not name a type
   27 | ArgumentParser::ParseResult parseCommandLineMain(int argc, char const ** argv);
      | ^~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/src/lambda.cpp: In function ‘int main(int, const char**)’:
/<<PKGBUILDDIR>>/src/lambda.cpp:55:5: error: ‘ArgumentParser’ has not been declared
   55 |     ArgumentParser::ParseResult res = parseCommandLineMain(until, argv);
      |     ^~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/src/lambda.cpp:57:9: error: ‘res’ was not declared in this scope
   57 |     if (res == ArgumentParser::PARSE_ERROR)
      |         ^~~
/<<PKGBUILDDIR>>/src/lambda.cpp:57:16: error: ‘ArgumentParser’ has not been declared
   57 |     if (res == ArgumentParser::PARSE_ERROR)
      |                ^~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/src/lambda.cpp:58:16: error: ‘ArgumentParser’ has not been declared
   58 |         return ArgumentParser::PARSE_ERROR;
      |                ^~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/src/lambda.cpp:59:21: error: ‘ArgumentParser’ has not been declared
   59 |     else if (res != ArgumentParser::PARSE_OK)
      |                     ^~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/src/lambda.cpp: At global scope:
/<<PKGBUILDDIR>>/src/lambda.cpp:79:1: error: ‘ArgumentParser’ does not name a type
   79 | ArgumentParser::ParseResult parseCommandLineMain(int argc, char const ** argv)
      | ^~~~~~~~~~~~~~
make[3]: *** [src/CMakeFiles/lambda2.dir/build.make:82: src/CMakeFiles/lambda2.dir/lambda.cpp.o] Error 1
make[3]: Leaving directory '/<<PKGBUILDDIR>>/build'
make[2]: *** [CMakeFiles/Makefile2:165: src/CMakeFiles/lambda2.dir/all] Error 2
make[2]: *** Waiting for unfinished jobs....
make[3]: *** [src/CMakeFiles/lambda2-sse4.dir/build.make:82: src/CMakeFiles/lambda2-sse4.dir/lambda.cpp.o] Error 1
make[3]: Leaving directory '/<<PKGBUILDDIR>>/build'
make[2]: *** [CMakeFiles/Makefile2:197: src/CMakeFiles/lambda2-sse4.dir/all] Error 2
make[2]: Leaving directory '/<<PKGBUILDDIR>>/build'
make[1]: *** [Makefile:159: all] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>/build'
dh_auto_build: error: cd build && make -j2 INSTALL="install --strip-program=true" VERBOSE=1 returned exit code 2
make: *** [debian/rules:18: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit status 2
--------------------------------------------------------------------------------



More information about the Debian-med-packaging mailing list