[MacPorts] #63793: cscope @15.9: symbol not found in flat namespace '_yylex' (was: After upgrade to macos 12.0 Monterey cscope does not work)

MacPorts noreply at macports.org
Thu Nov 4 06:11:28 UTC 2021


#63793: cscope @15.9: symbol not found in flat namespace '_yylex'
-----------------------------+----------------------
  Reporter:  sudheerhebbale  |      Owner:  (none)
      Type:  defect          |     Status:  new
  Priority:  Normal          |  Milestone:
 Component:  ports           |    Version:
Resolution:                  |   Keywords:  monterey
      Port:  cscope          |
-----------------------------+----------------------
Changes (by ryandesign):

 * priority:  High => Normal
 * keywords:   => monterey
 * port:   => cscope


Old description:

> WHen I type cscope (or cscope -b) on commandline the following error is
> shown
>
> dyld[36259]: symbol not found in flat namespace '_yylex'
> Abort

New description:

 WHen I type `cscope` (or `cscope -b`) on commandline the following error
 is shown

 {{{
 dyld[36259]: symbol not found in flat namespace '_yylex'
 Abort
 }}}

--

Comment:

 The mention of "flat namespace" is surprising since the flat namespace
 went out of style with the introduction of the two-level namespace in Mac
 OS X 10.3 a long time ago. But maybe that's not the part of the message we
 should focus on.

 It builds and installs and runs fine for me on macOS High Sierra but I see
 that it links with flex's libfl.dylib though the port doesn't declare a
 dependency on it. If I use trace mode to hide MacPorts flex, then it
 builds and installs and runs fine while using "flex 2.5.35 Apple(flex-31)"
 provided by macOS High Sierra without linking to a flex library. I see
 that Monterey provides "flex 2.6.4 Apple(flex-34)". Perhaps that's the
 significant difference.

 I'll modify the port to always use MacPorts flex and you can see if that
 helps.

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


More information about the macports-tickets mailing list