[MacPorts] #62174: cmake @3.19.3 tries to use sphinx-build-3.6 (was: cmake 3.19.3 tries to use sphinx-build-3.6)

MacPorts noreply at macports.org
Fri Jan 29 03:40:34 UTC 2021


#62174: cmake @3.19.3 tries to use sphinx-build-3.6
-------------------------+-----------------------
  Reporter:  EJFielding  |      Owner:  michaelld
      Type:  defect      |     Status:  assigned
  Priority:  Normal      |  Milestone:
 Component:  ports       |    Version:  2.6.4
Resolution:              |   Keywords:
      Port:  cmake       |
-------------------------+-----------------------
Changes (by ryandesign):

 * status:  new => assigned
 * owner:  (none) => michaelld
 * cc: michaelld (removed)
 * cc: rubendibattista (added)


Comment:

 Replying to [ticket:62174 EJFielding]:
 > I see in the log file that it is using `--sphinx-build=/opt/local/bin
 /sphinx-build-3.6` but I don't have that installed.

 The code was [changeset:7caeafd874efdc8030ad48de7c5c3614ca6ffc82/macports-
 ports just refactored] a few days ago. Maybe this introduced a bug. Ruben,
 can you have a look?

 I notice some odd behavior myself, such as:

 {{{
 $ port info cmake +docs
 Error: cmake: Error executing docs: can't read "PYTHON_VERSION_WITH_DOT":
 no such variable
 Error: Unable to open port: Error evaluating variants
 }}}
 {{{
 $ port info cmake +python27
 Error: Unable to open port: can't read "python_branch": no such variable
 }}}


 > I tried explicitly selecting the 3.7 Sphinx with `port select --set
 sphinx py37-sphinx`, cleaning cmake, and building again, but it still
 looks for the wrong version.

 Ports should not be affected by what you `select`.

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


More information about the macports-tickets mailing list