[MacPorts] #59673: python and cmake portgroups interfere with one another: can't read "configure.pre_args": can't read "build.cmd": can't read "python.bin": can't read "python.prefix": can't read "python.branch": can't read "python.version": no such variable

MacPorts noreply at macports.org
Sun Jan 12 19:51:06 UTC 2020


#59673: python and cmake portgroups interfere with one another: can't read
"configure.pre_args": can't read "build.cmd": can't read "python.bin":
can't read "python.prefix": can't read "python.branch": can't read
"python.version": no such variable
-------------------------------------------------+-------------------------
  Reporter:  ryandesign                          |      Owner:  (none)
      Type:  defect                              |     Status:  new
  Priority:  Normal                              |  Milestone:
 Component:  ports                               |    Version:
Resolution:                                      |   Keywords:
      Port:  py-pyside, py-pyside-tools, py-     |
  shiboken, z3, py-onnx                          |
-------------------------------------------------+-------------------------

Comment (by essandess):

 Replying to [comment:4 ryandesign]:
 > py-onnx is a new port that
 [https://build.macports.org/builders/ports-10.15_x86_64-builder/builds/20471/steps
 /install-port/logs/stdio exhibits this problem]. Steve, any comment about
 why you needed to use both portgroups?

 I included the {{{cmake}}} portgroup because the build needs {{{cmake}}}
 stuff, and I just copied and pasted what other ports had done.

 For the areas where {{{cmake}}} conflicts with the {{{python}}} portgroup,
 I just wrote over the necessary commands.

 Also, this is only an issue in the stub port {{{py-onyx}}}, not in actual
 ports like {{{py37-onnx}}}, so it’s not an actual issue.

 I’m happy to change this to either incorporate a different {{{cmake}}}
 approach, or to add the necessary stuff to the stub port to make the stub
 port errors go away. I’ll defer to you all for the right approach.

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


More information about the macports-tickets mailing list