[MacPorts] #55604: source-highlight: boost - symbol(s) not found for architecture x86_64

MacPorts noreply at macports.org
Fri Dec 29 14:36:58 UTC 2017


#55604: source-highlight: boost - symbol(s) not found for architecture x86_64
-------------------------------+-------------------
  Reporter:  adfernandes       |      Owner:
      Type:  defect            |     Status:  new
  Priority:  Normal            |  Milestone:
 Component:  ports             |    Version:  2.4.2
Resolution:                    |   Keywords:
      Port:  source-highlight  |
-------------------------------+-------------------

Comment (by michaelld):

 Hmmm ... well this issue to me highlights (or at least I think it does)
 that there needs to be a better way to set the default c++ stdlib for port
 building compatibility. Some ports build nicely with G++ / libstdc++,
 while others do with Clang++ / libc++, while most can build using either.
 Generally once the correct c++ stdlib is set the project will build &
 execute correctly, and it is possible to mix & match the c++ stdlib for
 different ports so long as there are no conflicts.

 For this specific ticket, going back to my experience with building GNU
 Radio, it seems likely that there is some other boost and/or source-
 highlight dependency that isn't playing nicely with Boost / source-
 highlight / G++ here. For GR, I had to rebuild something like 5
 dependencies to use the correct c++ stdlib before GR would both build and
 execute. It was quite the effort, IIRC. Boost was one of them, and
 required g++ hence why I added those variants back into the mix. Once I
 had all of the c++ stdlib settings correct, GR worked nicely on the target
 system (IIRC 10.6 not using the various hacks that are now in place).

 All of the above said: @ryandesign if you wish to remove the gcc variants,
 go ahead and do so. I can always force port to use a specific compiler /
 c++ stdlib. I also might be entirely incorrect in my assessment above;
 these things can be pretty complicated!

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


More information about the macports-tickets mailing list