From owner-freebsd-ports@FreeBSD.ORG Tue Oct 21 09:37:31 2003 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DD3DE16A4B3 for ; Tue, 21 Oct 2003 09:37:31 -0700 (PDT) Received: from sbtm.yonsei.net (sbtm.yonsei.net [61.100.191.60]) by mx1.FreeBSD.org (Postfix) with ESMTP id EFBA643F3F for ; Tue, 21 Oct 2003 09:37:30 -0700 (PDT) (envelope-from perky@sbtm.yonsei.net) Received: by sbtm.yonsei.net (Postfix, from userid 1001) id 41A1028412; Wed, 22 Oct 2003 01:37:29 +0900 (KST) Date: Wed, 22 Oct 2003 01:37:29 +0900 From: Hye-Shik Chang To: Andy Fawcett Message-ID: <20031021163729.GA91839@i18n.org> References: <200310211931.31433.andy@athame.co.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200310211931.31433.andy@athame.co.uk> Organization: Yonsei University User-Agent: Mutt/1.5.4i cc: ports@FreeBSD.org Subject: Re: lang/python fails to portupgrade X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Oct 2003 16:37:32 -0000 On Tue, Oct 21, 2003 at 07:31:31PM +0300, Andy Fawcett wrote: > Sorry about the mail rather than a PR, I seem to have broken my send-pr > somehow. I'll fix that next... > > > hex# portupgrade -fr python > ---> Upgrading 'python-2.3_1' to 'python-2.3.2' (lang/python) > ---> Building '/usr/ports/lang/python' > ===> Cleaning for python-2.3.2 > ===> Extracting for python-2.3.2 > >> Checksum OK for python/Python-2.3.tgz. > /usr/bin/sed -e '1s,^.*$,#!/usr/local/bin/python2.3,' /usr/ports/lang/ > python/work/Python-2.3/Tools/scripts/pydoc > /usr/ports/lang/python/work/ > pydoc2.3 > /usr/bin/sed -e '1s,^.*$,#!/usr/local/bin/python2.3,' /usr/ports/lang/ > python/work/Python-2.3/Tools/scripts/idle > /usr/ports/lang/python/work/ > idle2.3 > ===> Patching for python-2.3.2 > ===> Applying FreeBSD patches for python-2.3.2 > 1 out of 2 hunks failed--saving rejects to configure.rej > >> Patch patch-configure failed to apply cleanly. > >> Patch(es) patch-Modules::_sre.c applied cleanly. > *** Error code 1 > > > I can't help wondering quite why it's extracting 2.3 instead of 2.3.2, nor > why there's a whole bunch of distfiles listed in the distinfo file either. > > ports tree is up to date, BTW. > Aah. Can you try this patch? I guess that this problem is caused by ports/Mk/bsd.python.mk rev 1.38 Index: Makefile =================================================================== RCS file: /home/pcvs/ports/lang/python/Makefile,v retrieving revision 1.110 diff -u -u -r1.110 Makefile --- Makefile 19 Oct 2003 09:17:44 -0000 1.110 +++ Makefile 21 Oct 2003 16:34:53 -0000 @@ -10,7 +10,7 @@ CATEGORIES= lang python ipv6 MASTER_SITES= ${MASTER_SITE_PYTHON} MASTER_SITE_SUBDIR= ${PYTHON_SITE_SUBDIR} -DISTFILES= ${PYTHON_DISTFILE} +DISTNAME= Python-${PORTVERSION} MAINTAINER= perky@FreeBSD.org COMMENT?= An interpreted object-oriented programming language Regards, Hye-Shik =)