Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 10 Jun 2009 17:35:17 +0200
From:      Rene Ladan <r.c.ladan@gmail.com>
To:        freebsd-ports@freebsd.org
Subject:   Re: Python 2.6 update with portmaster
Message-ID:  <e890cae60906100835n10e16127w6c0761400cdd8011@mail.gmail.com>
In-Reply-To: <20090610112945.232dc33b@scorpio>
References:  <20090610132647.GC40713@atarininja.org> <e890cae60906100744m56f4969cu6582a131423b2b32@mail.gmail.com> <20090610112945.232dc33b@scorpio>

next in thread | previous in thread | raw e-mail | index | archive | help
2009/6/10 Jerry <gesbbb@yahoo.com>:
> On Wed, 10 Jun 2009 16:44:41 +0200
> Rene Ladan <r.c.ladan@gmail.com> wrote:
>
>>2009/6/10 Wesley Shields <wxs@freebsd.org>:
>>> Here's a patch[1] that allows you to use portmaster when doing the
>>> python upgrade. I intend to commit this tomorrow morning unless
>>> someone speaks 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_PORTMASTER
>>>
>>> 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 and 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.
>>
>>Regards,
>>Ren=E9
>
> IMHO, it seems like there is a lot of energy being spent on this rather
> trivial problem. Why not just use the 'portupgrade' solution and be
> done with it. This is not like it happens everyday. After all, it is
> only one port.

Installing portupgrade just for this sounds like an overhead too,
plus it needs to build all kinds of databases for only this occasion.
It is not part of the base system either (neither is portmaster), and I thi=
nk
both are widely used.

Ren=E9
--=20
http://www.rene-ladan.nl/

GPG fingerprint =3D E738 5471 D185 7013 0EE0  4FC8 3C1D 6F83 12E1 84F6
(subkeys.pgp.net)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?e890cae60906100835n10e16127w6c0761400cdd8011>