upgrading texlive broken due to cmake
Will Parsons
varro at nodomain.invalid
Thu Jan 8 16:53:01 UTC 2015
Ben Woods wrote:
> textproc/py-sphinx port depends on the devel/py-Jinja2 port... but the port
> only requires py-Jinja >= 2.3.
>
> Try adding this patch to your ports tree and then retry you build:
>
> Index: textproc/py-sphinx/Makefile
>===================================================================
> --- textproc/py-sphinx/Makefile (revision 376204)
> +++ textproc/py-sphinx/Makefile (working copy)
> @@ -14,9 +14,9 @@
>
> LICENSE= BSD2CLAUSE
>
> -BUILD_DEPENDS=
> ${PYTHON_PKGNAMEPREFIX}Jinja2>=2.3:${PORTSDIR}/devel/py-Jinja2 \
> +BUILD_DEPENDS=
> ${PYTHON_PKGNAMEPREFIX}Jinja2>=2.7:${PORTSDIR}/devel/py-Jinja2 \
>
> ${PYTHON_PKGNAMEPREFIX}docutils>=0.7:${PORTSDIR}/textproc/py-docutils
> -RUN_DEPENDS=
> ${PYTHON_PKGNAMEPREFIX}Jinja2>=2.3:${PORTSDIR}/devel/py-Jinja2 \
> +RUN_DEPENDS=
> ${PYTHON_PKGNAMEPREFIX}Jinja2>=2.7:${PORTSDIR}/devel/py-Jinja2 \
>
> ${PYTHON_PKGNAMEPREFIX}docutils>=0.7:${PORTSDIR}/textproc/py-docutils \
>
> ${PYTHON_PKGNAMEPREFIX}pygments>=1.2:${PORTSDIR}/textproc/py-pygments
I'm not too familiar with the process of applying patches, so this may
be operator error at my end, but when I attempted to apply your patch,
I got:
====
Patching file Makefile using Plan A...
patch: **** malformed patch at line 51: ${PYTHON_PKGNAMEPREFIX}Jinja2>=2.3:${PORTSDIR}/devel/py-Jinja2 \
====
Perhaps the patch got mangled when I copied it?
Looking at the patch, it looks like the intent is to replace
Jinja2>=2.3 with Jinja2>=2.7, so I manually edited the Makefile and then
ran portmaster py27-sphinx, but it did not build:
====
cd /usr/ports/textproc/py-sphinx/work/Sphinx-1.2.3/build/lib && /usr/bin/env PYTHONPATH=/usr/ports/textproc/py-sphinx/work/Sphinx-1.2.3/build/lib:/usr/local/lib/python2.7/site-packages /usr/local/bin/python2.7 -m sphinx.pycode.pgen2.driver -c 'import load_grammar'
/usr/local/bin/python2.7: No module named jinja2
*** [post-build] Error code 1
Stop in /usr/ports/textproc/py-sphinx.
===>>> make build failed for textproc/py-sphinx
===>>> Aborting update
====
Also, I seem to already have py27-Jinja2-2.7.3 installed.
--
Will
More information about the freebsd-ports
mailing list