Summary: | textproc/py-sphinxcontrib-autoprogram fails to build with extension error (exception: No module named 'six') using poudriere 13.2-stable on amd64 | ||||||
---|---|---|---|---|---|---|---|
Product: | Ports & Packages | Reporter: | Robert Cina <transitive> | ||||
Component: | Individual Port(s) | Assignee: | Robert Clausecker <fuz> | ||||
Status: | Closed FIXED | ||||||
Severity: | Affects Only Me | CC: | dereks, dvl, fuz | ||||
Priority: | --- | Flags: | dereks:
maintainer-feedback+
|
||||
Version: | Latest | ||||||
Hardware: | Any | ||||||
OS: | Any | ||||||
Attachments: |
|
Description
Robert Cina
2023-09-02 19:38:42 UTC
Created attachment 244604 [details]
Add missing docs build depends py-six
Add missing build depends py-six that was previously brought in by another port.
portlint: ok. looks fine.
testport: ok. 13amd64.
unittest: ok. Ran 7 tests in 0.006s
With DOCS option both py-sphinx and py-six installed and without neither are installed during build.
This fixed it for me: $ git diff diff --git a/textproc/py-sphinxcontrib-autoprogram/Makefile b/textproc/py-sphinxcontrib-autoprogram/Makefile index 80dbd375ddcc..dd7513eed277 100644 --- a/textproc/py-sphinxcontrib-autoprogram/Makefile +++ b/textproc/py-sphinxcontrib-autoprogram/Makefile @@ -10,6 +10,8 @@ WWW= https://github.com/sphinx-contrib/autoprogram LICENSE= BSD2CLAUSE +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}six>0:devel/py-six@${PY_FLAVOR} + RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}six>0:devel/py-six@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}sphinx>=1.2,1:textproc/py-sphinx@${PY_FLAVOR} $ (In reply to Dan Langille from comment #2) This is what the attached patch does but is only needed if the DOCS option is enabled. A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=f16165e7a3c90778496c7f1f641584ac57b43005 commit f16165e7a3c90778496c7f1f641584ac57b43005 Author: Derek Schrock <dereks@lifeofadishwasher.com> AuthorDate: 2023-09-03 02:18:17 +0000 Commit: Robert Clausecker <fuz@FreeBSD.org> CommitDate: 2023-09-10 16:13:03 +0000 textproc/py-sphinxcontrib-autoprogram: Add py-six DOCS_BUILD_DEPENDS Add missing build depends py-six that was previously brought in by another port. Reported by: transitive@gmail.com PR: 273532 textproc/py-sphinxcontrib-autoprogram/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) Thank you for your contribution. |