From owner-freebsd-python@FreeBSD.ORG Fri Nov 11 20:14:58 2005 Return-Path: X-Original-To: freebsd-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 B4E4916A41F for ; Fri, 11 Nov 2005 20:14:58 +0000 (GMT) (envelope-from moron@industrial.org) Received: from cluster.islandnet.com (cluster.islandnet.com [199.175.106.52]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7C99343D46 for ; Fri, 11 Nov 2005 20:14:58 +0000 (GMT) (envelope-from moron@industrial.org) Received: from [24.68.134.10] (helo=[192.168.2.101]) by cluster03.islandnet.com with ESMTPSA (TLSv1:RC4-MD5:128) id 1EafIX-000EDw-Ci for freebsd-python@freebsd.org; Fri, 11 Nov 2005 12:14:58 -0800 From: moron To: freebsd-python@freebsd.org Date: Fri, 11 Nov 2005 12:14:42 -0800 User-Agent: KMail/1.8.1 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200511111214.42623.moron@industrial.org> X-GeoIP: CA Canada Subject: problem upgrading to python-2.4.2 using port 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: Fri, 11 Nov 2005 20:14:58 -0000 Howdy. If this is the wrong place to bring this up please let me know and I will slink away in shame to either the ports or questions list (was not sure from the list description whether this is the right spot for this question). I am currently having problems upgrading to Python 2.4.2 from 2.4.1 on a box I look after and so far have not been able to find anyone else suffering the same fate (searching via the list archives, Google, Usenet, etc.). Here's what happens when I try to upgrade Python: ---------- ===> Patching for python-2.4.2 /usr/bin/sed -i.bak -e 's,/usr/doc/python-docs-,/usr/local/share/doc/python,g' /usr/ports/lang/python/work/Python-2.4.1/Lib/pydoc.py /usr/bin/sed -i.bak -e 's|^\( *prefixes = .*\)\]$|\1, "/usr/X11R6"]| g' /usr/ports/lang/python/work/Python-2.4.1/Lib/site.py ===> Applying FreeBSD patches for python-2.4.2 Ignoring previously applied (or reversed) patch. 1 out of 1 hunks ignored--saving rejects to Modules/socketmodule.c.rej => Patch patch-Modules::socketmodule.c failed to apply cleanly. *** Error code 1 Stop in /usr/ports/lang/python. ----------- I recently upgraded FreeBSD itself to 5.4-STABLE. Unfortunately I foolishly ran "make --deinstall" in an attempt to clear out whatever was presumably left around from an earlier install that was causing the problem which left me in a state where I had no python at all (not good when you need to run Mailman). I have now temporarily gone with a package install since I need to be running while I sort this issue out. Since it looks like something is FUBAR though and I would rather use the port version, I am hoping someone here can help me nail down the source of the failed patch above. Any suggestions other than inserting something internally appreciated and please let me know if you need more details. Cheers -- ---> (culture) http://industrial.org : (label) http://deterrent.net ---> (community) http://ampfea.org : (hire me) http://codegrunt.com ---> (send EEEI news to) infosuck@industrial.org ---> Whomever dies with the most URLs wins!!!!!!!!!!!!!