From owner-freebsd-ports@FreeBSD.ORG Thu Jan 8 16:53:01 2015 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id DA873901 for ; Thu, 8 Jan 2015 16:53:01 +0000 (UTC) Received: from plane.gmane.org (plane.gmane.org [80.91.229.3]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 9688199B for ; Thu, 8 Jan 2015 16:53:01 +0000 (UTC) Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1Y9GK2-0007IV-J2 for freebsd-ports@freebsd.org; Thu, 08 Jan 2015 17:52:35 +0100 Received: from 65.75.36.70 ([65.75.36.70]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 08 Jan 2015 17:52:34 +0100 Received: from gyliamos by 65.75.36.70 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 08 Jan 2015 17:52:34 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-ports@freebsd.org From: Will Parsons Subject: Re: upgrading texlive broken due to cmake Date: Thu, 8 Jan 2015 16:51:46 +0000 (UTC) Lines: 60 Message-ID: References: <86bnmagq03.fsf@FreeBSD.org> Reply-To: gyliamos@gmail.com X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 65.75.36.70 User-Agent: slrn/1.0.2 (FreeBSD) X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Jan 2015 16:53:01 -0000 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