[MacPorts] #62801: lilypond 2.22.1_0: fails to build (macOS 11.3)

MacPorts noreply at macports.org
Thu May 20 00:54:07 UTC 2021


#62801: lilypond 2.22.1_0: fails to build (macOS 11.3)
---------------------------+---------------------------
  Reporter:  emcrisostomo  |      Owner:  nerdling
      Type:  defect        |     Status:  assigned
  Priority:  Normal        |  Milestone:
 Component:  ports         |    Version:
Resolution:                |   Keywords:  bigsur x86_64
      Port:  lilypond      |
---------------------------+---------------------------

Comment (by exaos):

 This solution works! Thanks a lot!

 Replying to [comment:2 ggruener]:
 > I can confirm the problem when upgrading to `lilypond-2.22.1_0` on macOS
 11.3 and Xcode 12.5.
 >
 > Editing by hand `/opt/local/include/FlexLexer.h` to add the `override`
 keyword at line 132 fixes the problem and lilypond is upgraded correctly.
 >
 > {{{
 > $ diff /opt/local/include/FlexLexer.h /opt/local/include/FlexLexer.old
 > 132c132
 > <   void yy_switch_to_buffer( yy_buffer_state* new_buffer ) override;
 > ---
 > >   void yy_switch_to_buffer( yy_buffer_state* new_buffer );
 > }}}
 >
 > The problem, though, should be fixed by port `flex`, responsible for
 this file:
 > {{{
 > $ port provides /opt/local/include/FlexLexer.h
 > /opt/local/include/FlexLexer.h is provided by: flex
 > }}}
 >
 > `nerdling` would you open a corresponding ticker there?

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


More information about the macports-tickets mailing list