[MacPorts] #63356: meson 0.58; trouble finding python.

MacPorts noreply at macports.org
Wed Aug 11 14:58:37 UTC 2021


#63356: meson 0.58; trouble finding python.
--------------------------+---------------------------------------------
  Reporter:  Lord-Kamina  |      Owner:  (none)
      Type:  defect       |     Status:  new
  Priority:  Low          |  Milestone:
 Component:  ports        |    Version:
Resolution:               |   Keywords:  meson python python_select path
      Port:  meson        |
--------------------------+---------------------------------------------

Comment (by kencu):

 almost every port we have that uses meson has a small patch to meson.build
 and a reinplace after to spec the python you want. check any for an
 example -- the glib2 I updated yesterday being the last one I did.

 this is kinda standard MP stuff.

 upstream expects a user to make "python3" mean something in their system.
 MacPorts rejects thst for port building, although individual users can do
 that with python_select for their own use.

 If you use python_select on your development machine to select a python3,
 your portfile might build, but they will then error out on the buildbots
 anyway until you do the patch-and-reinplace.

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


More information about the macports-tickets mailing list