[MacPorts] #67088: source-highlight: use a newer version of boost?

MacPorts noreply at macports.org
Sun Mar 12 15:43:47 UTC 2023

#67088: source-highlight: use a newer version of boost?
  Reporter:  Guymer            |      Owner:  (none)
      Type:  defect            |     Status:  new
  Priority:  Normal            |  Milestone:
 Component:  ports             |    Version:  2.8.1
Resolution:                    |   Keywords:
      Port:  source-highlight  |

Comment (by kencu):

 yeah, that looks like it.

 boost171 will not build with python311. The log is filled with errors like
 :info:build ./boost/python/object/make_instance.hpp:50:31: error:
 expression is not assignable
 :info:build             Py_SIZE(instance) = offsetof(instance_t, storage);
 :info:build             ~~~~~~~~~~~~~~~~~ ^

 but building boost171 with python310 is fine.

 I guess nobody tested the python311 variant when it was added.

 So that will be a separate ticket, I'll open that.

 As boost176 is currently the default boost, then changing source-highlight
 to use it seems right (assuming it works, as you said it does).

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

More information about the macports-tickets mailing list