From owner-freebsd-python@FreeBSD.ORG Wed Jun 10 15:26:47 2009 Return-Path: Delivered-To: python@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 03C261065745; Wed, 10 Jun 2009 15:26:47 +0000 (UTC) (envelope-from r.c.ladan@gmail.com) Received: from rv-out-0506.google.com (rv-out-0506.google.com [209.85.198.225]) by mx1.freebsd.org (Postfix) with ESMTP id B17AB8FC0A; Wed, 10 Jun 2009 15:26:41 +0000 (UTC) (envelope-from r.c.ladan@gmail.com) Received: by rv-out-0506.google.com with SMTP id k40so323315rvb.43 for ; Wed, 10 Jun 2009 08:26:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=txZpvhX3hhYURCwG8mSbj+HS4SDW90wlTYcUy1UUzFM=; b=W6ZDbf4PFRYHlDOkLQfoZBdAkObD7adKol3rSGEKJ9ezTKhp+ZYNNffkKheC3SvhsZ x5iiG3cC6PxrOeouKx7odvqJbl9TT0J07zbSWv7XVg8owJKaldWUno7BfYV0oIUBlbHJ q0SeUHk0QXnztYPYkl3KyDUCkVVcd2pSqftuQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=xXmfE6zonVVVEmI/mgh6dkQncJKnFxe6zjejte6R8H2jdIdupaXfrul9sx3fDl7zjB oc0bKIEU0uBEMFkbB+vLVI7WgihQrGbKEMtWTMhS/8IP7GqhYDbN22/CNISnDWHICOX+ RhBN42mGPCOnBENHU6Fx683MiAqXjcCCHHccY= MIME-Version: 1.0 Received: by 10.220.72.18 with SMTP id k18mr1124124vcj.83.1244647600614; Wed, 10 Jun 2009 08:26:40 -0700 (PDT) In-Reply-To: <20090610151212.GB61383@atarininja.org> References: <20090610132647.GC40713@atarininja.org> <20090610151212.GB61383@atarininja.org> Date: Wed, 10 Jun 2009 17:26:40 +0200 Message-ID: From: Rene Ladan To: Wesley Shields Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: ports@freebsd.org, python@freebsd.org, miwi@freebsd.org Subject: Re: Python 2.6 update with portmaster X-BeenThere: freebsd-python@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD-specific Python issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Jun 2009 15:26:47 -0000 2009/6/10 Wesley Shields : > On Wed, Jun 10, 2009 at 04:44:41PM +0200, Rene Ladan wrote: >> 2009/6/10 Wesley Shields : >> > Here's a patch[1] that allows you to use portmaster when doing the pyt= hon >> > upgrade. I intend to commit this tomorrow morning unless someone speak= s >> > up. I'll also be adding the instructions to the UPDATING entry. >> > >> > Once applied you should be able to use: >> > >> > cd /usr/ports/lang/python && make upgrade-site-packages -DUSE_PORTMAST= ER >> > >> > It will be quite slow compared to using pkg_which (the normal method) = so >> > be patient. I've used this patch to upgrade one lightly used machine a= nd >> > I know at least one other person has survived an upgrade of a machine >> > with over 1000 ports installed. >> > >> > [1]: http://people.freebsd.org/~wxs/python26-portmaster.diff >> > >> I applied the patch, but there is something wrong: >> >> > # make upgrade-site-packages -DUSE_PORTMASTER >> > Syntax error: end of file unexpected (expecting "}") >> > *** Error code 2 >> > >> > Stop in /usr/ports/lang/python. > > Sorry, updated the patch to address this. Please revert and try again. > > -- WXS > Still not :-( : > # patch Hmm... Looks like a unified diff to me... > The text leading up to this was: > -------------------------- > |Index: Makefile > |=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > |RCS file: /ncvs/ports/lang/python/Makefile,v > |retrieving revision 1.161 > |diff -u -r1.161 Makefile > |--- Makefile 31 Jul 2007 16:28:32 -0000 1.161 > |+++ Makefile 10 Jun 2009 15:15:23 -0000 > -------------------------- > Patching file Makefile using Plan A... > Hunk #1 succeeded at 24. > Hunk #2 succeeded at 46. > done > # make upgrade-site-packages -DUSE_PORTMASTER > > =3D=3D=3D>>> /var/db/pkg/-f does not exist > =3D=3D=3D>>> Aborting update > > *** Signal 15 > > Terminated > Stop in /usr/ports/lang/python. > # portmaster-2.7, python-2.6,2 and python26-2.6.2 are installed. This is on 7.2-RELEASE/i386 with portsnap tree as of "now". Ren=E9 --=20 http://www.rene-ladan.nl/ GPG fingerprint =3D E738 5471 D185 7013 0EE0 4FC8 3C1D 6F83 12E1 84F6 (subkeys.pgp.net)