From owner-freebsd-python@FreeBSD.ORG Sun Jun 16 13:58:01 2013 Return-Path: Delivered-To: python@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id EF341792 for ; Sun, 16 Jun 2013 13:58:01 +0000 (UTC) (envelope-from nemysis@gmx.ch) Received: from mout.gmx.net (mout.gmx.net [212.227.17.21]) by mx1.freebsd.org (Postfix) with ESMTP id 7428B19BD for ; Sun, 16 Jun 2013 13:58:01 +0000 (UTC) Received: from mailout-de.gmx.net ([10.1.76.17]) by mrigmx.server.lan (mrigmx001) with ESMTP (Nemesis) id 0LwkcQ-1UH4YM1JRg-016Qsw for ; Sun, 16 Jun 2013 15:57:54 +0200 Received: (qmail invoked by alias); 16 Jun 2013 13:57:53 -0000 Received: from anapnea.net (EHLO nemysis4now) [46.105.125.31] by mail.gmx.net (mp017) with SMTP; 16 Jun 2013 15:57:53 +0200 X-Authenticated: #134568197 X-Provags-ID: V01U2FsdGVkX1/E1Yg6dDzEMc8xRYgLed03oPzPsRg4HXcN4/uqmp c9u+25QC9kQ463 Date: Sun, 16 Jun 2013 15:57:52 +0200 From: nemysis To: FreeBSD-gnats-submit@freebsd.org Subject: Re: [PATCH] devel/py27-distribute: Fix reinstall Message-ID: <20130616155752.7e70dfc8@nemysis4now> In-Reply-To: <951a0ffb-430f-4639-9166-96e161c65ec3.maildroid@localhost> References: <20130616112242.10FF4A42@hub.freebsd.org> <951a0ffb-430f-4639-9166-96e161c65ec3.maildroid@localhost> X-Mailer: Claws Mail 3.9.1 (GTK+ 2.24.18; amd64-portbld-freebsd9.1) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 Cc: jpaetzel@freebsd.org, Johannes Meixner , python@FreeBSD.org, Chris Rees X-BeenThere: freebsd-python@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: FreeBSD-specific Python issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 16 Jun 2013 13:58:02 -0000 On Sun, 16 Jun 2013 14:34:27 +0100 Chris Rees wrote: > Why symbolic instead of hard? > > Chris When is in Makefile ${LN} ${EASYINSTALL_PTH}.dist ${PYTHON_SITELIBDIR}/distribute.pth /usr/local/bin/python2.7 -m py_compile /usr/local/lib/python2.7/site-packages/site.py /usr/local/bin/python2.7 -OO -m py_compile /usr/local/lib/python2.7/site-packages/site.py /bin/cp /usr/local/lib/python2.7/site-packages/easy-install.pth /usr/local/lib/python2.7/site-packages/easy-install.pth.dist /bin/ln /usr/local/lib/python2.7/site-packages/easy-install.pth.dist /usr/local/lib/python2.7/site-packages/distribute.pth ln: /usr/local/lib/python2.7/site-packages/distribute.pth: File exists *** [post-install] Error code 1 Stop in /usr/local/ports/local/patch/devel/py-distribute. *** [reinstall] Error code 1 Stop in /usr/local/ports/local/patch/devel/py-distribute. When is in Makefile ${LN} -sf ${EASYINSTALL_PTH}.dist ${PYTHON_SITELIBDIR}/distribute.pth /usr/local/bin/python2.7 -m py_compile /usr/local/lib/python2.7/site-packages/site.py /usr/local/bin/python2.7 -OO -m py_compile /usr/local/lib/python2.7/site-packages/site.py /bin/cp /usr/local/lib/python2.7/site-packages/easy-install.pth /usr/local/lib/python2.7/site-packages/easy-install.pth.dist /bin/ln -sf /usr/local/lib/python2.7/site-packages/easy-install.pth.dist /usr/local/lib/python2.7/site-packages/distribute.pth PKG_PREFIX=/usr/local /bin/sh /var/tmp/ports/usr/local/ports/local/patch/devel/py-distribute/work/pkg-install py27-distribute-0.6.35 POST-INSTALL if [ -f /usr/local/ports/local/patch/devel/py-distribute/pkg-message ]; then /bin/cat /usr/local/ports/local/patch/devel/py-distribute/pkg-message; fi ===> Registering installation for py27-distribute-0.6.35 Installing py27-distribute-0.6.35... done