Opened 3 years ago

Closed 3 years ago

#62495 closed defect (duplicate)

cmake +python27: /bin/sh: /opt/local/bin/sphinx-build-2.7: No such file or directory

Reported by: renzresearch Owned by: michaelld (Michael Dickens)
Priority: Normal Milestone:
Component: ports Version: 2.6.4
Keywords: Cc:
Port: cmake

Description

--->  Building cmake
Error: Failed to build cmake: command execution failed
Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_cmake/cmake/main.log for details.
Error: Follow https://guide.macports.org/#project.tickets to report a bug.
Error: Processing of port cmake failed

Attachments (1)

main.log (597.9 KB) - added by renzresearch 3 years ago.
main log

Download all attachments as: .zip

Change History (4)

Changed 3 years ago by renzresearch

Attachment: main.log added

main log

comment:1 Changed 3 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: michaelld removed
Owner: set to michaelld
Status: newassigned
Summary: Failed to build cmakecmake: /bin/sh: /opt/local/bin/sphinx-build-2.7: No such file or directory

The error in the log is:

/bin/sh: /opt/local/bin/sphinx-build-2.7: No such file or directory
make[2]: *** [Utilities/Sphinx/doc_format_html] Error 127
make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_cmake/cmake/work/cmake-v3.19.7-22612dd53a46c7f9b4c3f4b7dbe5c78f9afd9581'
[  1%] Building C object Source/kwsys/CMakeFiles/cmsys_c.dir/ProcessUNIX.c.o
make[1]: *** [Utilities/Sphinx/CMakeFiles/documentation.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....

comment:2 Changed 3 years ago by ryandesign (Ryan Carsten Schmidt)

Summary: cmake: /bin/sh: /opt/local/bin/sphinx-build-2.7: No such file or directorycmake +python27: /bin/sh: /opt/local/bin/sphinx-build-2.7: No such file or directory

The way the port declares dependencies on python ports in the python variants is very complicated and wrong. It always depends on the python39 versions of the ports, regardless which python variant is selected.

comment:3 Changed 3 years ago by jmroot (Joshua Root)

Keywords: bigsur removed
Resolution: duplicate
Status: assignedclosed
Note: See TracTickets for help on using tickets.