Opened 3 years ago

Closed 3 years ago

Last modified 3 years ago

#63739 closed defect (fixed)

py-pyobjc: install fails when running Sphinx

Reported by: laughingtiger Owned by: danchr (Dan Villiom Podlaski Christiansen)
Priority: Normal Milestone:
Component: ports Version: 2.7.1
Keywords: Cc: jmroot (Joshua Root), cooljeanius (Eric Gallager), mascguy (Christopher Nielsen), michaelld (Michael Dickens)
Port: py-pyobjc py-sphinx py-docutils

Description (last modified by reneeotten (Renee Otten))

When installing Certbot under macOS 12.0.1 (Mac mini (Late 2014)) the py39-pyobjc install fails with this...

:info:build Installing 'pyobjc-framework-libdispatch' using '/opt/local/Library/Frameworks/Python.framework/Versions/3.9/bin/python3.9'
:debug:build Executing proc-post-org.macports.build-build-0
:debug:build system -W /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_python_py-pyobjc/py39-pyobjc/work/pyobjc-7.3/docs: make -j4 html
:info:build sphinx-build-3.9 -b html -d _build/doctrees . _build/html
:info:build Running Sphinx v4.2.0
:info:build WARNING: while setting up extension sphinx.addnodes: node class 'meta' is already registered, its visitors will be overridden
:info:build Extension error:
:info:build Could not import extension sphinx.directives.patches (exception: cannot import name 'html' from 'docutils.parsers.rst.directives' (/opt/local/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/docutils/parsers/rst/directives/__init__.py))
:info:build make: *** [html] Error 2
:info:build Command failed: make -j4 html
:info:build Exit code: 2
:error:build Failed to build py39-pyobjc: command execution failed
:debug:build Error code: NONE
:debug:build Backtrace: command execution failed
:debug:build     while executing
:debug:build "$post $targetname"
:error:build See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_python_py-pyobjc/py39-pyobjc/main.log for details.

Attachments (1)

main.log (733.8 KB) - added by laughingtiger 3 years ago.

Download all attachments as: .zip

Change History (11)

Changed 3 years ago by laughingtiger

Attachment: main.log added

comment:1 Changed 3 years ago by laughingtiger

Cc: laughingtiger added

comment:2 Changed 3 years ago by reneeotten (Renee Otten)

Cc: jmroot added; danchr laughingtiger removed
Description: modified (diff)
Owner: set to danchr
Port: py-pyobjc py-sphinx py-docutils added; py39-pyobjc removed
Status: newassigned
Summary: py39-pyobjc install fails as part of Certbot installpy-pyobjc: install fails when running Sphinx

comment:3 Changed 3 years ago by reneeotten (Renee Otten)

see also 63727

comment:4 Changed 3 years ago by cooljeanius (Eric Gallager)

Cc: cooljeanius added

comment:5 Changed 3 years ago by mascguy (Christopher Nielsen)

Cc: mascguy added

comment:6 Changed 3 years ago by michaelld (Michael Dickens)

Guessing this is the same issue as issue:63765 ... a problem with the latest py-docutils update (to 0.18)

Last edited 3 years ago by michaelld (Michael Dickens) (previous) (diff)

comment:7 Changed 3 years ago by michaelld (Michael Dickens)

Resolution: fixed
Status: assignedclosed

In ebe02cae9dab3d68ac6f69c53d3df124b7922b84/macports-ports (master):

py-docutils: add commit r8555 to address various usage issues

Closes: #63765
Closes: #63739
Closes: #63727

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

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

Cc: michaelld added

comment:10 Changed 3 years ago by michaelld (Michael Dickens)

When I tried building this & other ports that depended on py-docutils, I saw this same error even with the fix you note. The patch I submitted in the PR was already upstream & when I tried it it allowed these ports to build. I tested only Py39, so it's possible that there are issues with other Python. I also only tested on ARM64, so it's possible there are issues with x86_64. It seems as though there are some real issues between docutils and sphinx that are ongoing!

Note: See TracTickets for help on using tickets.