[MacPorts] #57738: searchindex.h:158:3: error: no template named 'LetterToIndexMap'

MacPorts noreply at macports.org
Fri Dec 7 09:26:12 UTC 2018


#57738: searchindex.h:158:3: error: no template named 'LetterToIndexMap'
-------------------------+---------------------
 Reporter:  platipodium  |      Owner:  (none)
     Type:  defect       |     Status:  new
 Priority:  Normal       |  Milestone:
Component:  ports        |    Version:  2.5.4
 Keywords:               |       Port:  doxygen
-------------------------+---------------------
 doxygen fails on High Sierra with missing template 'LetterToIndexMap'

 Here's the (presumably) relevant part of main.log

 {{{
 :info:build [ 32%] Building CXX object
 src/CMakeFiles/_doxygen.dir/__/generated_src/pyscanner.cpp.o
 :info:build cd
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_textproc_doxygen/doxygen/work/doxygen-1.8.14/src
 && /usr/bin/clang++  -DYY_BUF_SIZE=262144 -DYY_READ_BUF_SIZE=262144
 -I/opt/local/include
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_textproc_doxygen/doxygen/work/doxygen-1.8.14/qtools
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_textproc_doxygen/doxygen/work/doxygen-1.8.14/libmd5
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_textproc_doxygen/doxygen/work/doxygen-1.8.14/vhdlparser
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_textproc_doxygen/doxygen/work/doxygen-1.8.14/src
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_textproc_doxygen/doxygen/work/doxygen-1.8.14/generated_src
 -pipe -Os -stdlib=libc++ -DNDEBUG -arch x86_64 -mmacosx-version-min=10.13
 -fvisibility=hidden -fvisibility-inlines-hidden   -o
 CMakeFiles/_doxygen.dir/__/generated_src/pyscanner.cpp.o -c
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_textproc_doxygen/doxygen/work/doxygen-1.8.14/generated_src/pyscanner.cpp
 :info:build In file included from pycode.l:41:
 :info:build
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_textproc_doxygen/doxygen/work/doxygen-1.8.14/src/searchindex.h:158:3:
 error: no template named 'LetterToIndexMap'
 :info:build   LetterToIndexMap<SearchIndexList> symbolList;
 :info:build   ^
 :info:build pyscanner.l:701:45: error: use of undeclared identifier
 'substitute'
 :info:build
 current->name=removeRedundantWhiteSpace(substitute(item,".","::"));
 :info:build                                                           ^
 :info:build pyscanner.l:712:45: error: use of undeclared identifier
 'substitute'
 :info:build
 current->name=removeRedundantWhiteSpace(substitute(item,".","::"));
 :info:build                                                           ^
 :info:build pyscanner.l:722:45: error: use of undeclared identifier
 'substitute'
 :info:build
 current->name=removeRedundantWhiteSpace(substitute(item,".","::"));
 :info:build                                                           ^
 :info:build pyscanner.l:747:44: error: use of undeclared identifier
 'substitute'
 :info:build
 current->name=removeRedundantWhiteSpace(substitute(yytext,".","::"));
 :info:build
 ^
 :info:build pyscanner.l:980:29: error: use of undeclared identifier
 'argListToString'
 :info:build                           current->args =
 argListToString(current->argList);
 :info:build                                           ^
 :info:build pyscanner.l:1010:26: error: use of undeclared identifier
 'argListToString'
 :info:build                               current->args =
 argListToString(current->argList);
 :info:build                                               ^
 :info:build pycode.l:168:16: error: use of undeclared identifier
 'getResolvedClass'
 :info:build
 (varType=getResolvedClass(g_currentDefinition,g_sourceFileDef,ltype)) //
 look for global class definitions
 :info:build                ^
 :info:build pycode.l:329:10: error: use of undeclared identifier
 'extractClassNameFromType'
 :info:build   while
 (extractClassNameFromType(type,pos,className,templSpec)!=-1)
 :info:build          ^
 :info:build pycode.l:336:10: error: use of undeclared identifier
 'getResolvedClass'
 :info:build
 cd=getResolvedClass(d,g_sourceFileDef,g_classScope+"::"+clName);
 :info:build          ^
 :info:build pyscanner.l:1153:25: error: use of undeclared identifier
 'substitute'
 :info:build                                               new
 BaseInfo(substitute(yytext,".","::"),Public,Normal)
 :info:build                                                            ^
 :info:build pycode.l:340:10: error: use of undeclared identifier
 'getResolvedClass'
 :info:build       cd=getResolvedClass(d,g_sourceFileDef,clName);
 :info:build          ^
 :info:build pycode.l:553:7: error: use of undeclared identifier 'getDefs'
 :info:build   if (getDefs(c,m,"()",md,cd,fd,nd,gd,FALSE,g_sourceFileDef)
 &&
 :info:build       ^
 :info:build pycode.l:572:2: error: use of undeclared identifier
 'addDocCrossReference'
 :info:build         addDocCrossReference(g_currentMemberDef,md);
 :info:build         ^
 :info:build pycode.l:589:14: error: use of undeclared identifier
 'removeRedundantWhiteSpace'
 :info:build   QCString m=removeRedundantWhiteSpace(memberName);
 :info:build              ^
 :info:build pycode.l:626:22: error: use of undeclared identifier
 'substitute'
 :info:build     QCString scope = substitute(className,".","::");
 :info:build                      ^
 :info:build pycode.l:628:45: error: use of undeclared identifier
 'substitute'
 :info:build     cd =
 getResolvedClass(d,g_sourceFileDef,substitute(className,".","::"),&md);
 :info:build                                             ^
 :info:build pycode.l:637:26: error: use of undeclared identifier
 'getResolvedNamespace'
 :info:build       NamespaceDef *nd = getResolvedNamespace(scope);
 :info:build                          ^
 :info:build pycode.l:672:9: error: use of undeclared identifier
 'addDocCrossReference'
 :info:build         addDocCrossReference(g_currentMemberDef,md);
 :info:build         ^
 :info:build pycode.l:681:24: error: use of undeclared identifier
 'substitute'
 :info:build       QCString scope =
 substitute(className.left(scopeEnd),".","::");
 :info:build                        ^
 :info:build 7 errors generated.
 :info:build pycode.l:683:23: error: use of undeclared identifier
 'getClass'
 :info:build       ClassDef *mcd = getClass(scope);
 :info:build                       ^
 :info:build make[2]: ***
 [src/CMakeFiles/_doxygen.dir/__/generated_src/pyscanner.cpp.o] Error 1
 :info:build make[2]: *** Waiting for unfinished jobs....
 :info:build pycode.l:699:6: error: use of undeclared identifier
 'addDocCrossReference'
 :info:build             addDocCrossReference(g_currentMemberDef,md);
 :info:build             ^
 :info:build scanner.l:368:16: error: use of undeclared identifier 'isId'
 :info:build   if (i==0 && !isId(name.at(8))) return TRUE; // case operator
 ::X
 :info:build                ^
 :info:build scanner.l:369:15: error: use of undeclared identifier 'isId'
 :info:build   if (i>0 && !isId(name.at(i-1)) && !isId(name.at(i+8)))
 return TRUE; // case X::operator
 :info:build               ^
 :info:build scanner.l:369:38: error: use of undeclared identifier 'isId'
 :info:build   if (i>0 && !isId(name.at(i-1)) && !isId(name.at(i+8)))
 return TRUE; // case X::operator
 :info:build                                      ^
 :info:build pycode.l:706:29: error: use of undeclared identifier
 'getResolvedNamespace'
 :info:build         NamespaceDef *mnd = getResolvedNamespace(scope);
 :info:build                             ^
 :info:build scanner.l:378:16: error: use of undeclared identifier
 'getLanguageFromFileName'
 :info:build   language   = getLanguageFromFileName(fileName);
 :info:build                ^
 :info:build pycode.l:722:8: error: use of undeclared identifier
 'addDocCrossReference'
 :info:build               addDocCrossReference(g_currentMemberDef,md);
 :info:build               ^
 :info:build scanner.l:468:22: error: use of undeclared identifier 'isId'
 :info:build       while (i<si && isId(current->args.at(i))) i++;
 :info:build                      ^
 :info:build scanner.l:481:22: error: use of undeclared identifier 'isId'
 :info:build       while (i<si && isId(current->args.at(i))) i++;
 :info:build                      ^
 :info:build scanner.l:489:22: error: use of undeclared identifier 'isId'
 :info:build       while (i>=0 && isId(current->args.at(i))) i--;
 :info:build                      ^
 :info:build pycode.l:748:20: error: use of undeclared identifier
 'removeRedundantWhiteSpace'
 :info:build   QCString locFunc=removeRedundantWhiteSpace(funcName);
 :info:build                    ^
 :info:build pycode.l:795:2: error: use of undeclared identifier
 'addDocCrossReference'
 :info:build
 addDocCrossReference(g_currentMemberDef,(MemberDef*)sym);
 :info:build         ^
 :info:build fatal error: too many errors emitted, stopping now [-ferror-
 limit=]
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/57738>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list