[MacPorts] #63108: gource 0.50_3 darwin_19 x86_64: ld: symbol(s) not found for architecture x86_64

MacPorts noreply at macports.org
Thu Jun 17 09:32:48 UTC 2021


#63108: gource 0.50_3 darwin_19 x86_64: ld: symbol(s) not found for architecture
x86_64
----------------------+--------------------
  Reporter:  dcamper  |      Owner:  (none)
      Type:  defect   |     Status:  new
  Priority:  Normal   |  Milestone:
 Component:  ports    |    Version:  2.7.1
Resolution:           |   Keywords:
      Port:  gource   |
----------------------+--------------------

Comment (by cjones051073):

 Yeah, I think the issue is base sets CPPFLAGS to

 CPPFLAGS='-I/opt/local/include
 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk'

 and this is parsed first by the compiler, before the c++ specific CXXFLAGS
 which the boost PG adds the boost include dir to.

 Probably the thing to do is to pre-pend the boost dir as well to CPPFLAGS
 to ensure its used first before anything under the main include area.

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


More information about the macports-tickets mailing list