[MacPorts] #59258: source-highlight @3.1.8: fails to make docs: outlang.map:1: wrong specificationhtml = html.outlang

MacPorts noreply at macports.org
Fri Apr 23 17:01:14 UTC 2021


#59258: source-highlight @3.1.8: fails to make docs: outlang.map:1: wrong
specificationhtml = html.outlang
-------------------------------+--------------------
  Reporter:  dubiousjim        |      Owner:  (none)
      Type:  defect            |     Status:  new
  Priority:  Normal            |  Milestone:
 Component:  ports             |    Version:
Resolution:                    |   Keywords:
      Port:  source-highlight  |
-------------------------------+--------------------
Changes (by ryandesign):

 * cc: ryandesign (added)


Comment:

 The code in source-highlight's langmap.cpp that prints the `wrong
 specification` message is:

 {{{
     while (read_line(in, line)) {
         if (line.size()) {
             boost::cmatch what;
             if (!boost::regex_match(line.c_str(), what, assoc_exp))
                 throw ParserException("wrong specification" + line,
 filename,
                         lineno);
             else if (!what[3].matched) // not all spaces
                 langmap[what[1]] = what[2];
         }
         ++lineno;
     }
 }}}

 The use of boost in this code suggests that the problem could be a broken
 boost installation. If source-highlight is not building for you, it might
 be helpful for us to know the details of the boost that you have
 installed. Run `port -v installed boost`. source-highlight
 @3.1.9_0+universal built fine for me just now on High Sierra with:

 {{{
 $ port -v installed boost
 The following ports are currently installed:
   boost @1.71.0_3+no_single+no_static+python38+universal (active)
 platform='darwin 17' archs='i386 x86_64' date='2020-08-16T01:12:42-0500'
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/59258#comment:12>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list