From owner-freebsd-python@FreeBSD.ORG Tue Oct 10 05:14:22 2006 Return-Path: X-Original-To: python@freebsd.org Delivered-To: freebsd-python@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2856616A403; Tue, 10 Oct 2006 05:14:22 +0000 (UTC) (envelope-from stacey@vickiandstacey.com) Received: from heisenberg.zen.co.uk (heisenberg.zen.co.uk [212.23.3.141]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6EA5743D45; Tue, 10 Oct 2006 05:14:21 +0000 (GMT) (envelope-from stacey@vickiandstacey.com) Received: from [82.68.31.182] (helo=Demon.vickiandstacey.com) by heisenberg.zen.co.uk with esmtp (Exim 4.50) id 1GX9wZ-0004An-Tl; Tue, 10 Oct 2006 05:14:20 +0000 Received: from odin.vickiandstacey.com ([192.168.1.32]) by Demon.vickiandstacey.com (8.13.1/8.13.1) with ESMTP id k9A5ET8Z071298; Tue, 10 Oct 2006 06:14:29 +0100 (BST) (envelope-from stacey@vickiandstacey.com) Received: from odin.vickiandstacey.com (localhost.vickiandstacey.com [127.0.0.1]) by odin.vickiandstacey.com (8.13.6/8.13.6) with ESMTP id k9A5EABC038426; Tue, 10 Oct 2006 06:14:18 +0100 (BST) (envelope-from stacey@odin.vickiandstacey.com) Received: (from stacey@localhost) by odin.vickiandstacey.com (8.13.6/8.13.6/Submit) id k9A5EAWr038425; Tue, 10 Oct 2006 06:14:10 +0100 (BST) (envelope-from stacey) Date: Tue, 10 Oct 2006 06:14:10 +0100 (BST) Message-Id: <200610100514.k9A5EAWr038425@odin.vickiandstacey.com> To: FreeBSD-gnats-submit@freebsd.org From: S Roberts X-send-pr-version: 3.113 X-GNATS-Notify: X-Originating-Heisenberg-IP: [82.68.31.182] Cc: python@freebsd.org Subject: portupgrade -R python-2.4.3 fails with cannot create /usr/ports/lang/python25/work/Python-2.5/portbld.static/Modules/Setup.dist: No such file or directory X-BeenThere: freebsd-python@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: S Roberts List-Id: FreeBSD-specific Python issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 10 Oct 2006 05:14:22 -0000 >Submitter-Id: current-users >Originator: S Roberts >Organization: >Confidential: no >Synopsis: portupgrade -R python-2.4.3 fails with cannot create /usr/ports/lang/python25/work/Python-2.5/portbld.static/Modules/Setup.dist: No such file or directory >Severity: serious >Priority: high >Category: ports >Class: sw-bug >Release: FreeBSD 6.1-STABLE i386 >Environment: System: FreeBSD odin.vickiandstacey.com 6.1-STABLE FreeBSD 6.1-STABLE #0: Sun Jun 18 16:44:43 BST 2006 root@odin.vickiandstacey.com:/usr/obj/usr/src/sys/SMP-HAMMER i386 >Description: After fresh cvsup of ports tree and reading contents of UPDATING, attempts to portupgrade python to latest in ports tree fails as follows: # portupgrade -R python-2.4.3 ---> Upgrading 'python-2.4.3' to 'python-2.5' (lang/python) ---> Building '/usr/ports/lang/python' ===> Cleaning for python25-2.5 ===> Cleaning for python-2.5 ===> Vulnerability check disabled, database not found ===> Extracting for python-2.5 ===> Patching for python-2.5 ===> Configuring for python-2.5 ---> Backing up the old version ---> Uninstalling the old version ---> Deinstalling 'python-2.4.3' ---> Preserving /usr/local/lib/libpython2.4.so.1 as /usr/local/lib/compat/pkg/libpython2.4.so.1 [Updating the pkgdb in /var/db/pkg ... - 50 packages found (-1 +0) (...) done] ---> Installing the new version via the port ===> Installing for python-2.5 ===> python-2.5 depends on file: /usr/local/bin/python2.5 - not found ===> Verifying reinstall for /usr/local/bin/python2.5 in /usr/ports/lang/python25 ===> Vulnerability check disabled, database not found ===> Found saved configuration for python25-2.5 => Python-2.5.tgz doesn't seem to exist in /usr/ports/distfiles/python. => Attempting to fetch from http://www.python.org/ftp/python/2.5/. Python-2.5.tgz 100% of 10 MB 222 kBps 00m00s ===> Extracting for python25-2.5 => MD5 Checksum OK for python/Python-2.5.tgz. => SHA256 Checksum OK for python/Python-2.5.tgz. ===> Patching for python25-2.5 /bin/mkdir -p /usr/ports/lang/python25/work/Python-2.5/portbld.static /usr/ports/lang/python25/work/Python-2.5/portbld.shared/Modules /usr/bin/sed -e '1s,^.*$,#!/usr/local/bin/python2.5,' /usr/ports/lang/python25/work/Python-2.5/Tools/scripts/pydoc > /usr/ports/lang/python25/work/pydoc2.5 /usr/bin/sed -e '1s,^.*$,#!/usr/local/bin/python2.5,' /usr/ports/lang/python25/work/Python-2.5/Tools/scripts/idle > /usr/ports/lang/python25/work/idle2.5 /usr/bin/sed -e '1s,^.*$,#!/usr/local/bin/python2.5,' /usr/ports/lang/python25/work/Python-2.5/Lib/smtpd.py > /usr/ports/lang/python25/work/smtpd2.5.py /usr/bin/sed -i.bak -e 's,/usr/doc/python-docs-,/usr/local/share/doc/python,g' /usr/ports/lang/python25/work/Python-2.5/Lib/pydoc.py /usr/bin/sed -i.bak -e 's|^\( *prefixes = .*\)\]$|\1, "/usr/X11R6"]|g' /usr/ports/lang/python25/work/Python-2.5/Lib/site.py /usr/bin/sed -i.bak -e 's|^ \(..ASDLGEN.*\)$| true|g' /usr/ports/lang/python25/work/Python-2.5/Makefile.pre.in /usr/bin/sed -i.bak -e 's|*\(..INSTALL_SCRIPT.*\)python-config$|#port \1|' /usr/ports/lang/python25/work/Python-2.5/Makefile.pre.in /usr/bin/sed -e 's|^#!.*|#!/usr/local/bin/python2.5|' /usr/ports/lang/python25/work/Python-2.5/Misc/python-config.in > /usr/ports/lang/python25/work/python2.5-config /usr/bin/sed -e 's|^#!.*|#!/usr/local/bin/python-shared2.5|' /usr/ports/lang/python25/work/Python-2.5/Misc/python-config.in > /usr/ports/lang/python25/work/python-shared2.5-config echo "fpectl fpectlmodule.c" >> /usr/ports/lang/python25/work/Python-2.5/portbld.static/Modules/Setup.dist cannot create /usr/ports/lang/python25/work/Python-2.5/portbld.static/Modules/Setup.dist: No such file or directory *** Error code 2 Stop in /usr/ports/lang/python25. *** Error code 1 Stop in /usr/ports/lang/python25. *** Error code 1 Stop in /usr/ports/lang/python. *** Error code 1 Stop in /usr/ports/lang/python. ** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade.37250.0 env PORT_UPGRADE=yes make reinstall egrep: /var/db/pkg/python-2.4.3/+CONTENTS: No such file or directory ---> Restoring the old version ** Fix the installation problem and try again. [Updating the pkgdb in /var/db/pkg ... - 51 packages found (-0 +1) . done] ** Listing the failed packages (*:skipped / !:failed) ! lang/python (python-2.4.3) (install error) ---> Packages processed: 0 done, 0 ignored, 0 skipped and 1 failed ** Could not clean up temporary directory: Directory not empty - /var/tmp/portupgradet9F1h5Hh # >How-To-Repeat: Cvsup ports tree Attempt to portupgrade python to latest in ports >Fix: Don't know