[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 20:03:21 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 ryandesign):

 It is an actual issue in that an actual error message that occurs when
 attempting to install a port which should not occur. I don't know what the
 solution is. [comment:1 Josh claimed] that there was no valid use case for
 including both portgroups, so I'm trying to get data from those who have
 included both portgroups about why that was necessary, so that we can
 decide what the correct fix is: either removing one or the other portgroup
 from the ports, or allowing the portgroups to coexist somehow.

 The cmake portgroup is for configuring using cmake and building using
 make. The python portgroup is for disabling the configure phase and
 building using setup.py. Which of these does the port want? Looking at a
 [https://build.macports.org/builders/ports-10.10_x86_64-builder/builds/107125/steps
 /install-port/logs/stdio build log for py37-onnx], I see that it has not
 used a configure phase and it has built using setup.py. This suggests to
 me that you're not actually using the cmake portgroup. Did you try without
 it?

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


More information about the macports-tickets mailing list